View Issue Details

IDProjectCategoryView StatusLast Update
0015611ScribusShape Drawingpublic2019-06-04 20:55
ReporterJLuc Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSUbuntu OS Version18.04
Product Version1.5.5.svn 
Target VersionFixed in Version1.5.5.svn 
Summary0015611: Deleting shape point triggers crash
Descriptionuploaded document contains a simple shape that was previously imported from a SVG

It's a kindof "O" shape with each inner and outer shape of the O being defined by 4 points

When deleting a point in the outer shape, the outer shape disappear.
Expected : It should become a 3 point shape.

When deleting a point in the inner shape, scribus crashes.
Additional InformationBacktrace :

pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/DelPoint.png: File not found
ASSERT failure in QVector<T>::at: "index out of range", file /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h, line 430
scribus-trunk: /build/scribus-trunk-H1Fyey/scribus-trunk-1.5.5svn~r22597~20180710~ppa73~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 0x00007ffff169b801 in __GI_abort () at abort.c:79
0000002 0x00007ffff168b39a in __assert_fail_base (fmt=0x7ffff7f94f2c "%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 0x00007ffff168b412 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 0x00007ffff241d4da in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000008 0x0000555555c6b7c3 in QVector<FPoint>::at(int) const ()
0000009 0x0000555555c6ab78 in FPointArray::point(int) const ()
0000010 0x0000555555e287ce in PageItem_PolyLine::DrawObj_Item(ScPainter*, QRectF) ()
0000011 0x0000555555db996b in PageItem::DrawObj(ScPainter*, QRectF) ()
0000012 0x0000555555c60b11 in Canvas::DrawPageItems(ScPainter*, ScLayer&, QRect, bool) ()
0000013 0x0000555555c5dd55 in Canvas::drawContents(QPainter*, int, int, int, int) ()
0000014 0x0000555555c5cde2 in Canvas::fillBuffer(QPaintDevice*, QPoint, QRect) ()
0000015 0x0000555555c5cf37 in Canvas::paintEvent(QPaintEvent*) ()
0000016 0x00007ffff33d2038 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff339382c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000018 0x00007ffff339b0f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff26159a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000020 0x00007ffff33cb18a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff33cb74a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000022 0x00007ffff33cc3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000023 0x00007ffff33cb356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000024 0x00007ffff33cc3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000025 0x00007ffff33cc539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000026 0x00007ffff33cc539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000027 0x00007ffff33cc539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000028 0x00007ffff33cc539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000029 0x00007ffff33cc539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000030 0x00007ffff33cc539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000031 0x00007ffff33cb356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000032 0x00007ffff33cc3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000033 0x00007ffff33cb356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000034 0x00007ffff33cc3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000035 0x00007ffff33cb356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000036 0x00007ffff33cc3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000037 0x00007ffff33cb356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000038 0x00007ffff33cc3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
TagsNo tags attached.
PatchNo

Activities

JLuc

2019-03-21 10:27

developer  

delete point in shape - error and crash.sla (16,150 bytes)

JLuc

2019-03-21 10:30

developer   ~0046032

Last edited: 2019-03-21 11:21

View 2 revisions

AMOF there is 2 similar shapes in the document.
1st shape inner curve includes a 5th point in inner O shape : deleting a first point is OK, then inner O shape has 4 point and deleting a point crashes.
2nd shape inner curve has 4 points allready and crashes as soon as i delete a point.

Issue History

Date Modified Username Field Change
2019-03-21 10:27 JLuc New Issue
2019-03-21 10:27 JLuc File Added: delete point in shape - error and crash.sla
2019-03-21 10:29 JLuc Description Updated View Revisions
2019-03-21 10:29 JLuc Additional Information Updated View Revisions
2019-03-21 10:30 JLuc Note Added: 0046032
2019-03-21 11:21 JLuc Note Edited: 0046032 View Revisions
2019-03-21 12:39 jghali Summary Delete shape point mistakes or crashes => Deleting shape point triggers crash
2019-03-21 12:52 jghali Assigned To => jghali
2019-03-21 12:52 jghali Status new => resolved
2019-03-21 12:52 jghali Resolution open => fixed
2019-03-21 12:52 jghali Fixed in Version => 1.5.5.svn
2019-06-04 20:55 cbradney Status resolved => closed