- 
    
Bug
 - 
    Resolution: Done
 - 
    
P1: Critical
 - 
    5.1.1, 5.2.0 Beta1
 - 
    None
 - 
    Mac OS X 10.8/Mac OS X 10.9
Qt 5.1.1 and Qt 5.2 beta1 
- 
        
 - 
        b2f26362176b77b812de5cfbaca5d70d3d786218
 
Using FileDialog on Mac OS X 10.8/10.9 crashes all the time when following these steps:
- Click on the search button to popup the search dialog
 - Add text in the filter bar in the top right like 'mp3'.\
 - Wait for the results to appear then cancel.
 - Click once again on the search button and it crashes
 
Crash stack:
Starting /Users/XXX/Qt5.1.1/5.1.1/clang_64/bin/qmlscene /Users/XXX/Workspace/qt5-demoProjects/tstOpenFile/tstOpenFile.qml
2013-11-04 11:06 qmlscene[61517] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
QFileInfo::absolutePath: Constructed with empty filename
QFileSystemWatcher::removePaths: list is empty
2013-11-04 11:06:59.632 qmlscene[61517:707] An uncaught exception was raised
2013-11-04 11:06:59.632 qmlscene[61517:707] *** -[NSURL initFileURLWithPath:]: nil string parameter
2013-11-04 11:06:59.674 qmlscene[61517:707] (
	0   CoreFoundation                      0x00007fff8f3bab06 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff8787c3f0 objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff8f3ba8dc +[NSException raise:format:] + 204
	3   Foundation                          0x00007fff8f6eee07 -[NSURL(NSURL) initFileURLWithPath:] + 81
	4   Foundation                          0x00007fff8f6eed07 +[NSURL(NSURL) fileURLWithPath:] + 43
	5   libqcocoa.dylib                     0x0000000103a2c813 -[QNSOpenSavePanelDelegate showWindowModalSheet:] + 227
	6   libqcocoa.dylib                     0x0000000103a2f6f1 _ZN22QCocoaFileDialogHelper4showE6QFlagsIN2Qt10WindowTypeEENS1_14WindowModalityEP7QWindow + 97
	7   libdialogplugin.dylib               0x0000000102fe5d47 _ZN20QQuickAbstractDialog10setVisibleEb + 247
	8   libdialogplugin.dylib               0x0000000102feb521 _ZN20QQuickAbstractDialog11qt_metacallEN11QMetaObject4CallEiPPv + 97
	9   libdialogplugin.dylib               0x0000000102fea2d6 _ZN24QQuickAbstractFileDialog11qt_metacallEN11QMetaObject4CallEiPPv + 38
	10  QtQml                               0x00000001004f97a3 ZL10CallMethodP7QObjectiiiPiP9QV8EngineRN12_GLOBAL_N_18CallArgsE + 3299
	11  QtQml                               0x00000001004f88bf ZL11CallPreciseP7QObjectRK16QQmlPropertyDataP9QV8EngineRN12_GLOBAL_N_18CallArgsE + 991
	12  QtQml                               0x00000001004f14d2 _ZN17QV8QObjectWrapper6InvokeERKN2v89ArgumentsE + 1634
	13  QtV8                                0x0000000101840f9b ZN2v88internalL21Builtin_HandleApiCallENS0_12_GLOBAL_N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE + 459
	14  ???                                 0x000038b7ac50618e 0x0 + 62361521119630
)
2013-11-04 11:06:59.675 qmlscene[61517:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'
- 
	
- 
		
- First throw call stack:
(
0 CoreFoundation 0x00007fff8f3bab06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8787c3f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8f3ba8dc +[NSException raise:format:] + 204
3 Foundation 0x00007fff8f6eee07 -[NSURL(NSURL) initFileURLWithPath:] + 81
4 Foundation 0x00007fff8f6eed07 +[NSURL(NSURL) fileURLWithPath:] + 43
5 libqcocoa.dylib 0x0000000103a2c813 -[QNSOpenSavePanelDelegate showWindowModalSheet:] + 227
6 libqcocoa.dylib 0x0000000103a2f6f1 _ZN22QCocoaFileDialogHelper4showE6QFlagsIN2Qt10WindowTypeEENS1_14WindowModalityEP7QWindow + 97
7 libdialogplugin.dylib 0x0000000102fe5d47 _ZN20QQuickAbstractDialog10setVisibleEb + 247
8 libdialogplugin.dylib 0x0000000102feb521 _ZN20QQuickAbstractDialog11qt_metacallEN11QMetaObject4CallEiPPv + 97
9 libdialogplugin.dylib 0x0000000102fea2d6 _ZN24QQuickAbstractFileDialog11qt_metacallEN11QMetaObject4CallEiPPv + 38
10 QtQml 0x00000001004f97a3 ZL10CallMethodP7QObjectiiiPiP9QV8EngineRN12_GLOBAL_N_18CallArgsE + 3299
11 QtQml 0x00000001004f88bf ZL11CallPreciseP7QObjectRK16QQmlPropertyDataP9QV8EngineRN12_GLOBAL_N_18CallArgsE + 991
12 QtQml 0x00000001004f14d2 _ZN17QV8QObjectWrapper6InvokeERKN2v89ArgumentsE + 1634
13 QtV8 0x0000000101840f9b ZN2v88internalL21Builtin_HandleApiCallENS0_12_GLOBAL_N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE + 459
14 ??? 0x000038b7ac50618e 0x0 + 62361521119630
)
libc++abi.dylib: terminate called throwing an exception
The program has unexpectedly finished.
/Users/XXX/Qt5.1.1/5.1.1/clang_64/bin/qmlscene exited with code 0 
 - First throw call stack:
 
 - 
		
 
- is required for
 - 
                    
QTBUG-33863 Issues to be fixed before Qt5.2 RC1 release
-         
 - Closed
 
 -