Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • T tetra-kit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • Larry
  • tetra-kit
  • Issues
  • #6
Closed
Open
Created Jun 14, 2020 by orestescaminha@orestescaminha

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

Assignee
Assign to
Time tracking