View Issue Details

IDProjectCategoryView StatusLast Update
0004565ScribusGeneralpublic2007-02-09 14:06
Reporterhhielscher Assigned ToTsoots  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformi586OSMandriva LinuxOS VersionCooker
Product Version1.3.4cvs 
Fixed in Version1.3.4cvs 
Summary0004565: crash at remove default paragraph style
Descriptionremoving default paragraph style causes a segfault

Steps to repoduce:
1. new document
2. Edit / Paragraph Styles
3. Click Delete
4. Click OK

Crashes also if the default paragraph style is deleted with the style manager.
Additional Information(gdb) run
Starting program: /opt/scribus134cvs/bin/scribus
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xffffe000
[Thread debugging using libthread_db enabled]
[New Thread -1209612064 (LWP 29379)]
Detaching after fork from child process 29382.
Detaching after fork from child process 29383.
Detaching after fork from child process 29384.
Detaching after fork from child process 29385.
Detaching after fork from child process 29386.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209612064 (LWP 29379)]
0x08310c64 in StilFormate::selFormat (this=0x9229a70, c=0x0)
    at /home/helge/Desktop/download/scribus-cvs/Scribus/scribus/editformats.cpp:222
222 if (TempVorl[x].name() == c->text())
(gdb) bt
#0 0x08310c64 in StilFormate::selFormat (this=0x9229a70, c=0x0)
    at /home/helge/Desktop/download/scribus-cvs/Scribus/scribus/editformats.cpp:222
0000001 0x0831766e in StilFormate::qt_invoke (this=0x9229a70, _id=52, _o=0xbfd60a04)
    at /home/helge/Desktop/download/scribus-cvs/builddir/scribus/editformats.moc:284
0000002 0x4af6804d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000003 0x4b28c831 in QListBox::highlighted () from /usr/lib/qt3/lib/libqt-mt.so.3
0000004 0x4b03d811 in QListBox::takeItem () from /usr/lib/qt3/lib/libqt-mt.so.3
0000005 0x4b03da38 in QListBoxItem::~QListBoxItem$base () from /usr/lib/qt3/lib/libqt-mt.so.3
0000006 0x4b03db8d in QListBoxText::~QListBoxText$delete () from /usr/lib/qt3/lib/libqt-mt.so.3
0000007 0x4b03c600 in QListBox::removeItem () from /usr/lib/qt3/lib/libqt-mt.so.3
0000008 0x08317530 in StilFormate::deleteFormat (this=0x9229a70)
    at /home/helge/Desktop/download/scribus-cvs/Scribus/scribus/editformats.cpp:365
0000009 0x083176ce in StilFormate::qt_invoke (this=0x9229a70, _id=57, _o=0xbfd60bd8)
    at /home/helge/Desktop/download/scribus-cvs/builddir/scribus/editformats.moc:289
0000010 0x4af6804d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x4af68c5d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x4b281e4c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x4affa14d in QButton::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x4afa0250 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x4af0b037 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x4af0bff9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x4aead719 in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x4aeac696 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x4aebc6aa in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0x4af20a60 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0x4af0a95f in QApplication::enter_loop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000022 0x4b0e9845 in QDialog::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000023 0x086ba1e5 in ScribusMainWindow::slotEditStyles (this=0x8b99af0)
    at /home/helge/Desktop/download/scribus-cvs/Scribus/scribus/scribus.cpp:6488
0000024 0x086cb58c in ScribusMainWindow::qt_invoke (this=0x8b99af0, _id=202, _o=0xbfd614b8)
    at /home/helge/Desktop/download/scribus-cvs/builddir/scribus/scribus.moc:1074
0000025 0x4af6804d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000026 0x4af68c5d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000027 0x4b29c3f9 in QAction::activated () from /usr/lib/qt3/lib/libqt-mt.so.3
0000028 0x4b0a48a0 in QAction::internalActivation () from /usr/lib/qt3/lib/libqt-mt.so.3
0000029 0x4b29c71c in QAction::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3
0000030 0x08660fc1 in ScrAction::qt_invoke (this=0x8f0ea68, _id=8, _o=0xbfd615c4)
    at /home/helge/Desktop/download/scribus-cvs/builddir/scribus/scraction.moc:229
0000031 0x4af6804d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000032 0x4b27a38e in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000033 0x4af83e97 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000034 0x4b06ae97 in QPopupMenu::mouseReleaseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000035 0x4afa0250 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000036 0x4af0b037 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000037 0x4af0bff9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000038 0x4aeadfa8 in QETWidget::translateMouseEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000039 0x4aeac696 in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000040 0x4aebc6aa in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
0000041 0x4af20a60 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000042 0x4af20916 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000043 0x4af0a9ef in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000044 0x08401503 in mainApp (argc=1, argv=0xbfd61ef4)
    at /home/helge/Desktop/download/scribus-cvs/Scribus/scribus/main_nix.cpp:76
0000045 0x0840156a in main (argc=Cannot access memory at address 0x1
) at /home/helge/Desktop/download/scribus-cvs/Scribus/scribus/main_nix.cpp:52
TagsNo tags attached.
Patch

Relationships

child of 0003964 closedplinnell 1.3.4 Release Metabug 

Activities

avox

2006-11-29 18:57

updater   ~0013644

deleting default styles is ignored now.
Tsoots, can you adapt the UI?

Tsoots

2006-11-30 10:51

reporter   ~0013665

Sure. Anyway to tell a style is a default style?

christoph_s

2007-02-09 14:06

developer   ~0015160

Tested, fixed. Thanks.

Issue History

Date Modified Username Field Change
2006-11-21 11:37 hhielscher New Issue
2006-11-26 22:42 avox Status new => assigned
2006-11-26 22:42 avox Assigned To => avox
2006-11-29 18:57 avox Note Added: 0013644
2006-11-29 18:57 avox Assigned To avox => Tsoots
2006-11-29 18:57 avox Fixed in Version => 1.3.4cvs
2006-11-30 10:51 Tsoots Note Added: 0013665
2007-01-04 09:38 cbradney Relationship added child of 0003964
2007-01-31 07:01 Tsoots Status assigned => resolved
2007-01-31 07:01 Tsoots Resolution open => fixed
2007-02-09 14:06 christoph_s Status resolved => closed
2007-02-09 14:06 christoph_s Note Added: 0015160