View Revisions: Issue #15080

Summary 0015080: Crashes when editing document
Revision 2017-12-26 11:36 by JLuc
Description Loads of crashes with today scribus (r22271) when last wednesday scribus (r22266) was fine.

I first had « Scribus crashes when linking frame. » : I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
It produces gdb bt 1) (see attached document in later comment). I reproduce with same complex document, but can't reproduce on simpler document.

Then i continued editing the document and had many other crashes. One when deleting a text frame. Another one when pasting a bit of text in an empty text frame. This one produces gdb bt 2). Undoing a "Link text frames" action crashes also and produces gdb bt 3)... and more.

In a later comment i upload a sample simple SLA with gdb bt : crashes when Undoing Link action.
Revision 2017-12-26 11:36 by JLuc
Description Loads of crashes with today scribus (r22271) when last wednesday scribus (r22266) was fine.

I first had « Scribus crashes when linking frame. » : I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
It produces gdb bt 1) (see attached document in later comment). I reproduce with same complex document, but can't reproduce on simpler document.

Then i continued editing the document and had many other crashes. One when deleting a text frame. Another one when pasting a bit of text in an empty text frame. This one produces gdb bt 2). Undoing a "Link text frames" action crashes also and produces gdb bt 3)... and more.

In a later comment i upload a sample SLA with gdb bt : crashes when Undoing Link action.
Revision 2017-12-25 23:37 by JLuc
Description Loads of crashes with today scribus (r22271) when last wednesday scribus (r22266) was fine.

I first had « Scribus crashes when linking frame. » : I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
It produces gdb bt 1) (see attached document in later comment).

Then i continued editing the document and had many other crashes. One when deleting a text frame. Another one when pasting a bit of text in an empty text frame. This one produces gdb bt 2). Undoing a "Link text frames" action crashes also and produces gdb bt 3)... and more.

In a later comment i upload a sample SLA with gdb bt : crashes when Undoing Link action.
Revision 2017-12-25 23:33 by JLuc
Description Loads of crashes with today scribus (r22271) when last wednesday scribus (r22266 ?) was fine.

I first had « Scribus crashes when linking frame. » : I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
It produces gdb bt 1) (see attached document in later comment).

Then i continued editing the document and had many other crashes. One when deleting a text frame. Another one when pasting a bit of text in an empty text frame. This one produces gdb bt 2). Undoing a "Link text frames" action crashes also and produces gdb bt 3)... and more.

In a later comment i upload a sample SLA with gdb bt : crashes when Undoing Link action.
Revision 2017-12-25 23:31 by JLuc
Description Loads of crashes with today scribus (r22271) when last wednesday scribus (r22266 ?) was fine.

I first had « Scribus crashes when linking frame. » : I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
It produces gdb bt 1) (see attached document in later comment).

Then i continued editing the document and had many other crashes. One when deleting a text frame. Another one when pasting a bit of text in an empty text frame. This one produces gdb bt 2).

Undoing a "Link text frames" action crashes also and produces gdb bt 3)
Revision 2017-12-25 12:35 by JLuc
Description I first had « Scribus crashes when linking frame. » :
I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
It produces gdb bt 1)

Then i continued editing the document and had many other crashes.

One when deleting a text frame.

Another one when pasting a bit of text in an empty text frame.
It produces gdb bt 2)

Undoing a "Link text frames" action crashes also and produces gdb bt 3)

bt1 to 3 are uploaded in a later comment. I'm using today scribus from PPA (22271)
Revision 2017-12-25 12:29 by JLuc
Description I first had « Scribus crashes when linking frame. » I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash. Depending on the exact scenario, crash happens a bit later when linking 2nd frame to 3d.
It produces gdb bt 1)

Then i continued editing the document and had many other crashes.

One when deleting a text frame.

Another one when pasting a bit of text in an empty text frame. It produces gdb bt 2)

I'm using today scribus from PPA (22271)

Undoing a "Link text frames" action crashes also and produces gdb bt 3)
Revision 2017-12-25 12:17 by JLuc
Description I first had « Scribus crashes when linking frame. »

I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
Depending on the exact scenario, crash happens a bit later when linking 2nd frame to 3d.

Using scribus-trunk ppa without debuging symbols, here are gdb's last lines :

```
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPixmap::scaled: Pixmap is a null pixmap
QPainter::end: Painter not active, aborted
pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/LinkTextFrame.png: File not found
QPixmap::scaled: Pixmap is a null pixmap

Thread 1 "scribus-trunk" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
(gdb) bt
#0 0x0000000000000000 in ?? ()
0000001 0x00005555567b29ea in BaseStyle::parentStyle() const ()
0000002 0x00005555567c107f in ParagraphStyle::operator=(ParagraphStyle const&) ()
0000003 0x0000555555c2ed45 in AppModeHelper::enableActionsForSelection(ScribusMainWindow*, ScribusDoc*) ()
0000004 0x00005555560b878f in ScribusMainWindow::HaveNewSel() ()
0000005 0x0000555555b927e3 in ?? ()
0000006 0x00007ffff26788e5 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x0000555555b87bd9 in PageItem::frameType(int) ()
0000008 0x0000555555df3bcd in PageItem::emitAllToGUI() ()
0000009 0x00005555561cccea in Selection::connectItemToGUI() ()
0000010 0x00005555561ce85c in Selection::sendSignals(bool) ()
0000011 0x00005555561ce80f in Selection::delaySignalsOff() ()
0000012 0x0000555555c91b56 in CanvasMode_FrameLinks::mousePressEvent(QMouseEvent*) ()
0000013 0x00005555561c34dd in ScribusView::eventFilter(QObject*, QEvent*) ()
0000014 0x00007ffff2649acc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff33c4445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000016 0x00007ffff33cc28f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000018 0x00007ffff33cb262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff341f94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff3421fba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000022 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000023 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000024 0x00007ffff2c08f43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007ffff2c0aa25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000026 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000027 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000028 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000030 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000031 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000033 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
0000034 0x0000555556758123 in mainApp(int, char**) ()
0000035 0x000055555675807d in main ()
(gdb)
```

Then i continued editing the document and had many other crashes.
One when deleting a text frame.
Another one when pasting a bit of text in an empty text frame, where gdb told :

```
QPainter::end: Painter not active, aborted
[Thread 0x7fffb3406700 (LWP 17429) exited]
ASSERT: "len>=0" in file /build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/text/storytext.cpp, line 1778
scribus-trunk: /build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp :89 : void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&): l'assertion « false » a échoué.

Thread 1 "scribus-trunk" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
0000001 0x00007ffff1725f5d in __GI_abort () at abort.c:90
0000002 0x00007ffff171bf17 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x5555569645ff "false", file=file@entry=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp",
    line=line@entry=89, function=function@entry=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92
0000003 0x00007ffff171bfc2 in __GI___assert_fail (assertion=0x5555569645ff "false", file=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp", line=89,
    function=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101
0000004 0x0000555556106ad0 in ?? ()
0000005 0x00007ffff24555c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006 0x00007ffff24570ee in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x00007ffff2452357 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008 0x0000555556794d33 in StoryText::select(int, int, bool) ()
0000009 0x0000555556794c9f in StoryText::selectWord(int) ()
0000010 0x0000555555c974f9 in CanvasMode_Edit::mouseDoubleClickEvent(QMouseEvent*) ()
0000011 0x00005555561c36ba in ScribusView::eventFilter(QObject*, QEvent*) ()
0000012 0x00007ffff2649acc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000013 0x00007ffff33c4445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000014 0x00007ffff33cc28f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000015 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000016 0x00007ffff33cb262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff341f94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000018 0x00007ffff3421fba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000022 0x00007ffff2c090e0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000023 0x00007ffff2c0aa25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000024 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000026 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000028 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000030 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000031 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x0000555556758123 in mainApp(int, char**) ()
0000033 0x000055555675807d in main ()
(gdb)
```

I'm using today scribus from PPA (22271)

Here when Undoing a "Link text frames" action.

```
(gdb)
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
0000001 0x00007ffff1725f5d in __GI_abort () at abort.c:90
0000002 0x00007ffff171bf17 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x5555569645ff "false", file=file@entry=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp",
    line=line@entry=89, function=function@entry=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92
0000003 0x00007ffff171bfc2 in __GI___assert_fail (assertion=0x5555569645ff "false", file=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp", line=89,
    function=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101
0000004 0x0000555556106ad0 in ?? ()
0000005 0x00007ffff24555c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006 0x00007ffff24570ee in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x00007ffff2452357 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008 0x0000555556794d33 in StoryText::select(int, int, bool) ()
0000009 0x0000555555ddc44d in PageItem::restoreLinkTextFrame(UndoState*, bool) ()
0000010 0x0000555555dc9027 in PageItem::restore(UndoState*, bool) ()
0000011 0x000055555623ed4a in UndoState::undo() ()
0000012 0x000055555623cfc6 in UndoStack::undo(unsigned int, int) ()
0000013 0x000055555622f901 in UndoManager::undo(int) ()
0000014 0x0000555555b9ce6c in ?? ()
0000015 0x00007ffff26788e5 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000016 0x0000555555b90cdf in ScrAction::triggeredData(int) ()
0000017 0x000055555609582c in ScrAction::triggeredToTriggeredData() ()
0000018 0x0000555555b90671 in ?? ()
0000019 0x00007ffff26788e5 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000020 0x00007ffff33bdd82 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff33c046c in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000022 0x00007ffff33c0d15 in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000023 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000024 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000025 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000026 0x00007ffff2c36d77 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000027 0x00007ffff2c36e4a in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000028 0x00007ffff2be6473 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000029 0x00007ffff2c059b7 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000030 0x00007ffff2c0aa05 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000031 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000032 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000033 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000034 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000035 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000036 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000037 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000038 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000039 0x0000555556758123 in mainApp(int, char**) ()
0000040 0x000055555675807d in main ()

```
Revision 2017-12-25 12:05 by JLuc
Description I first had « Scribus crashes when linking frame. »

I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
Depending on the exact scenario, crash happens a bit later when linking 2nd frame to 3d.

Using scribus-trunk ppa without debuging symbols, here are gdb's last lines :

```
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPixmap::scaled: Pixmap is a null pixmap
QPainter::end: Painter not active, aborted
pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/LinkTextFrame.png: File not found
QPixmap::scaled: Pixmap is a null pixmap

Thread 1 "scribus-trunk" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
(gdb) bt
#0 0x0000000000000000 in ?? ()
0000001 0x00005555567b29ea in BaseStyle::parentStyle() const ()
0000002 0x00005555567c107f in ParagraphStyle::operator=(ParagraphStyle const&) ()
0000003 0x0000555555c2ed45 in AppModeHelper::enableActionsForSelection(ScribusMainWindow*, ScribusDoc*) ()
0000004 0x00005555560b878f in ScribusMainWindow::HaveNewSel() ()
0000005 0x0000555555b927e3 in ?? ()
0000006 0x00007ffff26788e5 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x0000555555b87bd9 in PageItem::frameType(int) ()
0000008 0x0000555555df3bcd in PageItem::emitAllToGUI() ()
0000009 0x00005555561cccea in Selection::connectItemToGUI() ()
0000010 0x00005555561ce85c in Selection::sendSignals(bool) ()
0000011 0x00005555561ce80f in Selection::delaySignalsOff() ()
0000012 0x0000555555c91b56 in CanvasMode_FrameLinks::mousePressEvent(QMouseEvent*) ()
0000013 0x00005555561c34dd in ScribusView::eventFilter(QObject*, QEvent*) ()
0000014 0x00007ffff2649acc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff33c4445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000016 0x00007ffff33cc28f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000018 0x00007ffff33cb262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff341f94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff3421fba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000022 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000023 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000024 0x00007ffff2c08f43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007ffff2c0aa25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000026 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000027 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000028 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000030 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000031 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000033 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
0000034 0x0000555556758123 in mainApp(int, char**) ()
0000035 0x000055555675807d in main ()
(gdb)
```

Then i continued editing the document and had many other crashes.
One when deleting a text frame.
Another one when pasting a bit of text in an empty text frame, where gdb told :

```
QPainter::end: Painter not active, aborted
[Thread 0x7fffb3406700 (LWP 17429) exited]
ASSERT: "len>=0" in file /build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/text/storytext.cpp, line 1778
scribus-trunk: /build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp :89 : void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&): l'assertion « false » a échoué.

Thread 1 "scribus-trunk" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
0000001 0x00007ffff1725f5d in __GI_abort () at abort.c:90
0000002 0x00007ffff171bf17 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x5555569645ff "false", file=file@entry=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp",
    line=line@entry=89, function=function@entry=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92
0000003 0x00007ffff171bfc2 in __GI___assert_fail (assertion=0x5555569645ff "false", file=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp", line=89,
    function=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101
0000004 0x0000555556106ad0 in ?? ()
0000005 0x00007ffff24555c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006 0x00007ffff24570ee in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x00007ffff2452357 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008 0x0000555556794d33 in StoryText::select(int, int, bool) ()
0000009 0x0000555556794c9f in StoryText::selectWord(int) ()
0000010 0x0000555555c974f9 in CanvasMode_Edit::mouseDoubleClickEvent(QMouseEvent*) ()
0000011 0x00005555561c36ba in ScribusView::eventFilter(QObject*, QEvent*) ()
0000012 0x00007ffff2649acc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000013 0x00007ffff33c4445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000014 0x00007ffff33cc28f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000015 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000016 0x00007ffff33cb262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff341f94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000018 0x00007ffff3421fba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000022 0x00007ffff2c090e0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000023 0x00007ffff2c0aa25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000024 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000026 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000028 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000030 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000031 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x0000555556758123 in mainApp(int, char**) ()
0000033 0x000055555675807d in main ()
(gdb)
```

I'm using today scribus from PPA (22271)
Revision 2017-12-25 12:02 by JLuc
Description I first had « Scribus crashes when linking frame. »

I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
Depending on the exact scenario, crash happens a bit later when linking 2nd frame to 3d.

Using scribus-trunk ppa without debuging symbols, here are gdb's last lines :

```
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPixmap::scaled: Pixmap is a null pixmap
QPainter::end: Painter not active, aborted
pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/LinkTextFrame.png: File not found
QPixmap::scaled: Pixmap is a null pixmap

Thread 1 "scribus-trunk" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
(gdb) bt
#0 0x0000000000000000 in ?? ()
0000001 0x00005555567b29ea in BaseStyle::parentStyle() const ()
0000002 0x00005555567c107f in ParagraphStyle::operator=(ParagraphStyle const&) ()
0000003 0x0000555555c2ed45 in AppModeHelper::enableActionsForSelection(ScribusMainWindow*, ScribusDoc*) ()
0000004 0x00005555560b878f in ScribusMainWindow::HaveNewSel() ()
0000005 0x0000555555b927e3 in ?? ()
0000006 0x00007ffff26788e5 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x0000555555b87bd9 in PageItem::frameType(int) ()
0000008 0x0000555555df3bcd in PageItem::emitAllToGUI() ()
0000009 0x00005555561cccea in Selection::connectItemToGUI() ()
0000010 0x00005555561ce85c in Selection::sendSignals(bool) ()
0000011 0x00005555561ce80f in Selection::delaySignalsOff() ()
0000012 0x0000555555c91b56 in CanvasMode_FrameLinks::mousePressEvent(QMouseEvent*) ()
0000013 0x00005555561c34dd in ScribusView::eventFilter(QObject*, QEvent*) ()
0000014 0x00007ffff2649acc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff33c4445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000016 0x00007ffff33cc28f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000018 0x00007ffff33cb262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff341f94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff3421fba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000022 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000023 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000024 0x00007ffff2c08f43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007ffff2c0aa25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000026 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000027 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000028 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000030 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000031 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000033 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
0000034 0x0000555556758123 in mainApp(int, char**) ()
0000035 0x000055555675807d in main ()
(gdb)
```

Then i continued editing the document and had many other crashes.
One when deleting a text frame.
Another one when pasting a bit of text in an empty text frame, where gdb told :

```
QPainter::end: Painter not active, aborted
[Thread 0x7fffb3406700 (LWP 17429) exited]
ASSERT: "len>=0" in file /build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/text/storytext.cpp, line 1778
scribus-trunk: /build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp :89 : void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&): l'assertion « false » a échoué.

Thread 1 "scribus-trunk" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
0000001 0x00007ffff1725f5d in __GI_abort () at abort.c:90
0000002 0x00007ffff171bf17 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x5555569645ff "false", file=file@entry=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp",
    line=line@entry=89, function=function@entry=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92
0000003 0x00007ffff171bfc2 in __GI___assert_fail (assertion=0x5555569645ff "false", file=0x555556964590 "/build/scribus-trunk-P6pmTQ/scribus-trunk-1.5.3svn~r22271~20171225~ppa71~ubuntu17.10.1/scribus/scribuscore.cpp", line=89,
    function=0x555556964940 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101
0000004 0x0000555556106ad0 in ?? ()
0000005 0x00007ffff24555c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006 0x00007ffff24570ee in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x00007ffff2452357 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008 0x0000555556794d33 in StoryText::select(int, int, bool) ()
0000009 0x0000555556794c9f in StoryText::selectWord(int) ()
0000010 0x0000555555c974f9 in CanvasMode_Edit::mouseDoubleClickEvent(QMouseEvent*) ()
0000011 0x00005555561c36ba in ScribusView::eventFilter(QObject*, QEvent*) ()
0000012 0x00007ffff2649acc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000013 0x00007ffff33c4445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000014 0x00007ffff33cc28f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000015 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000016 0x00007ffff33cb262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff341f94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000018 0x00007ffff3421fba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000022 0x00007ffff2c090e0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000023 0x00007ffff2c0aa25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000024 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000026 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000028 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000030 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000031 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x0000555556758123 in mainApp(int, char**) ()
0000033 0x000055555675807d in main ()
(gdb)
```

I'm using today scribus from PPA (maybe 22270)
Revision 2017-12-25 11:43 by JLuc
Description Scribus crashes when linking frame.

I open a document, duplicate a text frames 3 times, empties the new frames, link first frame to 2nd : crash.
Depending on the exact scenario, crash happens a bit later when linking 2nd frame to 3d.

Using scribus-trunk ppa without debuging symbols, here are gdb's last lines :

```
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPixmap::scaled: Pixmap is a null pixmap
QPainter::end: Painter not active, aborted
pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/LinkTextFrame.png: File not found
QPixmap::scaled: Pixmap is a null pixmap

Thread 1 "scribus-trunk" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
(gdb) bt
#0 0x0000000000000000 in ?? ()
0000001 0x00005555567b29ea in BaseStyle::parentStyle() const ()
0000002 0x00005555567c107f in ParagraphStyle::operator=(ParagraphStyle const&) ()
0000003 0x0000555555c2ed45 in AppModeHelper::enableActionsForSelection(ScribusMainWindow*, ScribusDoc*) ()
0000004 0x00005555560b878f in ScribusMainWindow::HaveNewSel() ()
0000005 0x0000555555b927e3 in ?? ()
0000006 0x00007ffff26788e5 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007 0x0000555555b87bd9 in PageItem::frameType(int) ()
0000008 0x0000555555df3bcd in PageItem::emitAllToGUI() ()
0000009 0x00005555561cccea in Selection::connectItemToGUI() ()
0000010 0x00005555561ce85c in Selection::sendSignals(bool) ()
0000011 0x00005555561ce80f in Selection::delaySignalsOff() ()
0000012 0x0000555555c91b56 in CanvasMode_FrameLinks::mousePressEvent(QMouseEvent*) ()
0000013 0x00005555561c34dd in ScribusView::eventFilter(QObject*, QEvent*) ()
0000014 0x00007ffff2649acc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff33c4445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000016 0x00007ffff33cc28f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000018 0x00007ffff33cb262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff341f94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff3421fba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff33c446c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000022 0x00007ffff33cbd34 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000023 0x00007ffff2649de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000024 0x00007ffff2c08f43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007ffff2c0aa25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000026 0x00007ffff2be2cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000027 0x00007fffe57185a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000028 0x00007fffef39ffb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007fffef3a01f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000030 0x00007fffef3a027c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000031 0x00007ffff26a247f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x00007ffff2647e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000033 0x00007ffff2650da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
0000034 0x0000555556758123 in mainApp(int, char**) ()
0000035 0x000055555675807d in main ()
(gdb)
```