Fri 05 Nov 2010 09:47:29 AM UTC, original submission:
Trying to start GSPdf with the -GSFilePath parameter, or by clicking on a PDF file in GWorkspace, then the following error shows up:
NSInvalidArgumentExcpetion: -initWithString: given nil string:
Program received signal SIGINT, Interrupt.
0x00007ffff68cb31f in poll () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff68cb31f in poll () from /lib64/libc.so.6
#1 0x00007ffff72deb46 in -[GSRunLoopCtxt pollUntil:within:] (self=0x8d2bb0, _cmd=<value optimized out>, milliseconds=2147483647, contexts=0x8c5ac0) at GSRunLoopCtxt.m:427
#2 0x00007ffff722f520 in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x8c4610, _cmd=<value optimized out>, mode=0x7ffff7d95ee0, limit_date=0x8d0b50) at NSRunLoop.m:1197
#3 0x00007ffff722e4c0 in -[NSRunLoop runMode:beforeDate:] (self=0x8c4610, _cmd=0x7ffff7d89b20, mode=0x7ffff7d95ee0, date=0x8d0b50) at NSRunLoop.m:1265
#4 0x00007ffff7996dd3 in -[GSDisplayServer(EventOps) getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0x89fd10, _cmd=<value optimized out>, mask=4294967295, limit=0x8d0b50,
mode=0x7ffff7d95ee0, flag=0 '\000') at GSDisplayServer.m:1003
#5 0x00007ffff24de1cc in -[XGServer(X11Ops) getEventMatchingMask:beforeDate:inMode:dequeue:] () at XGServerEvent.m:2523
#6 0x00007ffff7820465 in -[NSApplication runModalForWindow:] (self=0x87ccd0, _cmd=<value optimized out>, theWindow=0xc4e830)
at ../Headers/Additions/GNUstepGUI/GSDisplayServer.h:200
#7 0x00007ffff780a1c1 in -[GSAlertPanel runModal] (self=0xc4e830, _cmd=<value optimized out>) at NSAlert.m:774
#8 0x00007ffff7809fd5 in GSRunExceptionPanel (title=0xc4e650, exception=0xc52690, defaultButton=<value optimized out>, alternateButton=0x0, otherButton=0x0) at NSAlert.m:2021
#9 0x00007ffff7821ab4 in _NSAppKitUncaughtExceptionHandler (exception=0xc52690) at NSApplication.m:134
#10 0x00007ffff71b4db8 in -[NSException raise] (self=0xc52690, _cmd=<value optimized out>) at NSException.m:775
#11 0x00007ffff71b5208 in +[NSException raise:format:] (self=0x7ffff75980c0, _cmd=<value optimized out>, name=0x7ffff7598680, format=0x7ffff756d0e0) at NSException.m:825
#12 0x00007ffff712e9a1 in -[GSPlaceholderString initWithString:] (self=0x684780, _cmd=<value optimized out>, string=0x0) at GSString.m:835
#13 0x00007ffff7249c78 in +[NSString stringWithString:] (self=0x7ffff75e3700, _cmd=<value optimized out>, aString=0x0) at NSString.m:702
#14 0x0000000000409a7b in -[GSPdfDocument initForPath:] (self=<value optimized out>, _cmd=<value optimized out>, apath=0x7b5570) at GSPdfDocument.m:84
#15 0x0000000000406f69 in -[GSPdf openDocumentForPath:] (self=0xa6c780, _cmd=<value optimized out>, path=0x7b5570) at GSPdf.m:166
#16 0x00007ffff781d5b8 in -[NSApplication finishLaunching] (self=0x87ccd0, _cmd=<value optimized out>) at NSApplication.m:1123
#17 0x00007ffff78201d7 in -[NSApplication run] (self=0x87ccd0, _cmd=<value optimized out>) at NSApplication.m:1506
#18 0x00007ffff7800fde in NSApplicationMain (argc=<value optimized out>, argv=<value optimized out>) at Functions.m:74
#19 0x00007ffff681f586 in __libc_start_main () from /lib64/libc.so.6
#20 0x0000000000402079 in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb) frame 12
#12 0x00007ffff712e9a1 in -[GSPlaceholderString initWithString:] (self=0x684780, _cmd=<value optimized out>, string=0x0) at GSString.m:835
835 [NSException raise: NSInvalidArgumentException
(gdb) list
830 unsigned length;
831 Class c;
832 GSStr me;
833
834 if (string == nil)
835 [NSException raise: NSInvalidArgumentException
836 format: @"-initWithString: given nil string"];
837 if (NO == [string isKindOfClass: NSStringClass]) // may be proxy
838 [NSException raise: NSInvalidArgumentException
839 format: @"-initWithString: given non-string object"];
(gdb) frame 13
#13 0x00007ffff7249c78 in +[NSString stringWithString:] (self=0x7ffff75e3700, _cmd=<value optimized out>, aString=0x0) at NSString.m:702
702 obj = [obj initWithString: aString];
(gdb) list
697 + (id) stringWithString: (NSString*)aString
698 {
699 NSString *obj;
700
701 obj = [self allocWithZone: NSDefaultMallocZone()];
702 obj = [obj initWithString: aString];
703 return AUTORELEASE(obj);
704 }
705
706 /**
I'm on opensuse 11.2, x86_64, but have seen the same on OpenBSD 4.8 -current i386 too.
here I have installed:
libffi43-4.3.3_20081022-9.2
gnustep-back-0.18.0
gnustep-base-1.20.1
gnustep-gui-0.18.0
gnustep-make-2.4.0
GSPdf-0.3
backend used is cairo.
|