Mon 21 Aug 2006 06:32:41 PM UTC, comment #1:
ran into the same bug, but it doesnt matter wheter a project is open or not.
GNUSTEP_FLATTENED=yes
GNUSTEP_HOST=i386-unknown-openbsd3.9
GNUSTEP_HOST_CPU=ix86
GNUSTEP_HOST_OS=openbsd3.9
GNUSTEP_HOST_VENDOR=unknown
GNUSTEP_LOCAL_ROOT=/usr/GNUstep/Local
GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.9/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
editor is set to:
/usr/GNUstep/System/Applications/vi.app
vi Window opens, then the window, informing about the exception pops up.
Using the default editor ProjectCenter, then PC does not crash.
Program exited with code 01.
(gdb) r
Starting program: /usr/GNUstep/System/Applications/ProjectCenter.debug/ProjectCenter
Breakpoint 1 at 0x50d2f91: file NSException.m, line 147.
Breakpoint 1, -[NSException raise] (self=0x8208aa68, _cmd=0x250e9260) at NSException.m:147
147 thread = GSCurrentThread();
(gdb) list
142 - (void) raise
143 {
144 NSThread *thread;
145 NSHandler *handler;
146
147 thread = GSCurrentThread();
148 handler = thread->_exception_handler;
149 if (handler == NULL)
150 {
151 static BOOL recursion = NO;
(gdb) bt
#0 -[NSException raise] (self=0x8208aa68, _cmd=0x250e9260) at NSException.m:147
#1 0x0506acfa in -[GSMutableDictionary setObject:forKey:] (self=0x8172f188, _cmd=0x20d86b68, anObject=0x0,
aKey=0x7c5f1b08) at GSDictionary.m:407
#2 0x00d8d0cf in -[PCProjectManager openFileWithEditor:] (self=0x8b1a2208, _cmd=0x20d86d40, path=0x7c5f1b08)
at PCProjectManager.m:1028
#3 0x00d8ccbc in -[PCProjectManager openFile] (self=0x8b1a2208, _cmd=0x3c006628) at PCProjectManager.m:961
#4 0x1c002438 in -[PCMenuController fileOpen:] (self=0x7f9d7208, _cmd=0x7fc54f60, sender=0x82f84288)
at PCMenuController.m:152
#5 0x0fced573 in L10 () from /usr/local/lib/libavcall.so.0.0
#6 0x7f9d7208 in ?? ()
#7 0x7fc54f60 in ?? ()
#8 0x82f84288 in ?? ()
#9 0x00000000 in ?? ()
(gdb)
Critical Error in ProjectCenter
NSInvalidArgumentException: Tried to add nil value for key '/path/to/file/that/I/wanted/to/open/file.h' to dictionary
ABORT Button
(gdb) c
Continuing.
Breakpoint 1, -[NSException raise] (self=0x8208aa68, _cmd=0x2b3f2248) at NSException.m:147
147 thread = GSCurrentThread();
(gdb) list
142 - (void) raise
143 {
144 NSThread *thread;
145 NSHandler *handler;
146
147 thread = GSCurrentThread();
148 handler = thread->_exception_handler;
149 if (handler == NULL)
150 {
151 static BOOL recursion = NO;
(gdb) bt
#0 -[NSException raise] (self=0x8208aa68, _cmd=0x2b3f2248) at NSException.m:147
#1 0x0b3fc55b in _NSAppKitUncaughtExceptionHandler (exception=0x8208aa68) at NSApplication.m:135
#2 0x050d2fec in -[NSException raise] (self=0x8208aa68, _cmd=0x250e9260) at NSException.m:173
#3 0x0506acfa in -[GSMutableDictionary setObject:forKey:] (self=0x8172f188, _cmd=0x20d86b68, anObject=0x0,
aKey=0x7c5f1b08) at GSDictionary.m:407
#4 0x00d8d0cf in -[PCProjectManager openFileWithEditor:] (self=0x8b1a2208, _cmd=0x20d86d40, path=0x7c5f1b08)
at PCProjectManager.m:1028
#5 0x00d8ccbc in -[PCProjectManager openFile] (self=0x8b1a2208, _cmd=0x3c006628) at PCProjectManager.m:961
#6 0x1c002438 in -[PCMenuController fileOpen:] (self=0x7f9d7208, _cmd=0x7fc54f60, sender=0x82f84288)
at PCMenuController.m:152
#7 0x0fced573 in L10 () from /usr/local/lib/libavcall.so.0.0
#8 0x7f9d7208 in ?? ()
#9 0x7fc54f60 in ?? ()
#10 0x82f84288 in ?? ()
#11 0x00000000 in ?? ()
(gdb) c
Continuing.
recursion encountered handling uncaught exception
Program exited with code 01.
|
Sat 04 Mar 2006 06:41:13 PM UTC, original submission:
Do Command-o or File->Open and open some file.
-> The file is opened in a text editor and PC throws a NSInvalidArgumentException: "Tried to add nil value for key '<filepath>' to dictionary". Abort.
GDB doesn't catch any signals. In a way, this seems to be similar to bug #3367.
FreeBSD 6.0, gcc 3.4.4 [FreeBSD] 20050518, gnustep-back-0.10.2, gnustep-base-1.11.2_1, gnustep-gui-0.10.2_2, gnustep-make-1.11.2_1, ProjectCenter 0.4.3
|