[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSString ? bug
From: |
Enrico Sersale |
Subject: |
NSString ? bug |
Date: |
Thu, 8 Aug 2002 17:11:22 +0300 (EEST) |
With the today cvs, if you try to open two files with their default
application, the first time the application is launced and the file
opened, the second time the app crashes immediately after showing the
window of the second file. Sometimes also gdnc dies. (hope this is
understable...)
Better an example:
gopen HandOpen.xpm
ImageViewer is launced and HandOpen.xpm shown.
gopen Unknown.xpm
Unknown.xpm is shown and, after, ImageViewer crashes with:
#0 0x4034e7f5 in GSToUnicode (dst=0xbfe03eec, size=0xbfe03ecc,
src=0x881c2e8 "NSDictionary)\000"..., slen=12,
enc=NSISOLatin1StringEncoding, zone=0x0, options=0) at Unicode.m:718
#1 0x4037c900 in getCharacters_c (self=0x881c2d8, buffer=0xbfe03f4c,
aRange=
{location = 0, length = 12}) at GSString.m:1001
#2 0x40375a0b in -[GSCString getCharacters:range:] (self=0x881c2d8,
_cmd=0x404e7fb0, buffer=0xbfe03f4c, aRange={location = 0, length =
12})
at GSString.m:1925
#3 0x40420eeb in -[NSString hash] (self=0x881c2d8, _cmd=0x404c7530)
at NSString.m:1665
#4 0x40375bc7 in -[GSCString hash] (self=0x881c2d8, _cmd=0x404c1aa0)
at GSString.m:1953
#5 0x4035dca7 in GSIMapBucketForKey (map=0x881c39c, key=
{obj = 0x881c2d8, nso = 0x881c2d8})
at ../Headers/gnustep/base/GSIMap.h:249
#6 0x4035dce5 in GSIMapAddNodeToMap (map=0x881c39c, node=0x881cf30)
at ../Headers/gnustep/base/GSIMap.h:292
#7 0x4035d970 in GSIMapAddPair (map=0x881c39c, key=
{obj = 0x881c2d8, nso = 0x881c2d8}, value=
{obj = 0x881c300, nso = 0x881c300})
at ../Headers/gnustep/base/GSIMap.h:698
#8 0x4035d287 in -[GSMutableDictionary setObject:forKey:]
(self=0x881c398,
_cmd=0x404ec870, anObject=0x881c300, aKey=0x881c2d8) at
GSDictionary.m:310
#9 0x404383e0 in -[NSUnarchiver decodeValueOfObjCType:at:]
(self=0x88199e8,
_cmd=0x404ec718, type=0x404a854c "#\000"..., address=0xbfe0431c)
at NSUnarchiver.m:679
#10 0x40437f47 in -[NSUnarchiver decodeValueOfObjCType:at:]
(self=0x88199e8,
_cmd=0x404cddf0, type=0x4048862c "@\000"..., address=0xbfe0436c)
at NSUnarchiver.m:592
#11 0x403a3bd0 in -[NSCoder decodeObject] (self=0x88199e8,
_cmd=0x404ec748)
at NSCoder.m:214
#12 0x404374f0 in +[NSUnarchiver unarchiveObjectWithData:]
(self=0x404ec4e0,
_cmd=0x404d76e8, anObject=0x881c6c0) at NSUnarchiver.m:369
#13 0x403d5506 in -[NSDistributedNotificationCenter(Private)
postNotificationName:object:userInfo:selector:to:] (self=0x821b0c0,
_cmd=0x807ac78,
name=0x881c5d8, object=0x881c618, info=0x881c6c0, aSelector=0x881c7c8,
observer=136391448) at NSDistributedNotificationCenter.m:462
#14 0x080555c7 in L10 ()
#15 0x404544cd in GSFFCallInvokeWithTargetAndImp (_inv=0x8819968,
anObject=0x821b0c0,
imp=0x403d54b2 <-[NSDistributedNotificationCenter(Private)
postNotificationName:object:userInfo:selector:to:]>) at
GSFFCallInvocation.m:640
#16 0x40354f69 in callframe_do_call (ctxt=0xbfe04ff8,
decoder=0x403acfda <callDecoder>, encoder=0x403ad128 <callEncoder>)
at callframe.m:442
#17 0x403ad513 in -[NSConnection(Private) _service:forwardForProxy:] (
self=0x8225140, _cmd=0x404d0b38, aRmc=0x881c2d8) at
NSConnection.m:2409
#18 0x403ac81b in -[NSConnection(Private) handlePortMessage:]
(self=0x820ee20,
_cmd=0x404e1288, msg=0x8819998) at NSConnection.m:2170
#19 0x40402274 in -[GSTcpPort handlePortMessage:] (self=0x8260390,
_cmd=0x404e0d20, m=0x8819998) at GSTcpPort.m:1749
#20 0x403fe891 in -[GSTcpHandle dispatch] (self=0x82545c8,
_cmd=0x404e0ec0)
at GSTcpPort.m:651
#21 0x403ff8df in -[GSTcpHandle receivedEvent:type:extra:forMode:] (
self=0x82545c8, _cmd=0x404e1358, data=0x8260390, type=ET_RPORT,
extra=0x5,
mode=0x80da868) at GSTcpPort.m:952
#22 0x40402a04 in -[GSTcpPort receivedEvent:type:extra:forMode:] (
self=0x8260390, _cmd=0x404e53b8, data=0x8260390, type=ET_RPORT,
extra=0x5,
mode=0x80da868) at GSTcpPort.m:1897
#23 0x404121a8 in -[GSRunLoopCtxt pollUntil:within:] (self=0x812f2b0,
_cmd=0x404e5588, milliseconds=299999, contexts=0x81037c0)
at NSRunLoop.m:847
#24 0x40414669 in -[NSRunLoop acceptInputForMode:beforeDate:]
(self=0x8103038,
_cmd=0x404e5600, mode=0x80da868, limit_date=0x8815c88) at
NSRunLoop.m:1970
#25 0x40414a7e in -[NSRunLoop runMode:beforeDate:] (self=0x8103038,
_cmd=0x404e1040, mode=0x80da868, date=0x8815c88) at NSRunLoop.m:2046
#26 0x404006d3 in -[GSTcpHandle sendMessage:beforeDate:] (self=0x82545c8,
_cmd=0x404e14b8, components=0x8818c18, when=0x8815c88) at
GSTcpPort.m:1190
#27 0x4040347c in -[GSTcpPort
sendBeforeDate:msgid:components:from:reserved:] (
self=0x825bb30, _cmd=0x404d10e0, when=0x8815c88, msgId=0,
components=0x8818c18, receivingPort=0x8260390, length=16)
at GSTcpPort.m:2128
#28 0x403b0272 in -[NSConnection(Private) _sendOutRmc:type:]
(self=0x8225140,
_cmd=0x404d09b0, c=0x8818ba8, msgid=0) at NSConnection.m:2966
#29 0x403ab879 in -[NSConnection(GNUstepExtensions)
forwardInvocation:forProxy:] (self=0x8225140, _cmd=0x404d6720,
inv=0x8815c58, object=0x8256f70)
at NSConnection.m:1980
#30 0x403d1424 in -[NSDistantObject forwardInvocation:] (self=0x8256f70,
_cmd=0x806cf90, anInvocation=0x8815c58) at NSDistantObject.m:509
#31 0x4045562b in GSInvocationCallback (callback_data=0x404fcf80,
args=0xbfe05720) at GSFFCallInvocation.m:869
#32 0x080552c9 in __vacall_r ()
#33 0x403d42b2 in -[NSDistributedNotificationCenter postNotification:] (
self=0x821b0c0, _cmd=0x402d2fe8, notification=0x8819b38)
at NSDistributedNotificationCenter.m:183
#34 0x401f143f in -[_GSWorkspaceCenter postNotification:] (self=0x8212b18,
_cmd=0x402d3030, aNotification=0x8818570) at NSWorkspace.m:123
#35 0x401f1680 in -[_GSWorkspaceCenter
postNotificationName:object:userInfo:] (
self=0x8212b18, _cmd=0x404dc8f8, name=0x8818848, object=0x8818888,
info=0x88188f8) at NSWorkspace.m:153
#36 0x403ecbf2 in -[NSNotificationCenter postNotification:]
(self=0x8212b18,
_cmd=0x402d3038, notification=0x88188d0) at NSNotificationCenter.m:943
#37 0x401f16dc in -[_GSWorkspaceCenter _handleRemoteNotification:] (
self=0x8212b18, _cmd=0x808fa00, aNotification=0x88188d0)
at NSWorkspace.m:164
#38 0x403fa897 in -[NSObject performSelector:withObject:] (self=0x8212b18,
_cmd=0x404d7700, aSelector=0x808fa00, anObject=0x88188d0)
at NSObject.m:1321
#39 0x403d55b5 in -[NSDistributedNotificationCenter(Private)
postNotificationName:object:userInfo:selector:to:] (self=0x821b0c0,
_cmd=0x807ac78,
name=0x8818848, object=0x8818888, info=0x8818930, aSelector=0x8818a38,
observer=136391448) at NSDistributedNotificationCenter.m:466
#40 0x080555c7 in L10 ()
#41 0x404544cd in GSFFCallInvokeWithTargetAndImp (_inv=0x8815bd8,
anObject=0x821b0c0,
imp=0x403d54b2 <-[NSDistributedNotificationCenter(Private)
postNotificationName:object:userInfo:selector:to:]>) at
GSFFCallInvocation.m:640
#42 0x40354f69 in callframe_do_call (ctxt=0xbfe0660c,
decoder=0x403acfda <callDecoder>, encoder=0x403ad128 <callEncoder>)
at callframe.m:442
...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSString ? bug,
Enrico Sersale <=