View Issue Details

IDProjectCategoryView StatusLast Update
0002969ScribusInternalpublic2006-01-10 13:47
Reporterjo-hannes Assigned Tocbradney  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.2cvs 
Fixed in Version1.3.2cvs 
Summary0002969: Undoing creation of any object crashes Scribus
Description.
TagsNo tags attached.
Patch

Relationships

has duplicate 0002940 closedcbradney Segfault after duplicating pages and going back 
child of 0005745 closed Metabug: Undo/Redo issues 

Activities

ringerc

2006-01-06 20:59

reporter   ~0007947

ASSERT: "currDoc->DocItems.at(Nr)!=0" in tree.cpp (186)
ASSERT: "currDoc->DocItems.at(Nr)!=0" in tree.cpp (186)
QGDict::hashKeyString: Invalid null key

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208112672 (LWP 7994)]
0x057ed2da in QString (this=0xbfdf2020, s=@0x14) at tools/qstring.cpp:1395
1395        d(s.d)
(gdb) bt
#0  0x057ed2da in QString (this=0xbfdf2020, s=@0x14) at tools/qstring.cpp:1395
0000001  0x0826a8d5 in Foi::family (this=0x0) at scfonts.h:75
0000002  0x08269c6a in FontComboH::setCurrentFont (this=0x8b6bb88, f=@0xbfdf2070)
    at fontcombo.cpp:150
0000003  0x082fc7eb in Mpalette::setFontFace (this=0x8cde600, newFont=@0xbfdf20d0)
    at mpalette.cpp:1794
0000004  0x0831cf9d in Mpalette::qt_invoke (this=0x8cde600, _id=71, _o=0xbfdf2194)
    at mpalette.moc:724
0000005  0x054e4e17 in QObject::activate_signal (this=0xef6af98, clist=0x8e25698,
    o=0xbfdf2194) at kernel/qobject.cpp:2379
0000006  0x054e587e in QObject::activate_signal (this=0xef6af98, signal=19,
    param=@0xbfdf21f4) at kernel/qobject.cpp:2450
0000007  0x08336575 in PageItem::textFont (this=0xef6af98, t0=@0xbfdf2228)
    at pageitem.moc:506
0000008  0x0833a4df in PageItem::setFont (this=0xef6af98, newFont=@0xbfdf22b4)
    at pageitem.cpp:1789
0000009  0x084c7644 in ScribusView::ItemFont (this=0xb211628, fon=@0xbfdf22b4)
    at scribusview.cpp:9074
0000010 0x0833f6eb in PageItem::restoreFont (this=0xef6af98, state=0xb078a48,
    isUndo=true) at pageitem.cpp:2548
0000011 0x08351f87 in PageItem::restore (this=0xef6af98, state=0xb078a48,
    isUndo=true) at pageitem.cpp:2273
0000012 0x085bcf95 in UndoManager::doTransactionUndo (this=0x899ae98,
---Type <return> to continue, or q <return> to quit---
    tstate=0xca27990) at undomanager.cpp:492
0000013 0x085bfdc6 in UndoManager::doUndo (this=0x899ae98, steps=1)
    at undomanager.cpp:430
0000014 0x085bfe47 in UndoManager::undo (this=0x899ae98, steps=1)
    at undomanager.cpp:404
0000015 0x085c0962 in UndoManager::qt_invoke (this=dwarf2_read_address: Corrupted DWARF expression.
) at undomanager.moc:218
0000016 0x054e4eb4 in QObject::activate_signal (this=0x897f928, clist=0x89a0ca0,
    o=0xbfdf2524) at kernel/qobject.cpp:2355
0000017 0x054e54e8 in QObject::activate_signal (this=0x897f928, signal=4, param=1)
    at kernel/qobject.cpp:2448
0000018 0x08483dab in ScrAction::activatedData (this=0x897f928, t0=1)
    at scraction.moc:128
0000019 0x08484c60 in ScrAction::activatedToActivatedData (this=0x897f928)
    at scraction.cpp:105
0000020 0x08484fe8 in ScrAction::qt_invoke (this=0x897f928, _id=14, _o=0xbfdf2658)
    at scraction.moc:205
0000021 0x054e4eb4 in QObject::activate_signal (this=0x897f928, clist=0x8977b30,
    o=0xbfdf2658) at kernel/qobject.cpp:2355
0000022 0x054e5374 in QObject::activate_signal (this=0x897f928, signal=2)
    at kernel/qobject.cpp:2324
0000023 0x0587eee9 in QAction::activated (this=0x14)
    at .moc/release-shared-mt/moc_qaction.cpp:150
0000024 0x0563649f in QAction::internalActivation (this=0x897f928)
---Type <return> to continue, or q <return> to quit---
    at widgets/qaction.cpp:979
0000025 0x0587f0ad in QAction::qt_invoke (this=0x897f928, _id=8, _o=0xbfdf2774)
    at .moc/release-shared-mt/moc_qaction.cpp:168
0000026 0x0848502c in ScrAction::qt_invoke (this=0x897f928, _id=8, _o=0xbfdf2774)
    at scraction.moc:208
0000027 0x054e4eb4 in QObject::activate_signal (this=0x8a16c80, clist=0x8a16d28,
    o=0xbfdf2774) at kernel/qobject.cpp:2355
0000028 0x0585d2e6 in QSignal::signal (this=0x8a16c80, t0=@0x14)
    at .moc/release-shared-mt/moc_qsignal.cpp:100
0000029 0x05502693 in QSignal::activate (this=0x8a16c80) at kernel/qsignal.cpp:212
0000030 0x055f95e2 in QPopupMenu::mouseReleaseEvent (this=0x8a16688, e=0xbfdf2ba4)
    at widgets/qpopupmenu.cpp:1693
0000031 0x05523187 in QWidget::event (this=0x8a16688, e=0xbfdf2ba4)
    at kernel/qwidget.cpp:4699
0000032 0x054800dd in QApplication::internalNotify (this=0x14, receiver=0x8a16688,
    e=0xbfdf2ba4) at kernel/qapplication.cpp:2635
0000033 0x0548103f in QApplication::notify (this=0xbfdf2f38, receiver=0x8a16688,
    e=0xbfdf2ba4) at kernel/qapplication.cpp:2421
0000034 0x05417b4d in QETWidget::translateMouseEvent (this=0x8a16688,
    event=0xbfdf2e68) at kernel/qapplication.h:518
0000035 0x05415f01 in QApplication::x11ProcessEvent (this=0xbfdf2f38,
    event=0xbfdf2e68) at kernel/qapplication_x11.cpp:3468
0000036 0x0542a008 in QEventLoop::processEvents (this=0x89126a0, flags=Variable "flags" is not available.
)
---Type <return> to continue, or q <return> to quit---
    at kernel/qeventloop_x11.cpp:192
0000037 0x05498812 in QEventLoop::enterLoop (this=0x89126a0)
    at kernel/qeventloop.cpp:198
0000038 0x05498736 in QEventLoop::exec (this=0x89126a0)
    at kernel/qeventloop.cpp:145
0000039 0x0547faa9 in QApplication::exec (this=0xbfdf2f38)
    at kernel/qapplication.cpp:2758
0000040 0x0862bdd5 in mainApp (argc=1, argv=0xbfdf3054) at main_nix.cpp:69
0000041 0x0862be22 in main (argc=1, argv=0xbfdf3054) at main_nix.cpp:44
(gdb)

ringerc

2006-01-06 21:00

reporter   ~0007948

Note that undo doesn't get enabled when you end drawing with esc, only if you end drawing with a right click.

ringerc

2006-01-07 11:41

reporter   ~0007961

Reminder sent to: Tsoots

Riku, any ideas?

jo-hannes

2006-01-09 15:01

developer   ~0007987

cannot replicate here always, sometimes it crashes after a third undo action or after a fourth, but sometmes also immediately.

Issue History

Date Modified Username Field Change
2006-01-06 20:58 jo-hannes New Issue
2006-01-06 20:59 ringerc Note Added: 0007947
2006-01-06 20:59 ringerc Status new => confirmed
2006-01-06 21:00 ringerc Note Added: 0007948
2006-01-07 11:39 ringerc Severity crash => block
2006-01-07 11:39 ringerc Category - => Internal
2006-01-07 11:39 ringerc Summary draw any bezier curve and press undo - crash => Undoing creation of any object crashes Scribus
2006-01-07 11:41 ringerc Note Added: 0007961
2006-01-09 15:01 jo-hannes Note Added: 0007987
2006-01-09 20:46 cbradney Status confirmed => assigned
2006-01-09 20:46 cbradney Assigned To => cbradney
2006-01-09 20:49 cbradney Status assigned => resolved
2006-01-09 20:49 cbradney Fixed in Version => 1.3.2cvs
2006-01-09 20:49 cbradney Resolution open => fixed
2006-01-10 13:47 cbradney Status resolved => closed
2006-01-10 19:52 cbradney Relationship added has duplicate 0002940
2007-05-23 20:39 christoph_s Relationship added child of 0005745