Re: _LSCopyInfoForNode Guard Malloc crash
Re: _LSCopyInfoForNode Guard Malloc crash
- Subject: Re: _LSCopyInfoForNode Guard Malloc crash
- From: "Julien Jalon" <email@hidden>
- Date: Sun, 24 Aug 2008 03:28:44 +0200
Hm, this is even weirder as qlmanage should never see such trace (LSCopyItemInfoForURL in CGSNewConnection is a fallback that should not happen in this case). Did you do something weird to your installation (like a copy of qlmanage)? and definitely, the OS version might be important.
--
Julien
On Sun, Aug 24, 2008 at 3:07 AM, Nick Zitzmann
<email@hidden> wrote:
I'm trying to write a QuickLook plugin using Xcode, but I kept getting some really weird results - every time the plugin would execute, the QuickLook daemon would log thousands of malloc warnings to the console, completely overwhelming syslogd.
So I debugged it, and some very weird things were going on with the memory (e.g. view bounds were returning -NaN right after they were properly initialized). I tried it again with Guard Malloc turned on, and Guard Malloc would keep crashing in _LSCopyInfoForNode, called whenever qlmanage started up.
The backtrace is:
#0 0x92f31a21 in _LSCopyInfoForNode
#1 0x92f4e8cb in LSCopyItemInfoForURL
#2 0x93dc2750 in CGSNewConnection
#3 0x93dbe74f in _CGSDefaultConnection
#4 0x92fb648f in _RegisterApplication
#5 0x92fb5c5a in GetCurrentProcess
#6 0x960db750 in GetSystemUIMode
#7 0x960db6ff in IsMenuBarVisible
#8 0x96a65271 in _NSInitializeAppContext
#9 0x96a64bfa in -[NSApplication init]
#10 0x96a6460b in +[NSApplication sharedApplication]
#11 0x00004551 in ??
#12 0x00002b46 in ??
I saw someone else already had this problem last month - <http://lists.apple.com/archives/xcode-users/2008/Jul/msg00977.html> - but when I tried to reset the Launch Services cache (both using lsregister and manually), it did not fix the problem. I also tried deleting my QuickLook plugin, and the crash still happened.
Does anyone know what's going on here? How can I fix this?
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden