Re: [Quickfix-developers] crashes with latest versions, sample code attached ...
Brought to you by:
orenmnero
|
From: H. S. <st...@pa...> - 2006-09-15 14:38:03
|
Oren,
thanks for your email.
Unfortunately I used gcc gcc4 which also resulted in a crash. Any ideas?
What gcc version do you recommend?
Using built-in specs.
Target: i386-portbld-freebsd6.1
Configured with: ./..//gcc-4.2-20060708/configure --disable-nls
--with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=42
--libdir=/usr/local/lib/gcc-4.2.0
--with-gxx-include-dir=/usr/local/lib/gcc-4.2.0/include/c++/
--infodir=/usr/local/info/gcc42 --disable-rpath --prefix=/usr/local
i386-portbld-freebsd6.1
Thread model: posix
gcc version 4.2.0 20060708 (experimental)
#0 0x282190ee in __gnu_cxx::__pool<true>::_M_reclaim_block ()
from /usr/local/lib/gcc-4.2.0/libstdc++.so.6
#1 0x280c9014 in __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int
const, FIX::FieldBase> >,
__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::deallocate
(this=0xbfbfe674, __p=0x8058140, __n=1) at mt_allocator.h:720
#2 0x280c92d5 in std::_Rb_tree<int, std::pair<int const,
FIX::FieldBase>, std::_Select1st<std::pair<int const, FIX::FieldBase> >,
FIX::message_order, __gnu_cxx::__mt_alloc<std::pair<int const,
FIX::FieldBase>, __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool,
true> > >::_M_erase (this=0xbfbfe674, __x=0x8058140)
at stl_tree.h:371
#3 0x280c92ae in std::_Rb_tree<int, std::pair<int const,
FIX::FieldBase>, std::_Select1st<std::pair<int const, FIX::FieldBase> >,
FIX::message_order, __gnu_cxx::__mt_alloc<std::pair<int const,
FIX::FieldBase>, __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool,
true> > >::_M_erase (this=0xbfbfe674, __x=0x8058100)
at stl_tree.h:1323
#4 0x2815102e in FIX::FieldMap::clear (this=0xbfbfe670) at
stl_tree.h:711
#5 0x281513d6 in ~FieldMap (this=0xbfbfe670) at FieldMap.cpp:35
#6 0x08049f8d in FIX::Message::~Message ()
#7 0x0804a062 in FIX42::Message::~Message ()
#8 0x080492c9 in main ()
Am Wednesday, den 13.09.2006, 12:45 -0500 schrieb Oren Miller:
> Some more information from the gcc bugtracker:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14579
>
> This is from the 3.5 tree, so the bug was certainly in 3.4.4 (which I
> believe is about when mt_allocator was introduced in gcc).
>
> --oren
>
> > backtrace:
> >
> > #0 0x280b6484 in
> __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int
> > const, FIX::FieldBase> > >::deallocate (this=0xbfbfe698,
> __p=0x8058100,
> > __n=0)
> > at mt_allocator.h:430
>
--
Heribert Steuer
PATRONAS Financial Systems GmbH
Wiesentalstr. 50
79115 Freiburg
fon +49 (0)761 400688-11
fax +49 (0)761 400688-50
mob +49 (0)171 215 2530
st...@pa...
http://www.patronas.de
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
|