Bug 250531

Summary: crash when switching desktops
Product: [Unmaintained] plasma4 Reporter: kavol <kavol>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aseigo, asraniel, darktears31
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kavol 2010-09-08 10:04:43 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.6-47.fc13.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
this *is* duplicate of bug 245910

however, that one is closed *without* solution

if it is upstream bug, then provide a link to upstream bugreport before closing

if it is Qt's fault, then you can find upstream bugzilla here - http://bugreports.qt.nokia.com/

thankyou

 -- Backtrace:
Application: Pracovní plocha Plasma (plasma-desktop), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  0x000000395a32dae4 in QGraphicsItem::isPanel (this=0x1051150) at graphicsview/qgraphicsitem.cpp:1669
#6  0x000000395a37501b in QGraphicsScene::event (this=0xce0000, event=<value optimized out>) at graphicsview/qgraphicsscene.cpp:3444
#7  0x0000003959dab39c in QApplicationPrivate::notify_helper (this=0xceec20, receiver=0xce0000, e=0x7fff02510170) at kernel/qapplication.cpp:4306
#8  0x0000003959db165b in QApplication::notify (this=<value optimized out>, receiver=0xce0000, e=0x7fff02510170) at kernel/qapplication.cpp:4189
#9  0x000000395b407016 in KApplication::notify (this=0xcdc9c0, receiver=0xce0000, event=0x7fff02510170) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#10 0x0000003958d53ddc in QCoreApplication::notifyInternal (this=0xcdc9c0, receiver=0xce0000, event=0x7fff02510170) at kernel/qcoreapplication.cpp:726
#11 0x000000395a38c758 in QGraphicsView::viewportEvent (this=0x137ad50, event=0x7fff02510170) at graphicsview/qgraphicsview.cpp:2718
#12 0x0000003958d531f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1396b60, event=0x7fff02510170) at kernel/qcoreapplication.cpp:841
#13 0x0000003959dab36c in QApplicationPrivate::notify_helper (this=0xceec20, receiver=0x1396b60, e=0x7fff02510170) at kernel/qapplication.cpp:4302
#14 0x0000003959db165b in QApplication::notify (this=<value optimized out>, receiver=0x1396b60, e=0x7fff02510170) at kernel/qapplication.cpp:4189
#15 0x000000395b407016 in KApplication::notify (this=0xcdc9c0, receiver=0x1396b60, event=0x7fff02510170) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#16 0x0000003958d53ddc in QCoreApplication::notifyInternal (this=0xcdc9c0, receiver=0x1396b60, event=0x7fff02510170) at kernel/qcoreapplication.cpp:726
#17 0x0000003959df658b in sendEvent (this=<value optimized out>, event=0x7fff02510170) at ../../src/corelib/kernel/qcoreapplication.h:215
#18 QWidget::event (this=<value optimized out>, event=0x7fff02510170) at kernel/qwidget.cpp:8300
#19 0x000000395a1730c6 in QFrame::event (this=0x137ad50, e=0x7fff02510170) at widgets/qframe.cpp:557
#20 0x000000395a1f25cb in QAbstractScrollArea::event (this=0x137ad50, e=0x7fff02510170) at widgets/qabstractscrollarea.cpp:989
#21 0x0000003959dab39c in QApplicationPrivate::notify_helper (this=0xceec20, receiver=0x137ad50, e=0x7fff02510170) at kernel/qapplication.cpp:4306
#22 0x0000003959db165b in QApplication::notify (this=<value optimized out>, receiver=0x137ad50, e=0x7fff02510170) at kernel/qapplication.cpp:4189
#23 0x000000395b407016 in KApplication::notify (this=0xcdc9c0, receiver=0x137ad50, event=0x7fff02510170) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#24 0x0000003958d53ddc in QCoreApplication::notifyInternal (this=0xcdc9c0, receiver=0x137ad50, event=0x7fff02510170) at kernel/qcoreapplication.cpp:726
#25 0x0000003959db525b in sendSpontaneousEvent (act=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#26 QApplication::setActiveWindow (act=<value optimized out>) at kernel/qapplication.cpp:2456
#27 0x0000003959e21f8b in QApplication::x11ProcessEvent (this=0xcdc9c0, event=0x7fff02510840) at kernel/qapplication_x11.cpp:3432
#28 0x0000003959e4ab92 in x11EventSourceDispatch (s=0xcf23d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x000000394fc3bd02 in g_main_dispatch (context=0xcf1520) at gmain.c:1960
#30 IA__g_main_context_dispatch (context=0xcf1520) at gmain.c:2513
#31 0x000000394fc3fae8 in g_main_context_iterate (context=0xcf1520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#32 0x000000394fc3fc9c in IA__g_main_context_iteration (context=0xcf1520, may_block=1) at gmain.c:2654
#33 0x0000003958d79863 in QEventDispatcherGlib::processEvents (this=0xcc4510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x0000003959e4a84e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x0000003958d52822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x0000003958d52aec in QEventLoop::exec (this=0x7fff02510b70, flags=...) at kernel/qeventloop.cpp:201
#37 0x0000003958d561bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#38 0x0000003962637eb2 in kdemain (argc=1, argv=0x7fff02510f08) at /usr/src/debug/kdebase-workspace-4.4.5/plasma/desktop/shell/main.cpp:112
#39 0x000000394d41ec5d in __libc_start_main (main=0x4008f0 <main(int, char**)>, argc=1, ubp_av=0x7fff02510f08, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff02510ef8) at libc-start.c:226
#40 0x0000000000400829 in _start ()

This bug may be a duplicate of or related to bug 245910.

Possible duplicates by query: bug 249058, bug 248543, bug 247805, bug 247804, bug 247449.

Reported using DrKonqi
Comment 1 Beat Wolf 2010-09-08 15:16:30 UTC
probably also a dupe of:
https://bugs.kde.org/show_bug.cgi?id=200847

please post the upstream qt bug number here when you created the bugreport. thank you

*** This bug has been marked as a duplicate of bug 245910 ***
Comment 2 kavol 2010-09-08 15:45:46 UTC
(In reply to comment #1)
> please post the upstream qt bug number here when you created the bugreport.
> thank you

it is KDE application that crashed for me so it is KDE bug for me - therefore I won't report bug against Qt, no application from the Qt package crashed for me

if aseigo says this is Qt bug then it is upon him to prove that it is not KDE's fault and report the bug against Qt - I won't do his job, I'm not user of Qt, I'm user of KDE, the user of Qt is the developer
Comment 3 Beat Wolf 2010-09-08 15:51:17 UTC
From the backtrace you can see that the bug happens in qt code.
Also it was confirmed by a qt employe that this is a qt bug.

Now, i can't reproduce the crash. probably aseigo neither.
So only somebody that can reproduce it can submit it to qt.

I do agree that this is an old bug and it seems like quite a lot of people are affected. But that does not change the fact that it is a qt bug and that kde can do nothing about it.

So, instead of investing your time in reopening the bug here, please submit a bug to the qt bugtracker. thank you.

*** This bug has been marked as a duplicate of bug 245910 ***
Comment 4 kavol 2010-09-08 16:52:16 UTC
(In reply to comment #3)
> From the backtrace you can see that the bug happens in qt code.

what I can see is that the Qt code is called from *KDE code*

> Also it was confirmed by a qt employe that this is a qt bug.

that's nice, but insufficient - some informal talk cannot replace a record in a bugtracker you can refer to

> Now, i can't reproduce the crash. probably aseigo neither.

me neither

however, the trace & the other bugreport proves that the problem exists

> So only somebody that can reproduce it can submit it to qt.

please do not lie to me

http://qt.nokia.com/developer/task-tracker/qt-bug-tracker-getting-started#3-creating-a-new

- no mention that you *have to* be able to reproduce something in order to be allowed to report it

> I do agree that this is an old bug and it seems like quite a lot of people are
> affected. But that does not change the fact that it is a qt bug and that kde
> can do nothing about it.

once again, please DO NOT LIE TO ME

there's plenty of options what KDE can do about the bug - and you can start with tracking it properly

> So, instead of investing your time in reopening the bug here, please submit a
> bug to the qt bugtracker. thank you.

ah, but your time is better invested in telling users that you can't do anything rather than actually doing the job and processing the bug in the way that you move it towards getting resolved, ok :-)

http://bugreports.qt.nokia.com/browse/QTBUG-13507
Comment 5 Alexis MENARD 2010-09-09 20:48:18 UTC
(In reply to comment #3)
> From the backtrace you can see that the bug happens in qt code.
> Also it was confirmed by a qt employe that this is a qt bug.

I wonder who? Not me...This bug has some duplicates so perhaps it's a real bug BUT i can't reproduce and I tried many times. Unless someone gives me more help/info there is nothing i can do really. I need a testcase or at least the exact way of reproducing it...I've never have that crash so I can't fix it even though i want...Could someone try 4.7.0?

> 
> Now, i can't reproduce the crash. probably aseigo neither.
> So only somebody that can reproduce it can submit it to qt.
> 
> I do agree that this is an old bug and it seems like quite a lot of people are
> affected. But that does not change the fact that it is a qt bug and that kde
> can do nothing about it.
> 
> So, instead of investing your time in reopening the bug here, please submit a
> bug to the qt bugtracker. thank you.
> 
> *** This bug has been marked as a duplicate of bug 245910 ***
Comment 6 Aaron J. Seigo 2010-09-09 21:09:45 UTC
Kavol,

"what I can see is that the Qt code is called from *KDE code*"

the only KDE code in the backtrace is KApplication::notify, which simply hands it off to QApplication::notify. there is no KDE code being executed here.

even if there were, we call functions in all kinds of libraries / processes. if we trigger a bug in the linux kernel, should we file the linux kernel bug here on bugs.kde.org? x.org bugs? etc...

of course not.

"the trace & the other bugreport proves that the problem exists"

no one is disputing that; we just can't solve it in the KDE code because the bug isn't there. it's not even something we could work around if we wanted to. note that this bug tracker is for issues in the KDE code base.

after that, you start stepping over the line:

"please do not lie to me"

"once again, please DO NOT LIE TO ME"

"ah, but your time is better invested in telling users that you can't do
anything rather than actually doing the job and processing the bug in the way
that you move it towards getting resolved, ok"

Beat was trying to help you and was actually doing exactly the right thing. It is not within our ability to report every bug to every upstream that you find. That is something we rely on our users to help us with. We just don't have the manpower to do otherwise, and I don't see anyone paying someone to do such between project reporting either. Maybe that's unfortunate, but it's the way it is and we in KDE are doing the best we can.

That does not justify you calling someone a liar, twice ("screaming" the second time) or making snide remarks. If you are unsure about the behavior that we expect from each other, you may consult the KDE Code of Conduct:

    http://www.kde.org/code-of-conduct/

In future, please be more collaborative and less abusive of those who are doing good work that we all rely on. Thanks.
Comment 7 kavol 2010-09-10 17:05:07 UTC
(In reply to comment #5)
> Could someone try 4.7.0?

I've tried to recompile SRPM taken from this build:
http://koji.fedoraproject.org/koji/buildinfo?buildID=194333

on my system and update (hope that won't break my system any further)

we'll see if the problem reappears ...