Opened 22 months ago
Closed 8 months ago
#161 closed defect (fixed)
Segmentation Fault BNC 2.13 RTNET upload
Reported by: | Owned by: | ||
---|---|---|---|
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)
Change History (4)
by , 22 months ago
comment:1 by , 21 months ago
Component: | Other → BNC |
---|---|
Owner: | changed from | to
comment:2 by , 14 months ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
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
comment:3 by , 8 months ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
RTNET Stream SSR