#mmdvm_bridge Segmentation Fault on Debian 10 amd64 #mmdvm_bridge


Steve N4IRS
 

Np problem. It brings up a issue. It is a configuration problem to have the mode enabled but not the networking. MMDVM_Bridge should exit gracefully and try to give the user an idea of the problem.
We have a few tweaks happening to the next version of MMDVM_Bridge We can try to cover that in the future.

Thanks, Steve

On 3/22/2021 8:05 AM, Kimberly wrote:
Well now, that fixed it. I could have sworn I had that enabled in config, but apparently, there was another one I had to enable. Thanks so much for helping me resolve this puzzling issue! This had me scratching my head for days.


Kimberly (KJ7OMO)
 

Well now, that fixed it. I could have sworn I had that enabled in config, but apparently, there was another one I had to enable. Thanks so much for helping me resolve this puzzling issue! This had me scratching my head for days.


Steve N4IRS
 

This is good, getting closer.
Please check you MMDVM_Bridge.ini
Verify this is set, if not set it to 1

[DMR Network]
Enable=1

Please retest, if you are still getting the error, post your MMDVM_Bridge.ini

Thanks,
Steve

On 3/22/2021 7:22 AM, Kimberly wrote:
root@localhost:~# cd /opt/MMDVM_Bridge
root@localhost:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2021-03-22 11:21:26.014 MMDVM_Bridge:
I: 2021-03-22 11:21:26.014 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2021-03-22 11:21:26.014 Hacks by Mike N4IRR and Steve N4IRS
I: 2021-03-22 11:21:26.014 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2021-03-22 11:21:26.014 This software is for use on amateur radio networks only,
I: 2021-03-22 11:21:26.014 it is to be used for educational purposes only. Its use on
I: 2021-03-22 11:21:26.014 commercial networks is strictly prohibited.
I: 2021-03-22 11:21:26.014 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2021-03-22 11:21:26.014 MMDVM_Bridge-20210223_V1.6.3 is starting
M: 2021-03-22 11:21:26.014 Built 11:40:14 Mar  1 2021 (GitID #bb741c3)
I: 2021-03-22 11:21:26.014 General Parameters
I: 2021-03-22 11:21:26.014     Callsign: KJ7OMO
I: 2021-03-22 11:21:26.014     Id: 316809400
I: 2021-03-22 11:21:26.014     Duplex: no
I: 2021-03-22 11:21:26.014     Timeout: 180s
I: 2021-03-22 11:21:26.014     D-Star: disabled
I: 2021-03-22 11:21:26.014     DMR: enabled
I: 2021-03-22 11:21:26.014     YSF: disabled
I: 2021-03-22 11:21:26.014     P25: disabled
I: 2021-03-22 11:21:26.014     NXDN: disabled
I: 2021-03-22 11:21:26.014 Modem Parameters
I: 2021-03-22 11:21:26.014     Port: /dev/null
I: 2021-03-22 11:21:26.014     RX Invert: no
I: 2021-03-22 11:21:26.014     TX Invert: no
I: 2021-03-22 11:21:26.014     PTT Invert: no
I: 2021-03-22 11:21:26.014     TX Delay: 100ms
I: 2021-03-22 11:21:26.014     RX Offset: 0Hz
I: 2021-03-22 11:21:26.014     TX Offset: 0Hz
I: 2021-03-22 11:21:26.014     RX DC Offset: 0
I: 2021-03-22 11:21:26.014     TX DC Offset: 0
I: 2021-03-22 11:21:26.014     RF Level: 100.0%
I: 2021-03-22 11:21:26.014     DMR Delay: 0 (0.0ms)
I: 2021-03-22 11:21:26.015     RX Level: 50.0%
I: 2021-03-22 11:21:26.015     CW Id TX Level: 50.0%
I: 2021-03-22 11:21:26.015     D-Star TX Level: 50.0%
I: 2021-03-22 11:21:26.015     DMR TX Level: 50.0%
I: 2021-03-22 11:21:26.015     YSF TX Level: 50.0%
I: 2021-03-22 11:21:26.015     P25 TX Level: 50.0%
I: 2021-03-22 11:21:26.015     NXDN TX Level: 50.0%
I: 2021-03-22 11:21:26.015     RX Frequency: 0Hz (0Hz)
I: 2021-03-22 11:21:26.015     TX Frequency: 0Hz (0Hz)
M: 2021-03-22 11:21:26.015 Opening the MMDVM
I: 2021-03-22 11:21:26.015 Display Parameters
I: 2021-03-22 11:21:26.015     Type:
I: 2021-03-22 11:21:26.015 RSSI
I: 2021-03-22 11:21:26.015     Mapping File: /dev/null
I: 2021-03-22 11:21:26.015 Loaded 0 RSSI data mapping points from /dev/null
I: 2021-03-22 11:21:26.015 DMR Id Lookups
I: 2021-03-22 11:21:26.015     File: /var/lib/mmdvm/DMRIds.dat
I: 2021-03-22 11:21:26.015     Reload: 24 hours
I: 2021-03-22 11:21:26.138 Loaded 191386 Ids to the DMR callsign lookup table
I: 2021-03-22 11:21:26.138 DMR RF Parameters
I: 2021-03-22 11:21:26.138     Id: 316809400
I: 2021-03-22 11:21:26.138     Color Code: 1
I: 2021-03-22 11:21:26.138     Self Only: no
I: 2021-03-22 11:21:26.138     Embedded LC Only: yes
I: 2021-03-22 11:21:26.138     Dump Talker Alias Data: no
I: 2021-03-22 11:21:26.138     Prefixes: 0
I: 2021-03-22 11:21:26.138     Call Hang: 4s
I: 2021-03-22 11:21:26.138     TX Hang: 4s
I: 2021-03-22 11:21:26.138     Mode Hang: 10s
M: 2021-03-22 11:21:26.138 DMR, Opening INI file: DVSwitch.ini
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] address -> 127.0.0.1
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] txPort -> 31100
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] rxPort -> 31103
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] slot -> 2
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] exportTG -> 0
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
M: 2021-03-22 11:21:26.138 DMR, Transmitting on 127.0.0.1:31100, and listening on port 31103.  Result = 1
Segmentation fault
root@localhost:/opt/MMDVM_Bridge#
 


Kimberly (KJ7OMO)
 

root@localhost:~# cd /opt/MMDVM_Bridge
root@localhost:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2021-03-22 11:21:26.014 MMDVM_Bridge:
I: 2021-03-22 11:21:26.014 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2021-03-22 11:21:26.014 Hacks by Mike N4IRR and Steve N4IRS
I: 2021-03-22 11:21:26.014 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2021-03-22 11:21:26.014 This software is for use on amateur radio networks only,
I: 2021-03-22 11:21:26.014 it is to be used for educational purposes only. Its use on
I: 2021-03-22 11:21:26.014 commercial networks is strictly prohibited.
I: 2021-03-22 11:21:26.014 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2021-03-22 11:21:26.014 MMDVM_Bridge-20210223_V1.6.3 is starting
M: 2021-03-22 11:21:26.014 Built 11:40:14 Mar  1 2021 (GitID #bb741c3)
I: 2021-03-22 11:21:26.014 General Parameters
I: 2021-03-22 11:21:26.014     Callsign: KJ7OMO
I: 2021-03-22 11:21:26.014     Id: 316809400
I: 2021-03-22 11:21:26.014     Duplex: no
I: 2021-03-22 11:21:26.014     Timeout: 180s
I: 2021-03-22 11:21:26.014     D-Star: disabled
I: 2021-03-22 11:21:26.014     DMR: enabled
I: 2021-03-22 11:21:26.014     YSF: disabled
I: 2021-03-22 11:21:26.014     P25: disabled
I: 2021-03-22 11:21:26.014     NXDN: disabled
I: 2021-03-22 11:21:26.014 Modem Parameters
I: 2021-03-22 11:21:26.014     Port: /dev/null
I: 2021-03-22 11:21:26.014     RX Invert: no
I: 2021-03-22 11:21:26.014     TX Invert: no
I: 2021-03-22 11:21:26.014     PTT Invert: no
I: 2021-03-22 11:21:26.014     TX Delay: 100ms
I: 2021-03-22 11:21:26.014     RX Offset: 0Hz
I: 2021-03-22 11:21:26.014     TX Offset: 0Hz
I: 2021-03-22 11:21:26.014     RX DC Offset: 0
I: 2021-03-22 11:21:26.014     TX DC Offset: 0
I: 2021-03-22 11:21:26.014     RF Level: 100.0%
I: 2021-03-22 11:21:26.014     DMR Delay: 0 (0.0ms)
I: 2021-03-22 11:21:26.015     RX Level: 50.0%
I: 2021-03-22 11:21:26.015     CW Id TX Level: 50.0%
I: 2021-03-22 11:21:26.015     D-Star TX Level: 50.0%
I: 2021-03-22 11:21:26.015     DMR TX Level: 50.0%
I: 2021-03-22 11:21:26.015     YSF TX Level: 50.0%
I: 2021-03-22 11:21:26.015     P25 TX Level: 50.0%
I: 2021-03-22 11:21:26.015     NXDN TX Level: 50.0%
I: 2021-03-22 11:21:26.015     RX Frequency: 0Hz (0Hz)
I: 2021-03-22 11:21:26.015     TX Frequency: 0Hz (0Hz)
M: 2021-03-22 11:21:26.015 Opening the MMDVM
I: 2021-03-22 11:21:26.015 Display Parameters
I: 2021-03-22 11:21:26.015     Type:
I: 2021-03-22 11:21:26.015 RSSI
I: 2021-03-22 11:21:26.015     Mapping File: /dev/null
I: 2021-03-22 11:21:26.015 Loaded 0 RSSI data mapping points from /dev/null
I: 2021-03-22 11:21:26.015 DMR Id Lookups
I: 2021-03-22 11:21:26.015     File: /var/lib/mmdvm/DMRIds.dat
I: 2021-03-22 11:21:26.015     Reload: 24 hours
I: 2021-03-22 11:21:26.138 Loaded 191386 Ids to the DMR callsign lookup table
I: 2021-03-22 11:21:26.138 DMR RF Parameters
I: 2021-03-22 11:21:26.138     Id: 316809400
I: 2021-03-22 11:21:26.138     Color Code: 1
I: 2021-03-22 11:21:26.138     Self Only: no
I: 2021-03-22 11:21:26.138     Embedded LC Only: yes
I: 2021-03-22 11:21:26.138     Dump Talker Alias Data: no
I: 2021-03-22 11:21:26.138     Prefixes: 0
I: 2021-03-22 11:21:26.138     Call Hang: 4s
I: 2021-03-22 11:21:26.138     TX Hang: 4s
I: 2021-03-22 11:21:26.138     Mode Hang: 10s
M: 2021-03-22 11:21:26.138 DMR, Opening INI file: DVSwitch.ini
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] address -> 127.0.0.1
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] txPort -> 31100
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] rxPort -> 31103
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] slot -> 2
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] exportTG -> 0
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2021-03-22 11:21:26.138 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
M: 2021-03-22 11:21:26.138 DMR, Transmitting on 127.0.0.1:31100, and listening on port 31103.  Result = 1
Segmentation fault
root@localhost:/opt/MMDVM_Bridge#
 


Steve N4IRS
 

OK,
So it's not segfaulting with -v good!
Please make sure MMDVM_Bridge is not running in the background.
systemctl stop mmdvm_bridge
verify it's stopped
ps ax | grep MMDVM

If it's stopped
cd /opt/MMDVM_Bridge
./MMDVM_Bridge MMDVM_Bridge.ini

Show the output.



On 3/22/21 7:04 AM, Kimberly wrote:
root@localhost:~# /opt/MMDVM_Bridge/MMDVM_Bridge -v
MMDVM_Bridge version 20210223_V1.6.3 git #bb741c3


Kimberly (KJ7OMO)
 

root@localhost:~# /opt/MMDVM_Bridge/MMDVM_Bridge -v
MMDVM_Bridge version 20210223_V1.6.3 git #bb741c3


Steve N4IRS
 

Please show me the output of /opt/MMDVM_Bridge/MMDVM_Bridge -v

On 3/22/21 4:00 AM, Kimberly wrote:
On Sun, Mar 21, 2021 at 03:26 AM, Steve N4IRS wrote:
Kimberly,
I'll need to see a few things to help determine the cause of the issue.
As root, please post the result of the following:
uname -a
file /opt/MMDVM_Bridge/MMDVM_Bridge

Steve N4IRS

Ok, I ran the commands you suggested, here is the output:

root@localhost:/opt/MMDVM_Bridge# uname -a
Linux localhost 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux

root@localhost:/opt/MMDVM_Bridge# file /opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=a0d5832b67656402132de72bf9ecce57320e73e9, with debug_info, not stripped
 


Kimberly (KJ7OMO)
 

On Sun, Mar 21, 2021 at 03:26 AM, Steve N4IRS wrote:
Kimberly,
I'll need to see a few things to help determine the cause of the issue.
As root, please post the result of the following:
uname -a
file /opt/MMDVM_Bridge/MMDVM_Bridge

Steve N4IRS

Ok, I ran the commands you suggested, here is the output:

root@localhost:/opt/MMDVM_Bridge# uname -a
Linux localhost 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux

root@localhost:/opt/MMDVM_Bridge# file /opt/MMDVM_Bridge/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=a0d5832b67656402132de72bf9ecce57320e73e9, with debug_info, not stripped
 


Steve N4IRS
 

The only reason to do this is if you are running MMDVM_Bridge in daemon mode. We use systemd so this is not needed.

Steve N4IRS

On 3/21/21 1:03 AM, Lily W. wrote:

Create a user named “mmdvm”, password mmdvm, and give it write access to /var/log/mmdvm (MMDVM_Bridge needs this to write log files.) I’ve had to manually do that to all of my Quantar_Bridge installs.

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of Kimberly
Sent: Saturday, 20 March, 2021 22:51
To: main@DVSwitch.groups.io
Subject: [DVSwitch] #mmdvm_bridge Segmentation Fault on Debian 10 amd64

 

Hello, everyone. I'm having trouble getting MMDVM_Bridge to run on a Debian 10 VPS running the AllstarLink 2.0 Beta 5 image, which is based off Debian 10. Each time I try to run it, it gives me a "Segmentation Fault" error with no other clues to help me determine what went wrong. I tried some solutions out there, but none of them worked for me. Any ideas?



Steve N4IRS
 

Kimberly,
I'll need to see a few things to help determine the cause of the issue.
As root, please post the result of the following:
uname -a
file /opt/MMDVM_Bridge/MMDVM_Bridge

Steve N4IRS

On 3/20/21 11:50 PM, Kimberly wrote:
Hello, everyone. I'm having trouble getting MMDVM_Bridge to run on a Debian 10 VPS running the AllstarLink 2.0 Beta 5 image, which is based off Debian 10. Each time I try to run it, it gives me a "Segmentation Fault" error with no other clues to help me determine what went wrong. I tried some solutions out there, but none of them worked for me. Any ideas?


Lillian W.
 

Create a user named “mmdvm”, password mmdvm, and give it write access to /var/log/mmdvm (MMDVM_Bridge needs this to write log files.) I’ve had to manually do that to all of my Quantar_Bridge installs.

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of Kimberly
Sent: Saturday, 20 March, 2021 22:51
To: main@DVSwitch.groups.io
Subject: [DVSwitch] #mmdvm_bridge Segmentation Fault on Debian 10 amd64

 

Hello, everyone. I'm having trouble getting MMDVM_Bridge to run on a Debian 10 VPS running the AllstarLink 2.0 Beta 5 image, which is based off Debian 10. Each time I try to run it, it gives me a "Segmentation Fault" error with no other clues to help me determine what went wrong. I tried some solutions out there, but none of them worked for me. Any ideas?


Kimberly (KJ7OMO)
 

Hello, everyone. I'm having trouble getting MMDVM_Bridge to run on a Debian 10 VPS running the AllstarLink 2.0 Beta 5 image, which is based off Debian 10. Each time I try to run it, it gives me a "Segmentation Fault" error with no other clues to help me determine what went wrong. I tried some solutions out there, but none of them worked for me. Any ideas?