Sgefault in MMDVM_Bridge


G7RPG - Peter Kendall
 

I've been experimenting using two instances of MMDVM_Bridge to connect a YSF reflector to an FCS reflector.

This is the setup

 

FCS <> YSFGateway <> MMDVM_Bridge <> MMDVM_Bridge <> YSFReflecor

All starts up fine but as soon as any traffic flows from the FCS reflector MMDVM_Bridge on that side of the link crashes instantly with this error

MMDVM_Bridge[8410]: segfault at 0 ip b7459b06 sp bfc61b04 error 4 in libc-2.24.so[b73db000+1b1000]

I've tried it on ARM and X64 with the same results.

Any ideas ?



73
Peter

G7RPG

 


Steve N4IRS
 

Peter,
Thanks for the report. Can you show what was in the log before the crash. 

Steve N4IRS


Sent by smoke signal (AT&T)


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of G7RPG - Peter Kendall <g7rpg@...>
Sent: Thursday, October 24, 2019 9:37:25 AM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: [DVSwitch] Sgefault in MMDVM_Bridge
 

I've been experimenting using two instances of MMDVM_Bridge to connect a YSF reflector to an FCS reflector.

This is the setup

 

FCS <> YSFGateway <> MMDVM_Bridge <> MMDVM_Bridge <> YSFReflecor

All starts up fine but as soon as any traffic flows from the FCS reflector MMDVM_Bridge on that side of the link crashes instantly with this error

MMDVM_Bridge[8410]: segfault at 0 ip b7459b06 sp bfc61b04 error 4 in libc-2.24.so[b73db000+1b1000]

I've tried it on ARM and X64 with the same results.

Any ideas ?



73
Peter

G7RPG

 


G7RPG - Peter Kendall
 

Hi Steve, nothing really. The second I transmit into the FCS reflector via another route, MMDVM_Bridge bombs out.

loglevel=1

I: 2019-10-24 15:04:39.512 Started the DMR Id lookup reload thread
M: 2019-10-24 15:04:39.512 YSF, Opening INI file: DVSwitch.ini
M: 2019-10-24 15:04:39.512 YSF, Setting [YSF] Address -> 127.0.0.1
M: 2019-10-24 15:04:39.512 YSF, Setting [YSF] TXPort -> 35200
M: 2019-10-24 15:04:39.512 YSF, Setting [YSF] RXPort -> 35203
M: 2019-10-24 15:04:39.512 YSF, Setting [YSF] FallbackID -> 2345153
M: 2019-10-24 15:04:39.512 YSF, Setting [YSF] ExportTG -> 23526
M: 2019-10-24 15:04:39.512 YSF, Setting [YSF] Slot -> 2
M: 2019-10-24 15:04:39.512 YSF, Transmitting on 127.0.0.1:35200 and listening on port 35203.  Result = 1
M: 2019-10-24 15:04:39.512 MMDVM_Bridge-20180423 is running
Segmentation fault
root@ambe-dmr:/opt/MMDVM_Bridge_YSF#


Looking at the opposite MMDVM_Bridge

I: 2019-10-24 15:03:00.731 Started the DMR Id lookup reload thread
M: 2019-10-24 15:03:00.731 YSF, Opening INI file: DVSwitch.ini
M: 2019-10-24 15:03:00.731 YSF, Setting [YSF] Address -> 127.0.0.1
M: 2019-10-24 15:03:00.731 YSF, Setting [YSF] TXPort -> 35203
M: 2019-10-24 15:03:00.731 YSF, Setting [YSF] RXPort -> 35200
M: 2019-10-24 15:03:00.731 YSF, Setting [YSF] FallbackID -> 2345153
M: 2019-10-24 15:03:00.731 YSF, Setting [YSF] ExportTG -> 23526
M: 2019-10-24 15:03:00.731 YSF, Setting [YSF] Slot -> 2
M: 2019-10-24 15:03:00.731 YSF, Transmitting on 127.0.0.1:35203 and listening on port 35200.  Result = 1
M: 2019-10-24 15:03:00.731 MMDVM_Bridge-20180423 is running
M: 2019-10-24 15:03:11.151 YSF, TX state = ON
I: 2019-10-24 15:03:11.151 YSF, Begin TX: src=2345153 rpt=0 dst=23526 slot=2 cc=0 metadata=HUBNet
I: 2019-10-24 15:03:11.263 YSF, Narrow transmit (72 bit)
M: 2019-10-24 15:03:13.569 YSF, TX state = OFF
M: 2019-10-24 15:03:22.002 YSF, received network data from G7RPG      to ALL        at FCS004-77
D: 2019-10-24 15:03:22.672 V/D Mode 2 Data, DT1
D: 2019-10-24 15:03:22.672 0000:  7D 22 62 5F 29 50 30 50 50 50                      *}"b_)P0PPP*
D: 2019-10-24 15:03:22.769 V/D Mode 2 Data, DT2
D: 2019-10-24 15:03:22.769 0000:  30 76 58 1C 6C 20 1C 20 03 DE                      *0vX.l . ..*
M: 2019-10-24 15:03:24.670 YSF, network watchdog has expired, 1.3 seconds, 0% packet loss, BER: 2.6%
M: 2019-10-24 15:04:44.278 YSF, received network data from G7RPG      to ALL        at FCS004-77
D: 2019-10-24 15:04:44.962 V/D Mode 2 Data, DT1
D: 2019-10-24 15:04:44.962 0000:  7E 22 62 5F 29 50 30 50 50 50                      *~"b_)P0PPP*
D: 2019-10-24 15:04:45.049 V/D Mode 2 Data, DT2
D: 2019-10-24 15:04:45.049 0000:  30 76 58 1C 6C 20 1C 20 03 DF                      *0vX.l . ..*
M: 2019-10-24 15:04:46.658 YSF, network watchdog has expired, 1.0 seconds, 0% packet loss, BER: 1.0%


Peter

On 24/10/2019 14:42, Steve N4IRS wrote:
Peter,
Thanks for the report. Can you show what was in the log before the crash. 

Steve N4IRS


Sent by smoke signal (AT&T)


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of G7RPG - Peter Kendall <g7rpg@...>
Sent: Thursday, October 24, 2019 9:37:25 AM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: [DVSwitch] Sgefault in MMDVM_Bridge
 

I've been experimenting using two instances of MMDVM_Bridge to connect a YSF reflector to an FCS reflector.

This is the setup

 

FCS <> YSFGateway <> MMDVM_Bridge <> MMDVM_Bridge <> YSFReflecor

All starts up fine but as soon as any traffic flows from the FCS reflector MMDVM_Bridge on that side of the link crashes instantly with this error

MMDVM_Bridge[8410]: segfault at 0 ip b7459b06 sp bfc61b04 error 4 in libc-2.24.so[b73db000+1b1000]

I've tried it on ARM and X64 with the same results.

Any ideas ?



73
Peter

G7RPG

 


Steve N4IRS
 

Peter,
Please post or e-mail the MMDVM_Bridge.ini that connects to FCS. 

Thanks, Steve