• 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
Re: _LSCopyInfoForNode Guard Malloc crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _LSCopyInfoForNode Guard Malloc crash


  • Subject: Re: _LSCopyInfoForNode Guard Malloc crash
  • From: "Julien Jalon" <email@hidden>
  • Date: Sun, 24 Aug 2008 03:20:56 +0200

This back trace is at the very beginning of qlmanage's launch, so even before it knows anything about your plug-in. This really seems like a bad bug that you should report to Apple. I'd be curious to know exactly how you invoke qlmanage under Guard Malloc (and with what exact version of the OS) as I can't reproduce that problem.

-- 
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

  • Follow-Ups:
    • Re: _LSCopyInfoForNode Guard Malloc crash
      • From: Nick Zitzmann <email@hidden>
References: 
 >_LSCopyInfoForNode Guard Malloc crash (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: _LSCopyInfoForNode Guard Malloc crash
  • Next by Date: Re: _LSCopyInfoForNode Guard Malloc crash
  • Previous by thread: _LSCopyInfoForNode Guard Malloc crash
  • Next by thread: Re: _LSCopyInfoForNode Guard Malloc crash
  • Index(es):
    • Date
    • Thread