[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSWorkspace bug
From: |
Richard Frith-Macdonald |
Subject: |
Re: NSWorkspace bug |
Date: |
Tue, 22 Jan 2002 11:46:10 +0000 |
On Tuesday, January 22, 2002, at 11:21 AM, Enrico Sersale wrote:
After the last changes, calling NSWorkspace's
[getInfoForFile:application:type:], crashes the app.
Well, the line numbers reported don't tie up, so I suspect that you don't
have the latest source (so I'm not sur what changes you are referring
to).
Assuming the stack traceback is correct, the getBestIconForExtension:
method is calling a method on an object which doesn't know about it.
I can't see how that could happen really.
However ... the getInfoForFile:application:type: method does not call
getBestIconForExtension: either in the latest source or in source I have
lying around from a couple of weeks ago.
Perhaps you have some old or corrupt code?
#9 0x404503ba in GSInvocationCallback (callback_data=0x404d2a60,
args=0xbfffe414) at GSFFCallInvocation.m:863
#10 0x40506ab9 in __vacall_r () at eval.c:41
#11 0x401dfb68 in -[NSWorkspace(GNUstep) getBestIconForExtension:] (
self=0x83514b0, _cmd=0x402d17e0, ext=0x0) at NSWorkspace.m:1023
#12 0x401de384 in -[NSWorkspace getInfoForFile:application:type:] (
self=0x83514b0, _cmd=0x80f6c10, fullPath=0x822cd68,
appName=0xbfffe598,
type=0xbfffe594) at NSWorkspace.m:551
#13 0x805a5ce in -[IconViewsIcon initForPaths:inContainer:]
(self=0x859bbb8,
_cmd=0x80fcff8, fpaths=0x822cd20, acontainer=0x858ff48)
at IconViewsIcon.m:82
...
...
- NSWorkspace bug, Enrico Sersale, 2002/01/22
- Re: NSWorkspace bug,
Richard Frith-Macdonald <=