• 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
Crash at THFSPlusStore::LessThan(HFSUniStr255 const&)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash at THFSPlusStore::LessThan(HFSUniStr255 const&)


  • Subject: Crash at THFSPlusStore::LessThan(HFSUniStr255 const&)
  • From: Daniel Cote <email@hidden>
  • Date: Tue, 12 Feb 2008 14:28:56 -0500

Hello:

I have a microscopy program that displays and acquire images, and saves processed images. I keep getting crashes in my program in a function that is called from [ NSSavePanel runModalForDirectory:file:types ]
The program crashes very often (every 20 calls roughly) at THFSPlusStore::LessThan(HFSUniStr255 const&). I have tried many things (including passing empty strings or nil strings for all parameters to runModalForDirectory:file:types etc...) and I can't see what is wrong. I may have some corrupted memory somewhere because of another thread (?), but I can't come up with a good strategy to find it. In another issue, I often get the message "CGImageSourceCreateWithData data parameter is nil" in my logs but I have been absolutely unable to track down what Cocoa function calls that function.


Any help would be greatly appreciated.

Daniel

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x20536f72

Thread 0 Crashed:
0 com.apple.DesktopServices 0x92afc500 THFSPlusStore::LessThan(HFSUniStr255 const&) const + 72
1 com.apple.DesktopServices 0x92af93cc TChildrenList::Find(HFSUniStr255 const&) + 136
2 com.apple.DesktopServices 0x92af9190 TNode::FindChild(HFSUniStr255 const&) const + 184
3 com.apple.DesktopServices 0x92af8ff4 TNode::GetNodeFromPathName(TPathName const&, TNodePtr&) const + 220
4 com.apple.DesktopServices 0x92af8554 TNode::GetNodeFromURL(__CFURL const* const&, TNodePtr&) + 184
5 com.apple.DesktopServices 0x92afaf38 GetURLAsNode + 68
6 com.apple.AppKit 0x9393938c NSFBEAllocNodeFromPath + 104
7 com.apple.AppKit 0x93939050 -[NSNavFBENode initWithPath:logonOK:] + 60
8 com.apple.AppKit 0x93938d70 - [NSSavePanel(NSSavePanelRuntime) _configureForDirectory:name:] + 404
9 com.apple.AppKit 0x93938a58 - [NSSavePanel(NSSavePanelRuntime) runModalForDirectory:file:types:] + 56
10 com.wellman.dccote.iphoton 0x00016038 -[AppController saveWithCurrentUserSettings:] + 448
11 com.apple.Foundation 0x92beda0c __NSFireMainThreadPerform + 276
12 com.apple.CoreFoundation 0x9080eae0 __CFRunLoopPerformPerform + 104
13 com.apple.CoreFoundation 0x907de4fc __CFRunLoopDoSources0 + 384
14 com.apple.CoreFoundation 0x907dda2c __CFRunLoopRun + 452
15 com.apple.CoreFoundation 0x907dd4ac CFRunLoopRunSpecific + 268
16 com.apple.HIToolbox 0x93297b20 RunCurrentEventLoopInMode + 264
17 com.apple.HIToolbox 0x932971b4 ReceiveNextEventCommon + 380
18 com.apple.HIToolbox 0x93297020 BlockUntilNextEventMatchingListInMode + 96
19 com.apple.AppKit 0x9379cae4 _DPSNextEvent + 384
20 com.apple.AppKit 0x9379c7a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
21 com.apple.AppKit 0x93798cec -[NSApplication run] + 472
22 com.apple.AppKit 0x9388987c NSApplicationMain + 452
23 com.wellman.dccote.iphoton 0x00002b78 _start + 760
24 com.wellman.dccote.iphoton 0x0000287c start + 48



--------------------- Daniel Côté, Ph.D. Assistant Professor/Professeur Adjoint Departement de Physique Centre de Recherche Université Laval Robert Giffard 2601 Ch. de la Canardiere, F-6500 Québec QC G1J2G3 Canada

email@hidden
Office (418) 663-5747  x6875
Cell (418) 559-4620


BEGIN:VCARD

VERSION:3.0

N:Côté;Daniel;;;

FN:Daniel Côté

ORG:Université Laval;

EMAIL;type=INTERNET;type=WORK;type=pref:Daniel.Cote@crulrg.ulaval.ca

TEL;type=CELL;type=pref:418-559-4620

TEL;type=MAIN:418-663-5747 x6875

item1.ADR;type=WORK;type=pref:;;Centre de Recherche Robert Giffard\n2601 Ch. de la Canardiere\, F-6500;Quebec;QC;G1J2G3;Canada

item1.X-ABADR:us

X-ABUID:C9943D21-AA18-4611-B85E-4277423F770A\:ABPerson

END:VCARD



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Crash at THFSPlusStore::LessThan(HFSUniStr255 const&)
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Event Tap strangeness
  • Next by Date: Re: Repetitive Appending of Strings
  • Previous by thread: Re: programmatically implementing segmented control
  • Next by thread: Re: Crash at THFSPlusStore::LessThan(HFSUniStr255 const&)
  • Index(es):
    • Date
    • Thread