#1 abort() because of plib assertion

closed
nobody
None
5
2004-01-26
2004-01-25
Melchior FRANZ
No

Don't know if it's a plib bug, but as I've only seen it in
fgrun, I post this message here. It reproducibly happens, if
I start fgrun, then first select airwaveXtreme150 and then
airwaveXtreme150-v1-nl-uiuc.

fgrun: ssg.h:302: void ssgBase::deRef(): Assertion `refc >
0' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 28039)]
0x403e4b71 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0 0x403e4b71 in kill () from /lib/i686/libc.so.6
#1 0x404f6cf1 in pthread_kill ()
from /lib/i686/libpthread.so.0
#2 0x404f700b in raise () from /lib/i686/libpthread.so.0
#3 0x403e4904 in raise () from /lib/i686/libc.so.6
#4 0x403e5e8c in abort () from /lib/i686/libc.so.6
#5 0x403dde84 in __assert_fail () from /lib/i686/libc.so.6
#6 0x080a925b in ssgBase::deRef() (this=0x8741cc0) at
ssg.h:302
#7 0x080a760b in ssgDeRefDelete(ssgBase*)
(s=0x8741cc0) at ssg.cxx:86
#8 0x080cbbb5 in ~ssgVtxTable (this=0x8740490) at
ssgVtxTable.cxx:244
#9 0x080dcd65 in ~ssgVtxArray (this=0x8740490) at
ssgVtxArray.cxx:76
#10 0x080a7632 in ssgDeRefDelete(ssgBase*)
(s=0x8740490) at ssg.cxx:89
#11 0x080b0c51 in ssgKidList::removeEntity(unsigned)
(this=0x866e3c0, n=361) at ssgList.cxx:115
#12 0x080ab155 in ssgBranch::removeKid(int)
(this=0x866e370, n=361) at ssgBranch.cxx:97
#13 0x080ab1c4 in ssgBranch::removeAllKids()
(this=0x866e370) at ssgBranch.cxx:112
#14 0x080aaf9d in ~ssgBranch (this=0x866e370) at
ssgBranch.cxx:59
#15 0x080a7632 in ssgDeRefDelete(ssgBase*)
(s=0x866e370) at ssg.cxx:89
#16 0x080b0c51 in ssgKidList::removeEntity(unsigned)
(this=0x83acbe0, n=0) at ssgList.cxx:115
#17 0x080ab155 in ssgBranch::removeKid(int)
(this=0x83acb90, n=0) at ssgBranch.cxx:97
#18 0x080ab1c4 in ssgBranch::removeAllKids()
(this=0x83acb90) at ssgBranch.cxx:112
#19 0x08070f40 in Fl_Plib::clear() ()
#20 0x08052fce in Wizard::preview_aircraft() ()
#21 0x4006ed39 in Fl_Browser_::handle(int) ()
from /usr/X11R6/lib/libfltk.so.1.1

Discussion

  • Melchior FRANZ
    Melchior FRANZ
    2004-01-25

    Logged In: YES
    user_id=667967

    Seems to happen always when selecting any aircraft after one
    of marchetti, asw20, airwaveXtreme150, t2texan6, FW190
    (apparently all MDL models) had been selected. You always see
    "NoLoDs = 1" on the console when fgrun/plib is in such a bad
    state and will crash with the next selection. This is defined in
    plib/src/ssg/ssgLoadMDL.cxx:1890. Is it a plib bug, or does fgrun
    not handle this special case right.

     
  • Bernie Bright
    Bernie Bright
    2004-01-26

    • status: open --> closed
     
  • Bernie Bright
    Bernie Bright
    2004-01-26

    Logged In: YES
    user_id=16324

    Further investigations indicate this is a plib MDL model
    loading bug.