Bug 294534 - Plasma crashes when I plugin external HDD and more
Summary: Plasma crashes when I plugin external HDD and more
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-devicenotifier (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 295448 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-20 23:07 UTC by sabayonino
Modified: 2012-04-22 08:58 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Several crash dumps (4.29 KB, application/zip)
2012-03-10 16:35 UTC, Fabio Erculiani
Details
CookBug info (84.29 KB, application/x-bzip2)
2012-03-10 17:18 UTC, sabayonino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sabayonino 2012-02-20 23:07:06 UTC
Application: kwin (4.8.00 (4.8.0))
KDE Platform Version: 4.8.00 (4.8.0) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.6-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

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

I plug-in external HD's  plasma crashes . Panels are gone and background comes black.
Restarting  Kde session doesn't solve.
I must restart the system.

Compositing used : OpenGL or  Xrender  (nvidia GTX560 + 295.20-r1 nvidia-drivers)

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fca8b7b27c0 (LWP 20738))]

Thread 2 (Thread 0x7fca6bfff700 (LWP 20755)):
#0  0x00007fca86560d7c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fca87a6a212 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fca87a6a249 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fca87453354 in ?? () from /usr/lib64/libGL.so.1
#4  0x00007fca8655ce2c in start_thread () from /lib64/libpthread.so.0
#5  0x00007fca8b02b6bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fca8b7b27c0 (LWP 20738)):
[KCrash Handler]
#6  0x00007fca86807cc1 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fca8a551b88 in ?? () from /usr/lib64/libplasma.so.3
#8  0x00007fca8a552469 in ?? () from /usr/lib64/libplasma.so.3
#9  0x00007fca8a553c31 in ?? () from /usr/lib64/libplasma.so.3
#10 0x00007fca868ff881 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fca8a55d54b in ?? () from /usr/lib64/libplasma.so.3
#12 0x00007fca8a55d709 in ?? () from /usr/lib64/libplasma.so.3
#13 0x00007fca868ff881 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fca86904779 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fca85a65274 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fca85a6a0f3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fca8ab17906 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007fca868eba6c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fca8691c8e2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fca8691d394 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fca85b08fbe in ?? () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fca868ea852 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007fca868eaaa7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fca868ef605 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fca8b3352e6 in kdemain () from /usr/lib64/libkdeinit4_kwin.so
#26 0x00007fca8af7538d in __libc_start_main () from /lib64/libc.so.6
#27 0x0000000000400791 in _start ()

Possible duplicates by query: bug 294503, bug 294489, bug 294486, bug 294485, bug 294484.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-02-20 23:59:45 UTC
lacks backtrace informations - see here
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Backtraces

The crash is in libplasma, but if "Restarting  Kde session doesn't solve." and "I must restart the system." that's a kernel issue (possibly on the nvidia driver) - otherwise i'd have bet on some qDeleteAll thing. Does it happen when you just alter the resolution as well? (xrandr -q / xrandr -s <w>x<h>)
Comment 2 sabayonino 2012-02-21 20:59:02 UTC
Hi Thomas.Thanks for the link ; I'll study

I Thought kernel and/or drivers issues but downgrading Kernel (decrease up to 3.1.2) and/or nvidia-drivers  and re-compiling KDE from svn , nothing has changed.

Running KDE 4.8  in my other gentoo installation (Kernel 3.3-rc3 + ati-drivers) I have encountered the same problems.(KDE 4.8 from Gentoo portage tree)


You Asked :
xrandr -q --> http://pastebin.com/D5XLXcNv

setting res. to 1280x1024 : no panels , desktop effects was disable , no background and bug report appears

Checking :

  ~/.xsession-errors --> http://pastebin.com/h6qDwwBr
lspci --> http://pastebin.com/nfNtRru1
Xorg.0.log --> http://pastebin.com/078ukMwk
emerge info --> http://pastebin.com/0rMG01G7
glxinfo --> http://pastebin.com/BYVwrpQr


Can I help you with more information ?

(Now I'm gonna compile KDE from kde-overlay (SVN) and all Its dependences...)

Thanks.
Comment 3 sabayonino 2012-02-21 21:32:46 UTC
For testing this issue I've created a new user called "Test"

This is the first xsession-errors log ---> http://pastebin.com/nCBqeVHA

:(

any help ?
Comment 4 Thomas Lübking 2012-02-21 22:01:07 UTC
We'd really need the backtrace of an unstripped libplasma - xsession errors contain debug statements but don't help on the crash and Xorg.0.log would only help if the X server crashed (what it apparently did not)

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Backtraces

The issue is however clearly related to xrandr, we've recent reports against bug #293648 and bug #293209 - just that the provided backtrace isn't anywhere near those (in fact, it doesn't even look like it's a kwin backtrace despite the header says so) but is directly in libplasma
Comment 5 sabayonino 2012-02-22 21:06:34 UTC
Hi


Dr. Konqi report this after auto-login (no external drive plugged) and desktop has not panels,backgr. etc...

I Can run applications using shortcuts and alt+f2

_______________________________________________________________________

Application: Shell del desktop di Plasma (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faec23e57a0 (LWP 17167))]

Thread 2 (Thread 0x7fae9c536700 (LWP 17758)):
#0  0x00007faebf8fcad3 in poll () from /lib64/libc.so.6
#1  0x00007faebc860968 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007faebc860e2d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007faec1024ed6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007faec0ff1002 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007faec0ff1247 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007faec0ee4018 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007faec0fceb93 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007faec0ee6ebd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007faeb082e354 in ?? () from /usr/lib64/libGL.so.1
#10 0x00007faec0c4fe2c in start_thread () from /lib64/libpthread.so.0
#11 0x00007faebf90572d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7faec23e57a0 (LWP 17167)):
[KCrash Handler]
#6  0x00007faeb413d85b in ?? () from /usr/lib64/qt4/libQtScript.so.4
#7  0x00007faeb413bfdd in ?? () from /usr/lib64/qt4/libQtScript.so.4
#8  0x00007faeb41e5a10 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#9  0x00007faeb412905f in ?? () from /usr/lib64/qt4/libQtScript.so.4
#10 0x00007faeb4129259 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#11 0x00007faeb4157ad5 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#12 0x00007faeb404e637 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#13 0x00007faeb412d5d2 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#14 0x00007faeb4238e0f in ?? () from /usr/lib64/qt4/libQtScript.so.4
#15 0x00007faeb423c6ee in QScriptEngine::evaluate(QString const&, QString const&, int) () from /usr/lib64/qt4/libQtScript.so.4
#16 0x00007faeb397c50b in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#17 0x00007faeb397c722 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#18 0x00007faeb397c7d2 in QDeclarativeExpression::evaluate(bool*) () from /usr/lib64/qt4/libQtDeclarative.so.4
#19 0x00007faeb63504ed in ?? () from /usr/lib64/libplasma.so.3
#20 0x00007faeb630b9d2 in ?? () from /usr/lib64/libplasma.so.3
#21 0x00007fae9bb21b37 in ?? () from /usr/lib64/kde4/plasma_appletscript_declarative.so
#22 0x00007faeb622a2bf in Plasma::Applet::init() () from /usr/lib64/libplasma.so.3
#23 0x00007faea4a6d11b in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#24 0x00007faea4a64a81 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#25 0x00007faea4a7f826 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#26 0x00007faea4a7fed6 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#27 0x00007faec100899f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007faea4a6360f in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#29 0x00007faea4a63775 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#30 0x00007faec100899f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007faea4a63e9f in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#32 0x00007faea4a6aac8 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#33 0x00007faea4a6bd3f in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#34 0x00007faea4a76b1d in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#35 0x00007faea4a74851 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#36 0x00007faeb623010c in Plasma::Applet::flushPendingConstraintsEvents() () from /usr/lib64/libplasma.so.3
#37 0x00007faeb6240057 in ?? () from /usr/lib64/libplasma.so.3
#38 0x00007faeb6254472 in ?? () from /usr/lib64/libplasma.so.3
#39 0x00007faeb6255114 in Plasma::Corona::loadLayout(QString const&) () from /usr/lib64/libplasma.so.3
#40 0x00007faeb62551dc in Plasma::Corona::initializeLayout(QString const&) () from /usr/lib64/libplasma.so.3
#41 0x00007faeadc31e09 in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#42 0x00007faeadc3211f in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#43 0x00007faeadc3344a in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#44 0x00007faec100df86 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007faec0099b26 in QApplication::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007faec0095462 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007faec009aea9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#48 0x00007faec1de8906 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#49 0x00007faec0ff2a4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007faec0ff6375 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#51 0x00007faec1024a03 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#52 0x00007faebc86045d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#53 0x00007faebc860c58 in ?? () from /usr/lib64/libglib-2.0.so.0
#54 0x00007faebc860e2d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#55 0x00007faec1024e6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#56 0x00007faec014581e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#57 0x00007faec0ff1002 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#58 0x00007faec0ff1247 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#59 0x00007faec0ff6787 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#60 0x00007faeadc18bb3 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#61 0x0000000000408a24 in _start ()

________________________________________________

another Dr. Konqi output after run "gdb /usr/bin/plasma-desktop"



Application: Shell del desktop di Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffff7f877c0 (LWP 29792))]

Thread 2 (Thread 0x7fffd2111700 (LWP 30091)):
#0  0x00007ffff78a6ad3 in poll () from /lib64/libc.so.6
#1  0x00007fffeace3968 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fffeace3e2d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff43f9ed6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffff43c6002 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ffff43c6247 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff42b9018 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff43a3b93 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffff42bbebd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff4024e2c in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff78af72d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f877c0 (LWP 29792)):
[KCrash Handler]
#6  0x00007ffff0fb685b in ?? () from /usr/lib64/qt4/libQtScript.so.4
#7  0x00007ffff0fb4fdd in ?? () from /usr/lib64/qt4/libQtScript.so.4
#8  0x00007ffff105ea10 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#9  0x00007ffff0fa205f in ?? () from /usr/lib64/qt4/libQtScript.so.4
#10 0x00007ffff0fa2259 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#11 0x00007ffff0fd0ad5 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#12 0x00007ffff0ec7637 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#13 0x00007ffff0fa65d2 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#14 0x00007ffff10b1e0f in ?? () from /usr/lib64/qt4/libQtScript.so.4
#15 0x00007ffff10b56ee in QScriptEngine::evaluate(QString const&, QString const&, int) () from /usr/lib64/qt4/libQtScript.so.4
#16 0x00007ffff60eb50b in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#17 0x00007ffff60eb722 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#18 0x00007ffff60eb7d2 in QDeclarativeExpression::evaluate(bool*) () from /usr/lib64/qt4/libQtDeclarative.so.4
#19 0x00007ffff74d14ed in ?? () from /usr/lib64/libplasma.so.3
#20 0x00007ffff748c9d2 in ?? () from /usr/lib64/libplasma.so.3
#21 0x00007fffd16fcb37 in ?? () from /usr/lib64/kde4/plasma_appletscript_declarative.so
#22 0x00007ffff73ab2bf in Plasma::Applet::init() () from /usr/lib64/libplasma.so.3
#23 0x00007fffda68e11b in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#24 0x00007fffda685a81 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#25 0x00007fffda6a0826 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#26 0x00007fffda6a0ed6 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#27 0x00007ffff43dd99f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007fffda68460f in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#29 0x00007fffda684775 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#30 0x00007ffff43dd99f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fffda684e9f in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#32 0x00007fffda68bac8 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#33 0x00007fffda68cd3f in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#34 0x00007fffda697b1d in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#35 0x00007fffda695851 in ?? () from /usr/lib64/kde4/plasma_applet_systemtray.so
#36 0x00007ffff73b110c in Plasma::Applet::flushPendingConstraintsEvents() () from /usr/lib64/libplasma.so.3
#37 0x00007ffff73c1057 in ?? () from /usr/lib64/libplasma.so.3
#38 0x00007ffff73d5472 in ?? () from /usr/lib64/libplasma.so.3
#39 0x00007ffff73d6114 in Plasma::Corona::loadLayout(QString const&) () from /usr/lib64/libplasma.so.3
#40 0x00007ffff73d61dc in Plasma::Corona::initializeLayout(QString const&) () from /usr/lib64/libplasma.so.3
#41 0x00007ffff7bb6e09 in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#42 0x00007ffff7bb711f in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#43 0x00007ffff7bb844a in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#44 0x00007ffff43e2f86 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007ffff346eb26 in QApplication::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007ffff346a462 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007ffff346fea9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#48 0x00007ffff5101906 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#49 0x00007ffff43c7a4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007ffff43cb375 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#51 0x00007ffff43f9a03 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#52 0x00007fffeace345d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#53 0x00007fffeace3c58 in ?? () from /usr/lib64/libglib-2.0.so.0
#54 0x00007fffeace3e2d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#55 0x00007ffff43f9e6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#56 0x00007ffff351a81e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#57 0x00007ffff43c6002 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#58 0x00007ffff43c6247 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#59 0x00007ffff43cb787 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#60 0x00007ffff7b9dbb3 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#61 0x00007ffff77f938d in __libc_start_main () from /lib64/libc.so.6
#62 0x00000000004007b1 in _start ()

____________________________________________________________________

"run" gdb /usr/bin/plasma-desktop ... loggin in a file , running bt etc ...

No Stack reports :X


what application should I run for libplasma?

I have :

$ ls /usr/bin | grep plasma

plasma-desktop
plasmaengineexplorer
plasma-netbook
plasma-overlay
plasmapkg
plasma-remote-helper
plasmawallpaperviewer
plasma-windowed

At this point I begin to believe that I have compiled a few packages with any particular useflag enabled or disabled :(

Gentoo system + kde-meta-9999.ebuild (SVN trunk) but I has this problem with 4.8 from portage tree ebuilds also :( 

Kde 4.7.4 was Ok
Comment 6 Thomas Lübking 2012-02-22 21:26:14 UTC
correction: this has NOTHING to do with xrandr, since 
> no external drive plugged
you're not plugging external HD's but external HDD's ;-)

Now, a lot of things link libplasma, but once more:
THOSE BACKTRACES ARE USELESS

All they hint is that plasma_applet_systemtray.so accesses SOMETHING in libplasma.so.3 which accesses SOMETHING in libQtDeclarative.so.4 that accesses SOMETHING in libQtScript.so.4 what SOMEHOW causes a segfault

(while from kwin crash libplasma.so.3 accessed SOMETHING in QtCore SOMEHOW causing a crash.)

This could just mean that you got the ABI breaking libpng update and didn't recompile KDE/libplasma or whatnot.

If you want to figure what's the issue here (and i tend to start to believe that it's an ABI thing) you MUST create unstripped binaries as described here:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Backtraces

to get rid of the question marks in the backtrace and the SOMETHING in their meaning.

If you scroll down a tiny bit in that document, you'll also be directed here:
http://www.gentoo.org/proj/en/qa/backtraces.xml

what is gentoos own and specific description on this.
Comment 7 Thomas Lübking 2012-02-22 22:23:01 UTC
sabayonino <sabayonino@gmail.com> changed:
 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|BACKTRACE                   |FIXED
            Summary|Plasma crashes when I       |Plasma crashes when I
                   |plugin external HD and more |plugin external HDD and
                   |                            |more


How was this "FIXED"?
Comment 8 sabayonino 2012-02-22 22:59:04 UTC
Sorry. . I've editt Title without checking "change status"

I restoreed to uNCONFEMED
Comment 9 sabayonino 2012-02-29 23:44:55 UTC
Hi

Me and some users have this problem with Sabayon-Linux KDE also (Live-Dvd and after installation)

In my Gentoo still goes on ... 


Running Sabayon Linux :
I ran gdb plasma-desktop and I plugged , mounted/unmounted and unplugged USB-pen drive

this is  gdb output 

http://pastebin.com/fPTnABP0

no more.
Comment 10 Thomas Lübking 2012-02-29 23:55:04 UTC
(In reply to comment #9)

> this is  gdb output 
> 
> http://pastebin.com/fPTnABP0
> 
> no more.

There's a lot of warnings about unversioned plugins, pot. resulting in instability (probably a distro issue, bundling dated plugin libraries)

What is NOT in this paste is a backtrace.

You cannot "gdb plama-dektop", because it forks.
Either press the developer info button in the Dr Konqi dialog or run "gdb --args plasma-desktop --nofork", then "run" and after the crash "bt"

The crash may however be caused by some ABI incompatible plasmoid, likely related to devices (such as the device notifier) or notifications in general.
Comment 11 sabayonino 2012-03-01 12:16:16 UTC
(In reply to comment #10)
> (In reply to comment #9)
> 
> > this is  gdb output 
> > 
> > http://pastebin.com/fPTnABP0
> > 
> > no more.
> 
> There's a lot of warnings about unversioned plugins, pot. resulting in
> instability (probably a distro issue, bundling dated plugin libraries)
> 
> What is NOT in this paste is a backtrace.
> 
> You cannot "gdb plama-dektop", because it forks.
> Either press the developer info button in the Dr Konqi dialog or run "gdb
> --args plasma-desktop --nofork", then "run" and after the crash "bt"

Hi.   I've done, but running "bt" after the crash show "No stack." output

Step 1 :
Starting program: /usr/bin/plasma-desktop --nofork
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
plasma-desktop(12223): KUniqueApplication: Can't setup D-Bus service. Probably already running. 

In teh meantime I've menaged some Usb-stick (pluged,mounted etc...)

Plasma Crashed

Step 2 : Run "bt" in gdb after the crash
No stack
(gdb)

DrKonqi output after the carash : --> http://pastebin.com/NdKc0i1F

So I try again "run" in gdb (in the meantime Desktop hasn't backgorund , no panels...)

gdb   output ---> http://pastebin.com/hU5wCmCb

any suggestions ?
Comment 12 Thomas Lübking 2012-03-01 16:57:54 UTC
The gdb log suggests that plasma-desktop is already running at the time you attempt to launch it.
This is however pointless, since the Dr.Konqi trace shows no debug symbols either
-> you need a unstripped build, best for debug, not for release.

The crash however occurs from some "Plasma::PopupApplet" and in closing some svg out of /usr/lib64/kde4/plasma_appletscript_declarative.so

Since i've rare knowledge about plasma itself, that's as much as i can tell.
Comment 13 sabayonino 2012-03-01 19:41:00 UTC
(In reply to comment #12)
> The gdb log suggests that plasma-desktop is already running at the time you
> attempt to launch it.
> This is however pointless, since the Dr.Konqi trace shows no debug symbols
> either
> -> you need a unstripped build, best for debug, not for release.
> 
> The crash however occurs from some "Plasma::PopupApplet" and in closing some
> svg out of /usr/lib64/kde4/plasma_appletscript_declarative.so
> 
> Since i've rare knowledge about plasma itself, that's as much as i can tell.


Ok Thomas.

I've this issue with all my kde installations.

Here a full output of gdb :

Sabayon Linux KDE-64

I only plug an USB stick and running gparted

When gparted scan sdb (the usb stick) , crash starting (looping) because gpared talk with remov. device notification applet (via d-bus) .
When  notification applet recognize usb-stick plasma crash ; gparted scanning againg devices again and talk with d-bus

Could be d-bus (or qt-dbus) the issue ? 

In this output you can see "Program received signal SIGSEGV, Segmentation fault"  'cause I've killed gparted to stop looping crash

I hope that this can help you.
Comment 14 sabayonino 2012-03-01 19:42:48 UTC
Ops : I missed pastie :D

http://pastebin.com/UqyuE1QC
Comment 15 Thomas Lübking 2012-03-01 19:55:44 UTC
(In reply to comment #13)

> I only plug an USB stick and running gparted
errmmm ... the gparted information is new. So it does NOT crash immediately but after running gparted. Is that correct? 

> When gparted scan sdb (the usb stick)
Next question: why are you actually doing so. Just randomly (ie. because you want) or is this somehow auto-triggered?

> crash starting (looping) because gpared
> talk with remov. device notification applet (via d-bus) .
HOPEFULLY NOT!  gparted requires root permissions, it should not start to talk with user session busses. What it however does is locking devices (via hal/udisks) what's likely somehow interpreted by the plasma dataengine.


> When  notification applet recognize usb-stick plasma crash
Ok, what we don't know is "why" and that is because also the last backtrace does not include debug symbols.

> Could be d-bus (or qt-dbus) the issue ? 
No.

I'll pass this over to the plasmoid developers for testing.
Comment 16 sabayonino 2012-03-01 20:14:45 UTC
> > When  notification applet recognize usb-stick plasma crash
> Ok, what we don't know is "why" and that is because also the last backtrace
> does not include debug symbols.

How can reproduce this ?  I think running "gdb" well ...



1 - Pluggin removable-drive --> no crash
2 - Mounted device (via dolphin or Device notification) ---> no crash
3 - Closing Dolphin or umounted extern-drive ---> no crash
4 - Unpluggin external-drive --> plasma crash

but with gparted it was strange ...  plasma  crashed with plugged drive ...   :D

In my desktop-pc when plasma crashed , backgorund and panels are gone while in my laptop they "restarted"

I also running  razor-qt Window manager and try to manage external drive/sticks

razor-qt native session  notifier works fine ; if i choose razor-qt (Kwin) session  . and manage external-drive ... BAM ! crash ....   :(
Comment 17 Thomas Lübking 2012-03-01 20:48:53 UTC
(In reply to comment #16)

> How can reproduce this ?  I think running "gdb" well ...
If kwin would crash somewhere in libplasma here just because i happened to have unplugged a usb stick, i would have filed a grumpy bug report alongside a patch myself ;-)

> 4 - Unpluggin external-drive --> plasma crash
Being the ultimate source then. gparted just does sth. similar implicitly.

> razor-qt native session  notifier works fine ; if i choose razor-qt (Kwin)
> session  . and manage external-drive ... BAM ! crash ....   :(

Just like in the OP, and it's because
a) kwin links libplasma
b) SOMETHING in libplasma apparently directly reacts to the udisks signal and then crashes, taking kwin with it - so the source will likely be directly in libplasma itself, but repeating myself ONCE MORE:

        PLASMA DEVELOPERS WILL NEED A BACKTRACE WITH DEBUG SYMBOLS

And ONCE MORE, read here how to do that:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Backtraces

And since Sabayon seems to be just some gentoo derivate, ONCE MORE you'd  there also find a link here:
http://www.gentoo.org/proj/en/qa/backtraces.xml

And for this very reason, please don't change the status again unless a usable backtrace was provided.

PS: since you stated in comment #9 that "Me and some users have this problem with Sabayon-Linux KDE also (Live-Dvd and after installation)" you should connect the resp. downstream bug report / discussion so maybe someone else of the affected ppl. can provide a bugreport.
Comment 18 sabayonino 2012-03-01 22:41:33 UTC
Ok

plasma-workspace (and more kde build) was compiled without "debug use flag enable"

I recompiled plasma-workspace withi "debug" use flag enable and now I think to have what you want :)

Now plasma crashed when umount usd-stick  [...]

so gdb show :

gdb --args plasma-desktop --nofork
GNU gdb (Gentoo 7.4 p1) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/plasma-desktop...Reading symbols from /usr/lib64/debug/usr/bin/plasma-desktop.debug...done.
done.
(gdb) run
Starting program: /usr/bin/plasma-desktop --nofork
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
unnamed app(12959)/plasma kdemain: !!{} STARTUP TIME 84808430 START (line: 49 )
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
plasma-desktop(12959): KUniqueApplication: Can't setup D-Bus service. Probably already running. 

[Inferior 1 (process 12959) exited with code 0377]
(gdb) set loggin file palsma_crash.log
(gdb) set loggin on
Copying output to palsma_crash.log.
(gdb) bt
No stack.                                                                                                                                                               
(gdb)                                       

and you can see :

"Reading symbols from /usr/bin/plasma-desktop...Reading symbols from /usr/lib64/debug/usr/bin/plasma-desktop.debug...done" ---> http://pastebin.com/YcyR4miN

I Hope this is what you want really :D

PS : I've comnpiled kdeplasma-workspace only with "debug" enabled. All kde was compiled without this flag.
Comment 19 Thomas Lübking 2012-03-01 22:46:57 UTC
(In reply to comment #18)

> [Inferior 1 (process 12959) exited with code 0377]
> (gdb) set loggin file palsma_crash.log
> (gdb) set loggin on
> Copying output to palsma_crash.log.
> (gdb) bt
> No stack.                                                                       
>
> I Hope this is what you want really :D

Nope, that's no stacktrace but the application exited because an instance seems up.
Just "pkill plasma-desktop; sleep 1; plasma-desktop", wait cause the crash, wait for Dr.Konqi, click developer information and post the output, BUT:

> PS : I've comnpiled kdeplasma-workspace only with "debug" enabled. All kde was
> compiled without this flag.
Since the crash is likely in libplasma, you actually need to recompile kdelibs with this flag for the most relevant informations.
Comment 20 sabayonino 2012-03-01 23:28:14 UTC
Aaaargh !!

I'll just make kdelibs as soon as possible Sir :)

I don't understand 'cause "bt"  doesn't show anything (only once returned an output) 

I'm trying to release much information as possible but often the conditions are different

Please be patient :)
Comment 21 Thomas Lübking 2012-03-02 00:01:58 UTC
(In reply to comment #20)

> I don't understand 'cause "bt"  doesn't show anything (only once returned an
> output) 

You only get backtraces from processes still in memory what is no longer the case when the application just exits. Plasma starts figures (or thinks?) there's already and instance and therefore quits.

> I'm trying to release much information as possible but often the conditions are
> different
Just run kwin with the recompiled lib, add/remove an usb drive and activate the "developer information" in the Dr.Konqi dialog.
Comment 22 sabayonino 2012-03-02 12:30:59 UTC
Hi

kdeplasma-workspace and kdelibs compiled with "debug" flag enabled.



1 - Login to Kde-session
2 - Running gdb --args plasma-desktop --nofork
    --> plasma-desktop_1_gdb.log http://pastebin.com/Yt8sNuYE
    --> /usr/lib64/debug/usr/bin/plasma-desktop.debug   http://pastebin.com/atfemnEk
    -->  DrKonqi Developer Information http://pastebin.com/rseKhMyJ

I tried again in the same session  :

3 - Plug and Unplug USB-Pendrive   , plasma crash but it is reloaded with his panels and background (....).
  I reload Drkonki Developer Information ---> http://pastebin.com/HvHfFimp

So, I'm gonna login to the new session and first kill plasma-desktop pid and run gdb & company for the new test  :D


The strange thing is that this time plasma was reloaded with all its components after the crash  :D

There is something new 

all this does become paranoid :D
Comment 23 Abadonna 2012-03-08 00:02:43 UTC
KDE Platform Version: 4.8.00
Qt Version: 4.8.0
Operating System: Linux 3.2.0-sabayon #1 SMP Sat Feb 11 08:52:29 UTC 2012 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux

Plasma crashes every time I insert USB pendrive or any other external drive.

Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fd577c86f80 in QHashData::nextNode(QHashData::Node*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fd56d60156d in ?? () from /usr/lib64/libplasma.so.3
#8  0x00007fd56d6017a0 in Plasma::FrameSvg::~FrameSvg() () from /usr/lib64/libplasma.so.3
#9  0x00007fd54d9240bb in ?? () from /usr/lib64/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#10 0x00007fd577d7d0b5 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fd577d8332c in QObject::~QObject() () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007fd56adb3e25 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#13 0x00007fd5774c40a6 in QGraphicsItem::~QGraphicsItem() () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007fd56adf2c70 in QDeclarativeItem::~QDeclarativeItem() () from /usr/lib64/qt4/libQtDeclarative.so.4
#15 0x00007fd56adb3e25 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#16 0x00007fd5774c40a6 in QGraphicsItem::~QGraphicsItem() () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fd56adf2c70 in QDeclarativeItem::~QDeclarativeItem() () from /usr/lib64/qt4/libQtDeclarative.so.4
#18 0x00007fd56adb49b8 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#19 0x00007fd5774c40a6 in QGraphicsItem::~QGraphicsItem() () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fd56adf2c70 in QDeclarativeItem::~QDeclarativeItem() () from /usr/lib64/qt4/libQtDeclarative.so.4
#21 0x00007fd56adb3ba5 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#22 0x00007fd5774c40a6 in QGraphicsItem::~QGraphicsItem() () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fd56adf2c70 in QDeclarativeItem::~QDeclarativeItem() () from /usr/lib64/qt4/libQtDeclarative.so.4
#24 0x00007fd56adb3e25 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#25 0x00007fd577d83c08 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007fd576edddf4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fd576ee2c73 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fd578b4fcb6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#29 0x00007fd577d6abfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fd577d6e49a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fd577d998c3 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fd57373d13d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fd57373d938 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fd57373db0d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fd577d99cef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#36 0x00007fd576f810ee in ?? () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007fd577d699e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007fd577d69c37 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007fd577d6e795 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007fd562cc4e43 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#41 0x00000000004073a4 in _start ()

lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Z68 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GT] (rev a2)
06:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
08:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)

lsmod:

Module                  Size  Used by
cifs                  230899  2 
ipt_REJECT              1904  1                                                                                                              
ipt_LOG                 6056  1 
xt_limit                1432  2 
xt_tcpudp               2064  8 
xt_addrtype             2176  4 
xt_state                 976  6 
ip6table_filter         1104  1 
ip6_tables             13828  1 ip6table_filter
ipv6                  237344  44 
nf_nat_irc              1136  0 
nf_conntrack_irc        3080  1 nf_nat_irc
nf_nat_ftp              1328  0 
nf_nat                 12313  2 nf_nat_irc,nf_nat_ftp
nf_conntrack_ipv4       8730  8 nf_nat
nf_defrag_ipv4          1150  1 nf_conntrack_ipv4
nf_conntrack_ftp        4984  1 nf_nat_ftp
nf_conntrack           48165  7 xt_state,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
iptable_filter          1152  1 
ip_tables              12773  1 iptable_filter
x_tables               13341  10 ipt_REJECT,ipt_LOG,xt_limit,xt_tcpudp,xt_addrtype,xt_state,ip6table_filter,ip6_tables,iptable_filter,ip_tables
vboxnetadp              4646  0 
vboxnetflt             12893  0 
vboxdrv              1757671  2 vboxnetadp,vboxnetflt
nvidia              12220129  43 
snd_hda_codec_realtek   173840  1 
i2c_i801                6824  0 
snd_hda_intel          19000  2 
pcspkr                  1472  0 
intel_agp               9320  0 
serio_raw               3336  0 
snd_hda_codec          60896  2 snd_hda_codec_realtek,snd_hda_intel
eeepc_wmi               1992  0 
asus_wmi               10988  1 eeepc_wmi
sparse_keymap           2329  1 asus_wmi
r8169                  34408  0 
xhci_hcd               61987  0 
snd_hwdep               4382  1 snd_hda_codec
snd_pcm                55658  2 snd_hda_intel,snd_hda_codec
iTCO_wdt               10504  0 
iTCO_vendor_support     1617  1 iTCO_wdt
snd_timer              13958  1 snd_pcm
snd                    43877  10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          5845  2 snd_hda_intel,snd_pcm
mei                    26452  0 
mxm_wmi                 1268  0 
i2c_core               14248  2 nvidia,i2c_i801
intel_gtt              10551  1 intel_agp
pci_hotplug             8497  1 asus_wmi
joydev                  8064  0 
video                   9950  0 
xts                     2213  0 
gf128mul                5338  1 xts
sha512_generic          6657  0 
sha256_generic          9501  0 
sha1_generic            1787  0 
aes_x86_64              7340  0 
iscsi_tcp               7724  0 
tg3                   115327  0 
e1000                  83663  0 
fuse                   54994  1 
xfs                   417549  3 
nfs                   246010  1 
nfs_acl                 1983  1 nfs
auth_rpcgss            35290  1 nfs
lockd                  61372  1 nfs
sunrpc                163888  16 nfs,nfs_acl,auth_rpcgss,lockd
jfs                   139607  0 
reiserfs              203193  0 
ext4                  228944  0 
jbd2                   43238  1 ext4
ext3                  106307  0 
jbd                    36315  1 ext3
ext2                   53365  0 
mbcache                 4513  3 ext4,ext3,ext2
scsi_wait_scan           695  0 
sl811_hcd               8915  0 
ohci_hcd               17358  0 
uhci_hcd               18658  0 
ehci_hcd               33418  0 
sx8                    10885  0 
imm                     8645  0 
parport                26823  1 imm
pata_pcmcia             9621  0 
pcmcia                 29224  1 pata_pcmcia

lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 004: ID 096e:0807 Feitian Technologies, Inc. 
Bus 002 Device 005: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard
Bus 002 Device 007: ID 1532:0101 Razer USA, Ltd Copperhead Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Comment 24 Abadonna 2012-03-08 05:41:09 UTC
I've got this error good 20 times today...

Application: Plasma Desktop Shell (kdeinit4), signal: Aborted
[KCrash Handler]
#6  0x00007f5c1e7076c5 in raise () from /lib64/libc.so.6
#7  0x00007f5c1e708b3b in abort () from /lib64/libc.so.6
#8  0x00007f5c1e7411a3 in ?? () from /lib64/libc.so.6
#9  0x00007f5c1e7470e6 in ?? () from /lib64/libc.so.6
#10 0x00007f5c1e749296 in ?? () from /lib64/libc.so.6
#11 0x00007f5c1e74aabd in malloc () from /lib64/libc.so.6
#12 0x00007f5c0f9ac955 in ?? () from /usr/lib64/opengl/nvidia/lib/libGL.so.1
#13 0x00007f5c0d6bce41 in ?? () from /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.295.20
#14 0x00007f5c1eb1863d in operator new(unsigned long) () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6
#15 0x00007f5c12f5d1e3 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#16 0x00007f5c12eb5195 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#17 0x00007f5c12eb5b22 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#18 0x00007f5c136d08c5 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#19 0x00007f5c135e5b70 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#20 0x00007f5c135bc606 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#21 0x00007f5bf4aeabb5 in ?? ()
#22 0x0000000000000028 in ?? ()
#23 0x00007f5bf5bc3bc0 in ?? ()
#24 0x00007f5b0000000e in ?? ()
#25 0x00007f5c00000003 in ?? ()
#26 0x0000000007155c20 in ?? ()
#27 0x000000000000000b in ?? ()
#28 0x0000000000000028 in ?? ()
#29 0x0000000000000001 in ?? ()
#30 0x0000000000000002 in ?? ()
#31 0x00007f5bf4ae9f50 in ?? ()
#32 0x00007f5bf6020750 in ?? ()
#33 0x00007f5bf5c19150 in ?? ()
#34 0x00007f5bf6026a88 in ?? ()
#35 0x00007f5c13968dc0 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#36 0x00007f5bf6025800 in ?? ()
#37 0x00007f5bf5c19098 in ?? ()
#38 0x00007f5bf60daf50 in ?? ()
#39 0x00007f5c13968dc0 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#40 0x00007f5bf5c19098 in ?? ()
#41 0x00007f5bf5c190e0 in ?? ()
#42 0x00007f5bf6020738 in ?? ()
#43 0x00007f5c13578701 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#44 0x00007f5c13611947 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#45 0x00007f5c135e5ba2 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#46 0x00007f5c136cb0fa in QScriptValue::call(QScriptValue const&, QList<QScriptValue> const&) () from /usr/lib64/qt4/libQtScript.so.4
#47 0x00007f5c12ec0805 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#48 0x00007f5c12ec0b71 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#49 0x00007f5c12ec0e79 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#50 0x00007f5c12ec1012 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#51 0x00007f5c12efa179 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#52 0x00007f5c1fddfc09 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#53 0x00007f5c12df88dd in QDeclarativeTimer::finished() () from /usr/lib64/qt4/libQtDeclarative.so.4
#54 0x00007f5c1fddfa01 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#55 0x00007f5c1fcaf8d8 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#56 0x00007f5c1fcaf821 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#57 0x00007f5c12df8478 in QDeclarativeTimer::update() () from /usr/lib64/qt4/libQtDeclarative.so.4
#58 0x00007f5c12face2f in QDeclarativeTimer::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtDeclarative.so.4
#59 0x00007f5c12f577a6 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#60 0x00007f5c12f58b9b in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#61 0x00007f5c12f5976b in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#62 0x00007f5c136e7c19 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#63 0x00007f5c135e5b70 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#64 0x00007f5c135bc606 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#65 0x00007f5bf4ae8fab in ?? ()
#66 0xffff000000000002 in ?? ()
#67 0x00007f5bf5bdf780 in ?? ()
#68 0x00007f5b0000000a in ?? ()
#69 0x00007f5c00000001 in ?? ()
#70 0x00007f5bf4a85330 in ?? ()
#71 0x0000000000000002 in ?? ()
#72 0x0000000000000002 in ?? ()
#73 0x00007fff00449f60 in ?? ()
#74 0x0000000007ae97f0 in ?? ()
#75 0x00007f5bf4ae8dd8 in ?? ()
#76 0x00007f5bf6020750 in ?? ()
#77 0x00007f5bf5c19098 in ?? ()
#78 0x00007f5bf6026a88 in ?? ()
#79 0x00007f5c13968dc0 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#80 0x00007f5bf6025800 in ?? ()
#81 0x00007f5bf5c19000 in ?? ()
#82 0x00007f5bf4a70540 in ?? ()
#83 0x00007f5c13968dc0 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#84 0x00000000034679c8 in ?? ()
#85 0x00007f5bf5c19048 in ?? ()
#86 0x00007f5bf6020738 in ?? ()
#87 0x00007f5c13578701 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#88 0x00007f5c13611947 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#89 0x00007f5c135e5ba2 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#90 0x00007f5c136cb0fa in QScriptValue::call(QScriptValue const&, QList<QScriptValue> const&) () from /usr/lib64/qt4/libQtScript.so.4
#91 0x00007f5c12ec0805 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#92 0x00007f5c12ec0b71 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#93 0x00007f5c12ec0e79 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#94 0x00007f5c12ec1012 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#95 0x00007f5c12efa179 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#96 0x00007f5c1fddfc09 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#97 0x00007f5c12e517e0 in QDeclarativeItem::geometryChanged(QRectF const&, QRectF const&) () from /usr/lib64/qt4/libQtDeclarative.so.4
#98 0x00007f5c12e4e610 in QDeclarativeItemPrivate::setWidth(double) () from /usr/lib64/qt4/libQtDeclarative.so.4
#99 0x00007f5c1f5244a7 in QGraphicsObject::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtGui.so.4
#100 0x00007f5c12e55088 in QDeclarativeItem::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtDeclarative.so.4
#101 0x00007f5bf53263a5 in ?? () from /usr/lib64/kde4/imports/org/kde/qtextracomponents/libqtextracomponentsplugin.so
#102 0x00007f5c12ec8641 in QDeclarativePropertyPrivate::write(QObject*, QDeclarativePropertyCache::Data const&, QVariant const&, QDeclarativeContextData*, QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#103 0x00007f5c12ec9051 in QDeclarativePropertyPrivate::writeValueProperty(QVariant const&, QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#104 0x00007f5c12ec9146 in QDeclarativePropertyPrivate::write(QDeclarativeProperty const&, QVariant const&, QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#105 0x00007f5c12ec2959 in QDeclarativeBinding::update(QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#106 0x00007f5c12ec176b in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#107 0x00007f5c12ec06eb in QDeclarativeExpression::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtDeclarative.so.4
#108 0x00007f5c12fbcfb0 in QDeclarativeBinding::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtDeclarative.so.4
#109 0x00007f5c1fddfc09 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#110 0x00007f5c12e517e0 in QDeclarativeItem::geometryChanged(QRectF const&, QRectF const&) () from /usr/lib64/qt4/libQtDeclarative.so.4
#111 0x00007f5c12e4e610 in QDeclarativeItemPrivate::setWidth(double) () from /usr/lib64/qt4/libQtDeclarative.so.4
#112 0x00007f5c1f5244a7 in QGraphicsObject::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtGui.so.4
#113 0x00007f5c12e55088 in QDeclarativeItem::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtDeclarative.so.4
#114 0x00007f5c12eac20c in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#115 0x00007f5c12ec8641 in QDeclarativePropertyPrivate::write(QObject*, QDeclarativePropertyCache::Data const&, QVariant const&, QDeclarativeContextData*, QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#116 0x00007f5c12ec9051 in QDeclarativePropertyPrivate::writeValueProperty(QVariant const&, QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#117 0x00007f5c12ec9146 in QDeclarativePropertyPrivate::write(QDeclarativeProperty const&, QVariant const&, QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#118 0x00007f5c12ec2959 in QDeclarativeBinding::update(QFlags<QDeclarativePropertyPrivate::WriteFlag>) () from /usr/lib64/qt4/libQtDeclarative.so.4
#119 0x00007f5c12ec176b in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#120 0x00007f5c12ec06eb in QDeclarativeExpression::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtDeclarative.so.4
#121 0x00007f5c12fbcfb0 in QDeclarativeBinding::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtDeclarative.so.4
#122 0x00007f5c1fddfc09 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#123 0x00007f5c12e517e0 in QDeclarativeItem::geometryChanged(QRectF const&, QRectF const&) () from /usr/lib64/qt4/libQtDeclarative.so.4
#124 0x00007f5c12e4e610 in QDeclarativeItemPrivate::setWidth(double) () from /usr/lib64/qt4/libQtDeclarative.so.4
#125 0x00007f5c12e2c82d in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#126 0x00007f5c12e2ca5e in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#127 0x00007f5c12e51752 in QDeclarativeItem::geometryChanged(QRectF const&, QRectF const&) () from /usr/lib64/qt4/libQtDeclarative.so.4
#128 0x00007f5c12e4e610 in QDeclarativeItemPrivate::setWidth(double) () from /usr/lib64/qt4/libQtDeclarative.so.4
#129 0x00007f5c12e2c82d in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#130 0x00007f5c12e2cb29 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#131 0x00007f5c12e54f6f in QDeclarativeItem::componentComplete() () from /usr/lib64/qt4/libQtDeclarative.so.4
#132 0x00007f5c12e5ae32 in QDeclarativeBasePositioner::componentComplete() () from /usr/lib64/qt4/libQtDeclarative.so.4
#133 0x00007f5c12ecb543 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#134 0x00007f5c12ecbbef in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#135 0x00007f5c12e837dd in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#136 0x00007f5c12e90ea9 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#137 0x00007f5c12e9424d in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#138 0x00007f5c12e9b31d in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#139 0x00007f5c12e96aa7 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#140 0x00007f5c1fddfa01 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#141 0x00007f5c12e838ec in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#142 0x00007f5c12fba095 in ?? () from /usr/lib64/qt4/libQtDeclarative.so.4
#143 0x00007f5c1fddfa01 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#144 0x00007f5c1f4e648f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#145 0x00007f5c1fddfa01 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#146 0x00007f5bf59662a3 in ?? () from /usr/lib64/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#147 0x00007f5bf5966d21 in ?? () from /usr/lib64/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#148 0x00007f5bf59675ad in ?? () from /usr/lib64/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#149 0x00007f5c1fddfa01 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#150 0x00007f5bf5968a27 in ?? () from /usr/lib64/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#151 0x00007f5bf5968d7b in ?? () from /usr/lib64/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#152 0x00007f5c1fddfa01 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#153 0x00007f5c1563e1a7 in Plasma::DataContainer::dataUpdated(QString const&, QHash<QString, QVariant> const&) () from /usr/lib64/libplasma.so.3
#154 0x00007f5c1563e6ce in Plasma::DataContainer::checkForUpdate() () from /usr/lib64/libplasma.so.3
#155 0x00007f5c1563ff7f in Plasma::DataEngine::timerEvent(QTimerEvent*) () from /usr/lib64/libplasma.so.3
#156 0x00007f5c1fde4909 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#157 0x00007f5c1ef3edf4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#158 0x00007f5c1ef43c73 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#159 0x00007f5c20bb0cb6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#160 0x00007f5c1fdcbbfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#161 0x00007f5c1fdfcaf2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#162 0x00007f5c1fdfa4bd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#163 0x00007f5c1b79e13d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#164 0x00007f5c1b79e938 in ?? () from /usr/lib64/libglib-2.0.so.0
#165 0x00007f5c1b79eb0d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#166 0x00007f5c1fdfacef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#167 0x00007f5c1efe20ee in ?? () from /usr/lib64/qt4/libQtGui.so.4
#168 0x00007f5c1fdca9e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#169 0x00007f5c1fdcac37 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#170 0x00007f5c1fdcf795 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#171 0x00007f5c0ad25e43 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#172 0x00000000004073a4 in _start ()
Comment 25 Thomas Lübking 2012-03-08 06:38:52 UTC
the first backtrace by abadonna crashes in a deconstructor, while the second one is in malloc -> memory corruption.
Something is severely screwed up around the corebindings plugin & QDeclarativeItem

If this doesn't occur anywhere else but on "sabayon" systems, it's could be a downstream issue...
Comment 26 Fabio Erculiani 2012-03-10 16:35:20 UTC
Created attachment 69458 [details]
Several crash dumps

Hi Thomas, I'm am currently investigating the issue.
But in the meantime, please find a bunch of stacktraces attached, they all show different traces eachothers and this makes me think it's some pointer being dereferenced after destruction.

We have this since KDE 4.8.0 and it looks like Arch got hit by this as well:
https://bbs.archlinux.org/viewtopic.php?pid=1022267#p1022267

Disabling the new QML-based Device notifier workarounds the problem.

Cheers
Comment 27 sabayonino 2012-03-10 17:18:22 UTC
Created attachment 69462 [details]
CookBug info
Comment 28 sabayonino 2012-03-10 17:23:30 UTC
Hi

I've lost my previous post :/

Now i've the same problem with plasma-netbook

I think DrKonqi has an reliable BT --> http://pastebin.com/uhq8NtDC

Sabayon x86_64 KDE 4.8.0
Comment 29 Fabio Erculiani 2012-03-10 17:35:09 UTC
Here is our make.conf (includes C*FLAGS and LDFLAGS)
http://git.sabayon.org/build.git/tree/conf/intel/portage/make.conf.amd64
Comment 30 Thomas Lübking 2012-03-10 18:15:44 UTC
Just a disclaimer: I do not develop or maintain the device notifier.

I don't even use it, but just carried this bug over from the kwin component and helped out to get a usable backtrace.
I'll out of curiosity try whether that thing crashes the desktop here, but i won't fix it for i personally have NO knowledge about the particular code at all.
Comment 31 Jacopo De Simoi 2012-03-11 10:44:19 UTC
Thanks for all your patience on providing BTs; however we do need to have also qt compiled with the debug useflag to properly understand what is going on. 
From a superficial analysis it does seem some issue with libplasma/qml, though, rather than some specific issue in the device notifier. 

Let me CC notmart, since he is the most knowledgeable person about this. 
Thanks
Comment 32 Fabio Erculiani 2012-03-11 11:06:51 UTC
So I made a nice discovery.
We were compiling the Qt4 stack with GCC 4.6 and Graphite + -ftree-vectorize, as sown in the CFLAGS variable in make.conf.amd64 file linked above.
Disabling Graphite and -ftree-vectorize fixed all these segfaults.

Perhaps it's about instruction reordering (due to strict-aliasing) or missing volatiles?

Compiling with plain "-O2 -march=x86-64" fixed the issue downstream then.
Comment 33 sabayonino 2012-03-11 13:04:50 UTC
(In reply to comment #32)
> So I made a nice discovery.
> We were compiling the Qt4 stack with GCC 4.6 and Graphite +
> -ftree-vectorize, as sown in the CFLAGS variable in make.conf.amd64 file
> linked above.
> Disabling Graphite and -ftree-vectorize fixed all these segfaults.
> 
> Perhaps it's about instruction reordering (due to strict-aliasing) or
> missing volatiles?
> 
> Compiling with plain "-O2 -march=x86-64" fixed the issue downstream then.

I can confirm this.

Last qt-* upgrades fix this. (Sabayon)

I've recompiled Qt-* packages without Graphite and ftree-vectorize in my Gentoo and this fix all the problems 

Thanks a lot Fabio. (and Thomas for the patience :) )
Comment 34 Jacopo De Simoi 2012-03-11 14:27:10 UTC
(In reply to comment #32)
> So I made a nice discovery.
> We were compiling the Qt4 stack with GCC 4.6 and Graphite +
> -ftree-vectorize, as sown in the CFLAGS variable in make.conf.amd64 file
> linked above.
> Disabling Graphite and -ftree-vectorize fixed all these segfaults.
> 
> Perhaps it's about instruction reordering (due to strict-aliasing) or
> missing volatiles?
Excellent find, please report this issue upstream!
> 
> Compiling with plain "-O2 -march=x86-64" fixed the issue downstream then.
Comment 35 Anne-Marie Mahfouf 2012-03-11 14:45:42 UTC
*** Bug 295448 has been marked as a duplicate of this bug. ***