[irrtoolset]IRRToolset 4.8.2 - segfaults on SuSE9 under certain conditions
Havard Eidnes he at uninett.no
Fri Sep 3 12:03:11 CEST 2004
> The command used to cause the segfault is: > > @RtConfig printSuperPrefixRanges "%p/%l\n" filter AS-ROMANIA I see this problem on NetBSD-2.0_BETA as well. The symptom is that if I run this interactively, it will process the command, spit out all the prefixes, return with a prompt, and when that prompt is given EOF, it crashes. I tried running ut under gdb, and have a stack trace, but I suspect that the debugging info is somehow faulty (I don't understand why the code points to the line it does). For what it's worth, here it is: RtConfig> ^D Program received signal SIGSEGV, Segmentation fault. 0x08099d79 in Object::~Object() (this=0x8137300) at ../../Core/util/List.hh:97 97 forw->back = back; (gdb) where #0 0x08099d79 in Object::~Object() (this=0x8137300) at ../../Core/util/List.hh:97 #1 0x0809c94a in AttrClass::~AttrClass() (this=0x812eb80) at rpsl_attr.cc:379 #2 0x080a2241 in Schema::~Schema() (this=0x8107040) at schema.cc:70 #3 0x080c1eaa in __static_initialization_and_destruction_0(int, int) ( __initialize_p=0, __priority=65535) at schema_rpsl.cc:670 #4 0x080c38de in _GLOBAL__D__ZN6Schema15dictionary_textE () at /usr/include/g++/bits/locale_facets.h:214 #5 0x0804baf5 in __dtors () #6 0x0804bbba in __do_global_dtors_aux () #7 0x080d1535 in fini_fallthru () #8 0x4821912f in __cxa_finalize () from /usr/lib/libc.so.12 #9 0x48218ee0 in exit () from /usr/lib/libc.so.12 #10 0x0804b902 in ___start () (gdb) p forw $1 = (ListNode *) 0x8137304 (gdb) p *$ $2 = {forw = 0x8137304, back = 0x8137304} (gdb) p back $3 = (ListNode *) 0x8137304 (gdb) p *$ $4 = {forw = 0x8137304, back = 0x8137304} (gdb) Regards, - Havard