View Issue Details

IDProjectCategoryView StatusLast Update
0005561ScribusGeneralpublic2007-05-02 20:06
ReporterTsoots Assigned Toavox  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.4cvs 
Fixed in Version1.3.4cvs 
Summary0005561: After adding/copying pages deleting the first page causes a crash
DescriptionCreate a new doc and use page>add to add a new page to the doc. After this delete the first page of the doc -> Scribus crashes.

(gdb) bt
#0 0x000000000070393e in QValueListPrivate<double>::insert ()
0000001 0x0000000000704d78 in GuideManagerCore::addVerticals ()
0000002 0x0000000000700d50 in GuideManager::storePageValues ()
0000003 0x000000000070354b in GuideManager::setupPage ()
0000004 0x0000000000a74619 in ScribusDoc::setCurrentPage ()
0000005 0x0000000000ac9e24 in ScribusView::GotoPage ()
0000006 0x0000000000a308da in ScribusMainWindow::DeletePage ()
0000007 0x0000000000a3e68f in ScribusMainWindow::DeletePage ()
0000008 0x0000000000a682d7 in ScribusMainWindow::qt_invoke ()
0000009 0x00002b29e109a64c in QObject::activate_signal () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000010 0x00002b29e109b323 in QObject::activate_signal () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000011 0x00002b29e139af53 in QAction::qt_invoke () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000012 0x00000000009e4620 in ScrAction::qt_invoke ()
0000013 0x00002b29e109a64c in QObject::activate_signal () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000014 0x00002b29e137fcf2 in QSignal::signal () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000015 0x00002b29e10b30d5 in QSignal::activate () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000016 0x00002b29e118a9d5 in QPopupMenu::mouseReleaseEvent () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000017 0x00002b29e10ccff7 in QWidget::event () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000018 0x00002b29e10434d5 in QApplication::internalNotify () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000019 0x00002b29e10442f1 in QApplication::notify () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000020 0x00002b29e0febc15 in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000021 0x00002b29e0fea553 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000022 0x00002b29e0ff95bf in QEventLoop::processEvents () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000023 0x00002b29e1058083 in QEventLoop::enterLoop () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000024 0x00002b29e1057f32 in QEventLoop::exec () from /usr/lib/qt3/lib64/libqt-mt.so.3
0000025 0x0000000000753669 in mainApp ()
0000026 0x00002b29e3243ae4 in __libc_start_main () from /lib64/libc.so.6
0000027 0x000000000053f749 in _start ()
TagsNo tags attached.
Patch

Relationships

child of 0003964 closedplinnell 1.3.4 Release Metabug 

Activities

subik

2007-04-17 12:46

manager   ~0015929

a note for suse 10.2 users: https://bugzilla.novell.com/show_bug.cgi?id=258433 this issue cannot be debugged in gdb in some kernels

subik

2007-04-23 20:03

manager   ~0015974

Reminder sent to: cbradney

craig, can you post your backtrace of this crash here, please? (gentoo)

subik

2007-04-23 20:04

manager   ~0015975

this is not helpful at all:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225910048 (LWP 10253)]
0xb7a0ef97 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
(gdb) bt
#0 0xb7a0ef97 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000001 0xb7d4a0ce in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000002 0xb7a2b0a7 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000003 0xb7a32433 in QSingleShotTimer::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000004 0xb79afa77 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000005 0xb79b0841 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000006 0xb79a4c83 in QEventLoop::activateTimers () from /usr/lib/qt3/lib/libqt-mt.so.3
0000007 0xb795ecf0 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000008 0xb79c68a0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0xb79c6736 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0xb79af62f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x0839ba45 in mainApp ()
0000012 0x0839baa2 in main ()

cbradney

2007-04-23 20:16

administrator   ~0015977

I get the same useless trace.

cbradney

2007-04-23 20:21

administrator   ~0015979

Does it go away for u if u build a non debug build?

cbradney

2007-04-23 20:31

administrator   ~0015980

happens here with a non debug version too.

cbradney

2007-04-23 20:48

administrator   ~0015981

I think the page * is still pointing to the deleted page.

cbradney

2007-04-23 21:09

administrator   ~0015983

Ok, fixed the basic delete.. but now undo is crashing.

subik

2007-04-24 04:50

manager   ~0015987

I'll look into asap. There is a lot to do with guides' undo stuff.

subik

2007-04-24 07:47

manager   ~0015991

anyway - I cannot get this undo crash.

avox

2007-04-26 15:42

updater   ~0016026

fixed by calling guidePalette->setDoc(NULL) before deleting pages

Issue History

Date Modified Username Field Change
2007-04-15 09:58 Tsoots New Issue
2007-04-15 21:40 cbradney Relationship added child of 0003964
2007-04-16 19:45 avox Status new => assigned
2007-04-16 19:45 avox Assigned To => subik
2007-04-17 12:46 subik Note Added: 0015929
2007-04-23 20:03 subik Note Added: 0015974
2007-04-23 20:04 subik Note Added: 0015975
2007-04-23 20:16 cbradney Note Added: 0015977
2007-04-23 20:21 cbradney Note Added: 0015979
2007-04-23 20:31 cbradney Note Added: 0015980
2007-04-23 20:48 cbradney Note Added: 0015981
2007-04-23 21:00 cbradney Assigned To subik => cbradney
2007-04-23 21:03 cbradney Status assigned => resolved
2007-04-23 21:03 cbradney Fixed in Version => 1.3.4cvs
2007-04-23 21:03 cbradney Resolution open => fixed
2007-04-23 21:06 cbradney Status resolved => assigned
2007-04-23 21:06 cbradney Assigned To cbradney => Tsoots
2007-04-23 21:09 cbradney Note Added: 0015983
2007-04-24 04:50 subik Note Added: 0015987
2007-04-24 07:47 subik Note Added: 0015991
2007-04-26 15:41 avox Assigned To Tsoots => avox
2007-04-26 15:42 avox Status assigned => resolved
2007-04-26 15:42 avox Note Added: 0016026
2007-05-02 20:06 cbradney Status resolved => closed