View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006048 | Scribus | General | public | 2007-07-30 23:32 | 2008-02-16 23:07 |
Reporter | christoph_s | Assigned To | jghali | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86 | OS | Linux | OS Version | SuSE 10.2 |
Product Version | 1.3.5svn | ||||
Target Version | 1.3.5 | Fixed in Version | 1.3.5svn | ||
Summary | 0006048: Creating and deleting master pages from existing pages doesn't work correctly | ||||
Description | If I create a master page from an existing page and then delete it, the result is quite odd: 1) After deletion, the content of the master page shows up on a left page (even if it was a master page for a right page). 2) re-opening the master pages dialog indicates the new master is still there. 3) deleting the would-be master page again deletes it and also the mp "Normal Left" 4) Closing the dialog results in a sig 6 crash. | ||||
Additional Information | Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1230453040 (LWP 19318)] 0xb6cff244 in _int_malloc () from /lib/libc.so.6 (gdb) bt #0 0xb6cff244 in _int_malloc () from /lib/libc.so.6 0000001 0xb6d00bb4 in calloc () from /lib/libc.so.6 0000002 0xb7ed0757 in FbPixelsCreate (width=1, height=1, depth=32) at icpixels.c:70 0000003 0xb7ecf77a in _cairo_pixman_image_create (format=0xbff99e34, width=1, height=1) at icimage.c:36 0000004 0xb7e8fb54 in *INT_cairo_image_surface_create (format=CAIRO_FORMAT_ARGB32, width=1, height=1) at cairo-image-surface.c:304 0000005 0xb7e8fc9e in _cairo_image_surface_create_with_content ( content=CAIRO_CONTENT_COLOR_ALPHA, width=1, height=1) at cairo-image-surface.c:327 0000006 0xb7e8fd16 in _cairo_image_surface_create_similar (abstract_src=0x94006f0, content=154887480, width=1, height=1) at cairo-image-surface.c:583 0000007 0xb7e9aa9b in _cairo_surface_create_similar_scratch (other=0x94006f0, content=CAIRO_CONTENT_COLOR_ALPHA, width=1, height=1) at cairo-surface.c:224 0000008 0xb7e9ab5d in _cairo_surface_create_similar_solid (other=0x94006f0, content=CAIRO_CONTENT_COLOR_ALPHA, width=1, height=1, color=0xbff9a8ac, pattern=0xbff9a854) at cairo-surface.c:308 0000009 0xb7e9e5d7 in _cairo_pattern_acquire_surface_for_solid ( pattern=<value optimized out>, dst=0x93b6538, x=<value optimized out>, y=94, width=5, height=6, out=0xbff9a248, attribs=0xbff9a1d8) at cairo-pattern.c:1254 0000010 0xb7e9f125 in _cairo_pattern_acquire_surface (pattern=0xbff9a854, ---Type <return> to continue, or q <return> to quit--- dst=0x94006f0, x=1210, y=94, width=5, height=6, surface_out=0xbff9a248, attributes=0xbff9a1d8) at cairo-pattern.c:1566 0000011 0xb7e8f016 in _cairo_image_surface_composite_trapezoids ( op=CAIRO_OPERATOR_OVER, pattern=0xbff9a854, abstract_dst=0x94006f0, antialias=CAIRO_ANTIALIAS_DEFAULT, src_x=1210, src_y=94, dst_x=1210, dst_y=94, width=5, height=6, traps=0x9a9f2c0, num_traps=27) at cairo-image-surface.c:961 0000012 0xb7e9933f in _cairo_surface_composite_trapezoids (op=CAIRO_OPERATOR_OVER, pattern=0xbff9a854, dst=0x94006f0, antialias=CAIRO_ANTIALIAS_DEFAULT, src_x=1210, src_y=94, dst_x=1210, dst_y=94, width=5, height=6, traps=0x9a9f2c0, num_traps=27) at cairo-surface.c:1424 0000013 0xb7e9c808 in _composite_traps_draw_func (closure=0xbff9a72c, op=CAIRO_OPERATOR_OVER, src=0xbff9a854, dst=0x94006f0, dst_x=0, dst_y=0, extents=0xbff9a734) at cairo-surface-fallback.c:500 0000014 0xb7e9b85b in _clip_and_composite (clip=0x0, op=CAIRO_OPERATOR_OVER, src=0xbff9a854, draw_func=0xb7e9c750 <_composite_traps_draw_func>, draw_closure=0xbff9a72c, dst=0x94006f0, extents=0xbff9a734) at cairo-surface-fallback.c:394 0000015 0xb7e9c2cc in _clip_and_composite_trapezoids (src=0xb6dc4140, op=162031416, dst=0x94006f0, traps=0xbff9a784, clip=0x0, antialias=CAIRO_ANTIALIAS_DEFAULT) at cairo-surface-fallback.c:663 0000016 0xb7e9c731 in _cairo_surface_fallback_fill (surface=0xb6dc4198, op=CAIRO_OPERATOR_OVER, source=0xbff9a854, path=0x8fec680, ---Type <return> to continue, or q <return> to quit--- fill_rule=CAIRO_FILL_RULE_WINDING, tolerance=0.5, antialias=CAIRO_ANTIALIAS_DEFAULT) at cairo-surface-fallback.c:907 0000017 0xb7e99e5b in _cairo_surface_fill (surface=0x94006f0, op=CAIRO_OPERATOR_OVER, source=0xbff9a93c, path=0x8fec680, fill_rule=CAIRO_FILL_RULE_WINDING, tolerance=0.5, antialias=CAIRO_ANTIALIAS_DEFAULT) at cairo-surface.c:1384 0000018 0xb7e8cd5d in _cairo_gstate_fill (gstate=0x9a865e0, path=0x8fec680) at cairo-gstate.c:1026 0000019 0xb7e857cc in *INT_cairo_fill_preserve (cr=0x8fec510) at cairo.c:2098 0000020 0x086d7f07 in ScPainter::drawVPath (this=0x9894240, mode=0) at /home/christoph/scribus135/trunk/Scribus/scribus/scpainter.cpp:947 0000021 0x086d8d0a in ScPainter::fillPath (this=0x9894240) at /home/christoph/scribus135/trunk/Scribus/scribus/scpainter.cpp:787 0000022 0x084edb85 in PageItem::drawGlyphs (this=0x9d26158, p=0x9894240, style=@0x92e06c0, glyphs=@0x92e07cc) at /home/christoph/scribus135/trunk/Scribus/scribus/pageitem.cpp:1883 0000023 0x08525088 in PageItem_TextFrame::DrawObj_Item (this=0x9d26158, p=0x9894240, e={x1 = 90, y1 = 10, x2 = 1332, y2 = 770}, sc=1) at /home/christoph/scribus135/trunk/Scribus/scribus/pageitem_textframe.cpp:2 354 0000024 0x084f2543 in PageItem::DrawObj (this=0x9d26158, p=0x9894240, e= {x1 = 90, y1 = 10, x2 = 1332, y2 = 770}) at /home/christoph/scribus135/trunk/Scribus/scribus/pageitem.cpp:903 ---Type <return> to continue, or q <return> to quit--- 0000025 0x088162fc in ScribusView::DrawMasterItems (this=0x9529828, painter=0x9894240, page=0x9529140, clip= {x1 = 90, y1 = 10, x2 = 1332, y2 = 770}) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:1290 0000026 0x0881d4b9 in ScribusView::drawContents (this=0x9529828, psx=0xbff9c90c, clipx=90, clipy=10, clipw=1243, cliph=761) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:822 0000027 0xb7d3b967 in Q3ScrollView::drawContentsOffset () from /usr/lib/libQt3Support.so.4 0000028 0xb7d3d717 in Q3ScrollView::viewportPaintEvent () from /usr/lib/libQt3Support.so.4 0000029 0x0881ff0d in ScribusView::viewportPaintEvent (this=0x9529828, p=0xbff9cc34) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:386 0000030 0xb7d3df40 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4 0000031 0xb7681dc1 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 0000032 0xb7687fbe in QApplication::notify () from /usr/lib/libQtGui.so.4 0000033 0xb71ed6cb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 0000034 0xb76ced8e in qt_sendSpontaneousEvent () from /usr/lib/libQtGui.so.4 0000035 0xb77d9176 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 0000036 0xb77d98f5 in QWidgetBackingStore::paintSiblingsRecursive () ---Type <return> to continue, or q <return> to quit--- from /usr/lib/libQtGui.so.4 0000037 0xb77d978e in QWidgetBackingStore::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 0000038 0xb77d978e in QWidgetBackingStore::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 0000039 0xb77d978e in QWidgetBackingStore::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 0000040 0xb77d8da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 0000041 0xb77d98f5 in QWidgetBackingStore::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 0000042 0xb77d8da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 0000043 0xb77d98f5 in QWidgetBackingStore::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 0000044 0xb77d8da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 0000045 0xb77d98f5 in QWidgetBackingStore::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 0000046 0xb77d8da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 0000047 0xb77d98f5 in QWidgetBackingStore::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4 0000048 0xb77d8da9 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4 0000049 0xb77d9e3c in QWidgetBackingStore::cleanRegion () from /usr/lib/libQtGui.so.4 0000050 0xb77da42d in QWidget::repaint () from /usr/lib/libQtGui.so.4 ---Type <return> to continue, or q <return> to quit--- 0000051 0xb76bfa81 in QWidget::repaint () from /usr/lib/libQtGui.so.4 0000052 0xb76bfbae in QWidget::repaint () from /usr/lib/libQtGui.so.4 0000053 0x087c7785 in ScribusView::setRulerPos (this=0x9529828, x=90, y=10) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:9732 0000054 0x087c81af in ScribusView::DrawNew (this=0x9529828) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:9965 0000055 0x084014a0 in GuideManager::drawGuides (this=0x9130db8) at /home/christoph/scribus135/trunk/Scribus/scribus/guidemanager.cpp:367 0000056 0x0840360c in GuideManager::setupGui (this=0x9130db8) at /home/christoph/scribus135/trunk/Scribus/scribus/guidemanager.cpp:161 0000057 0x0840368c in GuideManager::setupPage (this=0x9130db8) at /home/christoph/scribus135/trunk/Scribus/scribus/guidemanager.cpp:122 0000058 0x0878b523 in ScribusDoc::setCurrentPage (this=0x9436948, newPage=0x9529140) at /home/christoph/scribus135/trunk/Scribus/scribus/scribusdoc.cpp:7829 0000059 0x08752aca in ScribusMainWindow::manageMasterPagesEnd (this=0x8c62bd0) at /home/christoph/scribus135/trunk/Scribus/scribus/scribus.cpp:8250 0000060 0x081f038a in ScribusMainWindow::qt_metacall (this=0x8c62bd0, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbff9e474) at /home/christoph/scribus135/trunk/Scribus/scribus/moc_scribus.cxx:445 0000061 0xb71fe7c1 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 0000062 0xb71ff2c2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 0000063 0x081e36b3 in MasterPagesPalette::finished (this=0x9799148) ---Type <return> to continue, or q <return> to quit--- at /home/christoph/scribus135/trunk/Scribus/scribus/moc_muster.cxx:106 0000064 0x084c1d93 in MasterPagesPalette::closeEvent (this=0x9799148, closeEvent=0xbff9e8d4) at /home/christoph/scribus135/trunk/Scribus/scribus/muster.cpp:99 0000065 0xb76c69a2 in QWidget::event () from /usr/lib/libQtGui.so.4 0000066 0xb7681e10 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 0000067 0xb7687fbe in QApplication::notify () from /usr/lib/libQtGui.so.4 0000068 0xb71ed6cb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 0000069 0xb76c1646 in QWidgetPrivate::close_helper () from /usr/lib/libQtGui.so.4 #70 0xb76ca888 in QETWidget::translateCloseEvent () from /usr/lib/libQtGui.so.4 0000071 0xb76cb895 in QApplication::x11ClientMessage () from /usr/lib/libQtGui.so.4 0000072 0xb76d6d36 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 0000073 0xb76f8c35 in QEventDispatcherX11::processEvents () from /usr/lib/libQtGui.so.4 0000074 0xb71ecc08 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 0000075 0xb71ecd1c in QEventLoop::exec () from /usr/lib/libQtCore.so.4 0000076 0xb71ef398 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 0000077 0xb7681527 in QApplication::exec () from /usr/lib/libQtGui.so.4 0000078 0x0845daa6 in mainApp (argc=1, argv=0xbff9ede4) at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:76 0000079 0x0845db0a in main (argc=154890576, argv=0x93b7150) ---Type <return> to continue, or q <return> to quit--- at /home/christoph/scribus135/trunk/Scribus/scribus/main_nix.cpp:52 | ||||
Tags | No tags attached. | ||||
Patch | |||||
child of | 0005693 | closed | 1.3.5 bug collection (prior to roadmap) |
2007-07-30 23:33
|
|
|
i've committed a fix which make things work a bit better. Undoing master page deletion after going back to normal mode won't work correctly tho. But undo of actions across page modes is an issue by itself. |
|
i commited one more fix, the master page palette should now be updated correctly on masterpage deletion undo/redo |
|
Seems to be fixed now. |
|
Tested, fixed. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-07-30 23:32 | christoph_s | New Issue | |
2007-07-30 23:33 | christoph_s | File Added: mp-135.sla | |
2007-08-01 22:30 | jghali | Note Added: 0016930 | |
2007-08-01 22:54 | jghali | Status | new => confirmed |
2007-08-07 20:20 | jghali | Note Added: 0016977 | |
2007-09-29 22:30 | christoph_s | Relationship added | child of 0005693 |
2007-12-20 22:52 | cbradney | Target Version | => 1.3.5svn |
2007-12-26 17:02 | cbradney | Target Version | 1.3.5svn => 1.3.5 |
2008-02-16 22:46 | christoph_s | Note Added: 0018979 | |
2008-02-16 23:04 | cbradney | Status | confirmed => resolved |
2008-02-16 23:04 | cbradney | Fixed in Version | => 1.3.5svn |
2008-02-16 23:04 | cbradney | Resolution | open => fixed |
2008-02-16 23:04 | cbradney | Assigned To | => cbradney |
2008-02-16 23:04 | cbradney | Assigned To | cbradney => jghali |
2008-02-16 23:07 | christoph_s | Status | resolved => closed |
2008-02-16 23:07 | christoph_s | Note Added: 0018982 |