#40 mged segfault on pick edit prim

crash or data loss
closed-out-of-date
nobody
8
2008-05-05
2005-06-12
No

I selected mouse behaviour pic edit prim and tried to
pick hex bolt head with middle button click. When I
clicked, mged segfaulted with this backtrace:

(gdb) bt
#0 db_dirhash (str=0x0) at db_lookup.c:142
#1 0xb7d94864 in rt_free_soltab (stp=0x8652cf0) at
tree.c:659 #2 0xb7bec2a2 in db_free_tree (tp=0x85dfbb0,
resp=0xb7e12260) at db_tree.c:1414 #3 0xb7bec35c in
db_free_tree (tp=0x8584488, resp=0xb7e12260) at
db_tree.c:1483 #4 0xb7bec35c in db_free_tree
(tp=0x85a8e38, resp=0xb7e12260) at db_tree.c:1483 #5
0xb7bec35c in db_free_tree (tp=0x865dac0,
resp=0xb7e12260) at db_tree.c:1483 #6 0xb7bec35c in
db_free_tree (tp=0x857e450, resp=0xb7e12260) at
db_tree.c:1483 #7 0xb7d800f5 in rt_clean
(rtip=0x8635bb8) at prep.c:852 #8 0xb7d7e4f8 in
rt_free_rti (rtip=0x8635bb8) at prep.c:175 #9
0xb7db5490 in wdb_deleteProc_rt (clientData=0x85f9238)
at wdb_obj.c:1449 #10 0xb7f5df78 in
Tcl_DeleteCommandFromToken (interp=0x8201b30,
cmd=0x86021d0) at tclBasic.c:2487 #11 0xb7f5decb in
Tcl_DeleteCommand (interp=0x8201b30, cmdName=0x8635bb8
"X\026\020\231\001") at tclBasic.c:2372 #12 0xb7da3b6d
in wdb_rt_gettrees_cmd (wdbp=0x0, interp=0x8201b30,
argc=6, argv=0xbfffcaf4) at wdb_obj.c:1483 #13
0xb7db412a in wdb_rt_gettrees_tcl (clientData=0x8635bb8,
interp=0x8635bb8, argc=7, argv=0xbfffcaf0) at
wdb_obj.c:1562 #14 0xb7b0fa58 in bu_cmd
(clientData=0x8635bb8, interp=0x8201b30, argc=7,
argv=0xbfffcaf0, cmds=0xb7e08580, cmd_index=1) at
cmd.c:95 #15 0xb7db3f49 in wdb_cmd
(clientData=0x8635bb8, interp=0x8635bb8, argc=140729272,
argv=0x8635bb8) at wdb_obj.c:420 #16 0xb7f5d609 in
TclInvokeStringCommand (clientData=0x8272e98,
interp=0x8635bb8, objc=138129168, objv=0xbfffcbf0) at
tclBasic.c:1778 #17 0xb7f5e6c6 in TclEvalObjvInternal
(interp=0x8201b30, objc=7, objv=0xbfffcbf0,
command=0x8664820 ".inmem rt_gettrees ray -i -u corner
head10a.s", length=45, flags=0) at tclBasic.c:3087
#18 0xb7f5f234 in Tcl_EvalEx (interp=0x8201b30,
script=0x8664820 ".inmem rt_gettrees ray -i -u corner
head10a.s", numBytes=45, flags=262144) at
tclBasic.c:3682 #19 0xb7f5f7a9 in Tcl_EvalObjEx
(interp=0x8201b30, objPtr=0x864f090, flags=262144) at
tclBasic.c:4000 #20 0xb7f643ef in Tcl_EvalObjCmd
(dummy=0x0, interp=0x8201b30, objc=0, objv=0x1) at
tclCmdAH.c:619 #21 0xb7f5e6c6 in TclEvalObjvInternal
(interp=0x8201b30, objc=7, objv=0x82027f4, command=0x0,
length=0, flags=0) at tclBasic.c:3087 #22 0xb7f85688 in
TclExecuteByteCode (interp=0x8201b30, codePtr=0x85ec4d0)
at tclExecute.c:1404 #23 0xb7f84af5 in TclCompEvalObj
(interp=0x8201b30, objPtr=0x8527af8) at tclExecute.c:982
#24 0xb7fb8262 in TclObjInterpProc
(clientData=0x85e1d08, interp=0x8201b30, objc=3,
objv=0x82027e8) at tclProc.c:1082 #25 0xb7f5e6c6 in
TclEvalObjvInternal (interp=0x8201b30, objc=3,
objv=0x82027e8, command=0x0, length=0, flags=0) at
tclBasic.c:3087 #26 0xb7f85688 in TclExecuteByteCode
(interp=0x8201b30, codePtr=0x8613440) at
tclExecute.c:1404 #27 0xb7f84af5 in TclCompEvalObj
(interp=0x8201b30, objPtr=0x86005e0) at tclExecute.c:982
#28 0xb7fb8262 in TclObjInterpProc
(clientData=0x85d60f0, interp=0x8201b30, objc=3,
objv=0x82027dc) at tclProc.c:1082 #29 0xb7f5e6c6 in
TclEvalObjvInternal (interp=0x8201b30, objc=3,
objv=0x82027dc, command=0x0, length=0, flags=0) at
tclBasic.c:3087 #30 0xb7f85688 in TclExecuteByteCode
(interp=0x8201b30, codePtr=0x85d6b88) at
tclExecute.c:1404 #31 0xb7f84af5 in TclCompEvalObj
(interp=0x8201b30, objPtr=0x85ca848) at tclExecute.c:982
#32 0xb7fb8262 in TclObjInterpProc
(clientData=0x85d0880, interp=0x8201b30, objc=3,
objv=0xbfffe020) at tclProc.c:1082 #33 0xb7f5e6c6 in
TclEvalObjvInternal (interp=0x8201b30, objc=3,
objv=0xbfffe020, command=0x8666a78
"mouse_solid_edit_select 905 -1227", length=33, flags=0)
at tclBasic.c:3087 #34 0xb7f5f234 in Tcl_EvalEx
(interp=0x8201b30, script=0x8666a78
"mouse_solid_edit_select 905 -1227", numBytes=33,
flags=0) at tclBasic.c:3682 #35 0xb7f5f64d in Tcl_Eval
(interp=0x8201b30, string=0x8635bb8 "X\026\020\231\001")
at tclBasic.c:3879 #36 0x080985b7 in common_dm
(argc=136321840, argv=0xbfffe474) at dm-generic.c:322
#37 0x0809a54c in Ogl_dm (argc=3, argv=0xbfffe474) at
dm-ogl.c:249 #38 0x08072c40 in f_dm
(clientData=0x81c97f8, interp=0x3, argc=4,
argv=0xbfffe470) at attach.c:578 #39 0xb7f5d609 in
TclInvokeStringCommand (clientData=0x8228e50,
interp=0x8635bb8, objc=136091640, objv=0xbfffe570) at
tclBasic.c:1778 #40 0xb7f5e6c6 in TclEvalObjvInternal
(interp=0x8201b30, objc=4, objv=0xbfffe570,
command=0xbfffec3f "dm m 701 755]; print_return_val
$tmpstr; break", length=12, flags=0) at
tclBasic.c:3087 #41 0xb7f5f234 in Tcl_EvalEx
(interp=0x8201b30, script=0xbfffec3f "dm m 701 755];
print_return_val $tmpstr; break", numBytes=12, flags=0)
at tclBasic.c:3682 #42 0xb7f5ef93 in
Tcl_EvalTokensStandard (interp=0x8201b30,
tokenPtr=0xbfffe908, count=1) at tclBasic.c:3409 #43
0xb7f5f1c6 in Tcl_EvalEx (interp=0x8201b30,
script=0xbfffec0c "winset .topid_0.ur; focus
.topid_0.ur; set tmpstr [dm m 701 755]; print_return_val
$tmpstr; break", numBytes=97, flags=0) at
tclBasic.c:3667 #44 0xb7f5f64d in Tcl_Eval
(interp=0x8201b30, string=0x8635bb8 "X\026\020\231\001")
at tclBasic.c:3879 #45 0xb7f60cb8 in Tcl_GlobalEval
(interp=0x8201b30, command=0x8635bb8
"X\026\020\231\001") at tclBasic.c:5339 #46 0x0812e280
in Tk_BindEvent (bindingTable=0x824e690,
eventPtr=0x86674b8, tkwin=0x84704d8, numObjects=0,
objectPtr=0xbfffed40) at tkBind.c:1806 #47 0x081470a4 in
TkBindEventProc (winPtr=0x824e690, eventPtr=0x8635bb8)
at tkCmds.c:287 #48 0x0810a752 in Tk_HandleEvent
(eventPtr=0x86674b8) at tkEvent.c:1046 #49 0x0810b00e in
WindowEventProc (evPtr=0x86674b8, flags=-1) at
tkEvent.c:1428 #50 0xb7fadc75 in Tcl_ServiceEvent
(flags=-1) at tclNotify.c:625 #51 0xb7fadf16 in
Tcl_DoOneEvent (flags=-1) at tclNotify.c:866 #52
0x080c9c9c in event_check (non_blocking=0) at ged.c:1330
#53 0x080c76de in main (argc=2, argv=0xbffff1b4) at
ged.c:629

Discussion

  • Sean Morrison

    Sean Morrison - 2005-12-29

    Logged In: YES
    user_id=785737

    I can add some checks in to several of those routines to help mitigate the
    problem, but I can't seem to reproduce the problem here. Can you provide a
    .g and steps that reproduce the crash? Thanks for the report regardless.

     
  • Sean Morrison

    Sean Morrison - 2005-12-29
    • priority: 5 --> 8
     
  • Cliff Yapp

    Cliff Yapp - 2008-05-05

    Logged In: YES
    user_id=11463
    Originator: NO

    Attempted to reproduce again in May 2008, no crash observed. Without a .g and steps to reproduce, and with attempted reproduction failing, closing as out of date.

     
  • Cliff Yapp

    Cliff Yapp - 2008-05-05
    • status: open --> closed-out-of-date
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks