On 06/05/11 20:23, Julien PUYDT wrote:
Hi,
I compiled binutils (and binutils-dev) with the upstream patch, and that
made the little test work.
Unfortunately, we came up with that test after a hunt for a crash in
ekiga. And I recompiled ptlib+opal+ekiga with my patched binutils only
to find that the crash is still there :-/
That means the patch isn't good enough... and that we don't have a small
test anymore.
Indeed. Even with the new binutils 2.21.51.20110421-4, my example
works, but ptlib still crashes.
Maintainer, is the following trace (generated with hello world example
of ptlib) enough to pin down the problem? I haven't yet succeed to
create a simple example to trigger the crash.
(gdb) bt
#0 0x00007ffff78e8101 in operator[] (this=0x7ffff7bc6580, __index=0)
at /usr/include/c++/4.6/ext/bitmap_allocator.h:128
#1
__gnu_cxx::__detail::_Bitmap_counter<__gnu_cxx::bitmap_allocator<PContainerReference>::_Alloc_block*>::_M_reset
(this=0x7ffff7bc6580, __index=0) at
/usr/include/c++/4.6/ext/bitmap_allocator.h:430
#2 0x00007ffff78e06d5 in _M_allocate_single_object ()
at /usr/include/c++/4.6/ext/bitmap_allocator.h:883
#3 allocate () at /usr/include/c++/4.6/ext/bitmap_allocator.h:1020
#4 PContainerReference::operator new () at ptlib/common/contain.cxx:55
#5 0x00007ffff78e0c1b in PContainer::PContainer (this=0x7fffffffe740,
initialSize=19)
at ptlib/common/contain.cxx:67
#6 0x00007ffff78e0e92 in PAbstractArray::PAbstractArray
(this=0x7fffffffe740, elementSizeInBytes=1,
initialSize=<value optimized out>) at ptlib/common/contain.cxx:174
#7 0x00007ffff78e1f19 in PBaseArray (this=0x7fffffffe740,
cstr=0x7ffff78ea222 "PVideoOutputDevice")
at /home/ededu/softs/ekiga/ptlib/include/ptlib/array.h:287
#8 PCharArray (this=0x7fffffffe740, cstr=0x7ffff78ea222
"PVideoOutputDevice")
at /home/ededu/softs/ekiga/ptlib/include/ptlib/array.h:571
#9 PString::PString (this=0x7fffffffe740, cstr=0x7ffff78ea222
"PVideoOutputDevice")
at ptlib/common/contain.cxx:618
#10 0x00007ffff7758f65 in PWLIB_StaticLoader_SDL_PVideoOutputDevice ()
at ptclib/vsdl.cxx:64
#11 __static_initialization_and_destruction_0 () at ptclib/vsdl.cxx:64
#12 _GLOBAL__sub_I_vsdl.cxx(void) () at ptclib/vsdl.cxx:319
#13 0x00007ffff7dead10 in call_init (l=<value optimized out>, argc=1,
argv=0x7fffffffe828,
env=0x7fffffffe838) at dl-init.c:85
#14 0x00007ffff7deae07 in _dl_init (main_map=0x7ffff7ffe1c8, argc=1,
argv=0x7fffffffe828,
env=0x7fffffffe838) at dl-init.c:134
#15 0x00007ffff7dddb2a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#16 0x0000000000000001 in ?? ()
#17 0x00007fffffffead7 in ?? ()
#18 0x0000000000000000 in ?? ()
Cheers,
--
Eugen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]