Summary: | use-after-free crash on closing cervisia having opened the configure menu | ||
---|---|---|---|
Product: | [Applications] cervisia | Reporter: | Santhiar <santhiar.anirudh> |
Component: | general | Assignee: | Christian Loose <christian.loose> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screenshot showing that the configure dialog is not application modal |
Description
Santhiar
2015-12-14 04:55:54 UTC
Created attachment 96053 [details]
screenshot showing that the configure dialog is not application modal
In the version of cervisia that ships with Ubuntu 12.04, the crash can be triggered without using qdbus, by directly closing the application from the File menu when the configure menu is open. The configure menu is not application modal: see the screen shot attached to the comment above. Here is the associated crash information: ============= Version Details ============= Qt: 4.8.6 KDE Development Platform: 4.13.3 Cervisia: 3.10.0 ================= KCrash Stack Trace ================= Application: Cervisia (cervisia), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fc9d84337c0 (LWP 7709))] Thread 3 (Thread 0x7fc9c1e11700 (LWP 7710)): #0 __pthread_mutex_unlock_usercnt (decr=1, mutex=0xdbef80) at pthread_mutex_unlock.c:51 #1 __GI___pthread_mutex_unlock (mutex=0xdbef80) at pthread_mutex_unlock.c:310 #2 0x00007fc9d0c039b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fc9d0bc18f9 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fc9d0bc1f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fc9d0bc230a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007fc9c9bb2336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #7 0x00007fc9d0be6f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007fc9d341f182 in start_thread (arg=0x7fc9c1e11700) at pthread_create.c:312 #9 0x00007fc9d7d3847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fc9c1610700 (LWP 7711)): #0 0x00007fc9d7d2b12d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc9d0bc1fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fc9d0bc20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fc9d0bc2129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fc9d0be6f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fc9d341f182 in start_thread (arg=0x7fc9c1610700) at pthread_create.c:312 #6 0x00007fc9d7d3847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fc9d84337c0 (LWP 7709)): [KCrash Handler] #6 QSplitter::setOrientation (this=0xee40c0, orientation=Qt::Vertical) at widgets/qsplitter.cpp:1082 #7 0x00007fc9ab2e0c88 in CervisiaPart::slotConfigure (this=0xeddfe0) at ../cervisiapart.cpp:1724 #8 0x00007fc9ab2ea485 in CervisiaPart::qt_static_metacall (_o=0xeddfe0, _id=2, _a=0x7fc9d7ffc778 <main_arena+24>, _c=<optimized out>) at ./cervisiapart.moc:191 #9 0x00007fc9d5f1687a in QMetaObject::activate (sender=sender@entry=0xf96a90, m=m@entry=0x7fc9d5acade0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd96176130) at kernel/qobject.cpp:3539 #10 0x00007fc9d501aa62 in QAction::triggered (this=this@entry=0xf96a90, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #11 0x00007fc9d501c433 in QAction::activate (this=0xf96a90, event=<optimized out>) at kernel/qaction.cpp:1257 #12 0x00007fc9d5f1ac1e in QObject::event (this=0xf96a90, e=e@entry=0x10f7390) at kernel/qobject.cpp:1194 #13 0x00007fc9d501c4f2 in QAction::event (this=<optimized out>, e=e@entry=0x10f7390) at kernel/qaction.cpp:1187 #14 0x00007fc9d6876e9f in KAction::event (this=<optimized out>, event=0x10f7390) at ../../kdeui/actions/kaction.cpp:131 #15 0x00007fc9d5020e2c in QApplicationPrivate::notify_helper (this=this@entry=0xc46410, receiver=receiver@entry=0xf96a90, e=e@entry=0x10f7390) at kernel/qapplication.cpp:4567 #16 0x00007fc9d50274a0 in QApplication::notify (this=this@entry=0x7ffd961769f0, receiver=receiver@entry=0xf96a90, e=e@entry=0x10f7390) at kernel/qapplication.cpp:4353 #17 0x00007fc9d694cd1a in KApplication::notify (this=0x7ffd961769f0, receiver=0xf96a90, event=0x10f7390) at ../../kdeui/kernel/kapplication.cpp:311 #18 0x00007fc9d5f024dd in QCoreApplication::notifyInternal (this=0x7ffd961769f0, receiver=receiver@entry=0xf96a90, event=event@entry=0x10f7390) at kernel/qcoreapplication.cpp:953 #19 0x00007fc9d5f05b3d in sendEvent (event=0x10f7390, receiver=0xf96a90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #20 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xc0e670) at kernel/qcoreapplication.cpp:1577 #21 0x00007fc9d5f05fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470 #22 0x00007fc9d5f2ff83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #23 postEventSourceDispatch (s=0xc42590) at kernel/qeventdispatcher_glib.cpp:287 #24 0x00007fc9d0bc1e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007fc9d0bc2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007fc9d0bc20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007fc9d5f2f7a1 in QEventDispatcherGlib::processEvents (this=0xc0fb50, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #28 0x00007fc9d50c2be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #29 0x00007fc9d5f010af in QEventLoop::processEvents (this=this@entry=0x7ffd96176880, flags=...) at kernel/qeventloop.cpp:149 #30 0x00007fc9d5f013a5 in QEventLoop::exec (this=this@entry=0x7ffd96176880, flags=...) at kernel/qeventloop.cpp:204 #31 0x00007fc9d5f06b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #32 0x00007fc9d501f37c in QApplication::exec () at kernel/qapplication.cpp:3828 #33 0x00007fc9d8050589 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../main.cpp:205 #34 0x00007fc9d7c5fec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7ffd96176b28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd96176b18) at libc-start.c:287 #35 0x00000000004006fe in _start () Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |