Modify

Opened 13 months ago

Last modified 4 months ago

#161 needinfo defect

Segmentation Fault BNC 2.13 RTNET upload

Reported by: azeddine.benomar@… Owned by: azeddine.benomar@…
Priority: blocker Component: BNC
Version: Keywords:
Cc:

Description

Hello,

The compilation of version 2.13 on a debian 11 went fine.
However when I run it to encode our SSR data received from a socket (RTNET):
./bnc -nw --conf BNC_SSR.bnc
I get the segmentation fault error.

I run it with gdb to obtain the backtrace I have this:


(gdb) run -nw --conf BNC_SSR.bnc
Starting program: /home/debian/ODTS/bnc_org -nw --conf BNC_SSR.bnc [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3793700 (LWP 401342)] [New Thread 0x7ffff2f92700 (LWP 401343)] [New Thread 0x7ffff2791700 (LWP 401344)] [New Thread 0x7ffff1f86700 (LWP 401346)] [New Thread 0x7ffff1490700 (LWP 401347)] [New Thread 0x7ffff0c8f700 (LWP 401348)] [New Thread 0x7fffdbfff700 (LWP 401353)] [New Thread 0x7fffdb7fe700 (LWP 401354)] [New Thread 0x7fffdaffd700 (LWP 401356)] [New Thread 0x7fffda7fc700 (LWP 401358)] [New Thread 0x7fffd9ffb700 (LWP 401361)]

Thread 8 "bncGetThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdbfff700 (LWP 401353)] bncRtnetUploadCaster::decodeRtnetEpoch (this=0x5555561c1fc0, epochLines=...) at upload/bncrtnetuploadcaster.cpp:392
392 co.Supplied[_ssrCorr->COBOFS_CLOCK] = 1;

(gdb) backtrace
#0 bncRtnetUploadCaster::decodeRtnetEpoch (this=0x5555561c1fc0, epochLines=...) at upload/bncrtnetuploadcaster.cpp:392
#1 0x0000555555695092 in bncRtnetUploadCaster::decodeRtnetStream (this=0x5555561c1fc0,

buffer=0x7fffd0009f18 "* 2023 4 4 11 32 5.00000000\nIND 0 1\nG01 APC 3 -17386338.4846 -13827835.8452 -15149029.7755 Clk 1 58859.8123 Vel 3 1828.3513 277.4633 -2369.2365 CoM 3 -17386339.7559 -13827836.4605 -15149030.420"...,
bufLen=32336) at upload/bncrtnetuploadcaster.cpp:351

#2 0x000055555568c532 in bncRtnetDecoder::Decode (this=0x5555561bb940,

buffer=0x7fffd0009f18 "* 2023 4 4 11 32 5.00000000\nIND 0 1\nG01 APC 3 -17386338.4846 -13827835.8452 -15149029.7755 Clk 1 58859.8123 Vel 3 1828.3513 277.4633 -2369.2365 CoM 3 -17386339.7559 -13827836.4605 -15149030.420"...,
bufLen=32336, errmsg=std::vector of length 0, capacity 0) at upload/bncrtnetdecoder.cpp:99

#3 0x00005555555aa982 in bncGetThread::run (this=0x5555561c1850) at bncgetthread.cpp:520
#4 0x00007ffff6ba8be1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff6abfea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6 0x00007ffff66b4a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Here you find the configuration file and a simple of the RTNET data.

Attachments (1)

RTNET.spa (65.6 KB ) - added by azeddine.benomar@… 13 months ago.
RTNET Stream SSR

Download all attachments as: .zip

Change History (3)

by azeddine.benomar@…, 13 months ago

Attachment: RTNET.spa added

RTNET Stream SSR

comment:1 by stoecker, 12 months ago

Component: OtherBNC
Owner: changed from team to stuerze

comment:2 by stuerze, 4 months ago

Owner: changed from stuerze to azeddine.benomar@…
Status: newneedinfo

Somehow I have that overlooked. I'm sorry for that. In case it is still an issue, it would be helpful to get a raw data file with all used input data, such as SSR corrections in RTNET format and broadcast ephemerides in RTCM 3 format: https://software.rtcm-ntrip.org/export/HEAD/ntrip/trunk/BNC/src/bnchelp.html#rawout

Modify Ticket

Change Properties
Action
as needinfo The owner will remain azeddine.benomar@….
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from azeddine.benomar@… to the selected user. Next status will be 'assigned'.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from azeddine.benomar@… to anonymous. Next status will be 'accepted'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.