Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46688

FileDialog causes crash at startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.5.0 RC
    • QPA
    • OS X Mavericks
    • macOS
    • b5e1cd9954ec5bd64806cb1ae8a6abcd6275f945

    Description

      0	QSharedDataPointer<QFileDialogOptionsPrivate>::operator->() const	qshareddata.h	69	0x102a48acc	
      1	QFileDialogOptions::initiallySelectedNameFilter() const	qplatformdialoghelper.cpp	605	0x102a475e3	
      2	QCocoaFileDialogHelper::selectedNameFilter() const	qcocoafiledialoghelper.mm	667	0x1096dc000	
      3	QQuickAbstractFileDialog::selectedNameFilter() const	qquickabstractfiledialog.cpp	142	0x10b040dac	
      4	QQuickAbstractFileDialog::selectedNameFilterExtensions() const	qquickabstractfiledialog.cpp	171	0x10b040f1a	
      5	QQuickAbstractFileDialog::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *)	moc_qquickabstractfiledialog_p.cpp	252	0x10b05ada0	
      6	QQuickAbstractFileDialog::qt_metacall(QMetaObject::Call, int, void * *)	moc_qquickabstractfiledialog_p.cpp	315	0x10b05b3ff	
      7	QQuickFileDialog::qt_metacall(QMetaObject::Call, int, void * *)	moc_qquickfiledialog_p.cpp	193	0x10b05ce13	
      8	QQuickPlatformFileDialog::qt_metacall(QMetaObject::Call, int, void * *)	moc_qquickplatformfiledialog_p.cpp	84	0x10b05c864	
      9	QQmlVMEMetaObject::metaCall(QMetaObject::Call, int, void * *)	qqmlvmemetaobject.cpp	971	0x100302047	
      10	QAbstractDynamicMetaObject::metaCall(QObject *, QMetaObject::Call, int, void * *)	qobject_p.h	421	0x100038362	
      11	QMetaObject::metacall(QObject *, QMetaObject::Call, int, void * *)	qmetaobject.cpp	294	0x1012ee37f	
      12	QV4::QQmlSequence<QStringList>::loadReference() const	qv4sequenceobject.cpp	516	0x1002838f5	
      13	QV4::Heap::QQmlSequence<QStringList>::QQmlSequence(QV4::ExecutionEngine *, QObject *, int)	qv4sequenceobject.cpp	568	0x1002878c2	
      14	QV4::Heap::QQmlSequence<QStringList>::QQmlSequence(QV4::ExecutionEngine *, QObject *, int)	qv4sequenceobject.cpp	570	0x1002877db	
      15	QV4::QQmlSequence<QStringList>::Data * QV4::MemoryManager::alloc<QV4::QQmlSequence<QStringList>, QV4::ExecutionEngine *, QObject *, int>(QV4::ExecutionEngine *, QObject *, int)	qv4mm_p.h	126	0x10027d7fc	
      16	QV4::SequencePrototype::newSequence(QV4::ExecutionEngine *, int, QObject *, int, bool *)	qv4sequenceobject.cpp	659	0x100279bcc	
      17	unsigned long long LoadProperty<&(ReadAccessor::Direct(QObject *, QQmlPropertyData const&, void *, QQmlNotifier * *))>(QV4::ExecutionEngine *, QObject *, QQmlPropertyData const&, QQmlNotifier * *)	qv4qobjectwrapper.cpp	218	0x1002bec2f	
      18	QV4::QObjectWrapper::getProperty(QObject *, QV4::ExecutionContext *, QQmlPropertyData *, bool)	qv4qobjectwrapper.cpp	390	0x1002bdb4f	
      19	QV4::QObjectWrapper::getProperty(QObject *, QV4::ExecutionContext *, int, bool)	qv4qobjectwrapper.cpp	654	0x1002c1557	
      20	QV4::Runtime::getQmlQObjectProperty(QV4::ExecutionEngine *, QV4::Value const&, int, bool)	qv4runtime.cpp	1366	0x1002e64d7	
      21	None	None		0x10b3f3dc0	
      22	QV4::SimpleScriptFunction::call(QV4::Managed *, QV4::CallData *)	qv4functionobject.cpp	564	0x1002410bb	
      23	QV4::Object::call(QV4::CallData *)	qv4object_p.h	302	0x100146a59	
      24	QQmlJavaScriptExpression::evaluate(QQmlContextData *, QV4::Value const&, QV4::CallData *, bool *)	qqmljavascriptexpression.cpp	158	0x1003bb8aa	
      25	QQmlBoundSignalExpression::evaluate(void * *)	qqmlboundsignal.cpp	281	0x10033cecb	
      26	QQmlBoundSignal_callback(QQmlNotifierEndpoint *, void * *)	qqmlboundsignal.cpp	408	0x10033d94a	
      27	QQmlNotifier::emitNotify(QQmlNotifierEndpoint *, void * *)	qqmlnotifier.cpp	73	0x100396550	
      28	QQmlData::signalEmitted(QAbstractDeclarativeData *, QObject *, int, void * *)	qqmlengine.cpp	751	0x100308c57	
      29	QMetaObject::activate(QObject *, int, int, void * *)	qobject.cpp	3603	0x101334c67	
      30	QMetaObject::activate(QObject *, QMetaObject const *, int, void * *)	qobject.cpp	3583	0x101334b5d	
      31	QQmlComponentAttached::completed()	moc_qqmlcomponentattached_p.cpp	135	0x10046db7b	
      32	QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&)	qqmlobjectcreator.cpp	1235	0x1003d93be	
      33	QQmlComponentPrivate::complete(QQmlEnginePrivate *, QQmlComponentPrivate::ConstructionState *)	qqmlcomponent.cpp	928	0x10032dbcc	
      34	QQmlComponentPrivate::completeCreate()	qqmlcomponent.cpp	964	0x10032c15b	
      35	QQmlComponent::completeCreate()	qqmlcomponent.cpp	957	0x10032dc82	
      36	QQmlComponent::create(QQmlContext *)	qqmlcomponent.cpp	791	0x10032d3ec	
      37	QQmlApplicationEnginePrivate::_q_finishLoad(QObject *)	qqmlapplicationengine.cpp	130	0x1003c7bbb	
      38	QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool)	qqmlapplicationengine.cpp	109	0x1003c7950	
      39	QQmlApplicationEngine::load(QString const&)	qqmlapplicationengine.cpp	264	0x1003c80e1	
      40	main	main		0x1000061ff	
      41	start	start		0x100003ec4	
      
      QString QCocoaFileDialogHelper::selectedNameFilter() const
      {
          if (!mDelegate)
              return options()->initiallySelectedNameFilter();
          int index = [mDelegate->mPopUpButton indexOfSelectedItem];
          if (index >= options()->nameFilters().count())
              return QString();
          return index != -1 ? options()->nameFilters().at(index) : QString();
      }
      

      options() is returning null at that time.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes