View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006991KWWidgetspublic2008-05-08 16:492008-05-08 22:28
ReporterSteve Pieper 
Assigned ToYumin Yuan 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0006991: null pointer string operation in DirectoryClosedCallback
Description
Hi - I can repeatedly cause this crash on the mac (haven't tried other platforms yet.

What I do is open a file browser, then click on the + sign next to the / directory.


The problem generates the following in the console. The stack trace is pasted under Additional Information.


ERROR: In /Users/pieper/slicer3/latest/Slicer3-lib/KWWidgets/vtkKWApplication.cxx, line 1214
vtkSlicerApplication (0x9aa1000): TclTk error: Uncaught exception: basic_string::_S_construct NULL not valid

Uncaught exception: basic_string::_S_construct NULL not valid

    while executing
"vtkTemp2728 DirectoryClosedCallback 29"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd [list $node]"
    (procedure "Tree::_cross_event" line 9)
    invoked from within
"Tree::_cross_event .vtkKWTopLevel2194.vtkKWFrame2195.vtkKWFileBrowserWidget2196.vtkKWSplitFrame2197.vtkKWFrame2200.vtkKWSplitFrame2204.vtkKWFrame2205...."
    (command bound to event)
Additional Information
0 libSystem.B.dylib 0x96fa4724 strcmp + 84
1 libKWWidgets.dylib 0x033b0619 vtkKWDirectoryExplorerCppCommand(vtkKWDirectoryExplorer*, Tcl_Interp*, int, char**) + 9863 (vtkKWDirectoryExplorerTcl.cxx:722)
2 libKWWidgets.dylib 0x033b1401 vtkKWDirectoryExplorerCommand(void*, Tcl_Interp*, int, char**) + 147 (vtkKWDirectoryExplorerTcl.cxx:31)
3 libtcl8.4.dylib 0x0a00d038 TclInvokeStringCommand + 117
4 libtcl8.4.dylib 0x0a00f958 TclEvalObjvInternal + 770
5 libtcl8.4.dylib 0x0a00fc6e Tcl_EvalEx + 494
6 libtcl8.4.dylib 0x0a01082c Tcl_EvalObjEx + 388
7 libtcl8.4.dylib 0x0a05ed6c Tcl_UplevelObjCmd + 232
8 libtcl8.4.dylib 0x0a00f958 TclEvalObjvInternal + 770
9 libtcl8.4.dylib 0x0a03276f TclExecuteByteCode + 3172
10 libtcl8.4.dylib 0x0a037c3b TclCompEvalObj + 268
11 libtcl8.4.dylib 0x0a05f616 TclObjInterpProc + 517
12 libtcl8.4.dylib 0x0a00f958 TclEvalObjvInternal + 770
13 libtcl8.4.dylib 0x0a00fc6e Tcl_EvalEx + 494
14 libtk8.4.dylib 0x0b0072e2 Tk_BindEvent + 4671
15 libtk8.4.dylib 0x0b049514 CanvasDoEvent + 343
16 libtk8.4.dylib 0x0b04a198 CanvasBindProc + 300
17 libtk8.4.dylib 0x0b01295b Tk_HandleEvent + 1944
18 libtk8.4.dylib 0x0b012e0e WindowEventProc + 106
19 libtcl8.4.dylib 0x0a054fe2 Tcl_ServiceEvent + 132
20 libtcl8.4.dylib 0x0a05521e Tcl_DoOneEvent + 171
21 libSlicerBaseGUI.dylib 0x016580d4 vtkSlicerApplication::DoOneTclEvent() + 18 (vtkSlicerApplication.cxx:449)
22 libKWWidgets.dylib 0x03505fdb vtkKWApplication::Start(int, char**) + 341 (vtkKWApplication.cxx:1067)
23 libKWWidgets.dylib 0x03505e36 vtkKWApplication::Start() + 190 (vtkKWApplication.cxx:992)
24 libSlicerBaseGUI.dylib 0x01658091 vtkSlicerApplication::StartApplication() + 31 (vtkSlicerApplication.cxx:427)
25 Slicer3-real 0x00032ec4 Slicer3_main(int, char**) + 64544 (Slicer3.cxx:2025)
26 Slicer3-real 0x00034808 main + 24 (Slicer3.cxx:2440)
27 Slicer3-real 0x0002247e start + 54
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0011769)
Yumin Yuan (developer)
2008-05-08 22:25

Fixed. Checking against NULL string is added in DirectoryClosedCallback.

 Issue History
Date Modified Username Field Change
2008-05-08 16:49 Steve Pieper New Issue
2008-05-08 16:59 Sebastien Barre Status new => assigned
2008-05-08 16:59 Sebastien Barre Assigned To => Yumin Yuan
2008-05-08 22:25 Yumin Yuan Note Added: 0011769
2008-05-08 22:28 Yumin Yuan Status assigned => resolved
2008-05-08 22:28 Yumin Yuan Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team