Jump to content

Crash, after Preview in Alfred [Fixed in 2.7.2 b391]


FroZen_X

Recommended Posts

Hey Alfred Team,

 

i guess i found a bug in Alfred which makes it crash.

It happens when i preview any kind of file via Alfreds navigation and then want to 

reenter Alfred.

 

For example:

I double tab "Command" to open Alfred and type "Space" to navigate through files -> go to like a pdf and press "Shift" to preview it.

When i now double tab "Command" again, to bring up Alfred to go to my next search while the preview is still open, Alfred crashes.

It completely crashes and has to be reopened. 

 

 

I hope you guys can recreate the problem. Maybe I'm doing something wrong.

Thanks in advanced.

 

 

Kind regards,

 

Frozen

Link to comment
Share on other sites

 

I hope you guys can recreate the problem. Maybe I'm doing something wrong.

Thanks in advanced.

 

 

Kind regards,

 

Frozen

 

Hmm, I haven't been able to reproduce this... would you mind opening Console.app and seeing if there are any crash logs for Alfred under the diagnostic reports? This may help me work out what's going on for you.

 

Cheers,

Andrew

Link to comment
Share on other sites

I didn't know how to set it into a spoiler, but here is the crash report.

 

I hope that this helps.

 

 

Process:               Alfred 2 [7968]

Path:                  /Applications/Alfred 2.app/Contents/MacOS/Alfred 2
Identifier:            com.runningwithcrayons.Alfred-2
Version:               2.7.1 (387)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Alfred 2 [7968]
User ID:               501
 
Date/Time:             2015-05-26 23:41:23.573 +0200
OS Version:            Mac OS X 10.10.3 (14D136)
Report Version:        11
Anonymous UUID:        1361E552-D9D8-6027-F6B9-3A50A69A3557
 
Sleep/Wake UUID:       DE03865B-5A38-4DA8-BE31-617D71E33DAA
 
Time Awake Since Boot: 100000 seconds
Time Since Wake:       15000 seconds
 
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
 
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
 
Application Specific Information:
Assertion failure in -[QLPreviewCacheManager cacheRecentDocument:] (line 161): document.displayBundle.visibility == QLPreviewHiddenVisibilityState
 
abort() called
 
Application Specific Signatures:
[QL] -[QLPreviewCacheManager cacheRecentDocument:]: document.displayBundle.visibility == QLPreviewHiddenVisibilityState
 
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff8e0d9286 __pthread_kill + 10
1   libsystem_c.dylib             0x00007fff92fbcb53 abort + 129
2   com.apple.QuickLookFramework   0x00007fff89bb1559 _QLCrash + 178
3   com.apple.QuickLookFramework   0x00007fff89bb163c _QLRaiseAssert + 227
4   com.apple.QuickLookUIFramework 0x00007fff8a3940f1 -[QLPreviewCacheManager cacheRecentDocument:] + 604
5   com.apple.QuickLookUIFramework 0x00007fff8a30ad5a -[QLPreviewView _recycleDocument:restore:] + 196
6   com.apple.QuickLookUIFramework 0x00007fff8a30a708 -[QLPreviewView _setDisplayedDocument:transition:] + 675
7   com.apple.QuickLookUIFramework 0x00007fff8a30a3a4 -[QLPreviewView _setDocument:canDelayDisplay:] + 222
8   com.apple.QuickLookUIFramework 0x00007fff8a308441 -[QLPreviewView _startLoadingPreviewItem:timeoutDate:] + 1069
9   com.apple.QuickLookUIFramework 0x00007fff8a2e5746 -[QLPreviewPanel _cleanupPanel] + 193
10  com.apple.QuickLookUIFramework 0x00007fff8a2e5512 -[QLPreviewPanel _qlUnsetupController] + 86
11  com.apple.QuickLookUIFramework 0x00007fff8a2ecd2c -[QLPreviewPanelController willClose] + 276
12  com.apple.QuickLookUIFramework 0x00007fff8a2e30a9 __40-[QLPreviewPanel closingCompletionBlock]_block_invoke + 48
13  com.apple.QuickLookUIFramework 0x00007fff8a35b809 -[QLWindowEffect done] + 41
14  com.apple.QuickLookUIFramework 0x00007fff8a35c66b -[QLAnimationWindowEffect done] + 119
15  com.apple.QuickLookUIFramework 0x00007fff8a35d34e -[QLFadeWindowEffect done] + 58
16  com.apple.Foundation           0x00007fff8fae0d00 __NSThreadPerformPerform + 293
17  com.apple.CoreFoundation       0x00007fff9334ea01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
18  com.apple.CoreFoundation       0x00007fff93340b8d __CFRunLoopDoSources0 + 269
19  com.apple.CoreFoundation       0x00007fff933401bf __CFRunLoopRun + 927
20  com.apple.CoreFoundation       0x00007fff9333fbd8 CFRunLoopRunSpecific + 296
21  com.apple.HIToolbox           0x00007fff946c156f RunCurrentEventLoopInMode + 235
22  com.apple.HIToolbox           0x00007fff946c11ee ReceiveNextEventCommon + 179
23  com.apple.HIToolbox           0x00007fff946c112b _BlockUntilNextEventMatchingListInModeWithFilter + 71
24  com.apple.AppKit               0x00007fff93b529bb _DPSNextEvent + 978
25  com.apple.AppKit               0x00007fff93b51f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
26  com.apple.AppKit               0x00007fff93b47bf3 -[NSApplication run] + 594
27  com.apple.AppKit               0x00007fff93ac4354 NSApplicationMain + 1832
28  com.runningwithcrayons.Alfred-2 0x0000000100001788 0x100000000 + 6024
 
[removed the rest as above helped]
Edited by Andrew
Link to comment
Share on other sites

 

I didn't know how to set it into a spoiler, but here is the crash report.

 

I hope that this helps.

 

 

This is a bit of an odd one, and may be outside of Alfred's control in this situation (I've still been unable to reproduce this on my Mac)... would you mind temporarily creating a new user account and trying from there?

 

Cheers,

Andrew

Link to comment
Share on other sites

What i do is:

 

Double Press "Command" to open Alfred -> Press "Space" so that i can search for files -> then like search for info.plist and navigate to one.
After that Press "Shift" to preview -> when i see the Preview i double Press again "Command" like when i want to go back to Alfred and search 

for another one.

 

I can still see the Preview when i double Press "Command". 

 

Tell me if there is anything else you need.

Link to comment
Share on other sites

What i do is:

 

Double Press "Command" to open Alfred -> Press "Space" so that i can search for files -> then like search for info.plist and navigate to one.

After that Press "Shift" to preview -> when i see the Preview i double Press again "Command" like when i want to go back to Alfred and search 

for another one.

 

I can still see the Preview when i double Press "Command". 

 

Tell me if there is anything else you need.

 

I've fiddled around today and managed to reproduce this now, big thanks! :)

 

I'll see what I can do to fix this for the next release.

 

Cheers,

Andrew

Link to comment
Share on other sites

Hey Andrew, 

 

this build fixed the crash :) good job.

 

Only thing I'm missing now is that when i have the preview open and double press again "Command" (while I can still see Alfred behind the Preview)

to get to a new search, it doesn't open Alfred again. It gets closed and I have to double press "Command" again.

 

It would be awesome, if Alfred would be just there again.

Maybe you got the time to include that.

 

 

Cheers,

 

Frozen

Link to comment
Share on other sites

Only thing I'm missing now is that when i have the preview open and double press again "Command" (while I can still see Alfred behind the Preview)

to get to a new search, it doesn't open Alfred again. It gets closed and I have to double press "Command" again.

 

This is by design as using Alfred's hotkey again (with or without preview showing) hides Alfred. If you just want to dismiss Quick Look and go back to Alfred, tap shift again (or press Esc).

 

Cheers,

Andrew

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...