{"action":"created","issue":{"url":"https://api.github.com/repos/quicksilver/Quicksilver/issues/2020","labels_url":"https://api.github.com/repos/quicksilver/Quicksilver/issues/2020/labels{/name}","comments_url":"https://api.github.com/repos/quicksilver/Quicksilver/issues/2020/comments","events_url":"https://api.github.com/repos/quicksilver/Quicksilver/issues/2020/events","html_url":"https://github.com/quicksilver/Quicksilver/issues/2020","id":55379332,"number":2020,"title":"Freeze on \"Open With...\" action","user":{"login":"ar-rm","id":199155,"avatar_url":"https://avatars.githubusercontent.com/u/199155?v=3","gravatar_id":"","url":"https://api.github.com/users/ar-rm","html_url":"https://github.com/ar-rm","followers_url":"https://api.github.com/users/ar-rm/followers","following_url":"https://api.github.com/users/ar-rm/following{/other_user}","gists_url":"https://api.github.com/users/ar-rm/gists{/gist_id}","starred_url":"https://api.github.com/users/ar-rm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar-rm/subscriptions","organizations_url":"https://api.github.com/users/ar-rm/orgs","repos_url":"https://api.github.com/users/ar-rm/repos","events_url":"https://api.github.com/users/ar-rm/events{/privacy}","received_events_url":"https://api.github.com/users/ar-rm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-24T18:04:17Z","updated_at":"2016-01-02T21:08:10Z","closed_at":null,"body":"\r\n\r\n\r\n\r\n\r\n### Steps:\r\n- QS\r\n- Command-G\r\n- Tab\r\n- Type \"w\" to get \"Open With...\" action. (Or press the down-arrow to reveal all of the potential actions. I can move through the list until I hit \"Open With...\".)\r\n\r\n### Result:\r\n- QS Freezes.\r\n- I have to force quit it.\r\n- After the force quit/restart of QS, the following is logged to system.log (probably not related):\r\n```\r\nJan 24 12:44:24 com.apple.xpc.launchd[1] (com.blacktree.Quicksilver.131808[6515]): Service exited due to signal: Killed: 9\r\n```\r\nThis is a crashlog from around the time of the crash, but it's possible that it's from another crash and not related: https://gist.github.com/ar-rm/0442c3e57fb873ca3905\r\n\r\n### Versions:\r\nQS: 1.2.2 (4011)\r\nOS: 10.10.1\r\n\r\nRelevant (maybe): I was previously using QS 1.0.0 (4000) and this wasn't an issue... But other things started to be, so I upgraded to 1.2.2 and this issue started. The exact same thing happened with another 10.10.1 install I was testing on an external HD. I upgraded QS to 1.2.2 and this started.\r\n\r\nWhich Plug-In does \"Open With...\" come from? I'd like to try disabling it. Or is it built in?\r\n\r\nI found issue #1783, but don't know if it's actually related.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/quicksilver/Quicksilver/issues/comments/168428249","html_url":"https://github.com/quicksilver/Quicksilver/issues/2020#issuecomment-168428249","issue_url":"https://api.github.com/repos/quicksilver/Quicksilver/issues/2020","id":168428249,"user":{"login":"ar-rm","id":199155,"avatar_url":"https://avatars.githubusercontent.com/u/199155?v=3","gravatar_id":"","url":"https://api.github.com/users/ar-rm","html_url":"https://github.com/ar-rm","followers_url":"https://api.github.com/users/ar-rm/followers","following_url":"https://api.github.com/users/ar-rm/following{/other_user}","gists_url":"https://api.github.com/users/ar-rm/gists{/gist_id}","starred_url":"https://api.github.com/users/ar-rm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar-rm/subscriptions","organizations_url":"https://api.github.com/users/ar-rm/orgs","repos_url":"https://api.github.com/users/ar-rm/repos","events_url":"https://api.github.com/users/ar-rm/events{/privacy}","received_events_url":"https://api.github.com/users/ar-rm/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T21:08:10Z","updated_at":"2016-01-02T21:08:10Z","body":"Hi,\n\n#### tl;dr:\n\n- Fixed!\n- Problem was 2x aliases to .webloc files.\n- Then it got weird.\n- Then I found the underlying problem: Aliases to .webloc files that reference URLs with a `:` in the `<title>` tag (probably not just .webloc's).\n\n\n----------------\n\n\n> @mccoys:\n> However, when I remove the ~/Desktop folder from the catalog, it works.\n> Hopefully that helps.\n\nIt did!\n\nGiven your success after removing the Desktop from the catalog, I took the opportunity to start from scratch and try to see if I could isolate the problem to something in the catalog.\n\nRemoving the Desktop didn't work for me. I wanted to go extreme, so I created a new user, setup QS and tested. Problem GONE. So the issue is definitely not tied to QS's codebase. So I went back to my main account and started to divide-and-conquer my way through my catalog.\n\nLong story short I found the culprits: **2x aliases to .webloc files.**\n\nHere's where things get weird.\n\nI assumed something must have gotten corrupted with those files and that's why it was giving QS trouble. I double clicked on the aliases in the Finder and they work! It's still linked to the originals and the URLs open in the default browser. I figure they must not be broken enough to give the Finder a problem, but they must be broken enough to give QS a problem. So I went to the URLs in Safari, created NEW .webloc files in a different folder (which I added to my QS \"Custom\" catalog) and created aliases to them.\n\n**Result:** QS Crashed!\n\nWeird right?\n\nThen I tried going back into my test User Account, creating the .webloc's, making aliases, testing QS.\n\n**Result:** QS Crashed!!\n\nJust to make sure I wasn't going crazy, I excluded one from the QS catalog and QS still crashes (expected). I excluded the next and QS no longer crashed (expected).\n\n**IOW:** The same URLs are responsible for crashing QS in two different users on the same machine.\n\n*(Another thing: I have plenty of .webloc and aliases to .webloc files in the QS catalog. There are even others in the same parent folder that's in my \"Custom\" catalog entry. None of them expose the bug.)*\n\n\n----------------\n\n\n#### Observations:\n\n- This is a problem with the **alias** to the .webloc and *not* the original .webloc file. I can leave the originals in the QS catalog without them causing a crash.\n\n- As far as I can tell, there's nothing crazy about the file names that should be giving QS a hard time. In fact, I tested that. I renamed the original .webloc and the alias and it still crashed QS.\n    - However one of the pages has a `:` (known disallowed filename character) and a `/` in the title, but the Finder converts those to `-` when the .webloc is made. The other page has neither.\n    - So this shouldn't be the issue, right?\n    - (Spoiler Alert: ***Wrong!*** THIS *IS* the problem! See below.)\n\n- These .webloc's and aliases were created years ago on some previous version of the OS (10.6 or lower) and Safari. I'm recreating them on 10.9.5 and Safari 9.0.1 (9537.86.2.7.2).\n\n- I've tried the same test with different URLs and they were fine. No QS crash.\n\n- I can't say for sure if the content of those pages (specifically the titles) have changed since I first made the .webloc's and aliases. I'd suspect it hasn't. Archive.org shows some updates, but I haven't gone through all of them.\n\n\n----------------\n\n\n#### FOUND!\n\nAs I was proofreading this post, I thought of another test. I had a feeling this has something to do with that `:` or `/` in the file name. So what if I created my *own* html file, uploaded it to my server, and changed added the suspected characters (`:` `/` `,`) to the filename? So I did:\n\n1. The `<title>` had only text to start. (The filename in the Finder is a product of the `<title>` tag.)\n2. I created a .webloc, created an alias from that, re-scanned the QS catalog and restarted QS a couple times.\n3. **Result:** OK.\n4. Added a `/` to the `<title>`, Repeated Step 2.\n5. **Result:** OK.\n6. Added a `,` to the `<title>`, Repeated Step 2.\n7. **Result:** OK.\n8. Added a `:` to the `<title>`, Repeated Step 2.\n9. **Result:** QS CRASH!\n\nIt would seem that even though the Finder converts the `:` to a `-`, something about that remains in the .webloc. That's passed along to the alias and *that* is what crashes QS. I can see how this makes perfect sense, since having a `:` in a filename is bad news. But I don't know the inner workings of QS enough to know *where/why* it's crashing. @skurfer: Hopefully I've provided enough info to track that down.\n\n##### Still Unknown:\n- Why I wasn't able to recreate the crash, via my own test file, with a `,` in the `<title>` (Step 6 above)?\n- Maybe I didn't test right and a `,` in the filename *doesn't* cause a problem?\n\n\n----------------\n\n\n@mccoys: If you have the time, could you divide-and-conquer through the *contents* of your \"Desktop\" folder entry in the QS catalog, to see if you can find the culprit file in your case? It would be really helpful if we could figure out the commonality between the files that are giving QS a hard time. If I'm right about the `:` in the original file name, starting with that file (if any) should save you some time.\n\nfyi: If anyone is going to test this by adding and removing crash-inducing files from your catalog, you'll need to quit QS each time you add/remove. In my tested, just rescanning the catalog didn't do the trick. Maybe there something I don't know, but I needed to: Check/Uncheck the box for that catalog item (in the drawer), Quit QS, Launch QS, and Test in order to get clean results.\n\n\n\n\nThanks for reading this far.\nI hope this helps.\n\na.\n\n\n\n\n"}}