Live data from Hacker News

Do Not Type "File:///" in OS X

openradar.appspot.com

31–40 of 206 posts

Re: Do Not Type "File:///" in OS X

#31
post #28
post #27

Earlier quoted context omitted.

The capital F (or indeed, any case version except all-lowercase, such as "fILE") is critical.

Tried that too. It does crash TextEdit, but not Chrome. OK, it also crashes Safari when capitalized.

Try adding a space after or something, so it doesn't auto-complete to your history of file:// urls?

Re: Do Not Type "File:///" in OS X

#32
post #2

I wish they'd just fix the bug where typing "~" crashes Terminal.app (depending on your keyboard language) :(

Can you give us the steps to reproduce? I googled around but couldn't find the bug. I also tried a few different languages and I can't get Terminal.app to crash.

Re: Do Not Type "File:///" in OS X

#33

Hilariously, this bug seems to also crash the Mac error reporter, maybe because it has the evil string in it. I did manage to copy and paste a crash dump before the crash reporter crashed: http://pastebin.com/UkhERvaA The underlying reported error is * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'condition "wrong extraction: File:///"' Interesting that it's an asynchronous cr…

From the openradar bug, it is obvious that the bug is inside the "Data Detectors" thing. Looks like it triggers on anything starting with file:// (+/) case-insensitive, but then something later in the data extraction makes the incorrect assumption that the string should start with file:// (+/) lowercase, and throws an assert.

It's really quite bad that a bug inside the data detectors can bring down a whole app.

Edit: some interesting links:

http://support.apple.com/kb/PH4519 ("This feature is called “data detectors.”")

https://developer.apple.com/library/mac/#documentation/Found...

Re: Do Not Type "File:///" in OS X

#34
post #25

Earlier quoted context omitted.

I switched to iTerm a long time ago and never looked back. I recommend it.

iTerm 2 is brilliant, I can't imagine using the default Terminal for anything, ever.

Enlighten us. I have read the feature list over the years and don't see anything that really stands out enough.

Re: Do Not Type "File:///" in OS X

#40
post #2

I wish they'd just fix the bug where typing "~" crashes Terminal.app (depending on your keyboard language) :(

Can you give us the steps to reproduce? I googled around but couldn't find the bug. I also tried a few different languages and I can't get Terminal.app to crash.

Set keyboard to Norwegian. Type Ctrl+"¨" (they key that is the dead-key for ñ, if you were to type Alt+"¨"+n) Crash.

Edit: Here's the same bug in VLC: https://trac.videolan.org/vlc/ticket/7268

Post reply on HN