This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unwinding TCL stack


On Fri, Jul 13, 2007 at 11:01:17AM -0700, Keith Seitz wrote:
> Doug Graham wrote:
> 
> >The problem is that the TCL stack is not (always?) being unwound when
> >a GDB exception is thrown via throw_exception().
> 
> This is a big problem for Insight. The TCL stack can not be unwound 
> safely with longjmp. Any gdb command run from insight should be using 
> the wrapper function gdbtk_call_wrapper or have something in 
> gdbtk-wrapper.c to prevent this from happening.
> 
> You need to find out what command is causing the longjmp/exception to 
> jump interpreter frames.

Thanks.  The crash occurs when I mouse over a variable in the source
window after the inferior stops at a segfault.  The inferior's stack is
quite probably corrupt.  I think Insight is crashing when it tries to
dig out the value of some variable from the inferior's corrupt stack.
After Insight stops normally at the inferior's segfault and before it
crashes (ie: before I mouse over the variable), I see three calls to
throw_exception().  Backtraces are included below.  In this run, the bogus
interp->varFramePtr was 0xbfffcc84, and I see that being pushed on the
TCL stack between the first and second calls to throw_exception.  I did
not see it being popped, at least not with a call to Tcl_PopCallFrame.
It was pushed here:

Breakpoint 3, Tcl_PushCallFrame (interp=0x8459df0, callFramePtr=0xbfffcc84, 
    namespacePtr=0x8866098, isProcCallFrame=1)
    at ../../../insight-6.5/tcl/unix/../generic/tclNamesp.c:291
291	    if (namespacePtr == NULL) {
(gdb) bt
#0  Tcl_PushCallFrame (interp=0x8459df0, callFramePtr=0xbfffcc84, 
    namespacePtr=0x8866098, isProcCallFrame=1)
    at ../../../insight-6.5/tcl/unix/../generic/tclNamesp.c:291
#1  0x082324f8 in Itcl_PushContext (interp=0x8459df0, member=0x86eef38, 
    contextClass=0x8865ed8, contextObj=0x886d130, contextPtr=0xbfffcc80)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1620
#2  0x08232ca4 in Itcl_EvalMemberCode (interp=0x8459df0, mfunc=0x86eee80, 
    member=0x86eef38, contextObj=0x886d130, objc=2, objv=0x845c0ec)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:939
#3  0x08233881 in Itcl_ExecMethod (clientData=0x86eee80, interp=0x8459df0, 
    objc=2, objv=0x845c0ec)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1516
#4  0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=2, 
    objv=0x845c0ec, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#5  0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9844108)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#6  0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x8b5c538)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#7  0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x8b5c538, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#8  0x08232d39 in Itcl_EvalMemberCode (interp=0x8459df0, mfunc=0x87b0d28, 
    member=0x87ab088, contextObj=0x886d130, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1003
#9  0x08233881 in Itcl_ExecMethod (clientData=0x87b0d28, interp=0x8459df0, 
    objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1516
#10 0x08238a2c in Itcl_EvalArgs (interp=0x8459df0, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_util.c:1347
#11 0x08233fdd in Itcl_HandleInstance (clientData=0x886d130, interp=0x8459df0, 
    objc=5, objv=0x845c0d8)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_objects.c:685
#12 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=5, 
    objv=0x845c0d8, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#13 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9440858)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#14 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x9333a78)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#15 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x9333a78, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#16 0x082d3eb2 in Tcl_CatchObjCmd (dummy=0x0, interp=0x8459df0, objc=3, 
    objv=0x845c0cc) at ../../../insight-6.5/tcl/unix/../generic/tclCmdAH.c:254
#17 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3, 
    objv=0x845c0cc, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#18 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9440628)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#19 0x082f7aa2 in Tcl_ExprObj (interp=0x8459df0, objPtr=0x932bf38, 
    resultPtrPtr=0xbfffe8f8)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:860
#20 0x082cf74d in Tcl_ExprBooleanObj (interp=0x8459df0, objPtr=0x932bf38, 
    ptr=0xbfffe948) at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:4293
#21 0x082d6bee in Tcl_IfObjCmd (dummy=0x0, interp=0x8459df0, objc=3, 
    objv=0xbfffe9e0) at ../../../insight-6.5/tcl/unix/../generic/tclCmdIL.c:210
#22 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3, 
    objv=0xbfffe9e0, 
    command=0x93e75a0 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 599 192} err]} {\n      debug \"s"..., 
    length=234, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#23 0x082d04f6 in Tcl_EvalEx (interp=0x8459df0, 
    script=0x93e75a0 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 599 192} err]} {\n      debug \"s"..., 
    numBytes=236, flags=131072)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3646
#24 0x08321f9b in AfterProc (clientData=0x93e7188)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:1049
#25 0x0832166a in TimerHandlerEventProc (evPtr=0x93e2d30, flags=Variable "flags" is not available.
)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:543
#26 0x08312a85 in Tcl_ServiceEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:622
#27 0x08312d63 in Tcl_DoOneEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:925
#28 0x08244ab2 in Tk_MainLoop ()
    at /insight-6.5ga/insight-6.5/tk/unix/../generic/tkEvent.c:1457
#29 0x0809326b in captured_command_loop (data=0x0)
    at ../../insight-6.5/gdb/main.c:101
#30 0x08122d13 in catch_errors (func=0x8093260 <captured_command_loop>, 
    func_args=0x0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#31 0x080938ef in captured_main (data=0xbfffeed0)
    at ../../insight-6.5/gdb/main.c:834
#32 0x08122d13 in catch_errors (func=0x8093298 <captured_main>, 
    func_args=0xbfffeed0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#33 0x080940d7 in gdb_main (args=0x1) at ../../insight-6.5/gdb/main.c:843
#34 0x08093259 in main (argc=143024280, argv=0x8866098)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-main.c:36

First throw:

(gdb) bt
#0  throw_exception (exception=
      {reason = RETURN_ERROR, error = GENERIC_ERROR, message = 0x93e0a60 "Cannot access memory at address 0xffffff45"})
    at ../../insight-6.5/gdb/exceptions.c:222
#1  0x08122ae8 in throw_it (reason=Variable "reason" is not available.
) at ../../insight-6.5/gdb/exceptions.c:410
#2  0x08122b01 in throw_verror (error=158841392, fmt=Could not find the frame base for "throw_verror".
)
    at ../../insight-6.5/gdb/exceptions.c:416
#3  0x0809927c in error (string=Could not find the frame base for "error".
) at ../../insight-6.5/gdb/utils.c:649
#4  0x0809b1af in error_stream (stream=Could not find the frame base for "error_stream".
) at ../../insight-6.5/gdb/utils.c:678
#5  0x0809737c in memory_error (status=5, memaddr=4294967109)
    at ../../insight-6.5/gdb/corefile.c:232
#6  0x080fc146 in value_fetch_lazy (val=0x97e94e8)
    at ../../insight-6.5/gdb/valops.c:515
#7  0x08175e79 in gdb_value_fetch_lazy (val=0x97e94e8)
    at ../../insight-6.5/gdb/wrapper.c:64
#8  0x0817484f in varobj_create (objname=0x975f6e8 "var1",
    expression=0x93741e0 "iftype", frame=4294967295, type=USE_SELECTED_FRAME)
    at ../../insight-6.5/gdb/varobj.c:513
#9  0x080d6757 in gdb_variable_command (clientData=0x80d6664,
    interp=0x8459df0, objc=4, objv=0x845c0ec)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-varobj.c:370
#10 0x080d114e in wrapped_call (opaque_args=0xbfffcf60)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-cmds.c:420
#11 0x08122d13 in catch_errors (func=0x80d1138 <wrapped_call>,
    func_args=0xbfffcf60, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#12 0x080d1057 in gdbtk_call_wrapper (clientData=0x80d6664, interp=0x8459df0,
    objc=4, objv=0x845c0ec)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-cmds.c:351
#13 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=4,
    objv=0x845c0ec, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#14 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9533fd0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#15 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x8b5c538)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#16 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x8b5c538, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#17 0x08232d39 in Itcl_EvalMemberCode (interp=0x8459df0, mfunc=0x87b0d28,
    member=0x87ab088, contextObj=0x886d130, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1003
#18 0x08233881 in Itcl_ExecMethod (clientData=0x87b0d28, interp=0x8459df0,
    objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1516
#19 0x08238a2c in Itcl_EvalArgs (interp=0x8459df0, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_util.c:1347
#20 0x08233fdd in Itcl_HandleInstance (clientData=0x886d130, interp=0x8459df0,
    objc=5, objv=0x845c0d8)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_objects.c:685
#21 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=5,
    objv=0x845c0d8, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#22 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x97e97c0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#23 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x932c028)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#24 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x932c028, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#25 0x082d3eb2 in Tcl_CatchObjCmd (dummy=0x0, interp=0x8459df0, objc=3,
    objv=0x845c0cc) at ../../../insight-6.5/tcl/unix/../generic/tclCmdAH.c:254
#26 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3,
    objv=0x845c0cc, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#27 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9728c40)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#28 0x082f7aa2 in Tcl_ExprObj (interp=0x8459df0, objPtr=0x932b3b0,
    resultPtrPtr=0xbfffe8f8)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:860
#29 0x082cf74d in Tcl_ExprBooleanObj (interp=0x8459df0, objPtr=0x932b3b0,
    ptr=0xbfffe948) at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:4293
#30 0x082d6bee in Tcl_IfObjCmd (dummy=0x0, interp=0x8459df0, objc=3,
    objv=0xbfffe9e0) at ../../../insight-6.5/tcl/unix/../generic/tclCmdIL.c:210
#31 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3,
    objv=0xbfffe9e0,
    command=0x9571960 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 578 192} err]} {\n      debug \"s"...,
    length=234, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#32 0x082d04f6 in Tcl_EvalEx (interp=0x8459df0,
    script=0x9571960 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 578 192} err]} {\n      debug \"s"...,
    numBytes=236, flags=131072)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3646
#33 0x08321f9b in AfterProc (clientData=0x8cd9fa8)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:1049
#34 0x0832166a in TimerHandlerEventProc (evPtr=0x93e5da8, flags=Variable "flags" is not available.
)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:543
#35 0x08312a85 in Tcl_ServiceEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:622
#36 0x08312d63 in Tcl_DoOneEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:925
#37 0x08244ab2 in Tk_MainLoop ()
    at /insight-6.5ga/insight-6.5/tk/unix/../generic/tkEvent.c:1457
#38 0x0809326b in captured_command_loop (data=0x0)
    at ../../insight-6.5/gdb/main.c:101
#39 0x08122d13 in catch_errors (func=0x8093260 <captured_command_loop>,
    func_args=0x0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#40 0x080938ef in captured_main (data=0xbfffeed0)
    at ../../insight-6.5/gdb/main.c:834
#41 0x08122d13 in catch_errors (func=0x8093298 <captured_main>,
    func_args=0xbfffeed0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#42 0x080940d7 in gdb_main (args=0x977ba30) at ../../insight-6.5/gdb/main.c:843
#43 0x08093259 in main (argc=11888692, argv=0xb56834)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-main.c:36

Second throw:

(gdb) bt
#0  throw_exception (exception=
      {reason = RETURN_ERROR, error = GENERIC_ERROR, message = 0x97e9478 "Cannot access memory at address 0xffffff45"})
    at ../../insight-6.5/gdb/exceptions.c:222
#1  0x08122ae8 in throw_it (reason=Variable "reason" is not available.
) at ../../insight-6.5/gdb/exceptions.c:410
#2  0x08122b01 in throw_verror (error=GDB_NO_ERROR, fmt=Could not find the frame base for "throw_verror".
)
    at ../../insight-6.5/gdb/exceptions.c:416
#3  0x0809927c in error (string=Could not find the frame base for "error".
) at ../../insight-6.5/gdb/utils.c:649
#4  0x0809b1af in error_stream (stream=Could not find the frame base for "error_stream".
) at ../../insight-6.5/gdb/utils.c:678
#5  0x0809737c in memory_error (status=5, memaddr=4294967109)
    at ../../insight-6.5/gdb/corefile.c:232
#6  0x080fc146 in value_fetch_lazy (val=0x97e94e8)
    at ../../insight-6.5/gdb/valops.c:515
#7  0x08175e79 in gdb_value_fetch_lazy (val=0x97e94e8)
    at ../../insight-6.5/gdb/wrapper.c:64
#8  0x0817550d in c_value_of_variable (var=0x97e9560)
    at ../../insight-6.5/gdb/varobj.c:2141
#9  0x080d6cef in variable_obj_command (clientData=0x0, interp=0x8459df0,
    objc=2, objv=0x845c0f4)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-varobj.c:580
#10 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=2,
    objv=0x845c0f4, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#11 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x97b02d0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#12 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x8b48600)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#13 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x8b48600, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#14 0x08232d39 in Itcl_EvalMemberCode (interp=0x8459df0, mfunc=0x86eee80,
    member=0x86eef38, contextObj=0x886d130, objc=2, objv=0x845c0ec)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1003
#15 0x08233881 in Itcl_ExecMethod (clientData=0x86eee80, interp=0x8459df0,
    objc=2, objv=0x845c0ec)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1516
#16 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=2,
    objv=0x845c0ec, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#17 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9533fd0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#18 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x8b5c538)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#19 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x8b5c538, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#20 0x08232d39 in Itcl_EvalMemberCode (interp=0x8459df0, mfunc=0x87b0d28,
    member=0x87ab088, contextObj=0x886d130, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1003
#21 0x08233881 in Itcl_ExecMethod (clientData=0x87b0d28, interp=0x8459df0,
    objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1516
#22 0x08238a2c in Itcl_EvalArgs (interp=0x8459df0, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_util.c:1347
#23 0x08233fdd in Itcl_HandleInstance (clientData=0x886d130, interp=0x8459df0,
    objc=5, objv=0x845c0d8)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_objects.c:685
#24 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=5,
    objv=0x845c0d8, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#25 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x97e97c0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#26 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x932c028)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#27 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x932c028, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#28 0x082d3eb2 in Tcl_CatchObjCmd (dummy=0x0, interp=0x8459df0, objc=3,
    objv=0x845c0cc) at ../../../insight-6.5/tcl/unix/../generic/tclCmdAH.c:254
#29 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3,
    objv=0x845c0cc, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#30 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9728c40)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#31 0x082f7aa2 in Tcl_ExprObj (interp=0x8459df0, objPtr=0x932b3b0,
    resultPtrPtr=0xbfffe8f8)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:860
#32 0x082cf74d in Tcl_ExprBooleanObj (interp=0x8459df0, objPtr=0x932b3b0,
    ptr=0xbfffe948) at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:4293
#33 0x082d6bee in Tcl_IfObjCmd (dummy=0x0, interp=0x8459df0, objc=3,
    objv=0xbfffe9e0) at ../../../insight-6.5/tcl/unix/../generic/tclCmdIL.c:210
#34 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3,
    objv=0xbfffe9e0,
    command=0x9571960 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 578 192} err]} {\n      debug \"s"...,
    length=234, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#35 0x082d04f6 in Tcl_EvalEx (interp=0x8459df0,
    script=0x9571960 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 578 192} err]} {\n      debug \"s"...,
    numBytes=236, flags=131072)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3646
#36 0x08321f9b in AfterProc (clientData=0x8cd9fa8)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:1049
#37 0x0832166a in TimerHandlerEventProc (evPtr=0x93e5da8, flags=Variable "flags" is not available.
)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:543
#38 0x08312a85 in Tcl_ServiceEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:622
#39 0x08312d63 in Tcl_DoOneEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:925
#40 0x08244ab2 in Tk_MainLoop ()
    at /insight-6.5ga/insight-6.5/tk/unix/../generic/tkEvent.c:1457
#41 0x0809326b in captured_command_loop (data=0x0)
    at ../../insight-6.5/gdb/main.c:101
#42 0x08122d13 in catch_errors (func=0x8093260 <captured_command_loop>,
    func_args=0x0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#43 0x080938ef in captured_main (data=0xbfffeed0)
    at ../../insight-6.5/gdb/main.c:834
#44 0x08122d13 in catch_errors (func=0x8093298 <captured_main>,
    func_args=0xbfffeed0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#45 0x080940d7 in gdb_main (args=0x0) at ../../insight-6.5/gdb/main.c:843
#46 0x08093259 in main (argc=11888696, argv=0xb56838)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-main.c:36

Third throw:

(gdb) bt
#0  throw_exception (exception=
      {reason = RETURN_ERROR, error = GENERIC_ERROR, message = 0x93e0a60 "Cannot access memory at address 0xffffff45"})
    at ../../insight-6.5/gdb/exceptions.c:222
#1  0x08122ae8 in throw_it (reason=Variable "reason" is not available.
) at ../../insight-6.5/gdb/exceptions.c:410
#2  0x08122b01 in throw_verror (error=GDB_NO_ERROR, fmt=Could not find the frame base for "throw_verror".
)
    at ../../insight-6.5/gdb/exceptions.c:416
#3  0x0809927c in error (string=Could not find the frame base for "error".
) at ../../insight-6.5/gdb/utils.c:649
#4  0x0809b1af in error_stream (stream=Could not find the frame base for "error_stream".
) at ../../insight-6.5/gdb/utils.c:678
#5  0x0809737c in memory_error (status=5, memaddr=4294967109)
    at ../../insight-6.5/gdb/corefile.c:232
#6  0x080fc146 in value_fetch_lazy (val=0x97e94e8)
    at ../../insight-6.5/gdb/valops.c:515
#7  0x080f5cf5 in value_contents_all (value=0x97e94e8)
    at ../../insight-6.5/gdb/value.c:331
#8  0x08102776 in common_val_print (val=0x97e94e8, stream=0x97b04b8, format=0,
    deref_ref=1, recurse=0, pretty=Val_no_prettyprint)
    at ../../insight-6.5/gdb/valprint.c:274
#9  0x08175470 in c_value_of_variable (var=0x97e9560)
    at ../../insight-6.5/gdb/varobj.c:2142
#10 0x080d6cef in variable_obj_command (clientData=0x0, interp=0x8459df0,
    objc=2, objv=0x845c0f4)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-varobj.c:580
#11 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=2,
    objv=0x845c0f4, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#12 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x97b02d0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#13 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x8b48600)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#14 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x8b48600, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#15 0x08232d39 in Itcl_EvalMemberCode (interp=0x8459df0, mfunc=0x86eee80,
    member=0x86eef38, contextObj=0x886d130, objc=2, objv=0x845c0ec)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1003
#16 0x08233881 in Itcl_ExecMethod (clientData=0x86eee80, interp=0x8459df0,
    objc=2, objv=0x845c0ec)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1516
#17 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=2,
    objv=0x845c0ec, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#18 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9533fd0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#19 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x8b5c538)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#20 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x8b5c538, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#21 0x08232d39 in Itcl_EvalMemberCode (interp=0x8459df0, mfunc=0x87b0d28,
    member=0x87ab088, contextObj=0x886d130, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1003
#22 0x08233881 in Itcl_ExecMethod (clientData=0x87b0d28, interp=0x8459df0,
    objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_methods.c:1516
#23 0x08238a2c in Itcl_EvalArgs (interp=0x8459df0, objc=4, objv=0x845c0dc)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_util.c:1347
#24 0x08233fdd in Itcl_HandleInstance (clientData=0x886d130, interp=0x8459df0,
    objc=5, objv=0x845c0d8)
    at /insight-6.5ga/insight-6.5/itcl/itcl/generic/itcl_objects.c:685
#25 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=5,
    objv=0x845c0d8, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#26 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x97e97c0)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#27 0x082f77bd in TclCompEvalObj (interp=0x8459df0, objPtr=0x932c028)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1008
#28 0x082d103d in Tcl_EvalObjEx (interp=0x8459df0, objPtr=0x932c028, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3957
#29 0x082d3eb2 in Tcl_CatchObjCmd (dummy=0x0, interp=0x8459df0, objc=3,
    objv=0x845c0cc) at ../../../insight-6.5/tcl/unix/../generic/tclCmdAH.c:254
#30 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3,
    objv=0x845c0cc, command=0x0, length=0, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#31 0x082f4716 in TclExecuteByteCode (interp=0x8459df0, codePtr=0x9728c40)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:1431
#32 0x082f7aa2 in Tcl_ExprObj (interp=0x8459df0, objPtr=0x932b3b0,
    resultPtrPtr=0xbfffe8f8)
    at ../../../insight-6.5/tcl/unix/../generic/tclExecute.c:860
#33 0x082cf74d in Tcl_ExprBooleanObj (interp=0x8459df0, objPtr=0x932b3b0,
    ptr=0xbfffe948) at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:4293
#34 0x082d6bee in Tcl_IfObjCmd (dummy=0x0, interp=0x8459df0, objc=3,
    objv=0xbfffe9e0) at ../../../insight-6.5/tcl/unix/../generic/tclCmdIL.c:210
#35 0x082cefc2 in TclEvalObjvInternal (interp=0x8459df0, objc=3,
    objv=0xbfffe9e0,
    command=0x9571960 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 578 192} err]} {\n      debug \"s"...,
    length=234, flags=0)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3048
#36 0x082d04f6 in Tcl_EvalEx (interp=0x8459df0,
    script=0x9571960 "\n    if {[catch {::.srcwin0.srcwin.container.pane2.childsite.con showBalloon .srcwin0.srcwin.container.pane2.childsite.con.p.pane2.childsite.st.lwchildsite.clipper.text 578 192} err]} {\n      debug \"s"...,
    numBytes=236, flags=131072)
    at ../../../insight-6.5/tcl/unix/../generic/tclBasic.c:3646
#37 0x08321f9b in AfterProc (clientData=0x8cd9fa8)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:1049
#38 0x0832166a in TimerHandlerEventProc (evPtr=0x93e5da8, flags=Variable "flags" is not available.
)
    at ../../../insight-6.5/tcl/unix/../generic/tclTimer.c:543
#39 0x08312a85 in Tcl_ServiceEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:622
#40 0x08312d63 in Tcl_DoOneEvent (flags=-3)
    at ../../../insight-6.5/tcl/unix/../generic/tclNotify.c:925
#41 0x08244ab2 in Tk_MainLoop ()
    at /insight-6.5ga/insight-6.5/tk/unix/../generic/tkEvent.c:1457
#42 0x0809326b in captured_command_loop (data=0x0)
    at ../../insight-6.5/gdb/main.c:101
#43 0x08122d13 in catch_errors (func=0x8093260 <captured_command_loop>,
    func_args=0x0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#44 0x080938ef in captured_main (data=0xbfffeed0)
    at ../../insight-6.5/gdb/main.c:834
#45 0x08122d13 in catch_errors (func=0x8093298 <captured_main>,
    func_args=0xbfffeed0, errstring=0x8346eab "", mask=6)
    at ../../insight-6.5/gdb/exceptions.c:530
#46 0x080940d7 in gdb_main (args=0x0) at ../../insight-6.5/gdb/main.c:843
#47 0x08093259 in main (argc=11888696, argv=0xb56838)
    at ../../insight-6.5/gdb/gdbtk/generic/gdbtk-main.c:36


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]