View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016018 | Scribus | Story Editor / Text Frames | public | 2019-12-17 22:32 | 2019-12-18 01:06 |
Reporter | JLuc | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | duplicate | ||
Platform | Linux | OS | Ubuntu | OS Version | 18.04 |
Product Version | 1.5.6.svn | ||||
Summary | 0016018: Deleting text content crashes (with Marks) | ||||
Description | Scribus crashes | ||||
Steps To Reproduce | - Open document with linked text frame - go to second linked text frame - double click to edit - CTRL+A to select all contained text | ||||
Additional Information | backtrace : ASSERT: "pos > -1" in file /build/scribus-trunk-V1zQQI/scribus-trunk-1.5.6svn~r23206~20190923~ppa74~ubuntu18.04.1/scribus/scribusdoc.cpp, line 17466 scribus-trunk: /build/scribus-trunk-V1zQQI/scribus-trunk-1.5.6svn~r23206~20190923~ppa74~ubuntu18.04.1/scribus/scribuscore.cpp :90 : 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. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 0000001 0x00007ffff166e801 in __GI_abort () at abort.c:79 0000002 0x00007ffff165e39a in __assert_fail_base ( fmt=0x7ffff7f92f2c "%s%s%s :%u : %s%s l'assertion « %s » a échoué.\n%n", assertion=assertion@entry=0x5555569787ff "false", file=file@entry=0x555556978790 "/build/scribus-trunk-V1zQQI/scribus-trunk-1.5.6svn~r23206~20190923~ppa74~ubuntu18.04.1/scribus/scribuscore.cpp", line=line@entry=90, function=function@entry=0x555556978ba0 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:92 0000003 0x00007ffff165e412 in __GI___assert_fail ( assertion=0x5555569787ff "false", file=0x555556978790 "/build/scribus-trunk-V1zQQI/scribus-trunk-1.5.6svn~r23206~20190923~ppa74~ubuntu18.04.1/scribus/scribuscore.cpp", line=90, function=0x555556978ba0 "void abort_on_error(QtMsgType, const QMessageLogContext&, const QString&)") at assert.c:101 0000004 0x00005555560cedc4 in ?? () 0000005 0x00007ffff23f3477 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000006 0x00007ffff23f4f9e in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000007 0x00007ffff23f0486 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000008 0x000055555614f030 in ScribusDoc::setUndoDelNote(TextNote*) () ---Type <return> to continue, or q <return> to quit--- 0000009 0x0000555555e5f0d9 in PageItem_TextFrame::removeMarksFromText(bool) () 0000010 0x0000555555e54a8e in PageItem_TextFrame::deleteSelectedTextFromFrame() () 0000011 0x0000555555e5211d in PageItem_TextFrame::handleModeEditKey(QKeyEvent*, bool&) () 0000012 0x0000555555ca88f3 in CanvasMode_Edit::keyPressEvent(QKeyEvent*) () 0000013 0x00005555561891da in ScribusView::eventFilter(QObject*, QEvent*) () 0000014 0x00007ffff25e86ac in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000015 0x00007ffff3366815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 0000016 0x00007ffff336f642 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 0000017 0x00007ffff25e89c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000018 0x00007ffff33c27c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 0000019 0x00007ffff336683c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 0000020 0x00007ffff336e104 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 0000021 0x00007ffff25e89c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000022 0x00007ffff2ba70f0 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 0000023 0x00007ffff2bac035 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 0000024 0x00007ffff2b832eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 0000025 0x00007fffe6835260 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 0000026 0x00007fffef30c417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 0000027 0x00007fffef30c650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 0000028 0x00007fffef30c6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 0000029 0x00007ffff264197f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000030 0x00007ffff25e69fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000031 0x00007ffff25efaa4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 0000032 0x0000555556766e71 in mainApp(int, char**) () 0000033 0x0000555556766dcb in main () In the document, 2 marks are inserted : <MARK label="NoteMark_Default_1" type="4" FEATURES="inherit superscript"/> and also : <MARK label="NoteMark_Default_2" type="4" FEATURES="inherit superscript"/> I see the declaration of marks has marks repeated twice or 3 times : <Marks> <Mark label="NoteMark_Default_2" type="4"/> <Mark label="NoteMark_Default_2" type="4"/> <Mark label="NoteMark_Default_3" type="4"/>< <Mark label="NoteMark_Default_4" type="4"/> <Mark label="NoteMark_Default_6" type="4"/> <Mark label="NoteMark_Default_5" type="4"/> <Mark label="NoteMark_Default_7" type="4"/> <Mark label="NoteMark_Default_1" type="4"/> <Mark label="NoteMark_Default_2" type="4"/> <Mark label="NoteMark_Default_3" type="4"/> <Mark label="NoteMark_Default_4" type="4"/> <Mark label="NoteMark_Default_5" type="4"/> <Mark label="NoteMark_Default_6" type="4"/> <Mark label="NoteMark_Default_1" type="4"/> <Mark label="NoteMark_Default_2" type="4"/> <Mark label="NoteMark_Default_1" type="4"/> <Mark label="NoteMark_Default_1" type="4"/> </Marks> And the marks definition look like this : <Note Master="NoteMark_Default_2" NStyle="Default" Text="<?xml version="1.0" encoding="UTF-8"?><SCRIBUSTEXT ><defaultstyle parent="Notes" /> <style /><span ><charstyle Features="inherit " />planter des pommiers... </span> </SCRIBUSTEXT> "/> | ||||
Tags | marks | ||||
Patch | No | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-12-17 22:32 | JLuc | New Issue | |
2019-12-17 22:33 | JLuc | Additional Information Updated | |
2019-12-17 22:34 | JLuc | Additional Information Updated | |
2019-12-17 22:40 | JLuc | Additional Information Updated | |
2019-12-17 22:40 | JLuc | Tag Attached: marks | |
2019-12-18 01:06 | jghali | Assigned To | => jghali |
2019-12-18 01:06 | jghali | Status | new => resolved |
2019-12-18 01:06 | jghali | Resolution | open => duplicate |
2019-12-18 01:06 | jghali | Note Added: 0047291 | |
2019-12-18 01:06 | jghali | Relationship added | duplicate of 0015681 |
2019-12-18 01:06 | jghali | Status | resolved => closed |