I just installed LyX 2.0.3 on a Gentoo system and the application is crashing as soon as the window opens. I get a dialog box with the SIGSEGV message and then it dies. The strange part is that I can run LyX successfully if I run it as root. Idon't know if this a LyX bug or a Gentoo packaging issue, so I would appreciate any suggestions from the LyX experts about how to diagnose the problem. LyX info and the backtrace are posted below. If you think it is a Gentoo packaging issue, please tell me as much as you can so that I can post a good bug report.
LyX info: LyX 2.0.3 (2012-02-19) Built on May 21 2012, 11:50:43 Configuration Host type: x86_64-pc-linux-gnu Special build flags: build=release use-hunspell C Compiler: x86_64-pc-linux-gnu-gcc C Compiler LyX flags: C Compiler flags: -O2 -pipe -march=native -msse4 C++ Compiler: x86_64-pc-linux-gnu-g++ (4.5.3) C++ Compiler LyX flags: C++ Compiler flags: -O2 -pipe -march=native -msse4 Linker flags: Linker user flags: -Wl,-O1 -Wl,--as-needed Qt 4 Frontend: Qt 4 version: 4.8.1 Packaging: posix LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x0000000000a397ea in ?? () (gdb) backtrace #0 0x0000000000a397ea in ?? () #1 0x0000000000a3a813 in ?? () #2 0x0000000000a3af06 in ?? () #3 0x0000000000a0a34d in ?? () #4 0x000000000081a526 in ?? () #5 0x00007ffff6a04c5f in ?? () from /usr/lib64/qt4/libQtGui.so.4 #6 0x00007ffff6a04f29 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #7 0x00007ffff498330e in _SmcProcessMessage () from /usr/lib64/libSM.so.6 #8 0x00007ffff47731f3 in IceProcessMessages () from /usr/lib64/libICE.so.6 #9 0x00007ffff64673fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #10 0x00007ffff64b374e in QSocketNotifier::activated(int) () from /usr/lib64/qt4/libQtCore.so.4 #11 0x00007ffff646f29b in QSocketNotifier::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #12 0x00007ffff69843a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #13 0x00007ffff6988fef in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #14 0x000000000081a108 in ?? () #15 0x00007ffff6451b1c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #16 0x00007ffff6480789 in ?? () from /usr/lib64/qt4/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #17 0x00007ffff509c87f in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #18 0x00007ffff509d088 in ?? () from /usr/lib64/libglib-2.0.so.0 #19 0x00007ffff509d261 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #20 0x00007ffff6480e2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #21 0x00007ffff6a295fe in ?? () from /usr/lib64/qt4/libQtGui.so.4 #22 0x00007ffff6450b42 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #23 0x00007ffff6450dfd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #24 0x00007ffff64555ab in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #25 0x000000000052e3e6 in ?? () #26 0x0000000000441b6a in ?? () #27 0x00007ffff57c12ad in __libc_start_main () from /lib64/libc.so.6 #28 0x0000000000441a69 in ?? () #29 0x00007fffffffdea8 in ?? () #30 0x000000000000001c in ?? () #31 0x0000000000000001 in ?? () #32 0x00007fffffffe1db in ?? () #33 0x0000000000000000 in ?? ()
