I forgot to mention: often I get this assert as well:

lassert.cpp(35): ASSERTION f.family() < NUM_FAMILIES VIOLATED IN GuiFontLoader.cpp:95

(details follow)

$ ./src/lyx lib/doc/EmbeddedObjects.lyx

lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send us a bug report, if necessary. Thanks!
Bye.
Error: LyX crashed!
----------------------------------------
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send us a bug report, if necessary. Thanks!
Bye.
QWidget::repaint: Recursive repaint detected
Segmentation fault (core dumped)
tommaso@mobiletom:~/lyx-trunk-ws/lyx$ ./src/lyx lib/doc/EmbeddedObjects.lyx

lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send us a bug report, if necessary. Thanks!
Bye.
Error: LyX crashed!
----------------------------------------
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send us a bug report, if necessary. Thanks!
Bye.
QWidget::repaint: Recursive repaint detected
lassert.cpp(35): ASSERTION f.family() < NUM_FAMILIES VIOLATED IN GuiFontLoader.cpp:95 Assertion triggered in void lyx::doAssert(const char*, const char*, long int) by failing check "false" in file lassert.cpp:37
Aborted (core dumped)

-------- Original Message --------
Subject:        LyX crash after font assert
Date:   Mon, 04 Jun 2012 01:17:10 +0100
From:   Tommaso Cucinotta <tomm...@lyx.org>
To:     LyX Developers <lyx-devel@lists.lyx.org>



Hi,

on trunk:
1) open embedded manual
2) put cursor at the very beginning of document
3) try to open Advanced Find and Replace (C-S-f)

and I get this:

$ ./src/lyx lib/doc/EmbeddedObjects.lyx

lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and
send us a bug report, if necessary. Thanks!
Bye.
Error: LyX crashed!
----------------------------------------
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and
send us a bug report, if necessary. Thanks!
Bye.
QWidget::repaint: Recursive repaint detected
Segmentation fault (core dumped)

on the crash, this is the stack-trace:

#0  0x0000000000000000 in ?? ()
#1  0x00000000006ad07d in lyx::BufferView::cursorPosAndHeight
(this=0x1c52fb0, p=..., h=@0x7fffffff68dc: 0) at BufferView.cpp:2831
#2  0x00000000009651b0 in
lyx::frontend::GuiWorkArea::Private::resizeBufferView (this=0x1c4b2e0)
at GuiWorkArea.cpp:569
#3  0x00000000009658f9 in lyx::frontend::GuiWorkArea::paintEvent
(this=0x1c23480, ev=0x7fffffff72e0) at GuiWorkArea.cpp:1119
#4  0x00007ffff6bf30f6 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5  0x00007ffff6fb33b6 in QFrame::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007ffff6680028 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff6ba285f in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007ffff6ba7713 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x000000000091dad5 in lyx::frontend::GuiApplication::notify
(this=0x117e150, receiver=<optimized out>, event=<optimized out>)
    at GuiApplication.cpp:2197
#10 0x00007ffff667fe9c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffff6beed96 in QWidgetPrivate::drawWidget(QPaintDevice*,
QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff6befa0f in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffff6beeacc in QWidgetPrivate::drawWidget(QPaintDevice*,
QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4

Any clue ?

    T.


Reply via email to