Bug 329660

Summary: Segmentation fault Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Product: [Applications] umbrello Reporter: Morning Ellergrace <moonsoup>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash CC: ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.11.5 (KDE 4.11.5)
Sentry Crash Report:

Description Morning Ellergrace 2014-01-06 17:38:59 UTC
Application: umbrello (2.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-57-generic-pae i686
Distribution: Ubuntu 12.04.3 LTS

-- Information about the crash:
I made some class instances and then tried to import a file from an xml dump made from mysql workbench. When I could not import the file I exited the import tool and there were no class instaces in the open document. 
I pressed ctl-z and the program crashed.
I hope this helped out.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4b39740 (LWP 20712))]

Thread 4 (Thread 0xae9ffb40 (LWP 20725)):
#0  0xb77d4424 in __kernel_vsyscall ()
#1  0xb58cc460 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4fe1a3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4fd406e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4fd41c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5c748e7 in QEventDispatcherGlib::processEvents (this=0xae000468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb5c4050d in QEventLoop::processEvents (this=0xae9ff240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5c407a9 in QEventLoop::exec (this=0xae9ff240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5b2994c in QThread::exec (this=0xa288ca0) at thread/qthread.cpp:501
#9  0xb5c1db5d in QInotifyFileSystemWatcherEngine::run (this=0xa288ca0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5b2cde0 in QThreadPrivate::start (arg=0xa288ca0) at thread/qthread_unix.cpp:298
#11 0xb57d6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb58dabae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xadd7db40 (LWP 20864)):
#0  0xb77d4424 in __kernel_vsyscall ()
#1  0xb57da96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb58e84bc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5b2d350 in wait (time=4294967295, this=0xa960660) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa4b5004, mutex=0xa4b5000, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6794fa3 in QFileInfoGatherer::run (this=0xa4b4ff8) at dialogs/qfileinfogatherer.cpp:214
#6  0xb5b2cde0 in QThreadPrivate::start (arg=0xa4b4ff8) at thread/qthread_unix.cpp:298
#7  0xb57d6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb58dabae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xad3ffb40 (LWP 20865)):
#0  0xb57d8dc8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb58e86d4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb50133f0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4fd383c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4fd3f6f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4fd41c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5c748e7 in QEventDispatcherGlib::processEvents (this=0xa3485d0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb5c4050d in QEventLoop::processEvents (this=0xad3ff240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb5c407a9 in QEventLoop::exec (this=0xad3ff240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5b2994c in QThread::exec (this=0xa0ef908) at thread/qthread.cpp:501
#10 0xb5c1db5d in QInotifyFileSystemWatcherEngine::run (this=0xa0ef908) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb5b2cde0 in QThreadPrivate::start (arg=0xa0ef908) at thread/qthread_unix.cpp:298
#12 0xb57d6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb58dabae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4b39740 (LWP 20712)):
[KCrash Handler]
#7  deref (this=0x6f0063) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#8  QString::operator= (this=0xa6df220, other=...) at tools/qstring.cpp:1411
#9  0x083cfecb in UMLObject::setNameCmd (this=0xa6df208, strName=...) at ../../../umbrello/umbrello/umlobject.cpp:176
#10 0x082b02a9 in Uml::CmdRenameUMLObject::undo (this=0xa3ee528) at ../../../umbrello/umbrello/cmds/generic/cmd_rename_umlobject.cpp:40
#11 0xb691eb6f in QUndoStack::undo (this=0xa0f7dd0) at util/qundostack.cpp:701
#12 0xb6946d20 in qt_static_metacall (_a=0xbfa99b68, _id=8, _o=0xa0f7dd0, _c=<optimized out>) at .moc/release-shared/moc_qundostack.cpp:82
#13 QUndoStack::qt_static_metacall (_o=0xa0f7dd0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfa99b68) at .moc/release-shared/moc_qundostack.cpp:68
#14 0xb5c586b1 in QMetaObject::activate (sender=0xa192778, m=0xb6b7a3f8, local_signal_index=1, argv=0xbfa99b68) at kernel/qobject.cpp:3547
#15 0xb61fb9bd in QAction::triggered (this=0xa192778, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#16 0xb61fbc5b in QAction::activate (this=0xa192778, event=QAction::Trigger) at kernel/qaction.cpp:1257
#17 0xb61fbdf0 in QAction::event (this=0xa3ee501, e=0x6f0063) at kernel/qaction.cpp:1183
#18 0xb6202ed4 in notify_helper (e=0xbfa99fc8, receiver=0xa192778, this=0x9f65128) at kernel/qapplication.cpp:4559
#19 QApplicationPrivate::notify_helper (this=0x9f65128, receiver=0xa192778, e=0xbfa99fc8) at kernel/qapplication.cpp:4531
#20 0xb620830d in QApplication::notify (this=0xbfa99fc8, receiver=0xa192778, e=0xbfa99fc8) at kernel/qapplication.cpp:4288
#21 0xb6d88e01 in KApplication::notify (this=0xbfa9adcc, receiver=0xa192778, event=0xbfa99fc8) at ../../kdeui/kernel/kapplication.cpp:311
#22 0xb5c4197e in QCoreApplication::notifyInternal (this=0xbfa9adcc, receiver=0xa192778, event=0xbfa99fc8) at kernel/qcoreapplication.cpp:876
#23 0xb623b5f7 in sendEvent (event=0xbfa99fc8, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QShortcutMap::dispatchEvent (this=0x9f651d0, e=0xbfa9a404) at kernel/qshortcutmap.cpp:879
#25 0xb623cbd5 in QShortcutMap::tryShortcutEvent (this=0x9f651d0, o=0xa15e5c8, e=0xbfa9a404) at kernel/qshortcutmap.cpp:364
#26 0xb620a1ec in QApplication::notify (this=0xa15e5c8, receiver=0xa15e5c8, e=0xbfa9a404) at kernel/qapplication.cpp:3983
#27 0xb6d88e01 in KApplication::notify (this=0xbfa9adcc, receiver=0xa15e5c8, event=0xbfa9a404) at ../../kdeui/kernel/kapplication.cpp:311
#28 0xb5c4197e in QCoreApplication::notifyInternal (this=0xbfa9adcc, receiver=0xa15e5c8, event=0xbfa9a404) at kernel/qcoreapplication.cpp:876
#29 0xb6200ced in sendSpontaneousEvent (event=0xbfa9a404, receiver=0xa15e5c8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#30 qt_sendSpontaneousEvent (receiver=0xa15e5c8, event=0xbfa9a404) at kernel/qapplication.cpp:5557
#31 0xb62b7401 in QKeyMapper::sendKeyEvent (keyWidget=0xa15e5c8, grab=false, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=false, count=-1079401468, nativeScanCode=171894017, nativeVirtualKey=171894017, nativeModifiers=171894017) at kernel/qkeymapper_x11.cpp:1866
#32 0xb62b78ab in QKeyMapperPrivate::translateKeyEvent (this=0x9f8af28, keyWidget=0xa15e5c8, event=0xbfa9aa2c, grab=false) at kernel/qkeymapper_x11.cpp:1836
#33 0xb628e7b5 in QApplication::x11ProcessEvent (this=0xbfa9adcc, event=0xbfa9aa2c) at kernel/qapplication_x11.cpp:3625
#34 0xb62bbeac in x11EventSourceDispatch (s=0x9f63fe0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0xb4fd3d46 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb4fd40e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xb4fd41c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb5c74887 in QEventDispatcherGlib::processEvents (this=0x9f43740, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0xb62bbaaa in QGuiEventDispatcherGlib::processEvents (this=0x9f43740, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0xb5c4050d in QEventLoop::processEvents (this=0xbfa9ad24, flags=...) at kernel/qeventloop.cpp:149
#41 0xb5c407a9 in QEventLoop::exec (this=0xbfa9ad24, flags=...) at kernel/qeventloop.cpp:204
#42 0xb5c45eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#43 0xb6200a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#44 0x0807855b in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 307283.

Report to https://bugs.kde.org

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. I made some class instances 
2. using the import wiz tried to import a file from an xml dump made from mysql workbench
3. When I could not import the file I exited the import tool and there were no class instaces in the open document
4. pressed ctl-Z and the program crashed.
Actual Results:  
crashed

Expected Results:  
nothing.
Comment 1 Ralf Habacker 2014-12-02 17:11:15 UTC
undo code has been refactored with version 2.11.5, which fixed most undo related crashes.