Systematic crash when using "Sort in subfolders"

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hi,
I'm trying to sort my music by author/album.

I've got the basic rule of using "sort in subfolder" working on a test case. But now i'm ready to implement it on a bunch of imported music.

However, when I create the rule and open the "pattern creation" dialog and click on "other" I get the "select an attribute" window, but it's empty. If I don't click on anything, it will populate after a few seconds, but the cursor is not in the search window. Clicking in any of the visible attributes does nothing, trying to scroll does nothing. If I start typing the search field, the application crashes - systematically.

Here are the Console messages:
Code: Select all
14/09/12 21:35:03,046 System Preferences[33931]: Could not find image named 'Hazel'.
14/09/12 21:35:03,079 HazelHelper[33901]: Unloading Bartender
14/09/12 21:35:08,368 Bartender[1356]: warning: failed to get scripting definition from /Library/PreferencePanes/Hazel.prefPane/Contents/Resources/HazelHelper.app; it may not be scriptable.
14/09/12 21:35:08,379 HazelHelper[33937]: Bartender Loaded
14/09/12 21:36:03,081 System Preferences[33931]: -[__NSCFTimer close:]: unrecognized selector sent to instance 0x7fd148754420
14/09/12 21:36:03,081 System Preferences[33931]: -[__NSCFTimer close:]: unrecognized selector sent to instance 0x7fd148754420
14/09/12 21:36:03,097 System Preferences[33931]: (
   0   CoreFoundation                      0x00007fff8b485716 __exceptionPreprocess + 198
   1   libobjc.A.dylib                     0x00007fff88126470 objc_exception_throw + 43
   2   CoreFoundation                      0x00007fff8b51bd5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
   3   CoreFoundation                      0x00007fff8b473c3e ___forwarding___ + 414
   4   CoreFoundation                      0x00007fff8b473a28 _CF_forwarding_prep_0 + 232
   5   AppKit                              0x00007fff87683219 -[NSApplication sendAction:to:from:] + 342
   6   AppKit                              0x00007fff87683077 -[NSControl sendAction:to:] + 85
   7   AppKit                              0x00007fff87682fab -[NSCell _sendActionFrom:] + 138
   8   AppKit                              0x00007fff87681493 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1855
   9   AppKit                              0x00007fff87680ce1 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 504
   10  AppKit                              0x00007fff8768045c -[NSControl mouseDown:] + 820
   11  AppKit                              0x00007fff87677dce -[NSWindow sendEvent:] + 6853
   12  AppKit                              0x00007fff87673f04 -[NSApplication sendEvent:] + 5761
   13  System Preferences                  0x000000010cf629a8 System Preferences + 27048
   14  AppKit                              0x00007fff87589c7a -[NSApplication run] + 636
   15  AppKit                              0x00007fff8752e656 NSApplicationMain + 869
   16  libdyld.dylib                       0x00007fff8e81b7e1 start + 0
   17  ???                                 0x0000000000000002 0x0 + 2
)
14/09/12 21:36:09,650 com.apple.launchd.peruser.501[217]: ([0x0-0x1c22c21].com.apple.systempreferences[33931]) Job appears to have crashed: Segmentation fault: 11



At first I thought it was an incompatibility with Bartender, but the issue happens even if Bartender (an app to hide your top right menu bar icons) is disabled.

I've tried posting the Crash Report, but it seems it's too big. Not sure how to make it available.

Has anyone encountered the problem before? Any ideas to solve it ?

Cheers.
seishonagon
 
Posts: 4
Joined: Fri Sep 14, 2012 1:49 pm

If Bartender is still shown in the errors after you disabled it, then disabling it isn't enough. Apps like Bartender inject themselves into other apps, many times causing adverse effects. I suggest uninstalling it altogether and then trying again.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thanks Mr_Noodle: Uninstalled Bartender, but the issue is still present.
Here's the console log (debug mode enabled) of the last crash.

Code: Select all
15/09/12 07:23:38,823 System Preferences[48289]: Could not find image named 'Hazel'.
15/09/12 07:23:38,842 System Preferences[48289]: DEBUG: Found helper instance: file://localhost/Library/PreferencePanes/Hazel.prefPane/Contents/Resources/HazelHelper.app/Contents/MacOS/HazelHelper
15/09/12 07:23:38,842 System Preferences[48289]: DEBUG: Terminating instance: file://localhost/Library/PreferencePanes/Hazel.prefPane/Contents/Resources/HazelHelper.app/Contents/MacOS/HazelHelper
15/09/12 07:23:38,842 System Preferences[48289]: DEBUG: Pref pane is being reinstalled. Undeploying old Helper process.
15/09/12 07:23:38,842 System Preferences[48289]: DEBUG: Undeploying helper.
15/09/12 07:23:40,517 System Preferences[48289]: DEBUG: Terminating helper: file://localhost/Library/PreferencePanes/Hazel.prefPane/Contents/Resources/HazelHelper.app/Contents/MacOS/HazelHelper
15/09/12 07:23:40,520 System Preferences[48289]: DEBUG: License is valid.
15/09/12 07:23:40,711 System Preferences[48289]: DEBUG: BASE DATE: 2012-04-11 17:56:32 +0000
15/09/12 07:23:40,745 System Preferences[48289]: DEBUG: Could not find entry for default_directory in Chrome preference file.
15/09/12 07:23:40,761 System Preferences[48289]: DEBUG: Deploying helper.
15/09/12 07:23:40,770 System Preferences[48289]: DEBUG: Launching helper: /Library/PreferencePanes/Hazel.prefPane/Contents/Resources/HazelHelper.app
15/09/12 07:23:40,804 System Preferences[48289]: DEBUG: ######################## Launch time: 0.033787
15/09/12 07:23:40,911 System Preferences[48289]: DEBUG: Syncing settings...
15/09/12 07:23:40,911 System Preferences[48289]: DEBUG: Flushing rules to disk.
15/09/12 07:23:40,912 System Preferences[48289]: DEBUG: Done flushing rules to disk
15/09/12 07:23:40,912 System Preferences[48289]: DEBUG: Syncing preferences to disk.
15/09/12 07:23:41,806 System Preferences[48289]: DEBUG: Syncing settings...
15/09/12 07:23:41,807 System Preferences[48289]: DEBUG: Flushing rules to disk.
15/09/12 07:23:41,807 System Preferences[48289]: DEBUG: Done flushing rules to disk
15/09/12 07:23:41,807 System Preferences[48289]: DEBUG: Syncing watcher deployments.
15/09/12 07:23:41,809 System Preferences[48289]: DEBUG: Syncing deployments.
15/09/12 07:24:12,140 WindowServer[82]: CGXFilterEventToConnection : Invalid connection
15/09/12 07:24:12,140 WindowServer[82]: CGXFilterEventToConnection : Invalid connection
15/09/12 07:24:12,141 WindowServer[82]: CGXDeferSurfaces : Invalid source window 7978
15/09/12 07:24:12,141 WindowServer[82]: CGXDeferSurfaces : Invalid source window 7978
15/09/12 07:24:12,142 WindowServer[82]: CGXDeferSurfaces : Invalid source window 7978
15/09/12 07:24:12,143 WindowServer[82]: CGXDeferSurfaces : Invalid source window 7978
15/09/12 07:24:12,143 WindowServer[82]: CGXFilterEventToConnection : Invalid connection
15/09/12 07:24:12,143 WindowServer[82]: CGXFilterEventToConnection : Invalid connection
15/09/12 07:24:12,144 WindowServer[82]: CGXDeferSurfaces : Invalid source window 7978
15/09/12 07:24:12,147 com.apple.launchd.peruser.501[217]: ([0x0-0x2143141].com.apple.systempreferences[48289]) Job appears to have crashed: Segmentation fault: 11
15/09/12 07:24:12,307 ReportCrash[48310]: Saved crash report for System Preferences[48289] version 12.0 (12.0) to /Users/paul/Library/Logs/DiagnosticReports/System Preferences_2012-09-15-072412_Pauls-iMac.crash


The forum won't let me post the full problem report, but here are the first lines, if it helps:

Code: Select all
Process:         System Preferences [48289]
Path:            /Applications/System Preferences.app/Contents/MacOS/System Preferences
Identifier:      com.apple.systempreferences
Version:         12.0 (12.0)
Build Info:      SystemPrefsApp-232000000000000~22
Code Type:       X86-64 (Native)
Parent Process:  launchd [217]
User ID:         501

Date/Time:       2012-09-15 07:24:11.417 +0400
OS Version:      Mac OS X 10.8.1 (12B19)
Report Version:  10

Interval Since Last Report:          408298 sec
Crashes Since Last Report:           11
Per-App Interval Since Last Report:  273348 sec
Per-App Crashes Since Last Report:   9
Anonymous UUID:                      3E14836C-1ABD-4451-8873-3EED3AF73414

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Application Specific Information:
objc_msgSend() selector name: tableView:heightOfRow:
com.noodlesoft.Hazel v.865 (Hazel)
objc[48289]: GC: forcing GC OFF because OBJC_DISABLE_GC is set

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                  0x00007fff8811b2d0 objc_msgSend + 16
1   com.apple.AppKit                 0x00007fff8770e322 -[NSTableView _sendDelegateHeightOfRow:] + 130
2   com.apple.AppKit                 0x00007fff8770e0db -[NSTableView _uncachedRectHeightOfRow:] + 197
3   com.apple.AppKit                 0x00007fff8770df2c -[_NSTableRowHeightStorage _cacheRowHeights] + 163
4   com.apple.AppKit                 0x00007fff876c86f5 -[_NSTableRowHeightStorage _ensureRowHeights] + 80
5   com.apple.AppKit                 0x00007fff876c85cb -[_NSTableRowHeightStorage computeTableHeightForNumberOfRows:] + 62
6   com.apple.AppKit                 0x00007fff876c8018 -[NSTableView _minimumFrameSize] + 74
7   com.apple.AppKit                 0x00007fff876e4cb9 -[NSTableView tile] + 240
8   com.apple.AppKit                 0x00007fff876e49f3 -[NSTableView rowsInRect:] + 115
9   com.apple.AppKit                 0x00007fff877679da -[NSTableBinder _visibleRowIndexesForObject:] + 131
10  com.apple.AppKit                 0x00007fff8776752e -[NSTableBinder observeValueForKeyPath:ofObject:change:context:] + 133
11  com.apple.Foundation             0x00007fff8ef3ca90 NSKeyValueNotifyObserver + 390
12  com.apple.Foundation             0x00007fff8ef36f53 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 967
13  com.apple.AppKit                 0x00007fff876c36a3 -[NSController _notifyObserversForKeyPath:change:] + 209
14  com.apple.AppKit                 0x00007fff876c34ee -[NSArrayController didChangeValuesForArrangedKeys:objectKeys:indexKeys:] + 54
15  com.apple.AppKit                 0x00007fff8750672c -[NSArrayController setFilterPredicate:] + 1162
16  com.apple.Foundation             0x00007fff8ef19445 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 408
17  com.apple.Foundation             0x00007fff8ef7cc4f -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 350
18  com.apple.AppKit                 0x00007fff874fe8a8 -[NSBinder _setValue:forKeyPath:ofObject:mode:validateImmediately:raisesForNotApplicableKeys:error:] + 274
19  com.apple.AppKit                 0x00007fff874fe73d -[NSBinder setValue:forBinding:error:] + 248
20  com.apple.AppKit                 0x00007fff87b5a935 -[NSViewStateBinder _setValue:forBinding:errorFallbackMessage:] + 63
21  com.apple.AppKit                 0x00007fff87a2eac2 -[NSSearchFieldBinder performAction:] + 480
22  com.apple.AppKit                 0x00007fff87b80a9f -[_NSBindingAdaptor _objectDidTriggerAction:bindingAdaptor:] + 133
23  com.apple.AppKit                 0x00007fff8768305a -[NSControl sendAction:to:] + 56
24  com.apple.AppKit                 0x00007fff87682fab -[NSCell _sendActionFrom:] + 138
25  com.apple.AppKit                 0x00007fff87a30331 -[NSSearchFieldCell(NSSearchFieldCell_Local) _sendPartialString] + 164
26  com.apple.Foundation             0x00007fff8ef24743 __NSFireTimer + 96
27  com.apple.CoreFoundation         0x00007fff8b4424b4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
28  com.apple.CoreFoundation         0x00007fff8b441fcd __CFRunLoopDoTimer + 557
29  com.apple.CoreFoundation         0x00007fff8b4277b9 __CFRunLoopRun + 1513
30  com.apple.CoreFoundation         0x00007fff8b426dd2 CFRunLoopRunSpecific + 290
31  com.apple.HIToolbox              0x00007fff8f772774 RunCurrentEventLoopInMode + 209
32  com.apple.HIToolbox              0x00007fff8f772512 ReceiveNextEventCommon + 356
33  com.apple.HIToolbox              0x00007fff8f7723a3 BlockUntilNextEventMatchingListInMode + 62
34  com.apple.AppKit                 0x00007fff87592fa3 _DPSNextEvent + 685
35  com.apple.AppKit                 0x00007fff87592862 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
36  com.apple.AppKit                 0x00007fff87589c03 -[NSApplication run] + 517
37  com.apple.AppKit                 0x00007fff8752e656 NSApplicationMain + 869
38  libdyld.dylib                    0x00007fff8e81b7e1 start + 1
seishonagon
 
Posts: 4
Joined: Fri Sep 14, 2012 1:49 pm

Could you email the whole thing to me? Thanks.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Done, sent e-mail to support@noodlesoft.com
seishonagon
 
Posts: 4
Joined: Fri Sep 14, 2012 1:49 pm

I am having the exact same problem except that the files I am dealing with are images (jpg, bmp, or CR2). Also, in my situation hazel crashes after dragging 'Other' to the pattern field, waiting for the list to populate (takes a few seconds) and then clicking on a field (Device Make for example). This is in addition to it crashing in the way seishonagon describes. I do not have nor have I ever had Bartender installed so that should help confirm that it is not playing a role here. If you want a crash log from me as well just let me know and i'll email it over.

Thanks
bdbode
 
Posts: 2
Joined: Tue Sep 18, 2012 1:37 pm

One thing to check: create a Smart Folder in Finder and select "Other..." there. If nothing shows up then there's something wrong with Spotlight on your machine.

Also, what OS version are you running?
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:One thing to check: create a Smart Folder in Finder and select "Other..." there. If nothing shows up then there's something wrong with Spotlight on your machine.

Also, what OS version are you running?


'Other' works fine when creating a Smart Folder. I recreated what I am trying to do in Hazel ('Other' Device Model contains iPhone, in the folder i copied my files to with the Copy Action) and it found all the images created by iPhone.

I am running Mountain Lion 10.8.1
bdbode
 
Posts: 2
Joined: Tue Sep 18, 2012 1:37 pm

I think you lost me here. If you re-created it then is it not crashing anymore? If it is crashing, email in the crash report as there's a chance it might be different.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support