Mantis Issue Tracking for Scribus
· Hosting provided by / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012252ScribusImport / Exportpublic14-Apr-21 23:4814-Sep-11 04:47
Assigned To 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version 
Summary0012252: Wrong import of SVG gradient + Crash (file attached)
DescriptionAttached a SVG file which contains a gradient wrongly imported by Scribus. Changing gradient properties crashes Scribus.
Steps To Reproduce0) Create a new document
1) File > Import > Get Vector File... > open the attached file
2) Selected the imported SVG and Properties > Colors > Fill > change "Radial" to "Conical"

Scribus crashes due to Signal 6
Additional InformationScribus 1.5.0 SVN (19075)
Scribus 1.4.4 does not have this issue.

ASSERT failure in QList<T>::at: "index out of range", file /home/.../Qt/5.2.1/gcc_64/include/QtCore/qlist.h, line 472

Program received signal SIGABRT, Aborted.
0x00007fffef778849 in raise () from /lib64/
(gdb) bt
#0 0x00007fffef778849 in raise () from /lib64/
0000001 0x00007fffef779cd8 in abort () from /lib64/
0000002 0x00007ffff747b10e in QMessageLogger::fatal(char const*, ...) const ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000003 0x00007ffff7477e14 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000004 0x00000000009da0ed in QList<VColorStop*>::at (this=0x7fffffffba50, i=1)
    at /home/.../Qt/5.2.1/gcc_64/include/QtCore/qlist.h:472
0000005 0x0000000000999ae3 in PageItem::createConicalMesh (this=0x32526f0)
    at /home/.../Scribus/scribus/pageitem.cpp:3612
0000006 0x0000000000d2eee0 in ScribusDoc::itemSelection_SetItemGradFill (this=0x33eaa30, typ=13)
    at /home/.../Scribus/scribus/scribusdoc.cpp:8347
0000007 0x0000000000791146 in ScribusDoc::qt_static_metacall (_o=0x33eaa30, _c=QMetaObject::InvokeMetaMethod, _id=130,
    _a=0x7fffffffc010) at /home/.../Scribus/build/scribus/moc_scribusdoc.cpp:835
0000008 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000009 0x000000000079f216 in Cpalette::NewGradient (this=0x28d06d0, _t1=13)
    at /home/.../Scribus/build/scribus/ui/moc_cpalette.cpp:564
0000010 0x0000000000e9aeeb in Cpalette::slotGradType (this=0x28d06d0, type=2)
    at /home/.../Scribus/scribus/ui/cpalette.cpp:1189
0000011 0x000000000079e7ca in Cpalette::qt_static_metacall (_o=0x28d06d0, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0x7fffffffc3f0)
    at /home/.../Scribus/build/scribus/ui/moc_cpalette.cpp:377
0000012 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000013 0x00007ffff6dffd71 in QComboBox::activated(int) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000014 0x00007ffff6e01435 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000015 0x00007ffff6e037f7 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000016 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000017 0x00007ffff7086e82 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000018 0x00007ffff6e0091d in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000019 0x00007ffff767495d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000020 0x00007ffff6cec0bf in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000021 0x00007ffff6cef4d6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000022 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000023 0x00007ffff6cee54a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000024 0x00007ffff6d43869 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000025 0x00007ffff6d45f98 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000026 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000027 0x00007ffff6cef6ae in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000028 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000029 0x00007ffff6608c21 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000030 0x00007ffff66094a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000031 0x00007ffff65f0ba8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000032 0x00007fffe58231b0 in ?? () from /home/.../Qt/5.2.1/gcc_64/plugins/platforms/
0000033 0x00007fffed058316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066
0000034 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
0000035 0x00007fffed058668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
0000036 0x00007fffed05870c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774
0000037 0x00007ffff76c5374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000038 0x00007ffff76734ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000039 0x00007ffff767753e in QCoreApplication::exec() () from /home/.../Qt/5.2.1/gcc_64/lib/
0000040 0x000000000123361c in mainApp (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:86
0000041 0x00000000012335ac in main (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Attached Files? file icon Gradient.svg [^] (2,677 bytes) 14-Apr-21 23:48

- Relationships
child of 0004732new SVG test cases 

-  Notes
christoph_s (administrator)
14-Apr-21 23:55

I can neither reproduce the crash nor the changing of the gradient type. However, the colour of the gradient isn't correctly imported so that it appears to have no colour at all.
JLuc (updater)
14-Apr-22 00:50
edited on: 14-Apr-22 00:51

When i import it, there is no color neither for the stroke nor the fill.

When i add a stroke color, i can see the shape. Strangely, it doesnt seem to be the same shape as the one in the SVG shown in Inkscape.

When i close the document, scribus kindof crashes.

Kunda (developer)
14-Jul-03 20:40

Reproduced on OSX 10.8.5 1.5svn r19309

- Issue History
Date Modified Username Field Change
14-Apr-21 23:48 FirasH New Issue
14-Apr-21 23:48 FirasH File Added: Gradient.svg
14-Apr-21 23:55 christoph_s Note Added: 0031751
14-Apr-22 00:50 JLuc Note Added: 0031752
14-Apr-22 00:51 JLuc Note Edited: 0031752 View Revisions
14-Jul-03 19:47 FirasH Relationship added child of 0004732
14-Jul-03 20:40 Kunda Note Added: 0032450
14-Jul-03 20:40 Kunda Status new => confirmed
14-Jul-03 20:40 Kunda Target Version => 1.5.0
14-Sep-11 04:47 Kunda Severity crash => block

Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker