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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011409ScribusImport / Exportpublic2013-02-02 20:482014-10-13 18:02
ReporterJLuc 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusconfirmedResolutionopen 
PlatformPCOSUbuntu 12.04OS Version
Product Version 
Target Version1.5.0Fixed in Version 
Summary0011409: crash while importing masterpage, with gdb backtrace
DescriptionBoth on 1.4.2 and 1.5 trunk,
importing "Normal Left" masterpage of P1_vide.sla in mpa.sla causes a sigfault crash.

On 1.4.2
It says : "Program received signal SIGSEGV, Segmentation fault.
0x08982bda in UndoState::setUndoObject(UndoObject*) ()"
and the backtrace is :
[Thread 0xb28ffb40 (LWP 17219) exited]
[Thread 0xada91b40 (LWP 17232) exited]
[Thread 0xb0373b40 (LWP 17231) exited]
[New Thread 0xb0373b40 (LWP 17237)]
[New Thread 0xada91b40 (LWP 17238)]
[Thread 0xb0373b40 (LWP 17237) exited]
[Thread 0xada91b40 (LWP 17238) exited]

Program received signal SIGSEGV, Segmentation fault.
0x08982bda in UndoState::setUndoObject(UndoObject*) ()
(gdb) bt
#0 0x08982bda in UndoState::setUndoObject(UndoObject*) ()
0000001 0x0897dc88 in TransactionState::pushBack(UndoObject*, UndoState*) ()
0000002 0x08980871 in UndoManager::action(UndoObject*, UndoState*, QPixmap*) ()
0000003 0x087cc383 in ScribusDoc::itemAdd(PageItem::ItemType, PageItem::ItemFrameType, double, double, double, double, double, QString const&, QString const&, bool) ()
0000004 0xb0ee8045 in Scribus134Format::PasteItem(QDomElement*, ScribusDoc*, QString const&, int) () from /usr/lib/scribus/plugins//libscribus134format.so
0000005 0xb0ef9955 in Scribus134Format::loadPage(QString const&, int, bool, QString) () from /usr/lib/scribus/plugins//libscribus134format.so
0000006 0x08355576 in FileLoader::loadPage(ScribusDoc*, int, bool, QString) ()
0000007 0x08764ea8 in ScribusMainWindow::loadPage(QString, int, bool, QString const&) ()
0000008 0x0841658c in MasterPagesPalette::importPage() ()
0000009 0x08191678 in ?? ()
0000010 0xb71476b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000011 0xb7c9197d in QAbstractButton::clicked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000012 0xb798562d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000013 0xb7986c9b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000014 0xb7986f56 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000015 0xb7a5f4ad in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000016 0xb75b41ac in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000017 0xb79861f9 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000018 0xb7a60bdc in QToolButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000019 0xb7559ed4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000020 0xb7560024 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000021 0xb713097e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000022 0xb755ae95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000023 0xb75e7074 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000024 0xb75e5c0d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000025 0xb7612eac in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000026 0xb661bd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000027 0xb661c125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000028 0xb661c201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000029 0xb7163887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000030 0xb7612aaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000031 0xb712f50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000032 0xb712f7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000033 0xb7134eba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000034 0xb7557a74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000035 0x089b6d69 in mainApp(int, char**) ()
0000036 0x0817b3c7 in main ()
(gdb) ^CQuit

=====================================================================================

With 1.5.2, same happens, backtrace is :



[Thread 0xad81bb40 (LWP 17177) exited]
[Thread 0xaaf14b40 (LWP 17179) exited]
[New Thread 0xaaf14b40 (LWP 17197)]
[New Thread 0xad81bb40 (LWP 17198)]
[Thread 0xaaf14b40 (LWP 17197) exited]
[Thread 0xad81bb40 (LWP 17198) exited]
ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 469

Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) bt
#0 0xb7fdd424 in __kernel_vsyscall ()
0000001 0xb500d1df in raise () from /lib/i386-linux-gnu/libc.so.6
0000002 0xb5010825 in abort () from /lib/i386-linux-gnu/libc.so.6
0000003 0xb56b6616 in qt_message_output(QtMsgType, char const*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000004 0xb56b6a4b in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000005 0xb56b6b68 in qFatal(char const*, ...) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000006 0xb56b6bad in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000007 0x0838f026 in QList<ScPage*>::at (this=0xa1a85d4, i=2) at /usr/include/qt4/QtCore/qlist.h:469
0000008 0x087db05f in ScribusDoc::itemAdd (this=0xa1a7ec8, itemType=PageItem::TextFrame, frameType=PageItem::Unspecified, x=549.405354331024, y=683.62299212307096, b=364.25196849999998, h=527.24409449999996, w=1,
    fill=..., outline=..., itemFinalised=true, noteFrame=false) at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/scribusdoc.cpp:5437
0000009 0xae670db6 in Scribus134Format::pasteItem (this=0x949b068, doc=0xa1a7ec8, attrs=..., baseDir=..., pagenr=-1)
    at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp:2565
0000010 0xae66ac95 in Scribus134Format::readObject (this=0x949b068, doc=0xa1a7ec8, reader=..., info=..., baseDir=..., loadPage=false)
    at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp:1847
0000011 0xae66ccae in Scribus134Format::readPattern (this=0x949b068, doc=0xa1a7ec8, reader=..., baseDir=...)
    at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp:2091
0000012 0xae677691 in Scribus134Format::loadPage (this=0x949b068, fileName=..., pageNumber=0, Mpage=true, renamedPageName=...)
    at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp:3174
0000013 0x08434466 in FileLoader::loadPage (this=0xa335ec0, currDoc=0xa1a7ec8, PageToLoad=0, Mpage=true, renamedPageName=...) at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/fileloader.cpp:171
0000014 0x0875fe38 in ScribusMainWindow::loadPage (this=0x9264b10, fileName=..., Nr=0, Mpa=true, renamedPageName=...) at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/scribus.cpp:3941
0000015 0x08a1abe7 in PagePalette_MasterPages::importPage (this=0x995cb58) at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/ui/pagepalette_masterpages.cpp:390
0000016 0x08317267 in PagePalette_MasterPages::qt_static_metacall (_o=0x995cb58, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfffe438)
    at /home/jluc/dev/scribus/scribus.git/Build/buildtrunk/scribus/ui/moc_pagepalette_masterpages.cxx:74
0000017 0xb57ed6b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000018 0xb633697d in QAbstractButton::clicked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000019 0xb602a62d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000020 0xb602bc9b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000021 0xb602bf56 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000022 0xb61044ad in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000023 0xb5c591ac in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000024 0xb602b1f9 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000025 0xb6105bdc in QToolButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000026 0xb5bfeed4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000027 0xb5c05024 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000028 0xb57d697e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000029 0xb5bffe95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000030 0xb5c8c074 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000031 0xb5c8ac0d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000032 0xb5cb7eac in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000033 0xb4a44d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000034 0xb4a45125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000035 0xb4a45201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
0000036 0xb5809887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000037 0xb5cb7aaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000038 0xb57d550d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000039 0xb57d57a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000040 0xb57daeba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
0000041 0xb5bfca74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
0000042 0x08c5caea in mainApp (argc=1, argv=0xbffff3b4) at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/main_nix.cpp:86
0000043 0x08c5ca73 in main (argc=1, argv=0xbffff3b4) at /home/jluc/dev/scribus/scribus.git/Scribus/scribus/main_nix.cpp:54
Tagsmasterpage
Patch
Attached Files? file icon P1 vide 2p nostyles notext nogabarititre.sla [^] (26,187 bytes) 2013-02-08 23:29

- Relationships
related to 0011232feedback Importing Master pages from other document problems 

-  Notes
(0029805)
JLuc (updater)
2013-02-08 23:33
edited on: 2013-02-09 09:20

I simplified the file whose masterpages caused the crash when imported and uploaded this file. It is now empty but results of a long editing process (so its not same as if 'new').

More carefull tests showed that there is no more crash after deleting the following lines in the sla.
So the bug might be related to meeting this pattern definition during the masterpage import :

        <Pattern Name="Page normale" width="364.2519685" height="527.2440945" scaleX="1" scaleY="1" xoffset="0" yoffset="0">
            <PatternItem OwnPage="-1" PTYPE="4" XPOS="549.405354331024" YPOS="683.622992123071" WIDTH="364.2519685" HEIGHT="527.2440945" RADRECT="0" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" PCOLOR="None" PCOLOR2="None" COLUMNS="1" COLGAP="19.84251969" NAMEDLST="" SHADE="100" SHADE2="100" GRTYP="0" ROT="0" PLINEART="1" PLINEEND="0" PLINEJOIN="0" LOCALSCX="1" LOCALSCY="1" LOCALX="0" LOCALY="0" PICART="1" PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" FLIPPEDH="0" FLIPPEDV="0" SCALETYPE="1" RATIO="1" PRINTABLE="1" ANNOTATION="0" ANNAME="Page normale_0" TEXTFLOWMODE="0" TEXTFLOW="0" TEXTFLOW2="0" TEXTFLOW3="0" AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" FLOP="0" PFILE="" PFILE2="" PFILE3="" PRFILE="" EPROF="" IRENDER="1" EMBEDDED="1" LOCK="0" LOCKR="0" REVERS="0" TransValue="0" TransValueS="0" TransBlend="0" TransBlendS="0" isTableItem="0" TopLine="0" LeftLine="0" RightLine="0" BottomLine="0" isGroupControl="0" NUMDASH="0" DASHS="" DASHOFF="0" NUMPO="16" POCOOR="0 0 0 0 364.252 0 364.252 0 364.252 0 364.252 0 364.252 527.244 364.252 527.244 364.252 527.244 364.252 527.244 0 527.244 0 527.244 0 527.244 0 527.244 0 0 0 0 " NUMCO="16" COCOOR="0 0 0 0 364.252 0 364.252 0 364.252 0 364.252 0 364.252 527.244 364.252 527.244 364.252 527.244 364.252 527.244 0 527.244 0 527.244 0 527.244 0 527.244 0 0 0 0 " NUMGROUP="0" GROUPS="" startArrowIndex="0" endArrowIndex="0" OnMasterPage="" ImageClip="" ImageRes="1" Pagenumber="0" isInline="0" fillRule="1" doOverprint="0" gXpos="0" gYpos="0" gWidth="364.2519685" gHeight="527.2440945" LAYER="0" BOOKMARK="0" NEXTITEM="-1" BACKITEM="-1">
                <trail/>
                <PageItemAttributes/>
            </PatternItem>
        </Pattern>

(0029827)
JLuc (updater)
2013-02-11 12:01

close to 0011232
(0032962)
JLuc (updater)
2014-07-24 18:27
edited on: 2014-07-24 18:27

Still crashes as of today's version
Steps to reproduce :
- download P1 vide 2p nostyles notext nogabarititre.sla
- open scribus, create new file
- open Masterpage dialog, click "Open file" button
- choose "P1 vide 2p nostyles notext nogabarititre.sla", choose "normal left" (or "normal right" also), validate

(0032967)
Kunda (manager)
2014-07-24 22:23

Confirmed crashes Signal 6
on OSX 10.8.5 1.5svn r19366

- Issue History
Date Modified Username Field Change
2013-02-02 20:48 JLuc New Issue
2013-02-02 20:48 JLuc Tag Attached: import
2013-02-02 20:48 JLuc Tag Attached: crash
2013-02-02 20:48 JLuc Tag Attached: masterpage
2013-02-02 20:49 JLuc File Added: P1 vide.sla
2013-02-06 22:47 jghali Target Version => 1.5.0svn
2013-02-06 22:53 jghali Target Version 1.5.0svn => 1.5.0
2013-02-08 23:29 JLuc File Added: P1 vide 2p nostyles notext nogabarititre.sla
2013-02-08 23:29 JLuc File Deleted: P1 vide.sla
2013-02-08 23:33 JLuc Note Added: 0029805
2013-02-08 23:33 JLuc Note Edited: 0029805 View Revisions
2013-02-09 07:31 christoph_s Status new => confirmed
2013-02-09 09:20 JLuc Note Edited: 0029805 View Revisions
2013-02-11 12:01 JLuc Note Added: 0029827
2014-07-22 07:49 Kunda Relationship added related to 0011232
2014-07-24 18:27 JLuc Note Added: 0032962
2014-07-24 18:27 JLuc Note Edited: 0032962 View Revisions
2014-07-24 22:23 Kunda Note Added: 0032967
2014-07-24 22:23 Kunda Severity trivial => crash
2014-09-11 04:34 Kunda Severity crash => block
2014-10-09 01:12 Kunda Tag Detached: crash
2014-10-13 18:02 Kunda Tag Detached: import



Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker