News for hackers. Stuff that matters.
Re:Do Not Type "File:///" in OS X by nukerhazz on Saturday February 02, 2013 @01:37AM (#5155392)
If you have Xcode you can reproduce the crash in a scratch Xcode project. Drop an NSSearchField into a window, run the app, enter you-know-what, and boom. (I used NSSearchField since that's what I found most easily crashes Finder, VoodooPad, and System Preferences. Maybe NSTextField works as well.)

The assert that fails is this:

assertion on /SourceCache/DataDetectorsCore/DataDetectorsCore-269.1/Sources/PushDown/DDResultExtraction.c:1576 "CFStringHasPrefix(urlVal, CFSTR("file://"))" failed :wrong extraction: File://

There's an extra slash at the end, but I left it out because it crashes Safari.

There are no comments on this comment yet.