Here's the full valgrind output: ==13312== Invalid read of size 1 ==13312== at 0x4061FEEE: QPopupMenu::keyPressEvent(QKeyEvent *) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x4055F709: QWidget::event(QEvent *) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x404C6DFA: QApplication::internalNotify(QObject *, QEvent *) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x404C6638: QApplication::notify(QObject *, QEvent *) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x4046EEA2: QETWidget::translateKeyEvent(_XEvent const *, bool) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x4046AD9D: QApplication::x11ProcessEvent(_XEvent *) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x4047E4E8: QEventLoop::processEvents(unsigned int) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x404DA4CF: QEventLoop::enterLoop(void) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x404DA416: QEventLoop::exec(void) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x404C7025: QApplication::exec(void) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x83374B6: lyx_gui::start(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &, vector<basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> >, allocator<basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > > > const &) (lyx_gui.C:169) ==13312== by 0x811E162: LyX::LyX(int &, char **) (../src/lyx_main.C:166) ==13312== by 0x81814D5: main (../src/main.C:31) ==13312== by 0x40D3A9EC: __libc_start_main (in /lib/libc.so.6) ==13312== by 0x805F8F0: (within /usr/local/bin/lyx) ==13312== Address 0x28 is not stack'd, malloc'd or free'd
lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help->Introduction and send us a bug report, if necessary. Thanks ! Bye. Aborted This does not point to a relevent piece of code in lyx. The problem is probably somewhere in the initialisation of the menus. Valgrind does give on other unrelated error pertaining to the splash screen: ==13312== Address 0x44F20DF6 is 850 bytes inside a block of size 247080 alloc'd ==13312== at 0x401686B8: malloc (vg_clientfuncs.c:100) ==13312== by 0x40484AB6: QPixmap::convertFromImage(QImage const &, int) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x405371B8: QPixmap::load(QString const &, char const *, int) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x40537266: QPixmap::load(QString const &, char const *, QPixmap::ColorMode) (in /tmp/qt-x11-free-3.1.2/lib/libqt-mt.so.3.1.2) ==13312== by 0x83E5962: grfx::QLImage::load(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &) (QLImage.C:141) ==13312== by 0x83F7942: grfx::CacheItem::Impl::loadImage(void) (GraphicsCacheItem.C:287) ==13312== by 0x83F88C3: grfx::CacheItem::Impl::convertToDisplayFormat(void) (GraphicsCacheItem.C:389) ==13312== by 0x83F6D34: grfx::CacheItem::Impl::startLoading(void) (GraphicsCacheItem.C:206) ==13312== by 0x83F5F34: grfx::CacheItem::startLoading(void) const (GraphicsCacheItem.C:144) ==13312== by 0x8403290: grfx::Loader::startLoading(void) const (GraphicsLoader.C:137) ==13312== by 0x82BF005: {anonymous}::SplashScreen::SplashScreen(void) (screen.C:106) ==13312== by 0x82BEB0B: {anonymous}::SplashScreen::get(void) (screen.C:77) ==13312== by 0x82BF3AC: LyXScreen::LyXScreen(void) (screen.C:116) ==13312== by 0x833C856: QScreen::QScreen(QWorkArea &) (qscreen.C:48) ==13312== by 0x82C80E0: LyXScreenFactory::create(WorkArea &) (LyXScreenFactory.C:26) ==13312== by 0x806456D: BufferView::Pimpl::Pimpl(BufferView *, LyXView *, int, int, int, int) (BufferView_pimpl.C:113) ==13312== by 0x805F9F8: BufferView::BufferView(LyXView *, int, int, int, int) (BufferView.C:65) ==13312== by 0x8331AD9: QtView::QtView(unsigned int, unsigned int) (QtView.C:66) ==13312== by 0x8337044: lyx_gui::start(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &, vector<basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> >, allocator<basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > > > const &) (lyx_gui.C:140) ==13312== by 0x811E162: LyX::LyX(int &, char **) (../src/lyx_main.C:166) ==13312== by 0x81814D5: main (../src/main.C:31) ==13312== by 0x40D3A9EC: __libc_start_main (in /lib/libc.so.6) ==13312== by 0x805F8F0: (within /usr/local/bin/lyx)