Bug 192540

Summary: Modified toolbar of akregator ended up in a crash
Product: [Applications] akregator Reporter: Alex Back <alex.back>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: cbo, cfeck, christophe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Back 2009-05-13 08:34:00 UTC
Version:           Kontact 1.4.2 (using KDE 4.2.2)
Compiler:          gcc 4.3.2 20081105 (Red Hat 4.3.2-7) 
OS:                Linux
Installed from:    Fedora RPMs

I modified the toolbar of akregator (adding a toolbar icon) and right after I clicked "OK" at the dialog Kontact crashed.

Here's the backtrace:

--snip--
Application: Kontact (kontact), signal SIGSEGV
[Current thread is 1 (Thread 0xb8052770 (LWP 2481))]

Thread 2 (Thread 0xb29ffb90 (LWP 2508)):
#0  0x005a0416 in __kernel_vsyscall ()
#1  0x0151d3d1 in select () from /lib/libc.so.6
#2  0x03b34b67 in ?? () from /usr/lib/libQtCore.so.4
#3  0x03a62e2e in ?? () from /usr/lib/libQtCore.so.4
#4  0x0048151f in start_thread (arg=0xb29ffb90) at pthread_create.c:297
#5  0x0152504e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb8052770 (LWP 2481)):
[KCrash Handler]
#6  0x01ec016e in QWidget::testAttribute_helper () from /usr/lib/libQtGui.so.4
#7  0x01ec87e2 in QWidgetPrivate::naturalWidgetPalette () from /usr/lib/libQtGui.so.4
#8  0x01ec90cf in QWidgetPrivate::resolvePalette () from /usr/lib/libQtGui.so.4
#9  0x01ec8ee3 in QWidgetPrivate::propagatePaletteChange () from /usr/lib/libQtGui.so.4
#10 0x01ec91b6 in QWidget::setBackgroundRole () from /usr/lib/libQtGui.so.4
#11 0x0614a370 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#12 0x01ecea6d in QWidget::event () from /usr/lib/libQtGui.so.4
#13 0x02338b9f in QToolBar::event () from /usr/lib/libQtGui.so.4
#14 0x01e77cec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#15 0x01e800b2 in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0x02e9ba1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0x03b570fb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0x01ec3101 in QWidget::ensurePolished () from /usr/lib/libQtGui.so.4
#19 0x01ecea2a in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0x02338b9f in QToolBar::event () from /usr/lib/libQtGui.so.4
#21 0x01e77cec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#22 0x01e800b2 in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0x02e9ba1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#24 0x03b570fb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#25 0x03b57d55 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#26 0x03b57f4d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#27 0x03b82edf in ?? () from /usr/lib/libQtCore.so.4
#28 0x04fb9258 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x04fbc903 in ?? () from /lib/libglib-2.0.so.0
#30 0x04fbcac1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x03b82b28 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#32 0x01f17665 in ?? () from /usr/lib/libQtGui.so.4
#33 0x03b5572a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0x03b55b6a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0x03b58019 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0x01e77b67 in QApplication::exec () from /usr/lib/libQtGui.so.4
#37 0x0804bc1f in _start ()
--snip--
Comment 1 Camilla Boemann 2009-05-20 15:15:31 UTC
doesn't look like an oxygen bug
Comment 2 Christoph Feck 2009-05-20 16:23:52 UTC
Casper, look at the backtrace, at #11 it comes from Oxygen, then does some color related calls and crashes inside Qt. So it may be a Qt bug, but that depends on what Oxygen does with the palette. Looking further, Oxygen is called from ensurePolished() (#18), so maybe have a look at what Oxygen does in polish().

Alex, if this is reproducable, please install full debug packages, and report with full backtrace.
Comment 3 Camilla Boemann 2009-05-21 14:08:46 UTC
the  call i do to the toolbar in oxygen is:

        widget->setBackgroundRole(QPalette::NoRole);

so it does sound like a qt problem

looking forward to backtrace with debug symbols
Comment 4 Alex Back 2009-05-22 13:09:23 UTC
@Casper
I'll send in a backtrace with debug symbols the next time I'll encounter this issue.
Comment 5 Christophe Marin 2009-06-21 22:54:56 UTC
Changing the bug status until we get a bt with debug symbols.
Comment 6 Christophe Marin 2009-10-23 17:00:14 UTC
Closing the old crash reports which don't have a useful backtrace. Thanks.