bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15992] ProjectCenter: Crash when opening a file without having a p


From: Sebastian Reitenbach
Subject: [bug #15992] ProjectCenter: Crash when opening a file without having a project opened already
Date: Mon, 21 Aug 2006 18:32:42 +0000
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.8.0.1) Gecko/20060812 Firefox/1.5.0.1

Follow-up Comment #1, bug #15992 (project gnustep):

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.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15992>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]