public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Insight crash I have not seen before.
@ 2000-04-27  0:17 Mo DeJong
  2000-04-27  1:35 ` Mo DeJong
  0 siblings, 1 reply; 4+ messages in thread
From: Mo DeJong @ 2000-04-27  0:17 UTC (permalink / raw)
  To: insight

I just ran into a new insight crasher. It happend with the
insight from the EDK release.

In the hope that it might help, I am going to append the entire
stack trace from the core file.


#0  check_typedef (type=0x0) at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtypes.c:1137
#1  0x80527bd in allocate_value (type=0x0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/values.c:84
#2  0x80b2867 in read_var_value (var=0x9307048, frame=0x0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/findvar.c:1264
#3  0x8059027 in value_of_variable (var=0x9307048, b=0x0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/valops.c:861
#4  0x80548dc in evaluate_subexp_standard (expect_type=0x0, exp=0x853dd78,
pos=0xbfff8dfc, noside=EVAL_NORMAL)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/eval.c:457
#5  0x80540c8 in evaluate_expression (exp=0x853dd78)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/eval.c:72
#6  0x808c2a1 in wrap_evaluate_expression (
    a=0xbfff902c "0\2204\220xS\b(3]\tl\220X\220F\b\b\b\bd\220r!\b\002")
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-wrapper.c:256
#7  0x809d4f8 in catch_errors (func=0x808c290 <wrap_evaluate_expression>,
args=0xbfff902c, 
    errstring=0x82172d5 "", mask=2) at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/top.c:563
#8  0x808c146 in call_wrapped_function (fn=0x808c290
<wrap_evaluate_expression>, arg=0xbfff9030)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-wrapper.c:121
#9  0x808c27e in GDB_evaluate_expression (exp=0x853dd78, value=0xbfff9074)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-wrapper.c:242
#10 0x808b95f in c_value_of_root (var=0x8fa0200)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-variable.c:1848
#11 0x808bedb in cplus_value_of_root (var=0x8fa0200)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-variable.c:2218
#12 0x808af16 in value_of_root (var=0x8fa0200)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-variable.c:1141
#13 0x808ad70 in variable_update (interp=0x82d45a8, var=0x8fa0200)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-variable.c:1031
#14 0x808a6a0 in variable_obj_command (clientData=0x8fa0200,
interp=0x82d45a8, objc=2, objv=0x82d529c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-variable.c:539
#15 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x9564158)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#16 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x8aa6970)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#17 0x8134539 in Itcl_EvalMemberCode (interp=0x82d45a8, mfunc=0x953a840,
member=0x953a858, contextObj=0x956ba38, 
    objc=1, objv=0x82d5290)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_methods.c:1029
#18 0x8134d0d in Itcl_ExecMethod (clientData=0x953a840, interp=0x82d45a8,
objc=1, objv=0x82d5290)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_methods.c:1546
#19 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x9553cd0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#20 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x8aa6c58)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#21 0x8134539 in Itcl_EvalMemberCode (interp=0x82d45a8, mfunc=0x95339e8,
member=0x9533a00, contextObj=0x956ba38, 
    objc=1, objv=0x82d528c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_methods.c:1029
#22 0x8134d0d in Itcl_ExecMethod (clientData=0x95339e8, interp=0x82d45a8,
objc=1, objv=0x82d528c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_methods.c:1546
#23 0x813a41f in Itcl_EvalArgs (interp=0x82d45a8, objc=1, objv=0x82d528c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_util.c:1337
#24 0x81363dc in Itcl_HandleInstance (clientData=0x956ba38,
interp=0x82d45a8, objc=2, objv=0x82d5288)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_objects.c:658
#25 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x918b950)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#26 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x9614298)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#27 0x81f1233 in Tcl_UplevelObjCmd (dummy=0x0, interp=0x82d45a8, objc=4,
objv=0x82d5278)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclProc.c:612
#28 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x8455948)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#29 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x83c4c50)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#30 0x81f1731 in TclObjInterpProc (clientData=0x83cca60, interp=0x82d45a8,
objc=2, objv=0x82d5270)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclProc.c:996
#31 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x84903a0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#32 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x83c5e58)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#33 0x81f1731 in TclObjInterpProc (clientData=0x84192b0, interp=0x82d45a8,
objc=1, objv=0x82d526c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclProc.c:996
#34 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x846e7a8)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#35 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x83c4da0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#36 0x81f1731 in TclObjInterpProc (clientData=0x83fd330, interp=0x82d45a8,
objc=1, objv=0x82d5268)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclProc.c:996
#37 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x95fe688)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#38 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x93ca0a8)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#39 0x81be2d7 in Tcl_Eval (interp=0x82d45a8, string=0x8216e0c
"gdbtk_tcl_idle")
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2453
#40 0x8089e78 in gdbtk_call_command (cmdblk=0x82ca130, arg=0x0,
from_tty=0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-hooks.c:506
#41 0x809e073 in execute_command (p=0x9576280 "", from_tty=0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/top.c:1313
#42 0x808578b in gdb_immediate_command (clientData=0x80856f4,
interp=0x82d45a8, objc=2, objv=0x82d5260)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-cmds.c:904
#43 0x80853ad in wrapped_call (opaque_args=0xbfffc1dc)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-cmds.c:548
#44 0x809d4f8 in catch_errors (func=0x8085398 <wrapped_call>,
args=0xbfffc1dc, errstring=0x8216303 "", mask=3)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/top.c:563
#45 0x80852f0 in call_wrapper (clientData=0x80856f4, interp=0x82d45a8,
objc=2, objv=0x82d5260)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-cmds.c:486
#46 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x9577f60)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#47 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x83c4ff8)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#48 0x81f1731 in TclObjInterpProc (clientData=0x8400b00, interp=0x82d45a8,
objc=1, objv=0x82d525c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclProc.c:996
#49 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x89e6a28)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#50 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x8ab9330)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#51 0x81c7b44 in Tcl_SwitchObjCmd (dummy=0x0, interp=0x82d45a8, objc=3,
objv=0x82d5250)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclCmdMZ.c:1732
#52 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x957b130)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#53 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x83e4be8)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#54 0x8134539 in Itcl_EvalMemberCode (interp=0x82d45a8, mfunc=0x8486210,
member=0x8486228, contextObj=0x87783c8, 
    objc=2, objv=0x82d5248)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_methods.c:1029
#55 0x8134d0d in Itcl_ExecMethod (clientData=0x8486210, interp=0x82d45a8,
objc=2, objv=0x82d5248)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_methods.c:1546
#56 0x813a41f in Itcl_EvalArgs (interp=0x82d45a8, objc=2, objv=0x82d5248)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_util.c:1337
#57 0x81363dc in Itcl_HandleInstance (clientData=0x87783c8,
interp=0x82d45a8, objc=3, objv=0x82d5244)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/itcl/itcl/generic/itcl_objects.c:658
#58 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x93bc1d0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#59 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x84dc260)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#60 0x81eb422 in NamespaceInscopeCmd (dummy=0x0, interp=0x82d45a8, objc=4,
objv=0x82d5234)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclNamesp.c:3277
#61 0x81eab1c in Tcl_NamespaceObjCmd (clientData=0x0, interp=0x82d45a8,
objc=4, objv=0x82d5234)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclNamesp.c:2498
#62 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x8c58668)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#63 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x8aa5438)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#64 0x81be2d7 in Tcl_Eval (interp=0x82d45a8, 
    string=0xbfffe0ec "namespace inscope ::GDBToolBar {::.srcwin0.srcwin
inferior continue}")
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2453
#65 0x81bf79f in Tcl_GlobalEval (interp=0x82d45a8, 
    command=0xbfffe0ec "namespace inscope ::GDBToolBar {::.srcwin0.srcwin
inferior continue}")
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:3983
#66 0x81b075f in TkCopyAndGlobalEval (interp=0x82d45a8, 
    script=0x88227d0 "namespace inscope ::GDBToolBar {::.srcwin0.srcwin
inferior continue}")
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkBind.c:4547
#67 0x8179c99 in TkInvokeButton (butPtr=0x87e29c0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkButton.c:1136
#68 0x8179344 in ButtonWidgetCmd (clientData=0x87e29c0, interp=0x82d45a8,
argc=2, argv=0xbfffe218)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkButton.c:543
#69 0x81bdcb7 in TclInvokeStringCommand (clientData=0x88238a8,
interp=0x82d45a8, objc=2, objv=0x82d522c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:1745
#70 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x93b4108)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#71 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x93ca438)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#72 0x81f1218 in Tcl_UplevelObjCmd (dummy=0x0, interp=0x82d45a8, objc=3,
objv=0x82d5220)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclProc.c:609
#73 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x912cab8)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#74 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x847bbe8)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#75 0x81f1731 in TclObjInterpProc (clientData=0x87e47e8, interp=0x82d45a8,
objc=2, objv=0x82d5218)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclProc.c:996
#76 0x81d5fc0 in TclExecuteByteCode (interp=0x82d45a8, codePtr=0x91f00d0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclExecute.c:955
#77 0x81be4ed in Tcl_EvalObj (interp=0x82d45a8, objPtr=0x83b0968)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2645
#78 0x81be2d7 in Tcl_Eval (interp=0x82d45a8, 
    string=0xbffff364 "TOOLBAR_button_up
.srcwin0.srcwin.container.pane0.childsite.con.t.continue")
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:2453
#79 0x81bf79f in Tcl_GlobalEval (interp=0x82d45a8, 
    command=0xbffff364 "TOOLBAR_button_up
.srcwin0.srcwin.container.pane0.childsite.con.t.continue")
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclBasic.c:3983
#80 0x81ad79d in Tk_BindEvent (bindingTable=0x82e8d98, eventPtr=0x9735de0,
tkwin=0x87ea8a8, numObjects=0, 
    objectPtr=0xbffff46c)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkBind.c:1731
#81 0x81b11b3 in TkBindEventProc (winPtr=0x87ea8a8, eventPtr=0x9735de0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkCmds.c:242
#82 0x81649dd in Tk_HandleEvent (eventPtr=0x9735de0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkEvent.c:657
#83 0x8164c60 in WindowEventProc (evPtr=0x9735dd8, flags=-3)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkEvent.c:983
#84 0x81ebcb0 in Tcl_ServiceEvent (flags=-3)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclNotify.c:444
#85 0x81ebe79 in Tcl_DoOneEvent (flags=0)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tcl/unix/../generic/tclNotify.c:683
#86 0x8164cb7 in Tk_MainLoop ()
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/tk/unix/../generic/tkEvent.c:1041
#87 0x8089c96 in tk_command_loop ()
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/gdbtk-hooks.c:373
#88 0x804ea37 in main (argc=2, argv=0xbffff6b4)
    at
/tantor/build/elix/edk-000221/i686-pc-linux-gnulibc2.1/src/gdb/main.c:683


Mo Dejong
Red Hat Inc.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Insight crash I have not seen before.
  2000-04-27  0:17 Insight crash I have not seen before Mo DeJong
@ 2000-04-27  1:35 ` Mo DeJong
  2000-04-27  5:38   ` Keith Seitz
  0 siblings, 1 reply; 4+ messages in thread
From: Mo DeJong @ 2000-04-27  1:35 UTC (permalink / raw)
  To: insight

Nevermind the last email I sent with the stack trace. I got this
crash a couple of times and gdb never seems to core in the same
place twice. I think the problem is actually with gdb rereading
symbols from and applicaiton when you recompile tha app in between
runs in the debugger (without quitting the debugger). My app
was also dying from a call to assert(), but I am not sure if
that made a diff.

I was running on Red Hat 6.2 when I got these crashes by the way.

Mo Dejong
Red Hat Inc.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Insight crash I have not seen before.
  2000-04-27  1:35 ` Mo DeJong
@ 2000-04-27  5:38   ` Keith Seitz
  2000-04-27  9:08     ` Fernando Nasser
  0 siblings, 1 reply; 4+ messages in thread
From: Keith Seitz @ 2000-04-27  5:38 UTC (permalink / raw)
  To: Mo DeJong; +Cc: insight

Mo DeJong wrote:
> 
> Nevermind the last email I sent with the stack trace. I got this
> crash a couple of times and gdb never seems to core in the same
> place twice. I think the problem is actually with gdb rereading
> symbols from and applicaiton when you recompile tha app in between
> runs in the debugger (without quitting the debugger). My app
> was also dying from a call to assert(), but I am not sure if
> that made a diff.
> 
> I was running on Red Hat 6.2 when I got these crashes by the way.

This came up last week with Tom. Fernando has some state on it. What's
happening is that the variable code that gdbtk uses (which I guess gdb
is going to slowly migrate to?) hangs on to a lot of pointers to the
symbol table and obstacks. When the symbol table is re-read (and maybe
even if you just re-run the executable), all of these references are
bogus.

We found out that a hook which is supposed to clean this up is not being
run anymore. I think this is either the clear_file or no_inferior hook.
Both the variable windows (Locals and Watch) and the SrcTextWin
(variable balloons) should be erasing any variable objects whenever the
inferior is killed/re-run or has symbols re-read.

Keith
-- 
Why chat when you can Firetalk?
Firetalk ID: Keith (10320)
www.firetalk.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Insight crash I have not seen before.
  2000-04-27  5:38   ` Keith Seitz
@ 2000-04-27  9:08     ` Fernando Nasser
  0 siblings, 0 replies; 4+ messages in thread
From: Fernando Nasser @ 2000-04-27  9:08 UTC (permalink / raw)
  To: Keith Seitz; +Cc: Mo DeJong, insight

Keith Seitz wrote:
> 
> Mo DeJong wrote:
> >
> > Nevermind the last email I sent with the stack trace. I got this
> > crash a couple of times and gdb never seems to core in the same
> > place twice. I think the problem is actually with gdb rereading
> > symbols from and applicaiton when you recompile tha app in between
> > runs in the debugger (without quitting the debugger). My app
> > was also dying from a call to assert(), but I am not sure if
> > that made a diff.
> >
> > I was running on Red Hat 6.2 when I got these crashes by the way.
> 
> This came up last week with Tom. Fernando has some state on it. What's
> happening is that the variable code that gdbtk uses (which I guess gdb
> is going to slowly migrate to?) hangs on to a lot of pointers to the
> symbol table and obstacks. When the symbol table is re-read (and maybe
> even if you just re-run the executable), all of these references are
> bogus.
> 
> We found out that a hook which is supposed to clean this up is not being
> run anymore. I think this is either the clear_file or no_inferior hook.
> Both the variable windows (Locals and Watch) and the SrcTextWin
> (variable balloons) should be erasing any variable objects whenever the
> inferior is killed/re-run or has symbols re-read.
> 

Keith is absolutely right.

We are working on a fix.  I proposed a change to gdb and I will probably get it approved soon.  It
just does what Keith says, it makes sure the hook is run whenever this data becomes stale.

The next insight snapshots won't have this problem.

-- 
Fernando Nasser
Cygnus Solutions (a Red Hat company)    E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-04-27  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-27  0:17 Insight crash I have not seen before Mo DeJong
2000-04-27  1:35 ` Mo DeJong
2000-04-27  5:38   ` Keith Seitz
2000-04-27  9:08     ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).