Bug 130530

Summary: crash when unchecking "use tabbed diagrams"
Product: [Applications] umbrello Reporter: Daniel Franke <franke.daniel>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Franke 2006-07-09 20:34:50 UTC
Version:           1.5.3 (using KDE 3.5.3, Gentoo)
Compiler:          gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (i686) release 2.6.11.11

Switching from tab to tree view crashes umbrello-1.5.3:

1. Open a file (or create a new one)
2. Uncheck Settings -> Configure Umbrello UML Modeller -> General -> Miscellaneous -> Use tabbed diagrams
3. Click OK

(gdb) bt
#0  0x00000006 in ?? ()
#1  0xb71ef7e9 in QDir::absFilePath (this=0x85bc430, fileName=@0xbfffbd90,
    acceptAbsPath=true) at qdir.cpp:404
#2  0x08132f0b in CodeGenerationPolicy::getHeadingFile ()
#3  0x0812ec07 in CodeDocument::updateHeader ()
#4  0x08122626 in ClassifierCodeDocument::synchronize ()
#5  0x082d0c1f in CPPCodeGenerator::syncCodeToDocument ()
#6  0x08134f3c in CodeGenerator::qt_invoke ()
#7  0x082d07b4 in CPPCodeGenerator::qt_invoke ()
#8  0xb6eaf141 in QObject::activate_signal (this=0x85bc400, clist=0x857ad58,
    o=0xbfffbfd0) at qobject.cpp:2380
#9  0xb6eaee63 in QObject::activate_signal (this=0x85bc400, signal=2)
    at qobject.cpp:2325
#10 0x0813261d in CodeGenerationPolicy::modifiedCodeContent ()
#11 0x082e93fd in CPPCodeGenerationPolicyPage::apply ()
#12 0x082e9584 in CPPCodeGenerationPolicyPage::qt_invoke ()
#13 0xb6eaf008 in QObject::activate_signal (this=0x8792e48, clist=0x8764760,
    o=0xbfffc120) at qobject.cpp:2356
#14 0xb6eaee63 in QObject::activate_signal (this=0x8792e48, signal=2)
    at qobject.cpp:2325
#15 0x082ac31f in CodeGenerationOptionsPage::applyClicked ()
#16 0x082ac517 in CodeGenerationOptionsPage::apply ()
#17 0x0827e20a in SettingsDlg::applyPage ()
#18 0x0827e276 in SettingsDlg::slotOk ()
#19 0xb7a44603 in KDialogBase::qt_invoke (this=0x879fbf0, _id=73, _o=0x30)
    at kdialogbase.moc:359
#20 0x0827e55d in SettingsDlg::qt_invoke ()
#21 0xb6eaf008 in QObject::activate_signal (this=0x868d418, clist=0x85f9308,
    o=0xbfffc3e0) at qobject.cpp:2356
#22 0xb6eaee63 in QObject::activate_signal (this=0x868d418, signal=4)
    at qobject.cpp:2325
#23 0xb72a18dd in QButton::clicked (this=0x868d418) at moc_qbutton.cpp:152
#24 0xb6f5e996 in QButton::mouseReleaseEvent (this=0x868d418, e=0xbfffc870)
    at qbutton.cpp:836
#25 0xb6ef28e5 in QWidget::event (this=0x868d418, e=0xbfffc870)
    at qwidget.cpp:4677
#26 0xb6e3dde1 in QApplication::internalNotify (this=0xbfffd9f0,
    receiver=0x868d418, e=0xbfffc870) at qapplication.cpp:2635
#27 0xb6e3d31e in QApplication::notify (this=0xbfffd9f0, receiver=0x868d418,
    e=0xbfffc870) at qapplication.cpp:2421
#28 0xb76b38f2 in KApplication::notify (this=0xbfffd9f0, receiver=0x868d418,
    event=0xbfffc870) at kapplication.cpp:550
#29 0xb6dc3322 in QApplication::sendSpontaneousEvent (receiver=0x868d418,
    event=0xbfffc870) at qapplication.h:499
#30 0xb6dbc876 in QETWidget::translateMouseEvent (this=0x868d418,
    event=0xbfffcc30) at qapplication_x11.cpp:4296
#31 0xb6dba153 in QApplication::x11ProcessEvent (this=0xbfffd9f0,
    event=0xbfffcc30) at qapplication_x11.cpp:3447
#32 0xb6dd85d4 in QEventLoop::processEvents (this=0x84b2d70, flags=4)
    at qeventloop_x11.cpp:192
#33 0xb6e55c9d in QEventLoop::enterLoop (this=0x84b2d70) at qeventloop.cpp:198
#34 0xb6e3dfd1 in QApplication::enter_loop (this=0xbfffd9f0)
    at qapplication.cpp:2793
#35 0xb7089e1e in QDialog::exec (this=0x879fbf0) at qdialog.cpp:432
#36 0x0819f02d in UMLApp::slotPrefs ()
#37 0x081a3f45 in UMLApp::qt_invoke ()
#38 0xb6eaf008 in QObject::activate_signal (this=0x85198f0, clist=0x8519c60,
    o=0xbfffce00) at qobject.cpp:2356
#39 0xb6eaee63 in QObject::activate_signal (this=0x85198f0, signal=2)
    at qobject.cpp:2325
#40 0xb79a5466 in KAction::activated (this=0x6) at kaction.moc:176
#41 0xb79a5ecc in KAction::slotActivated (this=0x85198f0) at kaction.cpp:1102
#42 0xb79a8f17 in KAction::slotPopupActivated (this=0x85198f0)
    at kaction.cpp:1137
#43 0xb79a9062 in KAction::qt_invoke (this=0x85198f0, _id=16, _o=0xbfffcfa0)
    at kaction.moc:219
#44 0xb6eaf008 in QObject::activate_signal (this=0x8546918, clist=0x85469a0,
    o=0xbfffcfa0) at qobject.cpp:2356
#45 0xb7297c49 in QSignal::signal (this=0x8546918, t0=@0x8546940)
    at moc_qsignal.cpp:100
#46 0xb6ed12ab in QSignal::activate (this=0x8546918) at qsignal.cpp:212
#47 0xb6fedde1 in QPopupMenu::mouseReleaseEvent (this=0x8538fb8, e=0xbfffd510)
    at qpopupmenu.cpp:1691
#48 0xb7994ca4 in KPopupMenu::mouseReleaseEvent (this=0x8538fb8, e=0xbfffd510)
    at kpopupmenu.cpp:511
#49 0xb6ef28e5 in QWidget::event (this=0x8538fb8, e=0xbfffd510)
    at qwidget.cpp:4677
#50 0xb6e3dde1 in QApplication::internalNotify (this=0xbfffd9f0,
    receiver=0x8538fb8, e=0xbfffd510) at qapplication.cpp:2635
#51 0xb6e3d31e in QApplication::notify (this=0xbfffd9f0, receiver=0x8538fb8,
    e=0xbfffd510) at qapplication.cpp:2421
#52 0xb76b38f2 in KApplication::notify (this=0xbfffd9f0, receiver=0x8538fb8,
    event=0xbfffd510) at kapplication.cpp:550
#53 0xb6dc3322 in QApplication::sendSpontaneousEvent (receiver=0x8538fb8,
    event=0xbfffd510) at qapplication.h:499
#54 0xb6dbc54f in QETWidget::translateMouseEvent (this=0x8538fb8,
    event=0xbfffd8d0) at qapplication_x11.cpp:4238
#55 0xb6dba153 in QApplication::x11ProcessEvent (this=0xbfffd9f0,
    event=0xbfffd8d0) at qapplication_x11.cpp:3447
#56 0xb6dd85d4 in QEventLoop::processEvents (this=0x84b2d70, flags=4)
    at qeventloop_x11.cpp:192
#57 0xb6e55c9d in QEventLoop::enterLoop (this=0x84b2d70) at qeventloop.cpp:198
#58 0xb6e55bb8 in QEventLoop::exec (this=0x84b2d70) at qeventloop.cpp:145
#59 0xb6e3df75 in QApplication::exec (this=0xbfffd9f0) at qapplication.cpp:2758
#60 0x0816d68e in main ()

(may be related to #98204)
Comment 1 Oliver Kellogg 2006-07-10 00:17:24 UTC
Workaround: Deactivate new code generators - see bugs 84739, 125331, 130067, 130471
Comment 2 Oliver Kellogg 2006-07-14 08:15:12 UTC

*** This bug has been marked as a duplicate of 84739 ***