FlickrExport 3.0.2 crashes Aperture 2.14 with malloc() failure under 10.6.1
I am seeing FlickrExport bring down Aperture during uploads of large (~350) photo sets. The crash according to the console messages and logs is due to a memory allocation failure.
I haven't tried uploads this large in a while, and before this recent failure I did a Snow Leopard upgrade and added memory to the machine (current total is 5GB but only 2.5GB+ were in use when the failures occurred.)
The first failure occurred after about 50 images; the 2nd got 150 more uploaded before crashing (note that the selection of photos being uploaded in these two sessions had no images in common). I did NOT reboot before launching Aperture again. All images are size to a maximum of 1920x1080.
Am I just pushing FlickrExport too hard with these uploads? Does Apple set some unrealistically low heap size for plugins or Is there some memory leak going on?
(BTW, it would be handy if FlickrExport reported its version number in the Finder; only other way I've seen to get at it is by launching the plugin.)
Console logs and snipped crash reports follow:
=============================================
Console messages:
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] Aperture(718,0xa089a500) malloc: *** mmap(size=16777216) failed (error code=12)
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] *** error: can't allocate region
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] *** set a breakpoint in malloc_error_break to debug
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] Aperture(718,0xa089a500) malloc: *** mmap(size=16777216) failed (error code=12)
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] *** error: can't allocate region
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] *** set a breakpoint in malloc_error_break to debug
11/6/09 11:52:35 AM com.apple.launchd.peruser.505[167] ([0x0-0x89089].com.apple.Aperture[718]) Job appears to have crashed: Bus error
11/6/09 11:52:38 AM ReportCrash[791] Saved crash report for Aperture[718] version 2.1.4 (2.1.4) to /Users/steveh/Library/Logs/DiagnosticReports/Aperture_2009-11-06-115237_mp-steveh.crash
Crash Log:
Process: Aperture [718]
Path: /Applications/Aperture.app/Contents/MacOS/Aperture
Identifier: com.apple.Aperture
Version: 2.1.4 (2.1.4)
Build Info: Aperture-908252102~1
Code Type: X86 (Native)
Parent Process: launchd [167]
PlugIn Path: /Library/Application Support/Aperture/Plug-Ins/Export/FlickrExport.ApertureExport/Contents/MacOS/FlickrExport
PlugIn Identifier: com.connectedflow.flickrexportaperture
PlugIn Version: ??? (3.0.2)
Date/Time: 2009-11-06 11:52:22.445 -0700
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0xffff088c __memcpy + 236
1 com.apple.Aperture 0x003f096e 0x1000 + 4127086
2 com.apple.Aperture 0x003ec39d 0x1000 + 4109213
3 com.apple.Aperture 0x0043d297 0x1000 + 4440727
4 com.apple.Aperture 0x005817b9 0x1000 + 5769145
5 com.apple.Aperture 0x0057984b 0x1000 + 5736523
6 com.apple.CoreFoundation 0x953d42cd __invoking___ + 29
7 com.apple.CoreFoundation 0x953d4238 -[NSInvocation invoke] + 136
8 com.apple.CoreFoundation 0x95410118 -[NSInvocation invokeWithTarget:] + 72
9 com.apple.CoreFoundation 0x953d50c4 ___forwarding___ + 1108
10 com.apple.CoreFoundation 0x953d4bf2 _CF_forwarding_prep_0 + 50
11 ...edflow.flickrexportaperture 0x20417f7d +[FUApertureExportManagerUtilities addKeyword:forApertureID:toExportManager:] + 95
12 ...edflow.flickrexportaperture 0x20430115 -[FUApertureExporter uploadEngine:didUploadImageRequest:] + 873
13 ...edflow.flickrexportaperture 0x20413a9c -[FUUploadEngine cleanUpCurrentPhotoAndNotifyDelegate] + 152
14 com.apple.Foundation 0x90207f34 __NSThreadPerformPerform + 705
15 com.apple.CoreFoundation 0x953998cb __CFRunLoopDoSources0 + 1563
16 com.apple.CoreFoundation 0x9539785f __CFRunLoopRun + 1071
17 com.apple.CoreFoundation 0x95396d34 CFRunLoopRunSpecific + 452
18 com.apple.CoreFoundation 0x95396b61 CFRunLoopRunInMode + 97
19 com.apple.HIToolbox 0x90532fec RunCurrentEventLoopInMode + 392
20 com.apple.HIToolbox 0x90532da3 ReceiveNextEventCommon + 354
21 com.apple.HIToolbox 0x90532c28 BlockUntilNextEventMatchingListInMode + 81
22 com.apple.AppKit 0x962f0c95 _DPSNextEvent + 847
23 com.apple.AppKit 0x962f050a -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
24 com.apple.Aperture 0x0036ef3b 0x1000 + 3596091
25 com.apple.AppKit 0x962b269b -[NSApplication run] + 821
26 com.apple.prokit 0x00993a01 NSProApplicationMain + 326
27 com.apple.Aperture 0x00003842 0x1000 + 10306
28 com.apple.Aperture 0x00003769 0x1000 + 10089
=====================================================================
Console messages:
11/6/09 11:00:01 AM [0x0-0x51051].com.apple.Aperture[458] Aperture(458,0xa089a500) malloc: *** mmap(size=16777216) failed (error code=12)
11/6/09 11:00:01 AM [0x0-0x51051].com.apple.Aperture[458] *** error: can't allocate region
11/6/09 11:00:01 AM [0x0-0x51051].com.apple.Aperture[458] *** set a breakpoint in malloc_error_break to debug
11/6/09 11:00:19 AM com.apple.launchd.peruser.505[167] ([0x0-0x51051].com.apple.Aperture[458]) Job appears to have crashed: Bus error
11/6/09 11:00:22 AM ReportCrash[704] Saved crash report for Aperture[458] version 2.1.4 (2.1.4) to /Users/steveh/Library/Logs/DiagnosticReports/Aperture_2009-11-06-110022_mp-steveh.crash
Crash Log:
Process: Aperture [458]
Path: /Applications/Aperture.app/Contents/MacOS/Aperture
Identifier: com.apple.Aperture
Version: 2.1.4 (2.1.4)
Build Info: Aperture-908252102~1
Code Type: X86 (Native)
Parent Process: launchd [167]
PlugIn Path: /Library/Application Support/Aperture/Plug-Ins/Export/FlickrExport.ApertureExport/Contents/MacOS/FlickrExport
PlugIn Identifier: com.connectedflow.flickrexportaperture
PlugIn Version: ??? (3.0.2)
Date/Time: 2009-11-06 11:00:01.514 -0700
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0xffff088c __memcpy + 236
1 com.apple.Aperture 0x003f096e 0x1000 + 4127086
2 com.apple.Aperture 0x003ec39d 0x1000 + 4109213
3 com.apple.Aperture 0x0043d297 0x1000 + 4440727
4 com.apple.Aperture 0x005817b9 0x1000 + 5769145
5 com.apple.Aperture 0x0057984b 0x1000 + 5736523
6 com.apple.CoreFoundation 0x953d42cd __invoking___ + 29
7 com.apple.CoreFoundation 0x953d4238 -[NSInvocation invoke] + 136
8 com.apple.CoreFoundation 0x95410118 -[NSInvocation invokeWithTarget:] + 72
9 com.apple.CoreFoundation 0x953d50c4 ___forwarding___ + 1108
10 com.apple.CoreFoundation 0x953d4bf2 _CF_forwarding_prep_0 + 50
11 ...edflow.flickrexportaperture 0x2181df7d +[FUApertureExportManagerUtilities addKeyword:forApertureID:toExportManager:] + 95
12 ...edflow.flickrexportaperture 0x21836115 -[FUApertureExporter uploadEngine:didUploadImageRequest:] + 873
13 ...edflow.flickrexportaperture 0x21819a9c -[FUUploadEngine cleanUpCurrentPhotoAndNotifyDelegate] + 152
14 com.apple.Foundation 0x90207f34 __NSThreadPerformPerform + 705
15 com.apple.CoreFoundation 0x953998cb __CFRunLoopDoSources0 + 1563
16 com.apple.CoreFoundation 0x9539785f __CFRunLoopRun + 1071
17 com.apple.CoreFoundation 0x95396d34 CFRunLoopRunSpecific + 452
18 com.apple.CoreFoundation 0x95396b61 CFRunLoopRunInMode + 97
19 com.apple.HIToolbox 0x90532fec RunCurrentEventLoopInMode + 392
20 com.apple.HIToolbox 0x90532da3 ReceiveNextEventCommon + 354
21 com.apple.HIToolbox 0x90532c28 BlockUntilNextEventMatchingListInMode + 81
22 com.apple.AppKit 0x962f0c95 _DPSNextEvent + 847
23 com.apple.AppKit 0x962f050a -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
24 com.apple.Aperture 0x0036ef3b 0x1000 + 3596091
25 com.apple.AppKit 0x962b269b -[NSApplication run] + 821
26 com.apple.prokit 0x00993a01 NSProApplicationMain + 326
27 com.apple.Aperture 0x00003842 0x1000 + 10306
28 com.apple.Aperture 0x00003769 0x1000 + 10089
I haven't tried uploads this large in a while, and before this recent failure I did a Snow Leopard upgrade and added memory to the machine (current total is 5GB but only 2.5GB+ were in use when the failures occurred.)
The first failure occurred after about 50 images; the 2nd got 150 more uploaded before crashing (note that the selection of photos being uploaded in these two sessions had no images in common). I did NOT reboot before launching Aperture again. All images are size to a maximum of 1920x1080.
Am I just pushing FlickrExport too hard with these uploads? Does Apple set some unrealistically low heap size for plugins or Is there some memory leak going on?
(BTW, it would be handy if FlickrExport reported its version number in the Finder; only other way I've seen to get at it is by launching the plugin.)
Console logs and snipped crash reports follow:
=============================================
Console messages:
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] Aperture(718,0xa089a500) malloc: *** mmap(size=16777216) failed (error code=12)
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] *** error: can't allocate region
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] *** set a breakpoint in malloc_error_break to debug
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:21 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] fe_tiled_bitmap_new_tile failed to alloc 28442624
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] Aperture(718,0xa089a500) malloc: *** mmap(size=16777216) failed (error code=12)
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] *** error: can't allocate region
11/6/09 11:52:22 AM [0x0-0x89089].com.apple.Aperture[718] *** set a breakpoint in malloc_error_break to debug
11/6/09 11:52:35 AM com.apple.launchd.peruser.505[167] ([0x0-0x89089].com.apple.Aperture[718]) Job appears to have crashed: Bus error
11/6/09 11:52:38 AM ReportCrash[791] Saved crash report for Aperture[718] version 2.1.4 (2.1.4) to /Users/steveh/Library/Logs/DiagnosticReports/Aperture_2009-11-06-115237_mp-steveh.crash
Crash Log:
Process: Aperture [718]
Path: /Applications/Aperture.app/Contents/MacOS/Aperture
Identifier: com.apple.Aperture
Version: 2.1.4 (2.1.4)
Build Info: Aperture-908252102~1
Code Type: X86 (Native)
Parent Process: launchd [167]
PlugIn Path: /Library/Application Support/Aperture/Plug-Ins/Export/FlickrExport.ApertureExport/Contents/MacOS/FlickrExport
PlugIn Identifier: com.connectedflow.flickrexportaperture
PlugIn Version: ??? (3.0.2)
Date/Time: 2009-11-06 11:52:22.445 -0700
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0xffff088c __memcpy + 236
1 com.apple.Aperture 0x003f096e 0x1000 + 4127086
2 com.apple.Aperture 0x003ec39d 0x1000 + 4109213
3 com.apple.Aperture 0x0043d297 0x1000 + 4440727
4 com.apple.Aperture 0x005817b9 0x1000 + 5769145
5 com.apple.Aperture 0x0057984b 0x1000 + 5736523
6 com.apple.CoreFoundation 0x953d42cd __invoking___ + 29
7 com.apple.CoreFoundation 0x953d4238 -[NSInvocation invoke] + 136
8 com.apple.CoreFoundation 0x95410118 -[NSInvocation invokeWithTarget:] + 72
9 com.apple.CoreFoundation 0x953d50c4 ___forwarding___ + 1108
10 com.apple.CoreFoundation 0x953d4bf2 _CF_forwarding_prep_0 + 50
11 ...edflow.flickrexportaperture 0x20417f7d +[FUApertureExportManagerUtilities addKeyword:forApertureID:toExportManager:] + 95
12 ...edflow.flickrexportaperture 0x20430115 -[FUApertureExporter uploadEngine:didUploadImageRequest:] + 873
13 ...edflow.flickrexportaperture 0x20413a9c -[FUUploadEngine cleanUpCurrentPhotoAndNotifyDelegate] + 152
14 com.apple.Foundation 0x90207f34 __NSThreadPerformPerform + 705
15 com.apple.CoreFoundation 0x953998cb __CFRunLoopDoSources0 + 1563
16 com.apple.CoreFoundation 0x9539785f __CFRunLoopRun + 1071
17 com.apple.CoreFoundation 0x95396d34 CFRunLoopRunSpecific + 452
18 com.apple.CoreFoundation 0x95396b61 CFRunLoopRunInMode + 97
19 com.apple.HIToolbox 0x90532fec RunCurrentEventLoopInMode + 392
20 com.apple.HIToolbox 0x90532da3 ReceiveNextEventCommon + 354
21 com.apple.HIToolbox 0x90532c28 BlockUntilNextEventMatchingListInMode + 81
22 com.apple.AppKit 0x962f0c95 _DPSNextEvent + 847
23 com.apple.AppKit 0x962f050a -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
24 com.apple.Aperture 0x0036ef3b 0x1000 + 3596091
25 com.apple.AppKit 0x962b269b -[NSApplication run] + 821
26 com.apple.prokit 0x00993a01 NSProApplicationMain + 326
27 com.apple.Aperture 0x00003842 0x1000 + 10306
28 com.apple.Aperture 0x00003769 0x1000 + 10089
=====================================================================
Console messages:
11/6/09 11:00:01 AM [0x0-0x51051].com.apple.Aperture[458] Aperture(458,0xa089a500) malloc: *** mmap(size=16777216) failed (error code=12)
11/6/09 11:00:01 AM [0x0-0x51051].com.apple.Aperture[458] *** error: can't allocate region
11/6/09 11:00:01 AM [0x0-0x51051].com.apple.Aperture[458] *** set a breakpoint in malloc_error_break to debug
11/6/09 11:00:19 AM com.apple.launchd.peruser.505[167] ([0x0-0x51051].com.apple.Aperture[458]) Job appears to have crashed: Bus error
11/6/09 11:00:22 AM ReportCrash[704] Saved crash report for Aperture[458] version 2.1.4 (2.1.4) to /Users/steveh/Library/Logs/DiagnosticReports/Aperture_2009-11-06-110022_mp-steveh.crash
Crash Log:
Process: Aperture [458]
Path: /Applications/Aperture.app/Contents/MacOS/Aperture
Identifier: com.apple.Aperture
Version: 2.1.4 (2.1.4)
Build Info: Aperture-908252102~1
Code Type: X86 (Native)
Parent Process: launchd [167]
PlugIn Path: /Library/Application Support/Aperture/Plug-Ins/Export/FlickrExport.ApertureExport/Contents/MacOS/FlickrExport
PlugIn Identifier: com.connectedflow.flickrexportaperture
PlugIn Version: ??? (3.0.2)
Date/Time: 2009-11-06 11:00:01.514 -0700
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0xffff088c __memcpy + 236
1 com.apple.Aperture 0x003f096e 0x1000 + 4127086
2 com.apple.Aperture 0x003ec39d 0x1000 + 4109213
3 com.apple.Aperture 0x0043d297 0x1000 + 4440727
4 com.apple.Aperture 0x005817b9 0x1000 + 5769145
5 com.apple.Aperture 0x0057984b 0x1000 + 5736523
6 com.apple.CoreFoundation 0x953d42cd __invoking___ + 29
7 com.apple.CoreFoundation 0x953d4238 -[NSInvocation invoke] + 136
8 com.apple.CoreFoundation 0x95410118 -[NSInvocation invokeWithTarget:] + 72
9 com.apple.CoreFoundation 0x953d50c4 ___forwarding___ + 1108
10 com.apple.CoreFoundation 0x953d4bf2 _CF_forwarding_prep_0 + 50
11 ...edflow.flickrexportaperture 0x2181df7d +[FUApertureExportManagerUtilities addKeyword:forApertureID:toExportManager:] + 95
12 ...edflow.flickrexportaperture 0x21836115 -[FUApertureExporter uploadEngine:didUploadImageRequest:] + 873
13 ...edflow.flickrexportaperture 0x21819a9c -[FUUploadEngine cleanUpCurrentPhotoAndNotifyDelegate] + 152
14 com.apple.Foundation 0x90207f34 __NSThreadPerformPerform + 705
15 com.apple.CoreFoundation 0x953998cb __CFRunLoopDoSources0 + 1563
16 com.apple.CoreFoundation 0x9539785f __CFRunLoopRun + 1071
17 com.apple.CoreFoundation 0x95396d34 CFRunLoopRunSpecific + 452
18 com.apple.CoreFoundation 0x95396b61 CFRunLoopRunInMode + 97
19 com.apple.HIToolbox 0x90532fec RunCurrentEventLoopInMode + 392
20 com.apple.HIToolbox 0x90532da3 ReceiveNextEventCommon + 354
21 com.apple.HIToolbox 0x90532c28 BlockUntilNextEventMatchingListInMode + 81
22 com.apple.AppKit 0x962f0c95 _DPSNextEvent + 847
23 com.apple.AppKit 0x962f050a -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
24 com.apple.Aperture 0x0036ef3b 0x1000 + 3596091
25 com.apple.AppKit 0x962b269b -[NSApplication run] + 821
26 com.apple.prokit 0x00993a01 NSProApplicationMain + 326
27 com.apple.Aperture 0x00003842 0x1000 + 10306
28 com.apple.Aperture 0x00003769 0x1000 + 10089
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Loading Profile...


