[Qt-creator] crash (opening .pro-file)

Sebastian Held sebastian.held at gmx.de
Thu Feb 11 22:43:45 CET 2010


Hi,

Since some time the git version crashes while opening my .pro file.
Last known working revision: 001602c2a480af1f28c091637f8420c9b7648575

Backtrace attached. Valgrind reports the same.
generated by git revision 616227963009ca1af868f735b16793119b7395ab

Do you need more info?

br,
Sebastian
-------------- next part --------------
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()                         
(gdb) bt full                                       
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00007ffff261148d in operator() (this=0x7fffffffa290, factory=0xf20a40) at runconfiguration.cpp:113
No locals.
#2  0x00007ffff2611502 in findRunConfigurationFactory (matcher=...) at runconfiguration.cpp:128
        factory = 0xf20a40
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 18658}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d =
    0x7fffdc01bf30}, d = 0x7fffdc01bf30}}, brk = 0, i = {i = 0x7fffdc01bf58}, e = {i = 0x7fffdc01bf80}}
        factories = {{p = {static shared_null = {ref = {_q_value = 18658}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d =
    0x7fffdc01bf30}, d = 0x7fffdc01bf30}}
#3  0x00007ffff2611c74 in ProjectExplorer::IRunConfigurationFactory::restoreFactory (parent=0x7fffdc00b530, map=...) at runconfiguration.cpp:205
        matcher = {<(anonymous namespace)::RunConfigurationFactoryMatcher> = {_vptr.RunConfigurationFactoryMatcher = 0x7ffff28ffb00, m_target =
    0x7fffdc00b530}, m_map = {{d = 0xd86520, e = 0xd86520}}}
#4  0x00007ffff25c11f8 in ProjectExplorer::Target::fromMap (this=0x7fffdc00b530, map=...) at target.cpp:299
        key = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13535}, alloc = 0, size = 0, data = 0x6126ba, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 58},
            alloc = 0, size = 0, data = 0x3c1318289a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
    0}}, d = 0x7fffdc008380, static codecForCStrings = 0x0}
        valueMap = {{d = 0xd86520, e = 0xd86520}}
        factory = 0x7fffffffa730
        rc = 0x7fffffffa730
        i = 0
        ok = true
        bcCount = 2
        activeConfiguration = 0
        rcCount = 1
#5  0x00007fffed46582e in Qt4ProjectManager::Internal::Qt4Target::fromMap (this=0x7fffdc00b530, map=...) at qt4target.cpp:382
No locals.
#6  0x00007fffed463102 in Qt4ProjectManager::Internal::Qt4TargetFactory::restore (this=0xc6f560, parent=0xdd9450, map=...) at qt4target.cpp:169
        qt4project = 0xdd9450
        t = 0x7fffdc00b530
#7  0x00007ffff25f59d0 in ProjectExplorer::Project::fromMap (this=0xdd9450, map=...) at project.cpp:250
        key = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13535}, alloc = 0, size = 0, data = 0x6126ba, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 58},
            alloc = 0, size = 0, data = 0x3c1318289a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
    0}}, d = 0x7fffdc04abb0, static codecForCStrings = 0x0}
        t = 0x7fffffffa930
        i = 0
        ok = true
        maxI = 5
        active = 0
#8  0x00007fffed3d7746 in Qt4ProjectManager::Qt4Project::fromMap (this=0xdd9450, map=...) at qt4project.cpp:275
        ts = {{p = {static shared_null = {ref = {_q_value = 18658}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7ffff269b2c8}, d =
    0x7ffff269b2c8}}
        pathes = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 18658}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},
                d = 0xda7d70}, d = 0xda7d70}}, <No data fields>}
#9  0x00007ffff25f4e16 in ProjectExplorer::Project::restoreSettings (this=0xdd9450) at project.cpp:205
        accessor = {m_handlers = {{d = 0xd928c0, e = 0xd928c0}}, m_firstVersion = 0, m_lastVersion = 1}
        map = {{d = 0xd8eb80, e = 0xd8eb80}}
#10 0x00007ffff259eaf0 in ProjectExplorer::ProjectExplorerPlugin::openProjects (this=0x8029a0, fileNames=...) at projectexplorer.cpp:1047
        projectManagers = {{p = {static shared_null = {ref = {_q_value = 18658}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d =
    0xd9a2e0}, d = 0xd9a2e0}}
        end = {i = 0x12a06e8}
        pm = 0x7fffffffd110
        openedPro = {{p = {static shared_null = {ref = {_q_value = 18658}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x12a06a0},
            d = 0x12a06a0}}
        it = {i = 0x12a06b8}
#11 0x00007ffff25e094a in ProjectExplorer::Internal::SessionFile::load (this=0xa139f0, fileName=...) at session.cpp:187
        reader = {m_valueMap = {{d = 0x129fb00, e = 0x129fb00}}}
        openEditorsCount = 18
        depMap = {{d = 0x7ffffffface0, e = 0x7ffffffface0}}
        startupProject = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13535}, alloc = 0, size = 0, data = 0x6126ba, clean =
    0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 58}, alloc = 0,
            size = 0, data = 0x3c1318289a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
    0xffffffffffffac60, static codecForCStrings = 0x0}
        editorsettings = @0xffffafd0
        keys = @0x7fffffffad10
        fileList = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 18658}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},
                d = 0xd93910}, d = 0xd93910}}, <No data fields>}
        configDir = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13535}, alloc = 0, size = 0, data = 0x6126ba, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 58},
            alloc = 0, size = 0, data = 0x3c1318289a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
    0}}, d = 0xd9a270, static codecForCStrings = 0x0}
        it = {c = 0x7fffffffac70, i = {i = 0xd93958}, n = {i = 0xd93950}}
        i = {i = 0x0}
#12 0x00007ffff25e59ac in ProjectExplorer::SessionManager::loadImpl (this=0xa13890, fileName=...) at session.cpp:640
        success = true
#13 0x00007ffff25e97a1 in ProjectExplorer::SessionManager::loadSession (this=0xa13890, session=...) at session.cpp:1085
        fileName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13535}, alloc = 0, size = 0, data = 0x6126ba, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 58},
            alloc = 0, size = 0, data = 0x3c1318289a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
    0}}, d = 0xd5e880, static codecForCStrings = 0x0}
#14 0x00007ffff25a7ae2 in ProjectExplorer::ProjectExplorerPlugin::setSession (this=0x8029a0, action=0xa54980) at projectexplorer.cpp:2146
        session = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13535}, alloc = 0, size = 0, data = 0x6126ba, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 58},
            alloc = 0, size = 0, data = 0x3c1318289a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
    0}}, d = 0xa4c330, static codecForCStrings = 0x0}
#15 0x00007ffff2674544 in ProjectExplorer::ProjectExplorerPlugin::qt_metacall (this=0x8029a0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffffffb320)
    at .moc/debug-shared/moc_projectexplorer.cpp:279
No locals.
#16 0x0000003c12dfd41a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
#17 0x0000003c12e16a76 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
#18 0x0000003c13fdfda4 in QActionGroup::triggered(QAction*) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
#19 0x0000003c13fdede5 in QActionGroupPrivate::_q_actionTriggered() () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
#20 0x0000003c13fdfbd8 in QActionGroup::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
#21 0x0000003c12dfd41a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
-------------- next part --------------
==715== Jump to the invalid address stated on the next line
==715==    at 0x0: ???                                     
==715==    by 0xB7E8501: (anonymous namespace)::findRunConfigurationFactory((anonymous namespace)::RunConfigurationFactoryMatcher&) (runconfiguration.cpp:128)                                                                                                                                                          
==715==    by 0xB7E8C73: ProjectExplorer::IRunConfigurationFactory::restoreFactory(ProjectExplorer::Target*, QMap<QString, QVariant> const&) (runconfiguration.cpp:205)                                                                                                                                                 
==715==    by 0xB7981F7: ProjectExplorer::Target::fromMap(QMap<QString, QVariant> const&) (target.cpp:299)                                                  
==715==    by 0x1096A82D: Qt4ProjectManager::Internal::Qt4Target::fromMap(QMap<QString, QVariant> const&) (qt4target.cpp:382)                               
==715==    by 0x10968101: Qt4ProjectManager::Internal::Qt4TargetFactory::restore(ProjectExplorer::Project*, QMap<QString, QVariant> const&) (qt4target.cpp:169)                                                                                                                                                         
==715==    by 0xB7CC9CF: ProjectExplorer::Project::fromMap(QMap<QString, QVariant> const&) (project.cpp:250)                                                
==715==    by 0x108DC745: Qt4ProjectManager::Qt4Project::fromMap(QMap<QString, QVariant> const&) (qt4project.cpp:275)                                       
==715==    by 0xB7CBE15: ProjectExplorer::Project::restoreSettings() (project.cpp:205)                                                                      
==715==    by 0xB775AEF: ProjectExplorer::ProjectExplorerPlugin::openProjects(QStringList const&) (projectexplorer.cpp:1047)                                
==715==    by 0xB7B7949: ProjectExplorer::Internal::SessionFile::load(QString const&) (session.cpp:187)                                                     
==715==    by 0xB7BC9AB: ProjectExplorer::SessionManager::loadImpl(QString const&) (session.cpp:640)                                                        
==715==  Address 0x0 is not stack'd, malloc'd or (recently) free'd                                                                                          
==715==                                                                                                                                                     
==715==                                                                                                                                                     
==715== Process terminating with default action of signal 11 (SIGSEGV)                                                                                      
==715==  Bad permissions for mapped region at address 0x0                                                                                                   
==715==    at 0x0: ???
==715==    by 0xB7E8501: (anonymous namespace)::findRunConfigurationFactory((anonymous namespace)::RunConfigurationFactoryMatcher&) (runconfiguration.cpp:128)
==715==    by 0xB7E8C73: ProjectExplorer::IRunConfigurationFactory::restoreFactory(ProjectExplorer::Target*, QMap<QString, QVariant> const&) (runconfiguration.cpp:205)
==715==    by 0xB7981F7: ProjectExplorer::Target::fromMap(QMap<QString, QVariant> const&) (target.cpp:299)
==715==    by 0x1096A82D: Qt4ProjectManager::Internal::Qt4Target::fromMap(QMap<QString, QVariant> const&) (qt4target.cpp:382)
==715==    by 0x10968101: Qt4ProjectManager::Internal::Qt4TargetFactory::restore(ProjectExplorer::Project*, QMap<QString, QVariant> const&) (qt4target.cpp:169)
==715==    by 0xB7CC9CF: ProjectExplorer::Project::fromMap(QMap<QString, QVariant> const&) (project.cpp:250)
==715==    by 0x108DC745: Qt4ProjectManager::Qt4Project::fromMap(QMap<QString, QVariant> const&) (qt4project.cpp:275)
==715==    by 0xB7CBE15: ProjectExplorer::Project::restoreSettings() (project.cpp:205)
==715==    by 0xB775AEF: ProjectExplorer::ProjectExplorerPlugin::openProjects(QStringList const&) (projectexplorer.cpp:1047)
==715==    by 0xB7B7949: ProjectExplorer::Internal::SessionFile::load(QString const&) (session.cpp:187)
==715==    by 0xB7BC9AB: ProjectExplorer::SessionManager::loadImpl(QString const&) (session.cpp:640)


More information about the Qt-creator-old mailing list