1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
############# LOG OUTPUT ###############
Process 343134240 (qt_std_cpp) terminated SIGSEGV code=1 fltno=11 ip=7907b318(/base/lib/libstdc++.so.6.0.13@_ZN9__gnu_cxx18__exchange_and_addEPVii+0x40) mapaddr=000ab318. ref=00000000


############# STACK TRACE ###############
Program terminated with signal 11, Segmentation fault.
#0  __gnu_cxx::__exchange_and_add (__mem=0x0, __val=-1)
    at atomicity.cc:51
51	atomicity.cc: No such file or directory.
	in atomicity.cc
(gdb) backtrace
#0  __gnu_cxx::__exchange_and_add (__mem=0x0, __val=-1)
    at atomicity.cc:51
#1  0x7875723c in __exchange_and_add_dispatch (__val=<optimized out>, 
    __mem=<optimized out>)
    at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntoarmeabi/arm-unknown-nto-qnx6.5.0eabi/pic/libstdc++-v3/include/ext/atomicity.h:79
#2  _M_remove_reference (this=<optimized out>)
    at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntoarmeabi/arm-unknown-nto-qnx6.5.0eabi/pic/libstdc++-v3/include/bits/locale_classes.h:505
#3  std::locale::~locale (this=0x781acc18, __in_chrg=<optimized out>)
    at ../../../../../libstdc++-v3/src/locale.cc:89
#4  0x7876215c in ~basic_streambuf (this=<optimized out>, 
    __in_chrg=<optimized out>)
    at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntoarmeabi/arm-unknown-nto-qnx6.5.0eabi/pic/libstdc++-v3/include/streambuf:193
#5  std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::~basic_filebuf (this=0x781acbfc, __in_chrg=<optimized out>)
    at /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntoarmeabi/arm-unknown-nto-qnx6.5.0eabi/pic/libstdc++-v3/include/fstream:215
#6  0x015bb6d4 in __cxa_finalize ()
   from /home/preet/bbndk-2.0.1/target/qnx6/armle-v7/lib/libc.so.3
#7  0x781683d4 in _btext ()
   from /home/preet/bbndk-2.0.1/target/qnx6/armle-v7/lib/libcpp.so.4
#8  0x015d06e8 in ?? ()
   from /home/preet/bbndk-2.0.1/target/qnx6/armle-v7/lib/libc.so.3
#9  0x015d06e8 in ?? ()
   from /home/preet/bbndk-2.0.1/target/qnx6/armle-v7/lib/libc.so.3
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)