Good day all,

I have too a problem with DomParser of unstable tree. I develop a little
software and it segfault with unstable but not with testing tree.

The segfault seems to be on libxml++2.6 so I compile and execute the
example program on examples/dom_parser. This program segfault on the
same point of my application.

This is some information provided by gdb and the core dump of example
program:

(gdb) info stack
#0  0xb7ca3b6e in __gnu_cxx::__pool<true>::_M_reclaim_block () from
/usr/lib/libstdc++.so.6
#1  0x0804a731 in __gnu_cxx::__mt_alloc<std::_List_node<xmlpp::Node*>,
__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::deallocate
()
#2  0x0804a74d in std::_List_base<xmlpp::Node*,
std::allocator<xmlpp::Node*> >::_M_put_node ()
#3  0x0804a7b6 in std::_List_base<xmlpp::Node*,
std::allocator<xmlpp::Node*> >::_M_clear ()
#4  0xb7f8cd4c in xmlpp::Node::get_children () from
/usr/lib/libxml++-2.6.so.1
#5  0xb7f8d393 in xmlpp::Node::get_children () from
/usr/lib/libxml++-2.6.so.1
#6  0x08049e05 in print_node ()
#7  0x0804a01f in main ()

and this is informations provided by gdb and the code dump of my
program:

(gdb) info stack 
#0  0xb754eb6e in __gnu_cxx::__pool<true>::_M_reclaim_block () from
/usr/lib/libstdc++.so.6
#1  0x08057dfb in __gnu_cxx::__mt_alloc<std::_List_node<xmlpp::Node*>,
__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::deallocate (
    this=0xbffb3ba4, __p=0x80c0440, __n=1) at mt_allocator.h:717
#2  0x08057e17 in std::_List_base<xmlpp::Node*,
    std::allocator<xmlpp::Node*> >::_M_put_node (this=0xbffb3ba4,
    __p=0x80c0440) at stl_list.h:317
#3  0x08057e80 in std::_List_base<xmlpp::Node*,
    std::allocator<xmlpp::Node*> >::_M_clear (this=0xbffb3ba4) at
    list.tcc:78
#4  0xb7745d4c in xmlpp::Node::get_children () from
    /usr/lib/libxml++-2.6.so.1
#5  0xb7746393 in xmlpp::Node::get_children () from
    /usr/lib/libxml++-2.6.so.1
#6  0x0805dab7 in Interface::Core::load (this=0xbffb3e78,
    [EMAIL PROTECTED]) at interface/core.cc:39
#7  0x0805e467 in Core (this=0xbffb3e78, [EMAIL PROTECTED]) at
    interface/core.cc:19
#8  0x08064c37 in MainWindow (this=0xbffb3dc0, [EMAIL PROTECTED]) at
    interface/gtkmm/mainwindow.cc:14
#9  0x080519c1 in main (ARGC=1, ARGV=0xbffb3f44) at main.cc:15

You can see level 0 to 5 are identical.

Please feel free to contact me for more informations.

Regards,

-- 
Nicolas Haller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to