View Revisions: Issue #15388

Summary 0015388: Crash when deleting footnote
Revision 2018-07-29 19:49 by JLuc
Description The "Crash when deleting footnote" was once fixed 0010915 or maybe it wasnt merged in official svn trunk ?

Alas, as for now, scribus crashes
- when deleting a footnote call (upperscript notecall, in text edit mode)
- when deleting a footnote recall (uppercript notecall in footnote frame, in text edit mode)
- when deleting a footnote frame (in object edit mode)

It seems there is no way at all to delete a footnote once created, except editing the SLA with a code editor.

When deleting a footnote call, the produced backtrace is :

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  0x00007ffff1696801 in __GI_abort () at abort.c:79
0000002  0x00007ffff168639a in __assert_fail_base (fmt=0x7ffff7f95f2c "%s%s%s :%u : %s%s l'assertion « %s » a échoué.\n%n", assertion=assertion@entry=0x555556987fff "false", 
    file=file@entry=0x555556987f90 "/build/scribus-trunk-H1Fyey/scribus-trunk-1.5.5svn~r22597~20180710~ppa73~ubuntu17.10.1/scribus/scribuscore.cpp", line=line@entry=89, 
    function=function@entry=0x555556988340 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92
0000003  0x00007ffff1686412 in __GI___assert_fail (assertion=0x555556987fff "false", file=0x555556987f90 "/build/scribus-trunk-H1Fyey/scribus-trunk-1.5.5svn~r22597~20180710~ppa73~ubuntu17.10.1/scribus/scribuscore.cpp", line=89, 
    function=0x555556988340 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101
0000004  0x00005555560d6ce6 in ?? ()
0000005  0x00007ffff2420467 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006  0x00007ffff2421f8e in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007  0x00007ffff241d476 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008  0x0000555556157618 in ScribusDoc::setUndoDelNote(TextNote*) ()
0000009  0x0000555555e628a3 in PageItem_TextFrame::removeMarksFromText(bool) ()
0000010 0x0000555555e5812a in PageItem_TextFrame::deleteSelectedTextFromFrame() ()
0000011 0x0000555555e55c2b in PageItem_TextFrame::handleModeEditKey(QKeyEvent*, bool&) ()
0000012 0x0000555555ca5e11 in CanvasMode_Edit::keyPressEvent(QKeyEvent*) ()
0000013 0x0000555556191dc8 in ScribusView::eventFilter(QObject*, QEvent*) ()
0000014 0x00007ffff261568c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff3393805 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000016 0x00007ffff339c632 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff26159a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000018 0x00007ffff33ef7a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff339382c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff339b0f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff26159a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000022 0x00007ffff2bd4090 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000023 0x00007ffff2bd8fd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000024 0x00007ffff2bb02eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007fffe4a7d1c0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000026 0x00007fffef334287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007fffef3344c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000028 0x00007fffef33454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007ffff266e8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000030 0x00007ffff26139ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000031 0x00007ffff261ca84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x0000555556775307 in mainApp(int, char**) ()
0000033 0x0000555556775261 in main ()

Revision 2018-07-29 19:48 by JLuc
Description The "Crash when deleting footnote" was once fixed 0010915 or maybe it wasnt merged in official svn trunk ?

Alas, as for now, scribus crashes
- when deleting a footnote call (upperscript notecall, in text edit mode)
- when deleting a footnote recall (uppercript notecall in footnote frame, in text edit mode)
- when deleting a footnote frame (in object edit mode)

When deleting a footnote call :

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  0x00007ffff1696801 in __GI_abort () at abort.c:79
0000002  0x00007ffff168639a in __assert_fail_base (fmt=0x7ffff7f95f2c "%s%s%s :%u : %s%s l'assertion « %s » a échoué.\n%n", assertion=assertion@entry=0x555556987fff "false", 
    file=file@entry=0x555556987f90 "/build/scribus-trunk-H1Fyey/scribus-trunk-1.5.5svn~r22597~20180710~ppa73~ubuntu17.10.1/scribus/scribuscore.cpp", line=line@entry=89, 
    function=function@entry=0x555556988340 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92
0000003  0x00007ffff1686412 in __GI___assert_fail (assertion=0x555556987fff "false", file=0x555556987f90 "/build/scribus-trunk-H1Fyey/scribus-trunk-1.5.5svn~r22597~20180710~ppa73~ubuntu17.10.1/scribus/scribuscore.cpp", line=89, 
    function=0x555556988340 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101
0000004  0x00005555560d6ce6 in ?? ()
0000005  0x00007ffff2420467 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006  0x00007ffff2421f8e in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007  0x00007ffff241d476 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008  0x0000555556157618 in ScribusDoc::setUndoDelNote(TextNote*) ()
0000009  0x0000555555e628a3 in PageItem_TextFrame::removeMarksFromText(bool) ()
0000010 0x0000555555e5812a in PageItem_TextFrame::deleteSelectedTextFromFrame() ()
0000011 0x0000555555e55c2b in PageItem_TextFrame::handleModeEditKey(QKeyEvent*, bool&) ()
0000012 0x0000555555ca5e11 in CanvasMode_Edit::keyPressEvent(QKeyEvent*) ()
0000013 0x0000555556191dc8 in ScribusView::eventFilter(QObject*, QEvent*) ()
0000014 0x00007ffff261568c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff3393805 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000016 0x00007ffff339c632 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff26159a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000018 0x00007ffff33ef7a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff339382c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff339b0f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff26159a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000022 0x00007ffff2bd4090 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000023 0x00007ffff2bd8fd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000024 0x00007ffff2bb02eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007fffe4a7d1c0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000026 0x00007fffef334287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007fffef3344c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000028 0x00007fffef33454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007ffff266e8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000030 0x00007ffff26139ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000031 0x00007ffff261ca84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x0000555556775307 in mainApp(int, char**) ()
0000033 0x0000555556775261 in main ()

Revision 2018-07-29 19:20 by JLuc
Description The "Crash when deleting footnote" was once fixed 0010915 or maybe it wasnt merged in official svn trunk ?

Alas, as for now, scribus crashes when deleting a footnote call, or a footnote recall.

When deleting a footnote call :

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  0x00007ffff1696801 in __GI_abort () at abort.c:79
0000002  0x00007ffff168639a in __assert_fail_base (fmt=0x7ffff7f95f2c "%s%s%s :%u : %s%s l'assertion « %s » a échoué.\n%n", assertion=assertion@entry=0x555556987fff "false", 
    file=file@entry=0x555556987f90 "/build/scribus-trunk-H1Fyey/scribus-trunk-1.5.5svn~r22597~20180710~ppa73~ubuntu17.10.1/scribus/scribuscore.cpp", line=line@entry=89, 
    function=function@entry=0x555556988340 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92
0000003  0x00007ffff1686412 in __GI___assert_fail (assertion=0x555556987fff "false", file=0x555556987f90 "/build/scribus-trunk-H1Fyey/scribus-trunk-1.5.5svn~r22597~20180710~ppa73~ubuntu17.10.1/scribus/scribuscore.cpp", line=89, 
    function=0x555556988340 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101
0000004  0x00005555560d6ce6 in ?? ()
0000005  0x00007ffff2420467 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006  0x00007ffff2421f8e in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000007  0x00007ffff241d476 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008  0x0000555556157618 in ScribusDoc::setUndoDelNote(TextNote*) ()
0000009  0x0000555555e628a3 in PageItem_TextFrame::removeMarksFromText(bool) ()
0000010 0x0000555555e5812a in PageItem_TextFrame::deleteSelectedTextFromFrame() ()
0000011 0x0000555555e55c2b in PageItem_TextFrame::handleModeEditKey(QKeyEvent*, bool&) ()
0000012 0x0000555555ca5e11 in CanvasMode_Edit::keyPressEvent(QKeyEvent*) ()
0000013 0x0000555556191dc8 in ScribusView::eventFilter(QObject*, QEvent*) ()
0000014 0x00007ffff261568c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000015 0x00007ffff3393805 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000016 0x00007ffff339c632 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff26159a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000018 0x00007ffff33ef7a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff339382c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff339b0f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff26159a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000022 0x00007ffff2bd4090 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000023 0x00007ffff2bd8fd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000024 0x00007ffff2bb02eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007fffe4a7d1c0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000026 0x00007fffef334287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000027 0x00007fffef3344c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000028 0x00007fffef33454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
0000029 0x00007ffff266e8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000030 0x00007ffff26139ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000031 0x00007ffff261ca84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000032 0x0000555556775307 in mainApp(int, char**) ()
0000033 0x0000555556775261 in main ()