Bug 192120 - Difficulty (and crash) when moving toolbars in all sections
Summary: Difficulty (and crash) when moving toolbars in all sections
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-09 13:01 UTC by Marcus Harrison
Modified: 2010-09-19 21:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Harrison 2009-05-09 13:01:23 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Gentoo Packages

Testcase: Move the toolbars of each section in Kontact from the top to the bottom. It can become tedious doing all of them individually, and often I get crashes that give this backtrace:


Application: Kontact (kontact), signal SIGSEGV
[Current thread is 0 (LWP 6982)]

Thread 2 (Thread 0xb07abb90 (LWP 6988)):
#0  0xb7fef424 in __kernel_vsyscall ()
#1  0xb55f10a1 in select () from /lib/libc.so.6
#2  0xb58ee177 in QProcessManager::run (this=0x9471900) at io/qprocess_unix.cpp:305
#3  0xb581ebb0 in QThreadPrivate::start (arg=0x9471900) at thread/qthread_unix.cpp:189
#4  0xb5794170 in start_thread (arg=0xb07abb90) at pthread_create.c:297
#5  0xb55f7d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4885700 (LWP 6982)):
[KCrash Handler]
#6  0xb5dda6cd in QWidgetPrivate::hide_helper (this=0xa450178) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:684
#7  0xb5de1b8d in QWidget::setVisible (this=0xa44ead8, visible=false) at kernel/qwidget.cpp:6984
#8  0xb622e7d5 in QToolBarPrivate::setWindowState (this=0xa450178, floating=true, unplug=true, rect=@0xbfbee868) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:477
#9  0xb622e92b in QToolBarPrivate::unplug (this=0xa450178, _r=@0xbfbee8cc) at widgets/qtoolbar.cpp:401
#10 0xb61c83b4 in QMainWindowLayout::unplug (this=0x9479b28, widget=0xa44ead8) at widgets/qmainwindowlayout.cpp:1798
#11 0xb622e2fb in QToolBarPrivate::startDrag (this=0xa450178, moving=false) at widgets/qtoolbar.cpp:233
#12 0xb622e6a3 in QToolBarPrivate::mouseMoveEvent (this=0xa450178, event=0xbfbeee8c) at widgets/qtoolbar.cpp:352
#13 0xb622ec5f in QToolBar::event (this=0xa44ead8, event=0xbfbeee8c) at widgets/qtoolbar.cpp:1153
#14 0xb5d8650c in QApplicationPrivate::notify_helper (this=0x9477e48, receiver=0xa44ead8, e=0xbfbeee8c) at kernel/qapplication.cpp:4057
#15 0xb5d8fa14 in QApplication::notify (this=0xbfbf083c, receiver=0xa44ead8, e=0xbfbeee8c) at kernel/qapplication.cpp:3759
#16 0xb683ebcd in KApplication::notify (this=0xbfbf083c, receiver=0xa44ead8, event=0xbfbeee8c) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#17 0xb590e2ab in QCoreApplication::notifyInternal (this=0xbfbf083c, receiver=0xa44ead8, event=0xbfbeee8c) at kernel/qcoreapplication.cpp:606
#18 0xb5d8eabf in QApplicationPrivate::sendMouseEvent (receiver=0xa44ead8, event=0xbfbeee8c, alienWidget=0x94f51f8, nativeWidget=0x94798f8, buttonDown=0xb6506ae0, lastMouseReceiver=@0xb6506ae4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#19 0xb5df86e5 in QETWidget::translateMouseEvent (this=0x94798f8, event=0xbfbf045c) at kernel/qapplication_x11.cpp:4448
#20 0xb5df76ed in QApplication::x11ProcessEvent (this=0xbfbf083c, event=0xbfbf045c) at kernel/qapplication_x11.cpp:3566
#21 0xb5e1f52a in x11EventSourceDispatch (s=0x9471680, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#22 0xb4fde6a8 in IA__g_main_context_dispatch (context=0x9471600) at gmain.c:1814
#23 0xb4fe1c0b in g_main_context_iterate (context=0x9471600, block=1, dispatch=1, self=0x9477050) at gmain.c:2448
#24 0xb4fe1d88 in IA__g_main_context_iteration (context=0x9471600, may_block=1) at gmain.c:2511
#25 0xb5938c08 in QEventDispatcherGlib::processEvents (this=0x9477490, flags={i = -1078000104}) at kernel/qeventdispatcher_glib.cpp:324
#26 0xb5e1ec85 in QGuiEventDispatcherGlib::processEvents (this=0x9477490, flags={i = -1078000056}) at kernel/qguieventdispatcher_glib.cpp:202
#27 0xb590ccea in QEventLoop::processEvents (this=0xbfbf06b0, flags={i = -1077999992}) at kernel/qeventloop.cpp:149
#28 0xb590ceaa in QEventLoop::exec (this=0xbfbf06b0, flags={i = -1077999944}) at kernel/qeventloop.cpp:196
#29 0xb5911f21 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0xb5d86237 in QApplication::exec () at kernel/qapplication.cpp:3526
#31 0x0804c242 in main (argc=1, argv=0xbfbf0a34) at /var/tmp/portage/kde-base/kontact-4.2.2/work/kontact-4.2.2/kontact/src/main.cpp:218
Comment 1 Dario Andres 2009-05-09 14:39:30 UTC
What is your Qt4 version? Thanks
Comment 2 Marcus Harrison 2009-05-09 22:16:03 UTC
Qt Version 4.5.1. Didn't realize I'd upgraded from 4.5 - no wander stuff's going faster... :P
Comment 3 Christophe Marin 2010-03-28 20:38:26 UTC
Most issues related to toolbars should be fixed now. Please retry with KDE > 4.4.1 and reopen this report if you're able to reproduce this crash.
Thanks.
Comment 4 Marcus Harrison 2010-03-28 22:06:32 UTC
I can confirm that the crashing has stopped, but there's another bug: unlocking the toolbars in one module doesn't unlock them in all modules. Should I file that bug separately?
Comment 5 Christophe Marin 2010-09-19 21:04:05 UTC
(In reply to comment #4)
> I can confirm that the crashing has stopped, but there's another bug: unlocking
> the toolbars in one module doesn't unlock them in all modules. Should I file
> that bug separately?

Yes please.