Re: #mmdvm_bridge (code=killed, signal=SEGV) ERROR #mmdvm_bridge


Steve N4IRS
 

You are close now. Something in the DMR ID file is causing MMDVM_Bridge to crash. I need to stop the system from downloading the damaged file so you can work.

On 8/19/2021 1:01 PM, Todd, KB7RQQ wrote:

I will gladly send credentials (privately) if you'd like a look under the hood.  I felt like I was so close yesterday!!

On 8/19/2021 9:41 AM, Steve N4IRS wrote:
Are you rebooting?

On 8/19/2021 12:41 PM, Todd, KB7RQQ wrote:

Yes it is.



On 8/19/2021 9:40 AM, Steve N4IRS wrote:
Is /var/lib/mmdvm/DMRIds.dat recreating?

On 8/19/2021 12:32 PM, Todd, KB7RQQ wrote:

Well look at that!  Getting this now.


● mmdvm_bridge.service - MMDVM_Bridge Service
   Loaded: loaded (/lib/systemd/system/mmdvm_bridge.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-08-19 08:31:25 AKDT; 51ms ago
  Process: 32241 ExecStartPre=/bin/sh -c echo "Starting MMDVM_Bridge: [`date +%T.%3N`]" >> /var/log/netcheck (code=exited, status=0/SUCCESS)
 Main PID: 32245 (MMDVM_Bridge)
    Tasks: 1 (limit: 2358)
   Memory: 9.9M
   CGroup: /system.slice/mmdvm_bridge.service
           └─32245 /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

Aug 19 08:31:25 dmr-bridge systemd[1]: Starting MMDVM_Bridge Service...
Aug 19 08:31:25 dmr-bridge systemd[1]: Started MMDVM_Bridge Service.




On 8/19/2021 9:13 AM, Steve N4IRS wrote:
Yes, that is the output I will need to see to troubleshoot.

Make sure /var/lib/mmdvm/DMRIds.dat does not exist and retest.

Steve

On 8/19/2021 12:09 PM, Todd, KB7RQQ wrote:

Do you mean this output? 


root@dmr-bridge:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2021-08-19 16:05:20.247 MMDVM_Bridge:
I: 2021-08-19 16:05:20.248 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2021-08-19 16:05:20.248 Hacks by Mike N4IRR and Steve N4IRS
I: 2021-08-19 16:05:20.248 =

I: 2021-08-19 13:10:25.530 This software is for use on amateur radio networks on                                                                                                             ly,
I: 2021-08-19 13:10:25.530 it is to be used for educational purposes only. Its u                                                                                                             se on
I: 2021-08-19 13:10:25.530 commercial networks is strictly prohibited.
I: 2021-08-19 13:10:25.530 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and                                                                                                              others
M: 2021-08-19 13:10:25.530 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2021-08-19 13:10:25.530 Built 07:33:44 May 28 2021 (GitID #3cfcf23)
I: 2021-08-19 13:10:25.531 General Parameters
I: 2021-08-19 13:10:25.531     Callsign: KB7RQQ
I: 2021-08-19 13:10:25.531     Id: 315337611
I: 2021-08-19 13:10:25.531     Duplex: no
I: 2021-08-19 13:10:25.531     Timeout: 180s
I: 2021-08-19 13:10:25.531     D-Star: enabled
I: 2021-08-19 13:10:25.531     DMR: enabled
I: 2021-08-19 13:10:25.531     YSF: enabled
I: 2021-08-19 13:10:25.531     P25: disabled
I: 2021-08-19 13:10:25.531     NXDN: disabled
I: 2021-08-19 13:10:25.531 Modem Parameters
I: 2021-08-19 13:10:25.531     Port: /dev/null
I: 2021-08-19 13:10:25.531     RX Invert: no
I: 2021-08-19 13:10:25.531     TX Invert: no
I: 2021-08-19 13:10:25.531     PTT Invert: no
I: 2021-08-19 13:10:25.531     TX Delay: 100ms
I: 2021-08-19 13:10:25.531     RX Offset: 0Hz
I: 2021-08-19 13:10:25.531     TX Offset: 0Hz
I: 2021-08-19 13:10:25.531     RX DC Offset: 0
I: 2021-08-19 13:10:25.531     TX DC Offset: 0
I: 2021-08-19 13:10:25.531     RF Level: 100.0%
I: 2021-08-19 13:10:25.531     DMR Delay: 0 (0.0ms)
I: 2021-08-19 13:10:25.531     RX Level: 50.0%
I: 2021-08-19 13:10:25.531     CW Id TX Level: 50.0%
I: 2021-08-19 13:10:25.532     D-Star TX Level: 50.0%
I: 2021-08-19 13:10:25.532     DMR TX Level: 50.0%
I: 2021-08-19 13:10:25.532     YSF TX Level: 50.0%
I: 2021-08-19 13:10:25.532     P25 TX Level: 50.0%
I: 2021-08-19 13:10:25.532     NXDN TX Level: 50.0%
I: 2021-08-19 13:10:25.532     RX Frequency: 222340000Hz (222340000Hz)
I: 2021-08-19 13:10:25.532     TX Frequency: 224940000Hz (224940000Hz)
M: 2021-08-19 13:10:25.532 Opening the MMDVM
I: 2021-08-19 13:10:25.532 Display Parameters
I: 2021-08-19 13:10:25.532     Type:
I: 2021-08-19 13:10:25.532 DMR Network Parameters
I: 2021-08-19 13:10:25.532     Address: 2421.master.brandmeister.network
I: 2021-08-19 13:10:25.532     Port: 62031
I: 2021-08-19 13:10:25.532     Local: 62032
I: 2021-08-19 13:10:25.532     Jitter: 360ms
I: 2021-08-19 13:10:25.532     Slot 1: disabled
I: 2021-08-19 13:10:25.532     Slot 2: enabled
I: 2021-08-19 13:10:25.532     Mode Hang: 3s
I: 2021-08-19 13:10:25.533 Info Parameters
I: 2021-08-19 13:10:25.533     Callsign: KB7RQQ
I: 2021-08-19 13:10:25.533     RX Frequency: 222340000Hz
I: 2021-08-19 13:10:25.533     TX Frequency: 222340000Hz
I: 2021-08-19 13:10:25.534     Power: 1W
I: 2021-08-19 13:10:25.534     Latitude: 41.733299deg N
I: 2021-08-19 13:10:25.534     Longitude: -50.399899deg E
I: 2021-08-19 13:10:25.534     Height: 0m
I: 2021-08-19 13:10:25.534     Location: "Iceberg, North Atlantic"
I: 2021-08-19 13:10:25.534     Description: "MMDVM_Bridge"
I: 2021-08-19 13:10:25.534     URL: "https://groups.io/g/DVSwitch"
M: 2021-08-19 13:10:25.534 DMR, Opening DMR Network
I: 2021-08-19 13:10:25.534 RSSI
I: 2021-08-19 13:10:25.534     Mapping File: /dev/null
I: 2021-08-19 13:10:25.534 Loaded 0 RSSI data mapping points from /dev/null
I: 2021-08-19 13:10:25.534 DMR Id Lookups
I: 2021-08-19 13:10:25.534     File: /var/lib/mmdvm/DMRIds.dat
I: 2021-08-19 13:10:25.534     Reload: 24 hours
I: 2021-08-19 13:10:25.658 Loaded 202455 Ids to the DMR callsign lookup table
I: 2021-08-19 13:10:25.658 D-Star RF Parameters
I: 2021-08-19 13:10:25.658     Module: B
I: 2021-08-19 13:10:25.658     Self Only: no
I: 2021-08-19 13:10:25.658     Ack Reply: yes
I: 2021-08-19 13:10:25.658     Ack Time: 750ms
I: 2021-08-19 13:10:25.658     Error Reply: yes
I: 2021-08-19 13:10:25.658     Remote Gateway: no
I: 2021-08-19 13:10:25.658     Mode Hang: 10s
M: 2021-08-19 13:10:25.658 D-Star, Opening INI file: DVSwitch.ini
M: 2021-08-19 13:10:25.658 D-Star, Setting [DSTAR] address -> 127.0.0.1
M: 2021-08-19 13:10:25.659 D-Star, Setting [DSTAR] txPort -> 32100
M: 2021-08-19 13:10:25.659 D-Star, Setting [DSTAR] rxPort -> 32103
M: 2021-08-19 13:10:25.659 D-Star, Setting [DSTAR] fallbackID -> 1234567
M: 2021-08-19 13:10:25.659 D-Star, Setting [DSTAR] exportTG -> 9
M: 2021-08-19 13:10:25.659 D-Star, Setting [DSTAR] slot -> 2
M: 2021-08-19 13:10:25.659 D-Star, Setting [DSTAR] RemotePort -> 54321
M: 2021-08-19 13:10:25.659 D-Star, Setting [DSTAR] message -> %location %descrip                                                                                                             tion
M: 2021-08-19 13:10:25.659 D-Star, Transmitting on 127.0.0.1:32100, and listenin                                                                                                             g on port 32103.  Result = 1
I: 2021-08-19 13:10:25.659 DMR RF Parameters
I: 2021-08-19 13:10:25.659     Id: 315337611
I: 2021-08-19 13:10:25.659     Color Code: 1
I: 2021-08-19 13:10:25.659     Self Only: no
I: 2021-08-19 13:10:25.659     Embedded LC Only: yes
I: 2021-08-19 13:10:25.659     Dump Talker Alias Data: no
I: 2021-08-19 13:10:25.659     Prefixes: 0
I: 2021-08-19 13:10:25.659     Call Hang: 3s
I: 2021-08-19 13:10:25.659     TX Hang: 3s
I: 2021-08-19 13:10:25.659     Mode Hang: 10s
M: 2021-08-19 13:10:25.659 DMR, Opening INI file: DVSwitch.ini
M: 2021-08-19 13:10:25.659 DMR, Setting [DMR] address -> 127.0.0.1
M: 2021-08-19 13:10:25.660 DMR, Setting [DMR] txPort -> 31100
M: 2021-08-19 13:10:25.660 DMR, Setting [DMR] rxPort -> 31103
M: 2021-08-19 13:10:25.660 DMR, Setting [DMR] slot -> 2
M: 2021-08-19 13:10:25.660 DMR, Setting [DMR] exportTG -> 0
M: 2021-08-19 13:10:25.660 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2021-08-19 13:10:25.660 DMR, Setting [DMR] talkerAlias -> %callsign %location                                                                                                              %description
M: 2021-08-19 13:10:25.660 DMR, Transmitting on 127.0.0.1:31100, and listening o                                                                                                             n port 31103.  Result = 1
I: 2021-08-19 13:10:25.660 YSF RF Parameters
I: 2021-08-19 13:10:25.660     Low Deviation: no
I: 2021-08-19 13:10:25.660     Remote Gateway: no
I: 2021-08-19 13:10:25.660     Self Only: no
I: 2021-08-19 13:10:25.660     DSQ: no
I: 2021-08-19 13:10:25.660     Mode Hang: 10s
I: 2021-08-19 13:10:25.670 Started the DMR Id lookup reload thread
Segmentation fault

I'm not sure where to start with this issue....  I've tried 'systemctl' stop, start.....

Any direction would be greatly appreciated

Todd KB7RQQ









Join main@DVSwitch.groups.io to automatically receive all group messages.