• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
_LSCopyInfoForNode Guard Malloc crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

_LSCopyInfoForNode Guard Malloc crash


  • Subject: _LSCopyInfoForNode Guard Malloc crash
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 23 Aug 2008 19:07:07 -0600

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
  • Follow-Ups:
    • Re: _LSCopyInfoForNode Guard Malloc crash
      • From: Dave Camp <email@hidden>
    • Re: _LSCopyInfoForNode Guard Malloc crash
      • From: "Julien Jalon" <email@hidden>
    • Re: _LSCopyInfoForNode Guard Malloc crash
      • From: "Julien Jalon" <email@hidden>
  • Prev by Date: Problem linking a framework (GuidoEngine)
  • Next by Date: Re: _LSCopyInfoForNode Guard Malloc crash
  • Previous by thread: Problem linking a framework (GuidoEngine)
  • Next by thread: Re: _LSCopyInfoForNode Guard Malloc crash
  • Index(es):
    • Date
    • Thread