Bug 270594 - kwalletemanager crashes when kmail uses it
Summary: kwalletemanager crashes when kmail uses it
Status: RESOLVED NOT A BUG
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 15:09 UTC by Sergio Martins
Modified: 2011-04-14 19:01 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 Sergio Martins 2011-04-10 15:09:04 UTC
Version:           unspecified (using Devel) 
OS:                Linux

(gdb) thread apply all bt

Thread 1 (Thread 10694):
#0  0x00007fa05318fab0 in QScopedPointer<QBrushData, QBrushDataPointerDeleter>::data (this=0x70002f00730001)
    at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#1  0x00007fa05318fdfa in operator==<QBrushData, QBrushDataPointerDeleter> (lhs=..., rhs=...) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:176
#2  0x00007fa05318c2bd in QBrush::operator= (this=0x1c7ade8, b=...) at painting/qbrush.cpp:630
#3  0x00007fa054c059e9 in KStatefulBrushPrivate::operator= (this=0x1c7ade8) at /data/sources/kde/trunk/kdelibs/kdeui/colors/kcolorscheme.cpp:547
#4  0x00007fa054c02b6f in KStatefulBrush::KStatefulBrush (this=0x1c41ab8, other=...) at /data/sources/kde/trunk/kdelibs/kdeui/colors/kcolorscheme.cpp:609
#5  0x00007fa048cb3199 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#6  0x00007fa048cb2ec4 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#7  0x00007fa048cb4175 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#8  0x00007fa048cd1b1a in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#9  0x00007fa0530905a9 in QWidget::event (this=0x1c8bc40, event=0x7fffe7461970) at kernel/qwidget.cpp:8345
#10 0x00007fa0535498eb in QFrame::event (this=0x1c8bc40, e=0x7fffe7461970) at widgets/qframe.cpp:557
#11 0x00007fa053029650 in QApplicationPrivate::notify_helper (this=0x1b41040, receiver=0x1c8bc40, e=0x7fffe7461970) at kernel/qapplication.cpp:4462
#12 0x00007fa053029350 in QApplication::notify (this=0x7fffe7462af0, receiver=0x1c8bc40, e=0x7fffe7461970) at kernel/qapplication.cpp:4427
#13 0x00007fa054cc0366 in KApplication::notify (this=0x7fffe7462af0, receiver=0x1c8bc40, event=0x7fffe7461970)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#14 0x00007fa053f6dde3 in QCoreApplication::notifyInternal (this=0x7fffe7462af0, receiver=0x1c8bc40, event=0x7fffe7461970) at kernel/qcoreapplication.cpp:731
#15 0x00007fa053f71b15 in QCoreApplication::sendEvent (receiver=0x1c8bc40, event=0x7fffe7461970) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 0x00007fa053092008 in QWidget::ensurePolished (this=0x1c8bc40) at kernel/qwidget.cpp:9596
#17 0x00007fa053092076 in QWidget::ensurePolished (this=0x7fffe7462a70) at kernel/qwidget.cpp:9605
#18 0x00007fa05309057c in QWidget::event (this=0x7fffe7462a70, event=0x1c822a0) at kernel/qwidget.cpp:8341
#19 0x00007fa05356d32a in QMainWindow::event (this=0x7fffe7462a70, event=0x1c822a0) at widgets/qmainwindow.cpp:1480
#20 0x00007fa054da7120 in KXmlGuiWindow::event (this=0x7fffe7462a70, ev=0x1c822a0) at /data/sources/kde/trunk/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126
#21 0x00007fa053029650 in QApplicationPrivate::notify_helper (this=0x1b41040, receiver=0x7fffe7462a70, e=0x1c822a0) at kernel/qapplication.cpp:4462
#22 0x00007fa053029350 in QApplication::notify (this=0x7fffe7462af0, receiver=0x7fffe7462a70, e=0x1c822a0) at kernel/qapplication.cpp:4427
#23 0x00007fa054cc0366 in KApplication::notify (this=0x7fffe7462af0, receiver=0x7fffe7462a70, event=0x1c822a0)
    at /data/sources/kde/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#24 0x00007fa053f6dde3 in QCoreApplication::notifyInternal (this=0x7fffe7462af0, receiver=0x7fffe7462a70, event=0x1c822a0) at kernel/qcoreapplication.cpp:731
#25 0x00007fa053f71b15 in QCoreApplication::sendEvent (receiver=0x7fffe7462a70, event=0x1c822a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 0x00007fa053f6f01c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1af25e0) at kernel/qcoreapplication.cpp:1372
#27 0x00007fa053f6ec3d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
---Type <return> to continue, or q <return> to quit---
#28 0x00007fa053fa765b in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 0x00007fa053fa6614 in postEventSourceDispatch (s=0x1b446e0) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007fa04c4bdbf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007fa04c4be3d0 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007fa04c4be66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007fa053fa6f03 in QEventDispatcherGlib::processEvents (this=0x1af21e0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007fa0531021a6 in QGuiEventDispatcherGlib::processEvents (this=0x1af21e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fa053f6b946 in QEventLoop::processEvents (this=0x7fffe74629c0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fa053f6ba9a in QEventLoop::exec (this=0x7fffe74629c0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007fa053f6e4d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x00007fa0530267ec in QApplication::exec () at kernel/qapplication.cpp:3736
#39 0x000000000042033d in _start ()

Reproducible: Didn't try

Steps to Reproduce:
Started kmail, configured an imap account, got a backtrace.
Comment 1 Hugo Pereira Da Costa 2011-04-14 10:42:25 UTC
you're missing the debugging symbols for oxygen
(see /usr/lib/kde4/plugins/styles/oxygen.so), which I'd need for debugging.
Could you install the debug packages for kde-workspace ?

Also: does the crash occur every time ?
Comment 2 Sergio Martins 2011-04-14 18:05:33 UTC
That oxygen.so is from my distribution ( kde-4.6.2 ), but i have a devel environment with master compiled.

I don't know why it's picking up the wrong one.

Anyway, feel free to close as invalid as this is probably the cause. I'll reopen if it still happens with oxygen.so from master.
Comment 3 Hugo Pereira Da Costa 2011-04-14 19:01:31 UTC
Oh,
yes, that it picks the wrong one is likely the cause,
And I do know the reason why: Qt adds its own guess concerning your kde installation for pluggin path, disregarding your compiled version.
You can change that by editing $HOME/.config/Trolltech.conf
(look for library_path). 

That should fix it.

(alternatively, make a backup copy of the old oxygen.so, and link the right one there instead).

Closing, as requested ;)