Modify

Opened 7 years ago

Closed 7 years ago

#34 closed defect (fixed)

Crash at run time with RTCM2 streams

Reported by: jmchev Owned by: mervart
Priority: critical Component: BNC
Version: Keywords: crash at run time; RTCM2
Cc: jmchev, Eric.pottiaux@…

Description

Dear BNC developers,

We are using the SVN code source to compile the BNC software and we encounter a problem when trying to listen to RTCM2 streams.

The BNC compiles without problem, but crashes at run time (a second after pressing START) as soon as an RTCM2 stream is configured (e.g. ALME0 or UNPG0 from the EUREF caster).

Below you'll find a sample of the error BNC returns in the terminal (related to free() pointer). Do you have any idea on how to resolve this problem?

Thanks you for your support,
With kind regards,

Jean-Marie Chevalier and Eric Pottiaux

Royal Observatory of Belgium
Reference Systems and Geodynamics
http://gnss.be/

Email: jean-marie.chevalier@…
Phone: +32 (0)2 79 03 951

Avenue Circulaire, 3
1180 Bruxelles
Belgium

* glibc detected * ./bnc: free(): invalid pointer: 0x00007f071c011888 *
======= Backtrace: =========
/lib64/libc.so.6[0x349e475e66]
/usr/lib64/libstdc++.so.6(_ZNSsD1Ev+0x39)[0x34a0c9d4c9]
./bnc[0x42c5fc]
./bnc[0x42c63c]
./bnc[0x507748]
./bnc[0x42832d]
/usr/lib64/libQtCore.so.4[0x34a7c70c05]
/lib64/libpthread.so.0[0x349ec079d1]
/lib64/libc.so.6(clone+0x6d)[0x349e4e88fd]
======= Memory map: ========
00400000-009e7000 r-xp 00000000 fd:00 783400 /home/ntripdevel/scripts/bnc-source-update/bnc
00be6000-00bf1000 rw-p 005e6000 fd:00 783400 /home/ntripdevel/scripts/bnc-source-update/bnc
00bf1000-00bf2000 rw-p 00000000 00:00 0
023a1000-02af9000 rw-p 00000000 00:00 0 [heap]
349e000000-349e020000 r-xp 00000000 fd:00 137761 /lib64/ld-2.12.so
349e21f000-349e220000 r--p 0001f000 fd:00 137761 /lib64/ld-2.12.so
349e220000-349e221000 rw-p 00020000 fd:00 137761 /lib64/ld-2.12.so
349e221000-349e222000 rw-p 00000000 00:00 0
349e400000-349e58a000 r-xp 00000000 fd:00 137762 /lib64/libc-2.12.so
349e58a000-349e78a000 ---p 0018a000 fd:00 137762 /lib64/libc-2.12.so
349e78a000-349e78e000 r--p 0018a000 fd:00 137762 /lib64/libc-2.12.so
349e78e000-349e78f000 rw-p 0018e000 fd:00 137762 /lib64/libc-2.12.so
349e78f000-349e794000 rw-p 00000000 00:00 0
349e800000-349e802000 r-xp 00000000 fd:00 137765 /lib64/libdl-2.12.so
349e802000-349ea02000 ---p 00002000 fd:00 137765 /lib64/libdl-2.12.so
349ea02000-349ea03000 r--p 00002000 fd:00 137765 /lib64/libdl-2.12.so
349ea03000-349ea04000 rw-p 00003000 fd:00 137765 /lib64/libdl-2.12.so
349ec00000-349ec17000 r-xp 00000000 fd:00 137763 /lib64/libpthread-2.12.so
349ec17000-349ee17000 ---p 00017000 fd:00 137763 /lib64/libpthread-2.12.so
349ee17000-349ee18000 r--p 00017000 fd:00 137763 /lib64/libpthread-2.12.so
349ee18000-349ee19000 rw-p 00018000 fd:00 137763 /lib64/libpthread-2.12.so
349ee19000-349ee1d000 rw-p 00000000 00:00 0
349f000000-349f007000 r-xp 00000000 fd:00 137766 /lib64/librt-2.12.so
349f007000-349f206000 ---p 00007000 fd:00 137766 /lib64/librt-2.12.so
349f206000-349f207000 r--p 00006000 fd:00 137766 /lib64/librt-2.12.so
349f207000-349f208000 rw-p 00007000 fd:00 137766 /lib64/librt-2.12.so
349f400000-349f415000 r-xp 00000000 fd:00 137764 /lib64/libz.so.1.2.3
349f415000-349f614000 ---p 00015000 fd:00 137764 /lib64/libz.so.1.2.3
349f614000-349f615000 r--p 00014000 fd:00 137764 /lib64/libz.so.1.2.3
349f615000-349f616000 rw-p 00015000 fd:00 137764 /lib64/libz.so.1.2.3
349f800000-349f883000 r-xp 00000000 fd:00 137769 /lib64/libm-2.12.so
349f883000-349fa82000 ---p 00083000 fd:00 137769 /lib64/libm-2.12.so
349fa82000-349fa83000 r--p 00082000 fd:00 137769 /lib64/libm-2.12.so
349fa83000-349fa84000 rw-p 00083000 fd:00 137769 /lib64/libm-2.12.so
349fc00000-349fd15000 r-xp 00000000 fd:00 137767 /lib64/libglib-2.0.so.0.2800.8
349fd15000-349ff15000 ---p 00115000 fd:00 137767 /lib64/libglib-2.0.so.0.2800.8
349ff15000-349ff16000 rw-p 00115000 fd:00 137767 /lib64/libglib-2.0.so.0.2800.8
349ff16000-349ff17000 rw-p 00000000 00:00 0
34a0000000-34a001d000 r-xp 00000000 fd:00 137773 /lib64/libselinux.so.1
34a001d000-34a021c000 ---p 0001d000 fd:00 137773 /lib64/libselinux.so.1
34a021c000-34a021d000 r--p 0001c000 fd:00 137773 /lib64/libselinux.so.1
34a021d000-34a021e000 rw-p 0001d000 fd:00 137773 /lib64/libselinux.so.1
34a021e000-34a021f000 rw-p 00000000 00:00 0
34a0400000-34a0416000 r-xp 00000000 fd:00 137772 /lib64/libresolv-2.12.so
34a0416000-34a0616000 ---p 00016000 fd:00 137772 /lib64/libresolv-2.12.so
34a0616000-34a0617000 r--p 00016000 fd:00 137772 /lib64/libresolv-2.12.so
34a0617000-34a0618000 rw-p 00017000 fd:00 137772 /lib64/libresolv-2.12.so
34a0618000-34a061a000 rw-p 00000000 00:00 0
34a0800000-34a0816000 r-xp 00000000 fd:00 137770 /lib64/libgcc_s-4.4.7-20120601.so.1
34a0816000-34a0a15000 ---p 00016000 fd:00 137770 /lib64/libgcc_s-4.4.7-20120601.so.1
34a0a15000-34a0a16000 rw-p 00015000 fd:00 137770 /lib64/libgcc_s-4.4.7-20120601.so.1
34a0c00000-34a0ce8000 r-xp 00000000 fd:00 397861 /usr/lib64/libstdc++.so.6.0.13
34a0ce8000-34a0ee8000 ---p 000e8000 fd:00 397861 /usr/lib64/libstdc++.so.6.0.13
34a0ee8000-34a0eef000 r--p 000e8000 fd:00 397861 /usr/lib64/libstdc++.so.6.0.13
34a0eef000-34a0ef1000 rw-p 000ef000 fd:00 397861 /usr/lib64/libstdc++.so.6.0.13
34a0ef1000-34a0f06000 rw-p 00000000 00:00 0
34a1000000-34a106f000 r-xp 00000000 fd:00 398202 /usr/lib64/libmng.so.1.0.0
34a106f000-34a126e000 ---p 0006f000 fd:00 398202 /usr/lib64/libmng.so.1.0.0
34a126e000-34a1273000 rw-p 0006e000 fd:00 398202 /usr/lib64/libmng.so.1.0.0
34a1400000-34a1404000 r-xp 00000000 fd:00 137768 /lib64/libgthread-2.0.so.0.2800.8
34a1404000-34a1603000 ---p 00004000 fd:00 137768 /lib64/libgthread-2.0.so.0.2800.8
34a1603000-34a1604000 rw-p 00003000 fd:00 137768 /lib64/libgthread-2.0.so.0.2800.8
34a1800000-34a1804000 r-xp 00000000 fd:00 136793 /lib64/libuuid.so.1.3.0
34a1804000-34a1a03000 ---p 00004000 fd:00 136793 /lib64/libuuid.so.1.3.0
34a1a03000-34a1a04000 rw-p 00003000 fd:00 136793 /lib64/libuuid.so.1.3.0
34a1c00000-34a1c11000 r-xp 00000000 fd:00 423755 /usr/lib64/libXext.so.6.4.0Aborted (core dumped)

Attachments (0)

Change History (1)

comment:1 by stuerze, 7 years ago

Resolution: fixed
Status: newclosed

Dear Colleagues,

This bug should be fixed now (current svn version)
Nevertheless, please note that BNC version 2.12 is under development. Hence, so far it isn't tested and documented in conclusion.

Best regards, Andrea

Modify Ticket

Change Properties
Action
as closed The owner will remain mervart.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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