This is the mail archive of the
insight-prs@sourceware.cygnus.com
mailing list for the Insight project.
insight/32: stack trace when selecting new source file
- To: insight-gnats at sourceware dot cygnus dot com
- Subject: insight/32: stack trace when selecting new source file
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 7 Apr 2000 21:41:14 -0000
- Reply-To: Tom Tromey <tromey at cygnus dot com>
- Resent-Cc: insight-prs at sourceware dot cygnus dot com
- Resent-Reply-To: insight-gnats@sourceware.cygnus.com, Tom Tromey <tromey@cygnus.com>
>Number: 32
>Category: insight
>Synopsis: stack trace when selecting new source file
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 07 14:43:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
I got this stack trace when trying to select
a new source file in the source window.
This happened after Insight got confused because
it couldn't find my "parse.y" and I used "dir"
in the console window to add a new search directory.
bad PanedWindow index "pane5": must be number, end, or pattern
while executing
"error "bad PanedWindow index \"$index\": must be number, end, or pattern""
(object "::.srcwin0.srcwin.container.pane1.childsite.con.p" method "::cyg::PanedWindow::index" body line 15)
invoked from within
"index $index"
(object "::.srcwin0.srcwin.container.pane1.childsite.con.p" method "::cyg::PanedWindow::hide" body line 2)
invoked from within
"$itk_interior.p hide $oldpane"
(object "::.srcwin0.srcwin.container.pane1.childsite.con" method "::SrcTextWin::LoadFromCache" body line 55)
invoked from within
"LoadFromCache $w $name "" $lib"
(object "::.srcwin0.srcwin.container.pane1.childsite.con" method "::SrcTextWin::LoadFile" body line 7)
invoked from within
"LoadFile $w $filename $lib $mtime"
(object "::.srcwin0.srcwin.container.pane1.childsite.con" method "::SrcTextWin::FillSource" body line 12)
invoked from within
"FillSource t $tagname $filename $funcname $line $addr $pc_addr $lib"
("SOURCE" arm line 2)
invoked from within
"switch $current(mode) {
SOURCE {
FillSource t $tagname $filename $funcname $line $addr $pc_addr $lib
}
ASSEMBLY {
FillAssembly..."
(object "::.srcwin0.srcwin.container.pane1.childsite.con" method "::SrcTextWin::location" body line 26)
invoked from within
"$twin location $tag $name $funcname $line $addr $pc_addr $lib"
(object "::.srcwin0.srcwin" method "::SrcWin::location" body line 52)
invoked from within
"location BROWSE_TAG [list $val "" $full 0 0 0 {}]"
(object "::.srcwin0.srcwin" method "::SrcWin::_name" body line 22)
invoked from within
"::.srcwin0.srcwin _name .srcwin0.srcwin.container.pane3.childsite.con.name local-alloc.c"
(in namespace inscope "::SrcWin" script line 1)
invoked from within
"namespace inscope ::SrcWin {::.srcwin0.srcwin _name} .srcwin0.srcwin.container.pane3.childsite.con.name local-alloc.c"
("after" script)errorCode is NONE
Jim says the best fix is to rewrite the file caching
code.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: