Segmentation fault running recorder
Using Ubuntu 19.04 (ext HD, persistence live), I installed JSON-C using the vcpkg (JSON_C_VERSION "0.13.99") and zlib-1.2.11 from http://www.zlib.net. The others prerequisites were already installed and functioning. I had to export .../pkgconfig from json-c.pc, ncurses.pc and zlib.pc to $PKG_CONFIG_PATH and add to ...recorder/Makefile and ../decoder/Makefile the following lines:
CFLAGS + = $ (shell pkg-config --cflags foo)
LDFLAGS + = $ (shell pkg-config --libs foo)
I checked with
$ pkg-config --list-all | egrep 'ncurses|json-c|zlib'
In this way, everything compiled without error.
Running ./decoder, ./recorder and python ./pi4dqpsk_rx.py everything looks good, when I set "PPM correction" I get a perfect quadrature but at that time the recorder crash with the following message:
"service":"CMCE","pdu":"D-SDS-DATA","tn":1,"fn":7,"mn":48,"ssi":12000615,"usage marker":60,"calling party type identifier":1,"calling party ssi":16775174,"sds type identifier":3,"protocol id":10,"protocol info":"location information protocol","sds-lip":"extension pdu","extension":"immediate location report request"}
Segmentation fault (core dumped)
I can see frames in decoder normally. Here's a sample:
TCH_S : TN/FN/MN = 1/12/56 dl_usage_marker=39
TCH_S : TN/FN/MN = 1/13/56 dl_usage_marker=39
TCH_S : TN/FN/MN = 1/14/56 dl_usage_marker=39
service_cmce: TN/FN/MN = 3/16/56 D-TX CEASED len= 22 cid=212 ssi= 803 usage_marker=62
service_cmce: TN/FN/MN = 1/18/56 D-TX CEASED len= 22 cid=212 ssi= 803 usage_marker=62
BSCH : TN/FN/MN = 3/18/56 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
service_mle : TN/FN/MN = 1/ 1/57 D-NWRK-BROADCAST
BSCH : TN/FN/MN = 2/18/57 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
service_mle : TN/FN/MN = 1/ 2/58 D-NWRK-BROADCAST
service_mle : TN/FN/MN = 1/ 3/59 D-NWRK-BROADCAST
BSCH : TN/FN/MN = 4/18/59 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
service_mle : TN/FN/MN = 1/ 4/60 D-NWRK-BROADCAST
BSCH : TN/FN/MN = 3/18/60 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
ser_cmce_sds: TN/FN/MN = 1/ 5/ 1 D-SDS-DATA len= 65
service_mle : TN/FN/MN = 4/ 5/ 1 D-NWRK-BROADCAST
BSCH : TN/FN/MN = 2/18/ 1 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
service_cmce: TN/FN/MN = 1/ 3/ 2 D-RELEASE len= 29 cid=212 ssi= 803 usage_marker=62
service_cmce: TN/FN/MN = 1/ 4/ 2 D-RELEASE len= 29 cid=212 ssi= 803 usage_marker=62
BSCH : TN/FN/MN = 1/18/ 2 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
BSCH : TN/FN/MN = 4/18/ 3 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
BSCH : TN/FN/MN = 3/18/ 4 MAC-SYNC ColorCode= 1 MCC/MNC = 724/ 304 Freq= 390.125000 MHz burst=0
Sorry for my bad english, as you can see by MCC=724, I'm from Brazil