Bug 324685

Summary: Umbrello crash, when i try to import qt (c++) code
Product: [Applications] umbrello Reporter: Maxim <ya.maxis11>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash CC: ralf.habacker
Priority: NOR Keywords: drkonqi
Version: 2.11.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maxim 2013-09-09 03:08:29 UTC
Application: umbrello (2.11.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.4
Operating System: Linux 3.11.0-5-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

I try to import code, then program crashed, when i clicked in history of commands

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

Thread 4 (Thread 0x7f3f00810700 (LWP 9096)):
#0  0x00007f3f0e4673dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3f0b1bd5c4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f0b1bd6cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3f0fdb8a76 in QEventDispatcherGlib::processEvents (this=0x7f3efc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3f0fd8a5ef in QEventLoop::processEvents (this=this@entry=0x7f3f0080fd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3f0fd8a8e5 in QEventLoop::exec (this=this@entry=0x7f3f0080fd70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3f0fc8988f in QThread::exec (this=this@entry=0x13855e0) at thread/qthread.cpp:542
#7  0x00007f3f0fd6bd13 in QInotifyFileSystemWatcherEngine::run (this=0x13855e0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f3f0fc8bf2f in QThreadPrivate::start (arg=0x13855e0) at thread/qthread_unix.cpp:338
#9  0x00007f3f0b682f6e in start_thread (arg=0x7f3f00810700) at pthread_create.c:311
#10 0x00007f3f0e473e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f3ef8b1d700 (LWP 9098)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3f0fc8c406 in wait (time=18446744073709551615, this=0x18c9430) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x18c8fb8, mutex=mutex@entry=0x18c8fb0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3f0f605086 in QFileInfoGatherer::run (this=0x18c8fa0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f3f0fc8bf2f in QThreadPrivate::start (arg=0x18c8fa0) at thread/qthread_unix.cpp:338
#5  0x00007f3f0b682f6e in start_thread (arg=0x7f3ef8b1d700) at pthread_create.c:311
#6  0x00007f3f0e473e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3ef3fff700 (LWP 9099)):
#0  0x00007f3f0e465b1d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3f0b1fc7f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3f0b1bd0ec in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3f0b1bd55b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3f0b1bd6cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3f0fdb8a76 in QEventDispatcherGlib::processEvents (this=0x7f3eec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f3f0fd8a5ef in QEventLoop::processEvents (this=this@entry=0x7f3ef3ffed70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3f0fd8a8e5 in QEventLoop::exec (this=this@entry=0x7f3ef3ffed70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3f0fc8988f in QThread::exec (this=this@entry=0x18c7be0) at thread/qthread.cpp:542
#9  0x00007f3f0fd6bd13 in QInotifyFileSystemWatcherEngine::run (this=0x18c7be0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f3f0fc8bf2f in QThreadPrivate::start (arg=0x18c7be0) at thread/qthread_unix.cpp:338
#11 0x00007f3f0b682f6e in start_thread (arg=0x7f3ef3fff700) at pthread_create.c:311
#12 0x00007f3f0e473e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3f11f637c0 (LWP 9095)):
[KCrash Handler]
#6  0x00007f3f0fd9f7e7 in isSignalConnected (signal_index=2, this=0x100000003) at kernel/qobject_p.h:237
#7  QMetaObject::activate (sender=0x1c4fd90, m=<optimized out>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3448
#8  0x00007f3f0f75d4b8 in QUndoStack::setIndex (this=<optimized out>, idx=1) at util/qundostack.cpp:782
#9  0x00007f3f0fd9fa58 in QMetaObject::activate (sender=sender@entry=0x16e74d0, m=m@entry=0x7f3f0fbeefc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffd7744c40) at kernel/qobject.cpp:3539
#10 0x00007f3f0f670c7a in QItemSelectionModel::currentChanged (this=this@entry=0x16e74d0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:173
#11 0x00007f3f0f670d5d in QItemSelectionModel::setCurrentIndex (this=0x16e74d0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#12 0x00007f3f0f622e14 in QAbstractItemView::mousePressEvent (this=0x16e3c10, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#13 0x00007f3f0f178191 in QWidget::event (this=this@entry=0x16e3c10, event=event@entry=0x7fffd77454a0) at kernel/qwidget.cpp:8371
#14 0x00007f3f0f5195ce in QFrame::event (this=0x16e3c10, e=0x7fffd77454a0) at widgets/qframe.cpp:557
#15 0x00007f3f0f6286b3 in QAbstractItemView::viewportEvent (this=0x16e3c10, event=0x7fffd77454a0) at itemviews/qabstractitemview.cpp:1644
#16 0x00007f3f0fd8ba26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x11b2d80, receiver=receiver@entry=0x16e39a0, event=event@entry=0x7fffd77454a0) at kernel/qcoreapplication.cpp:1056
#17 0x00007f3f0f128ddc in QApplicationPrivate::notify_helper (this=this@entry=0x11b2d80, receiver=receiver@entry=0x16e39a0, e=e@entry=0x7fffd77454a0) at kernel/qapplication.cpp:4563
#18 0x00007f3f0f12f5ad in QApplication::notify (this=this@entry=0x7fffd7745e80, receiver=receiver@entry=0x16e39a0, e=e@entry=0x7fffd77454a0) at kernel/qapplication.cpp:4110
#19 0x00007f3f10a2b9aa in KApplication::notify (this=0x7fffd7745e80, receiver=0x16e39a0, event=0x7fffd77454a0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f3f0fd8b8bd in QCoreApplication::notifyInternal (this=0x7fffd7745e80, receiver=receiver@entry=0x16e39a0, event=event@entry=0x7fffd77454a0) at kernel/qcoreapplication.cpp:946
#21 0x00007f3f0f12ed63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x16e39a0, event=event@entry=0x7fffd77454a0, alienWidget=alienWidget@entry=0x16e39a0, nativeWidget=nativeWidget@entry=0x16df460, buttonDown=buttonDown@entry=0x7f3f0fc0d2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#23 0x00007f3f0f1a37db in QETWidget::translateMouseEvent (this=this@entry=0x16df460, event=event@entry=0x7fffd7745820) at kernel/qapplication_x11.cpp:4631
#24 0x00007f3f0f1a3079 in QApplication::x11ProcessEvent (this=0x7fffd7745e80, event=event@entry=0x7fffd7745820) at kernel/qapplication_x11.cpp:3624
#25 0x00007f3f0f1ca922 in x11EventSourceDispatch (s=0x11ad690, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f3f0b1bd2d6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f3f0b1bd628 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f3f0b1bd6cc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f3f0fdb8a55 in QEventDispatcherGlib::processEvents (this=0x117d760, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f3f0f1ca9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f3f0fd8a5ef in QEventLoop::processEvents (this=this@entry=0x7fffd7745c00, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f3f0fd8a8e5 in QEventLoop::exec (this=this@entry=0x7fffd7745c00, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f3f0fd8fe5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#34 0x0000000000438045 in ?? ()
#35 0x00007f3f0e39bde5 in __libc_start_main (main=0x4379a0, argc=1, ubp_av=0x7fffd7745fd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd7745fc8) at libc-start.c:260
#36 0x00000000004397e2 in _start ()

Reported using DrKonqi
Comment 1 Ralf Habacker 2014-02-12 00:34:04 UTC
Undo framework has been refactored by Joris Steyn.