Le 10/02/2013 17:48, Jean-Marc Choulet a écrit : > Hello, > > I have a little problem with my application. How can I find my error ? > Can you give me some idea ? > > Thank a lot > > > *** longjmp causes uninitialized stack frame ***: > /usr/local/bin/tntnet terminated > ======= Backtrace: ========= > /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x2aed5545e817] > /lib/x86_64-linux-gnu/libc.so.6(+0x10a78d)[0x2aed5545e78d] > /lib/x86_64-linux-gnu/libc.so.6(__longjmp_chk+0x33)[0x2aed5545e6f3] > /usr/lib/x86_64-linux-gnu/libcurl.so.4(+0xdff5)[0x2aed79c17ff5] > /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x2aed54c2fcb0] > /lib/x86_64-linux-gnu/libpthread.so.0(pthread_cond_wait+0xc4)[0x2aed54c2bd84] > > /usr/local/lib/libcxxtools.so.8(_ZN8cxxtools13ConditionImpl4waitERNS_5MutexE+0xd)[0x2aed546b3aed] > > > /usr/local/lib/libtntnet.so.10(_ZN3tnt6Tntnet3runEv+0x404)[0x2aed549f0444] > > /usr/local/bin/tntnet[0x416b3c] > /usr/local/bin/tntnet[0x4086e3] > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x2aed5537576d] > /usr/local/bin/tntnet[0x408b99] > ======= Memory map: ======== > 00400000-0041b000 r-xp 00000000 08:06 > 2093556 /usr/local/bin/tntnet > 0061a000-0061b000 r--p 0001a000 08:06 > 2093556 /usr/local/bin/tntnet > 0061b000-0061c000 rw-p 0001b000 08:06 > 2093556 /usr/local/bin/tntnet > 0087c000-00964000 rw-p 00000000 00:00 > 0 [heap] > 2aed54409000-2aed5442b000 r-xp 00000000 08:06 > 3274600 /lib/x86_64-linux-gnu/ld-2.15.so > 2aed5442b000-2aed5442d000 rw-p 00000000 00:00 0 > 2aed5462b000-2aed5462c000 r--p 00022000 08:06 > 3274600 /lib/x86_64-linux-gnu/ld-2.15.so > 2aed5462c000-2aed5462e000 rw-p 00023000 08:06 > 3274600 /lib/x86_64-linux-gnu/ld-2.15.so > 2aed5462e000-2aed54762000 r-xp 00000000 08:06 > 2224703 /usr/local/lib/libcxxtools.so.8.0.0 > 2aed54762000-2aed54961000 ---p 00134000 08:06 > 2224703 /usr/local/lib/libcxxtools.so.8.0.0 > 2aed54961000-2aed5496c000 r--p 00133000 08:06 > 2224703 /usr/local/lib/libcxxtools.so.8.0.0 > 2aed5496c000-2aed5496f000 rw-p 0013e000 08:06 > 2224703 /usr/local/lib/libcxxtools.so.8.0.0 > 2aed5496f000-2aed54970000 rw-p 00000000 00:00 0 > 2aed54970000-2aed54a18000 r-xp 00000000 08:06 > 2237707 /usr/local/lib/libtntnet.so.10.0.0 > 2aed54a18000-2aed54c17000 ---p 000a8000 08:06 > 2237707 /usr/local/lib/libtntnet.so.10.0.0 > 2aed54c17000-2aed54c1c000 r--p 000a7000 08:06 > 2237707 /usr/local/lib/libtntnet.so.10.0.0 > 2aed54c1c000-2aed54c1e000 rw-p 000ac000 08:06 > 2237707 /usr/local/lib/libtntnet.so.10.0.0 > 2aed54c1e000-2aed54c20000 rw-p 00000000 00:00 0 > 2aed54c20000-2aed54c38000 r-xp 00000000 08:06 3270463 > /lib/x86_64-linux-gnu/libpthread-2.15.so > 2aed54c38000-2aed54e37000 ---p 00018000 08:06 3270463 > /lib/x86_64-linux-gnu/libpthread-2.15.so > 2aed54e37000-2aed54e38000 r--p 00017000 08:06 3270463 > /lib/x86_64-linux-gnu/libpthread-2.15.so > 2aed54e38000-2aed54e39000 rw-p 00018000 08:06 3270463 > /lib/x86_64-linux-gnu/libpthread-2.15.so > 2aed54e39000-2aed54e3d000 rw-p 00000000 00:00 0 > 2aed54e3d000-2aed54f1f000 r-xp 00000000 08:06 1970526 > /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 > 2aed54f1f000-2aed5511e000 ---p 000e2000 08:06 1970526 > /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 > 2aed5511e000-2aed55126000 r--p 000e1000 08:06 1970526 > /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 > 2aed55126000-2aed55128000 rw-p 000e9000 08:06 1970526 > /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16 > 2aed55128000-2aed5513d000 rw-p 00000000 00:00 0 > 2aed5513d000-2aed55152000 r-xp 00000000 08:06 > 3274154 /lib/x86_64-linux-gnu/libgcc_s.so.1 > 2aed55152000-2aed55351000 ---p 00015000 08:06 > 3274154 /lib/x86_64-linux-gnu/libgcc_s.so.1 > 2aed55351000-2aed55352000 r--p 00014000 08:06 > 3274154 /lib/x86_64-linux-gnu/libgcc_s.so.1 > 2aed55352000-2aed55353000 rw-p 00015000 08:06 > 3274154 /lib/x86_64-linux-gnu/libgcc_s.so.1 > 2aed55353000-2aed55354000 rw-p 00000000 00:00 0 > 2aed55354000-2aed55509000 r-xp 00000000 08:06 > 3270461 /lib/x86_64-linux-gnu/libc-2.15.so > 2aed55509000-2aed55708000 ---p 001b5000 08:06 > 3270461 /lib/x86_64-linux-gnu/libc-2.15.so > 2aed55708000-2aed5570c000 r--p 001b4000 08:06 > 3270461 /lib/x86_64-linux-gnu/libc-2.15.so > 2aed5570c000-2aed5570e000 rw-p 001b8000 08:06 > 3270461 /lib/x86_64-linux-gnu/libc-2.15.so > 2aed5570e000-2aed55713000 rw-p 00000000 00:00 0 > 2aed55713000-2aed5571a000 r-xp 00000000 08:06 > 3270465 /lib/x86_64-linux-gnu/librt-2.15.so > 2aed5571a000-2aed55919000 ---p 00007000 08:06 > 3270465 /lib/x86_64-linux-gnu/librt-2.15.so > 2aed55919000-2aed5591a000 r--p 00006000 08:06 > 3270465 /lib/x86_64-linux-gnu/librt-2.15.so > 2aed5591a000-2aed5591b000 rw-p 00007000 08:06 > 3270465 /lib/x86_64-linux-gnu/librt-2.15.so > 2aed5591b000-2aed5591d000 r-xp 00000000 08:06 > 3270460 /lib/x86_64-linux-gnu/libdl-2.15.so > 2aed5591d000-2aed55b1d000 ---p 00002000 08:06 > 3270460 /lib/x86_64-linux-gnu/libdl-2.15.so > 2aed55b1d000-2aed55b1e000 r--p 00002000 08:06 > 3270460 /lib/x86_64-linux-gnu/libdl-2.15.so > 2aed55b1e000-2aed55b1f000 rw-p 00003000 08:06 > 3270460 /lib/x86_64-linux-gnu/libdl-2.15.so > 2aed55b1f000-2aed55b20000 rw-p 00000000 00:00 0 > 2aed55b20000-2aed55c1b000 r-xp 00000000 08:06 > 3274405 /lib/x86_64-linux-gnu/libm-2.15.so > 2aed55c1b000-2aed55e1a000 ---p 000fb000 08:06 > 3274405 /lib/x86_64-linux-gnu/libm-2.15.so > 2aed55e1a000-2aed55e1b000 r--p 000fa000 08:06 > 3274405 /lib/x86_64-linux-gnu/libm-2.15.so > 2aed55e1b000-2aed55e1c000 rw-p 000fb000 08:06 > 3274405 /lib/x86_64-linux-gnu/libm-2.15.so > 2aed55e1c000-2aed55e32000 r-xp 00000000 08:06 > 3274244 /lib/x86_64-linux-gnu/libz.so.1.2.3.4 > 2aed55e32000-2aed56031000 ---p 00016000 08:06 3274244 > /lib/x86_64-linux-gnu/libz.so.1.2.3.4make: *** [test] Abandon (vidange > mémoire) Hello,
My core dump analyzing (without debug info) gdb tntnet core GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /usr/local/bin/tntnet...done. [New LWP 2292] [New LWP 2298] [New LWP 2293] [New LWP 2295] [New LWP 2303] [New LWP 2305] [New LWP 2302] [New LWP 2312] [New LWP 2316] [New LWP 2315] [New LWP 2313] [New LWP 2308] [New LWP 2307] warning: Can't read pathname for load map: Erreur d'entrée/sortie. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `tntnet -c tntnet.xml'. Program terminated with signal 6, Aborted. #0 0x00007f9835776425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) where #0 0x00007f9835776425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f9835779b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007f98357b439e in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007f983584a817 in __fortify_fail () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00007f983584a78d in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x00007f983584a6f3 in __longjmp_chk () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x00007f9829cbdff5 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4 #7 <signal handler called> #8 0x00007f9836020d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #9 0x00007f9836566aed in cxxtools::ConditionImpl::wait (this=<optimized out>, mtx=...) at conditionimpl.cpp:54 #10 0x00007f98362b2444 in wait (m=<synthetic pointer>, this=0x7ffff182a658) at /usr/local/include/cxxtools/condition.h:68 #11 tnt::Tntnet::run (this=0x7ffff182a650) at tntnet.cpp:233 #12 0x0000000000416b3c in tnt::Process::run (this=0x7ffff182a640) at process.cpp:341 #13 0x00000000004086e3 in main (argc=1, argv=0x7ffff182ab18) at main.cpp:265 (gdb) q ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
