Bug 308715 - Plasma Active crashes, expecially while dragging down top bar
Summary: Plasma Active crashes, expecially while dragging down top bar
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Active
Classification: Plasma
Component: General (show other bugs)
Version: PA 3
Platform: Ubuntu Linux
: NOR critical
Target Milestone: unscheduled
Assignee: active
URL:
Keywords:
: 322282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-20 15:32 UTC by Davide Depau
Modified: 2013-10-12 11:37 UTC (History)
3 users (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 Davide Depau 2012-10-20 15:32:01 UTC
Hi,
I decided to try the new Kubuntu Active on my netbook PC (i386).
I've downloaded the i386 image and put it in a USB drive. I booted the PC. It took long time to load Plasma, and when it loaded, I tried to drag the handles on the edges of the screen. When I dragged left or right edge handles, I noticed that some parts of the screen weren't refreshed correctly, and when I dragged the top bar and dropped it at half screen, Kwin crashed.
I've tried to boot Kubuntu Active on my laptop and the issue occurred again.
I couldn't report the issue using the integrated error reported because I couldn't download the debug packages: I didn't manage to open wireless plasmoid.

Reproducible: Always

Steps to Reproduce:
1. Download Kubuntu Active 12.10 (not the beta)
2. Copy it to a USB drive using OpenSUSE ImageWriter
http://www.lffl.org/2012/02/suse-studio-image-writer-su-ubuntu.html (in Italian)
http://en.opensuse.org/SDB:Live_USB_stick
3. Boot the PC from the USB drive
4. Wait until Plasma Active loads
5. Try to drag the handles and the top bar
Actual Results:  
The screen doesn't refresh correctly and KWin crashes.
Comment 1 Myriam Schweingruber 2012-10-22 11:47:33 UTC
Without a backtrace there is little we can do I fear.
Comment 2 Davide Depau 2012-10-22 12:25:55 UTC
How can I get it manually? I mean, through a TTY...
I'll try to install all debug packages via Ethernet...
Comment 3 Sebastian Kügler 2012-10-24 10:05:26 UTC
Install the debug packages, then start "gdb --args plasma-device", when you get back to the gdb commandline (right after the crash), enter "bt" and copy paste the backtrace here.

Thanks!
Comment 4 bodertz 2012-11-01 03:34:25 UTC
Have the same issue.


Application: KWin (kwinactive_gles), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1d2d740 (LWP 4200))]

Thread 2 (Thread 0xaebb2b40 (LWP 4206)):
#0  0xb77a7424 in __kernel_vsyscall ()
#1  0xb2d6896b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75b564c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb67221cd in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb67221ff in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb2d64d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb75a7d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1d2d740 (LWP 4200)):
[KCrash Handler]
#7  QObject::setProperty (this=0x0, name=0xb777720e "screenWidth", value=...) at kernel/qobject.cpp:3689
#8  0xb775f2ab in KWin::TabBox::DeclarativeView::showEvent (this=0x952f740, event=0xbfba13c4) at ../../../kwin/tabbox/declarative.cpp:164
#9  0xb55edd48 in QWidget::event (this=0x952f740, event=0xbfba13c4) at kernel/qwidget.cpp:8578
#10 0xb59fdf15 in QFrame::event (this=0x952f740, e=0xbfba13c4) at widgets/qframe.cpp:557
#11 0xb5a9038c in QAbstractScrollArea::event (this=0x952f740, e=0xbfba13c4) at widgets/qabstractscrollarea.cpp:996
#12 0xb5c4665a in QGraphicsView::event (this=0x952f740, event=0xbfba13c4) at graphicsview/qgraphicsview.cpp:2740
#13 0xb559439c in QApplicationPrivate::notify_helper (this=0x93cc770, receiver=0x952f740, e=0xbfba13c4) at kernel/qapplication.cpp:4562
#14 0xb5598e54 in QApplication::notify (this=0x93cc770, receiver=0x952f740, e=0xbfba13c4) at kernel/qapplication.cpp:4423
#15 0xb7264e91 in KApplication::notify (this=0xbfba2018, receiver=0x952f740, event=0xbfba13c4) at ../../kdeui/kernel/kapplication.cpp:311
#16 0xb76c693f in notify (e=0xbfba13c4, o=0x952f740, this=0xbfba2018) at ../../../kwin/main.cpp:371
#17 KWin::Application::notify (this=0xbfba2018, o=0x952f740, e=0xbfba13c4) at ../../../kwin/main.cpp:367
#18 0xb60a378e in QCoreApplication::notifyInternal (this=0xbfba2018, receiver=0x952f740, event=0xbfba13c4) at kernel/qcoreapplication.cpp:915
#19 0xb55f02f2 in sendEvent (event=0xbfba13c4, receiver=0x952f740) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QWidgetPrivate::show_helper (this=this@entry=0x9545418) at kernel/qwidget.cpp:7551
#21 0xb55f0625 in QWidget::setVisible (this=0x952f740, visible=true) at kernel/qwidget.cpp:7773
#22 0xb7760e38 in show (this=0x952f740) at /usr/include/qt4/QtGui/qwidget.h:494
#23 KWin::TabBox::TabBoxHandler::show (this=0x94b2cf0) at ../../../kwin/tabbox/tabboxhandler.cpp:257
#24 0xb7756415 in KWin::TabBox::TabBox::show (this=this@entry=0x94b2f60) at ../../../kwin/tabbox/tabbox.cpp:680
#25 0xb7756e84 in KWin::TabBox::TabBox::openEmbedded (this=this@entry=0x94b2f60, wid=41943078, offset=..., size=..., horizontalAlignment=1, verticalAlignment=64, layout=...) at ../../../kwin/tabbox/tabbox.cpp:1177
#26 0xb775a1d3 in qt_static_metacall (_a=0xbfba164c, _id=10, _o=0x94b2f60, _c=<optimized out>) at ./tabbox.moc:144
#27 KWin::TabBox::TabBox::qt_static_metacall (_o=0x94b2f60, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfba164c) at ./tabbox.moc:128
#28 0xb775a52c in KWin::TabBox::TabBox::qt_metacall (this=0x94b2f60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfba164c) at ./tabbox.moc:215
#29 0xb622a6ae in QDBusConnectionPrivate::deliverCall (this=0x93c5e08, object=0x94b2f60, msg=..., metaTypes=..., slotIdx=-1216908786) at qdbusintegrator.cpp:947
#30 0xb622b76a in QDBusConnectionPrivate::activateCall (this=0x93c5e08, object=0x94b2f60, flags=240, msg=...) at qdbusintegrator.cpp:850
#31 0xb622bf12 in QDBusConnectionPrivate::activateObject (this=0x93c5e08, node=..., msg=..., pathStartPos=1) at qdbusintegrator.cpp:1423
#32 0xb622c308 in QDBusActivateObjectEvent::placeMetaCall (this=0x9536738) at qdbusintegrator.cpp:1537
#33 0xb60b9eeb in QObject::event (this=0x94b2f60, e=0x9536738) at kernel/qobject.cpp:1195
#34 0xb559439c in QApplicationPrivate::notify_helper (this=0x93cc770, receiver=0x94b2f60, e=0x9536738) at kernel/qapplication.cpp:4562
#35 0xb5598daf in QApplication::notify (this=0x9536738, receiver=0x94b2f60, e=0x9536738) at kernel/qapplication.cpp:3944
#36 0xb7264e91 in KApplication::notify (this=0xbfba2018, receiver=0x94b2f60, event=0x9536738) at ../../kdeui/kernel/kapplication.cpp:311
#37 0xb76c693f in notify (e=0x9536738, o=0x94b2f60, this=0xbfba2018) at ../../../kwin/main.cpp:371
#38 KWin::Application::notify (this=0xbfba2018, o=0x94b2f60, e=0x9536738) at ../../../kwin/main.cpp:367
#39 0xb60a378e in QCoreApplication::notifyInternal (this=0xbfba2018, receiver=0x94b2f60, event=0x9536738) at kernel/qcoreapplication.cpp:915
#40 0xb60a797d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9391130) at kernel/qcoreapplication.cpp:1539
#42 0xb60a7c0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#43 0xb564b82d in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 QEventDispatcherX11::processEvents (this=0x9391ea0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#45 0xb60a226c in QEventLoop::processEvents (this=this@entry=0xbfba1e98, flags=...) at kernel/qeventloop.cpp:149
#46 0xb60a2561 in QEventLoop::exec (this=0xbfba1e98, flags=...) at kernel/qeventloop.cpp:204
#47 0xb60a7cba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#48 0xb5591fc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#49 0xb76c92a9 in kdemain (argc=3, argv=0xbfba2104) at ../../../kwin/main.cpp:545
#50 0x0804856b in main (argc=3, argv=0xbfba2104) at kwin_gles_dummy.cpp:3
Comment 5 Aaron J. Seigo 2012-11-01 09:22:20 UTC
this looks a lot like a system integration issue with the kubuntu packages.

the way that backtrace happens is if:

* the declarative view for the window switcher is created for a tabbox style that is not the currently set one (unlikely)
* there are no QML plugins for the layout used in the PA shell
* the QML layout is broken

to determine what is up, please open a console in the PA session and run: kwin --replace.

in the debug output to console look for one of the following messages:

"could not find default window switcher layout"
"Window Switcher Layout is no declarativeappletscript"
"Could not find QML file for window switcher"

also, grep for LayoutName in kwinrc and kwinactiverc

hopefully the kubuntu packagers can update their packages to PA3 soon and improve the integration and testing of them.
Comment 6 bodertz 2012-11-03 20:13:36 UTC
The same issue occurs with the basysKom PA3.

Immediately after a crash, you can pull the top bar down, but he next time you try, it crahes again.

kwin wasn't installed (kwinactive_gles was), but after installing, running kwin fixes the problem. Using kwinactive_gles, the list of running applications that should appear when you pull the top bar down does not appear. Likely unrelated, but the Share Like Connect thing shows only an X.

None of the messages appeared, unless I misunderstood where I was meant to look. Same for the LayoutName thing.
Comment 7 Thomas Lübking 2013-10-12 11:37:27 UTC
*** Bug 322282 has been marked as a duplicate of this bug. ***