DSD version 1.7.0-dev under Linux giving Segmentation fault errors

Status
Not open for further replies.

jcardani

Member
Premium Subscriber
Joined
Jan 16, 2002
Messages
1,393
Reaction score
91
Location
Orlando, FL
Hi All,

Last year I installed DSD version 1.7.0-dev using George Smart's instructions and using Szechyjs version on Github. Built and installed on Linux with no problems. Worked fine but the version did not have much of the error correction coding and other info that I would need going forward with my changes.

So today I decided to replace this version with Eric Cottrell's Feature/DMRECC branch in his github site. So I removed the dsd folder and started by git clone Eric's Feature/DMRECC branch. This recreated the dsd folder and copied all of the new code. Then I created the build directory and from there compiled and installed the program without problem. Verified that the new version of dsd executable was copied into usr/local/bin

I did notice that the Szechyjs version used port audio and had to use the -i pa: and -o pa: switches with dsd.
But this version uses the default ALSA audio and the terminal window was working by just executing dsd at the command line. However at various times the program would crash with a Segmentation fault error. See below:

jcardani@jcardani-ThinkCentre-XXXX ~ $ dsd
Digital Speech Decoder 1.7.0-dev (build:v1.6.0-78-g665e97b)
mbelib version 1.2.5
Audio In Device: default
Audio Out Device: default
Sync: +DMR mod: C4FM inlvl: 64% slot0 [slot1] Slot Type Error 2103
Sync: +DMR mod: C4FM inlvl: 48% slot0 [slot1] Slot Type Error 1650
Sync: +DMR mod: C4FM inlvl: 39% slot0 [slot1] CC: 1 CSBK
Sync: +DMR mod: C4FM inlvl: 36% [slot0] slot1 CC: 1 TLC
Sync: +DMR mod: GFSK inlvl: 34% slot0 [slot1] CC: 1 VOICE Header
Sync: +DMR mod: GFSK inlvl: 34% [slot0] slot1 CC: 1 TLC pf:0 Motorola - flco:000010 fid:00010000 payload:0x4003003600DA54000000
Sync: +DMR mod: GFSK inlvl: 32% slot0 [slot1] CC: 1 VOICE Header
Sync: +DMR mod: GFSK inlvl: 31% [slot0] slot1 CC: 1 TLC pf:0 Motorola - Group Voice Ch Usr Privacy Group:196645 RadioId:55892
Sync: +DMR mod: GFSK inlvl: 31% slot0 [slot1] CC: 1 VOICE Header pf:0 flco:000100 fid:00010001 payload:0x400000130995C5000000
Sync: +DMR mod: GFSK inlvl: 31% [slot0] slot1 CC: 1 TLC pf:0 Motorola - Group Voice Ch Usr Privacy Group:196645 RadioId:55892
Sync: +DMR mod: GFSK inlvl: 30% slot0 [slot1] CC: 1 VOICE Header
Sync: +DMR mod: GFSK inlvl: 31% [slot0] slot1 CC: 1 TLC pf:0 Motorola - Group Voice Ch Usr Privacy Group:196645 RadioId:55892
Sync: +DMR mod: GFSK inlvl: 30% slot0 [slot1] CC: 1 VOICE Header pf:0 flco:000100 fid:00010001 payload:0x400000130995C5000000
Sync: +DMR mod: GFSK inlvl: 30% [slot0] slot1 CC: 1 TLC pf:0 Motorola - Group Voice Ch Usr Privacy Group:196645 RadioId:55892
Sync: +DMR mod: GFSK inlvl: 30% slot0 [slot1] CC: 1 PI Header
Sync: +DMR mod: GFSK inlvl: 30% [slot0] slot1 CC: 1 TLC pf:0 Motorola - Group Voice Ch Usr Privacy Group:196645 RadioId:55892
Sync: +DMR mod: GFSK inlvl: 30% slot0 [SLOT1] VOICE e:===========================
Segmentation fault
jcardani@jcardani-ThinkCentre-XXXX ~ $


How do I fix this problem?

thanks!
 

jcardani

Member
Premium Subscriber
Joined
Jan 16, 2002
Messages
1,393
Reaction score
91
Location
Orlando, FL
Additional information. The segmentation fault crash always occurs after voice starts being received. In other words if data, idle frames, or control info is being decoded the program works fine.

BTW this version of DSD 1.7.0-dev by Eric C is the farthest along as far as I know that is available on Github. I need this version to make mods for debugging one of my projects.

thanks for your assistance!
 
Status
Not open for further replies.
Top