Bug 329989 - KWIN crashed when rebooting after a bad suspend to ram
Summary: KWIN crashed when rebooting after a bad suspend to ram
Status: RESOLVED DUPLICATE of bug 333275
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-15 10:06 UTC by meanpt
Modified: 2015-01-09 08:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.71 KB, text/plain)
2014-05-11 14:20 UTC, Jannis Liapis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description meanpt 2014-01-15 10:06:25 UTC
Application: kwin (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Kubuntu 13.10, after upgrading Kubuntu 13.04; Crashed after inputing my login password
I was rebooting after a bad suspend to ram

- Unusual behavior I noticed:

- Custom settings of the application:
The system is installed in a 16 GB SD card, no swap partition, with the tmp directory moved to ram
I'm using the homerun launcher

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  KWin::Scene::paintSimpleScreen (this=this@entry=0x1957160, orig_mask=orig_mask@entry=0, region=...) at ../../kwin/scene.cpp:245
#7  0x00007f57f9520155 in KWin::Scene::finalPaintScreen (this=0x1957160, mask=mask@entry=0, region=..., data=...) at ../../kwin/scene.cpp:184
#8  0x00007f57f9541cdd in KWin::EffectsHandlerImpl::paintScreen (this=0x1afc5f0, mask=0, region=..., data=...) at ../../kwin/effects.cpp:374
#9  0x00007f57f9522548 in KWin::Scene::paintScreen (this=this@entry=0x1957160, mask=mask@entry=0x7fff450475bc, region=region@entry=0x7fff45047670) at ../../kwin/scene.cpp:141
#10 0x00007f57f9534d37 in KWin::SceneOpenGL::paint (this=0x1957160, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:360
#11 0x00007f57f951a4d3 in KWin::Compositor::performCompositing (this=this@entry=0x146b720) at ../../kwin/composite.cpp:618
#12 0x00007f57f951b7d9 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x146b720) at ../../kwin/composite.cpp:273
#13 0x00007f57f94a3855 in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_composite.cpp:194
#14 0x00007f57f3570a58 in QMetaObject::activate (sender=0x14c6cf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#15 0x00007f57f344dac8 in QFutureWatcherBase::event (this=<optimized out>, event=0x7f57cc001520) at concurrent/qfuturewatcher.cpp:344
#16 0x00007f57f28f9dfc in QApplicationPrivate::notify_helper (this=this@entry=0x12b7810, receiver=receiver@entry=0x14c6cf0, e=e@entry=0x7f57cc001520) at kernel/qapplication.cpp:4567
#17 0x00007f57f2900470 in QApplication::notify (this=this@entry=0x7fff450480e0, receiver=receiver@entry=0x14c6cf0, e=e@entry=0x7f57cc001520) at kernel/qapplication.cpp:4353
#18 0x00007f57f7dd1a6a in KApplication::notify (this=0x7fff450480e0, receiver=0x14c6cf0, event=0x7f57cc001520) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f57f355c8bd in QCoreApplication::notifyInternal (this=0x7fff450480e0, receiver=receiver@entry=0x14c6cf0, event=event@entry=0x7f57cc001520) at kernel/qcoreapplication.cpp:946
#20 0x00007f57f355fe1f in sendEvent (event=0x7f57cc001520, receiver=0x14c6cf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x124f1f0) at kernel/qcoreapplication.cpp:1570
#22 0x00007f57f35602c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#23 0x00007f57f299c14c in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 QEventDispatcherX11::processEvents (this=0x12b77a0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#25 0x00007f57f355b5ef in QEventLoop::processEvents (this=this@entry=0x7fff45047f50, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f57f355b8e5 in QEventLoop::exec (this=this@entry=0x7fff45047f50, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007f57f3560e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#28 0x00007f57f28f834c in QApplication::exec () at kernel/qapplication.cpp:3828
#29 0x00007f57f94d4956 in kdemain (argc=3, argv=0x7fff45048228) at ../../kwin/main.cpp:597
#30 0x00007f57f90b2de5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fff45048228, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff45048218) at libc-start.c:260
#31 0x00000000004006fe in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 318269.

Possible duplicates by query: bug 329278, bug 328834, bug 328553, bug 328496, bug 327824.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-01-15 14:23:52 UTC
*not* a dupe of all the "ubuntu screwed ABI" issues that end in scene.cpp:653

This one's scene.cpp:245, being
244	 Window* w = stacking_order[ i ];
245	Toplevel* topw = w->window();
So there seems a dangeling pointer in the stack

@meanpt:
did this happen more often or just that one time?
Comment 2 meanpt 2014-02-14 16:32:53 UTC
So far it happened only once.


2014-01-18 6:02 GMT+00:00 Jekyll Wu <adaptee@gmail.com>:

> https://bugs.kde.org/show_bug.cgi?id=329989
>
> Jekyll Wu <adaptee@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Version|unspecified                 |4.11.3
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Jannis Liapis 2014-05-11 14:20:34 UTC
Created attachment 86581 [details]
New crash information added by DrKonqi

kwin (4.11.9) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed: i was trying to change the default widget to bespin when the crash occured

-- Backtrace (Reduced):
#6  KWin::Scene::paintSimpleScreen (this=this@entry=0x22b3170, orig_mask=orig_mask@entry=0, region=...) at ../../kwin/scene.cpp:261
#7  0x00007fb5ad6e9835 in KWin::Scene::finalPaintScreen (this=0x22b3170, mask=mask@entry=0, region=..., data=...) at ../../kwin/scene.cpp:198
#8  0x00007fb5ad70bc9d in KWin::EffectsHandlerImpl::paintScreen (this=0x21d6e30, mask=0, region=..., data=...) at ../../kwin/effects.cpp:375
#9  0x00007fb5ad6ebd03 in KWin::Scene::paintScreen (this=this@entry=0x22b3170, mask=mask@entry=0x7fff5553ec5c, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff5553ec70, validRegion=validRegion@entry=0x7fff5553ec80) at ../../kwin/scene.cpp:148
#10 0x00007fb5ad6feafe in KWin::SceneOpenGL::paint (this=0x22b3170, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:389
Comment 4 Thomas Lübking 2014-05-11 14:27:14 UTC
Could be the dangeling deleted bug #333275
Comment 5 Martin Flöser 2015-01-09 08:28:38 UTC
assuming dup of #333275

*** This bug has been marked as a duplicate of bug 333275 ***