Skip to content

Instantly share code, notes, and snippets.

Program received signal SIGSEGV, Segmentation fault.
0x000000000099f8d4 in QString::QString (this=0x7fffffffcbd0, other=...) at /usr/include/qt4/QtCore/qstring.h:725
725 inline QString::QString(const QString &other) : d(other.d)
(gdb) bt
#0 0x000000000099f8d4 in QString::QString (this=0x7fffffffcbd0, other=...)
at /usr/include/qt4/QtCore/qstring.h:725
#1 0x0000000000ae8051 in ContentSelectorModel::EsmFile::filePath (this=0x0)
at /home/marc/OpenMW/openmw/./components/contentselector/model/esmfile.hpp:55
#2 0x0000000000d96a85 in ContentSelectorModel::ContentModel::checkForLoadOrderErrors (this=0x16675b0,
file=0x16d1b00, row=0) at /home/marc/OpenMW/openmw/components/contentselector/model/contentmodel.cpp:600
#0 0x00007ffff450e445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff4511bab in __GI_abort () at abort.c:91
#2 0x00007ffff450710e in __assert_fail_base (fmt=<optimized out>, assertion=0x98ec51 "!index.isValid()",
file=0x98ebd0 "/home/marc/OpenMW/openmw/apps/opencs/model/world/nestedtableproxymodel.cpp",
line=<optimized out>, function=<optimized out>) at assert.c:94
#3 0x00007ffff45071b2 in __GI___assert_fail (assertion=0x98ec51 "!index.isValid()",
file=0x98ebd0 "/home/marc/OpenMW/openmw/apps/opencs/model/world/nestedtableproxymodel.cpp", line=62,
function=0x98ec80 "virtual int CSMWorld::NestedTableProxyModel::rowCount(const QModelIndex&) const")
at assert.c:103
#4 0x000000000067abce in CSMWorld::NestedTableProxyModel::rowCount (this=0x2898e70, index=...)
#0 0x0000000000716359 in CSVDoc::View::updateTitle (this=0x2693860)
at /home/marc/OpenMW/openmw/apps/opencs/view/doc/view.cpp:333
#1 0x0000000000716726 in CSVDoc::View::updateDocumentState (this=0x2693860)
at /home/marc/OpenMW/openmw/apps/opencs/view/doc/view.cpp:449
#2 0x00000000007129e1 in CSVDoc::ViewManager::documentStateChanged (this=0x7fffffffe250, state=<optimized out>,
document=0x2525270) at /home/marc/OpenMW/openmw/apps/opencs/view/doc/viewmanager.cpp:363
#3 0x00007ffff5451281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4 0x0000000000781739 in CSMDoc::Document::stateChanged (this=<optimized out>, _t1=0, _t2=0x2525270)
at /home/marc/OpenMW/build/apps/opencs/model/doc/moc_document.cxx:121
0x000000000074c9ff in Resource::SceneManager::releaseGLObjects (this=0x21f3430, state=0x278b5e0)
at /home/marc/OpenMW/openmw/components/resource/scenemanager.cpp:166
166 it->second->releaseGLObjects(state);
(gdb) bt
#0 0x000000000074c9ff in Resource::SceneManager::releaseGLObjects (this=0x21f3430, state=0x278b5e0)
at /home/marc/OpenMW/openmw/components/resource/scenemanager.cpp:166
#1 0x0000000000712b64 in CSVRender::SceneWidget::~SceneWidget (this=0x266a780, __in_chrg=<optimised out>)
at /home/marc/OpenMW/openmw/apps/opencs/view/render/scenewidget.cpp:150
#2 0x0000000000747ca1 in ~UnpagedWorldspaceWidget (this=0x266a780, __in_chrg=<optimised out>)
at /home/marc/OpenMW/build/apps/opencs/view/render/../../../../../openmw/apps/opencs/view/render/unpagedworldspacewidget.hpp:24
(gdb) run
Starting program: /home/marc/OpenMW/build/openmw --start Sud --debug
[Thread debugging using libthread_db enabled]
Data directory: /home/marc/OpenMW/build/data
[New Thread 0x7f148d123750 (LWP 22884)]
[New Thread 0x7f1483f6f950 (LWP 22887)]
[New Thread 0x7f148376e950 (LWP 22888)]
[New Thread 0x7f1482f6d950 (LWP 22889)]
[New Thread 0x7f148276c950 (LWP 22890)]
Adding /home/marc/OpenMW/build/data/Morrowind.bsa
@zinnschlag
zinnschlag / gist:2214206
Created March 27, 2012 09:07
OpenMW build failure
CMakeFiles/openmw.dir/__/__/libs/openengine/gui/manager.cpp.o: In function `MyGUI::OgrePlatform::OgrePlatform()':
manager.cpp:(.text._ZN5MyGUI12OgrePlatformC1Ev[MyGUI::OgrePlatform::OgrePlatform()]+0x4f): undefined reference to `MyGUI::OgreRenderManager::OgreRenderManager()'
manager.cpp:(.text._ZN5MyGUI12OgrePlatformC1Ev[MyGUI::OgrePlatform::OgrePlatform()]+0x90): undefined reference to `MyGUI::OgreDataManager::OgreDataManager()'
CMakeFiles/openmw.dir/__/__/libs/openengine/gui/manager.cpp.o: In function `MyGUI::OgrePlatform::initialise(Ogre::RenderWindow*, Ogre::SceneManager*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
manager.cpp:(.text._ZN5MyGUI12OgrePlatform10initialiseEPN4Ogre12RenderWindowEPNS1_12SceneManagerERKSsS7_[MyGUI::OgrePlatform::initialise(Ogre::RenderWindow*, Ogre::SceneManager*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char
Loading config file: /home/marc/.config/openmw/openmw.cfg... done.
Loading config file: ./openmw.cfg... done.
Using default (English) font encoding.
Adding ./data/Bloodmoon.bsa
Adding ./data/Morrowind.bsa
Adding ./data/Tribunal.bsa
Data dir ./data
Finding: textures/Tx_Stars_Mage.tga found.
Finding: textures/Tx_Stars_Warrior.tga found.
Finding: textures/Tx_Stars_Thief.tga found.
10:19:18: Creating resource group General
10:19:18: Creating resource group Internal
10:19:18: Creating resource group Autodetect
10:19:18: SceneManagerFactory for type 'DefaultSceneManager' registered.
10:19:18: Registering ResourceManager for type Material
10:19:18: Registering ResourceManager for type Mesh
10:19:18: Registering ResourceManager for type Skeleton
10:19:18: MovableObjectFactory for type 'ParticleSystem' registered.
10:19:18: OverlayElementFactory for type Panel registered.
10:19:18: OverlayElementFactory for type BorderPanel registered.
Quitting peacefully.
*** glibc detected *** ./openmw: double free or corruption (fasttop): 0x0000000001debab0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7f93a7bad5b6]
/lib/libc.so.6(cfree+0x73)[0x7f93a7bb3e83]
/usr/local/lib/libOgreMain.so.1.8.0(_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsEN4Ogre12STLAllocatorIS2_NS7_22CategorisedAllocPolicyILNS7_14MemoryCategoryE0EEEEEE8_M_eraseEPSt13_Rb_tree_nodeIS2_E+0xc1)[0x7f93aa978741]
/usr/local/lib/libOgreMain.so.1.8.0(_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsEN4Ogre12STLAllocatorIS2_NS7_22CategorisedAllocPolicyILNS7_14MemoryCategoryE0EEEEEE8_M_eraseEPSt13_Rb_tree_nodeIS2_E+0x44)[0x7f93aa9786c4]
/usr/local/lib/libOgreMain.so.1.8.0(_ZN4Ogre10ConfigFileD1Ev+0x45)[0x7f93aa976205]
/lib/libc.so.6(exit+0xe2)[0x7f93a7b6f262]
/lib/libc.so.6(__libc_start_main+0x104)[0x7f93a7b54c54]
[ 41%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwgui/bookwindow.cpp.o
In file included from /home/marc/OpenMW/openmw/apps/openmw/mwgui/scrollwindow.cpp:3:
/home/marc/OpenMW/openmw/apps/openmw/mwgui/formatting.hpp:6:41: error: boost/property_tree/ptree.hpp: No such file or directory
In file included from /home/marc/OpenMW/openmw/apps/openmw/mwgui/bookwindow.cpp:3:
/home/marc/OpenMW/openmw/apps/openmw/mwgui/formatting.hpp:6:41: error: boost/property_tree/ptree.hpp: No such file or directory
[ 42%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwgui/list.cpp.o
[ 42%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwgui/formatting.cpp.o
In file included from /home/marc/OpenMW/openmw/apps/openmw/mwgui/formatting.cpp:1:
/home/marc/OpenMW/openmw/apps/openmw/mwgui/formatting.hpp:6:41: error: boost/property_tree/ptree.hpp: No such file or directory
/home/marc/OpenMW/openmw/apps/openmw/mwgui/formatting.cpp:5:46: error: boost/property_tree/xml_parser.hpp: No such file or directory