View Issue Details

IDProjectCategoryView StatusLast Update
0006292ScribusInternalpublic2007-12-26 17:02
ReporterWerner Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformPC OSWindows OS VersionWin XP
Product Version1.3.4 
Target Version1.3.5Fixed in Version1.3.5svn 
Summary0006292: Scribus crashes when first page is deleted
DescriptionLocking an element in the first page may crash Scribus when this first page is deleted.
Steps To ReproduceA 2 page double sided document with or without automatic text frame creation, first page right; place an image into the left upper corner of the first two pages and lock the image on the first page. Delete the first page. Scribus will crash with an EXCEPTION_ACCESS_VIOLATION. It may not crash, when the image is not locked (I had this with 10 pages; it crashed nevertheless with two or three pages, however). If you try this with no element, it works. It works with first page left as well.
TagsNo tags attached.
Patch

Relationships

child of 0005693 closedplinnell 1.3.5 bug collection (prior to roadmap) 

Activities

christoph_s

2007-09-27 18:06

developer   ~0017412

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225406768 (LWP 5827)]
0x082aa236 in Page::pageNr (this=0x0)
    at /home/christoph/scribus134cvs/Scribus/scribus/page.h:76
76 /home/christoph/scribus134cvs/Scribus/scribus/page.h: Datei oder Verzeichnis nicht gefunden.
        in /home/christoph/scribus134cvs/Scribus/scribus/page.h
(gdb) bt
#0 0x082aa236 in Page::pageNr (this=0x0)
    at /home/christoph/scribus134cvs/Scribus/scribus/page.h:76
0000001 0x084032cb in GuideManager::pageNr (this=0x9252170)
    at /home/christoph/scribus134cvs/Scribus/scribus/guidemanager.h:104
0000002 0x0840120c in GuideManagerCore::drawPage (this=0x94e1c10, p=0x9497f00,
    doc=0x94de108, lineWidth=1)
    at /home/christoph/scribus134cvs/Scribus/scribus/guidemanagercore.cpp:386
0000003 0x087c5cb4 in ScribusView::DrawPageMarks (this=0x94e7aa0, p=0x9497f00,
    page=0x94e1b90, clip={x1 = 150, y1 = 10, x2 = 1390, y2 = 239})
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:1331
0000004 0x087cf8f9 in ScribusView::drawContents (this=0x94e7aa0, psx=0xbfc751cc,
    clipx=150, clipy=10, clipw=1241, cliph=230)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:577
0000005 0xb7b944e3 in QScrollView::drawContentsOffset ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000006 0xb7b962f3 in QScrollView::viewportPaintEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000007 0x087c9743 in ScribusView::viewportPaintEvent (this=0x94e7aa0,
    p=0xbfc75574)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:356
0000008 0xb7b971af in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0xb7a81ccc in QObject::activate_filters ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0xb7a81d3b in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0xb7abae3c in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0xb7a23647 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0xb7a244f9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0xb79f5bbf in QWidget::repaint () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0xb79f5fb5 in QWidget::scroll () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0xb79f619e in QWidget::scroll () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0xb7b9781f in QScrollView::moveContents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0xb7b978ca in QScrollView::setContentsPos ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x087f835c in ScribusView::reformPages (this=0x94e7aa0, moveObjects=true)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:9587
0000020 0x087160cb in ScribusMainWindow::DeletePage (this=0x8ce47d0, from=1, to=1)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribus.cpp:6369
0000021 0x087392b4 in ScribusMainWindow::DeletePage (this=0x8ce47d0)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribus.cpp:6302
0000022 0x0876012e in ScribusMainWindow::qt_invoke (this=0x8ce47d0, _id=149,
    _o=0xbfc75938)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribus.moc:1047
0000023 0xb7a823cd in QObject::activate_signal ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000024 0xb7a8300d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000025 0xb7dddb29 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3
0000026 0xb7bc29f0 in QAction::internalActivation ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000027 0xb7ddde4c in QAction::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3
0000028 0x086f23d1 in ScrAction::qt_invoke (this=0x8f58ca8, _id=8, _o=0xbfc75a44)
    at /home/christoph/scribus134cvs/Scribus/scribus/scraction.moc:229
0000029 0xb7a823cd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000030 0xb7dbb9ae in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000031 0xb7a9e497 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000032 0xb7b88337 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000033 0xb7abb1b0 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000034 0xb7a23647 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000035 0xb7a24641 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000036 0xb79c39f9 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000037 0xb79c201f in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000038 0xb79d291a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000039 0xb7a3a0e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000040 0xb7a39f76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000041 0xb7a2300f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000042 0x08456557 in mainApp (argc=1, argv=0xbfc762c4)
    at /home/christoph/scribus134cvs/Scribus/scribus/main_nix.cpp:76
0000043 0x084565be in main (argc=153470072, argv=0x0)
    at /home/christoph/scribus134cvs/Scribus/scribus/main_nix.cpp:52

cbradney

2007-09-27 18:18

administrator   ~0017418

Again, is this a backtrace from 1.3.5svn? your directory name is 134cvs.

christoph_s

2007-09-27 18:21

developer   ~0017420

No again ;) You can't even lock items in 1.3.5svn at the moment.

Issue History

Date Modified Username Field Change
2007-09-27 17:28 Werner New Issue
2007-09-27 18:06 christoph_s Note Added: 0017412
2007-09-27 18:06 christoph_s Status new => confirmed
2007-09-27 18:18 cbradney Note Added: 0017418
2007-09-27 18:21 christoph_s Note Added: 0017420
2007-09-27 18:30 christoph_s Relationship added child of 0005693
2007-09-29 20:37 cbradney Status confirmed => closed
2007-09-29 20:37 cbradney Resolution open => fixed
2007-09-29 20:37 cbradney Fixed in Version => 1.3.5svn
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