Bug 334273 - Kwin crash when opening Firefox
Summary: Kwin crash when opening Firefox
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 334404 336040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-03 10:59 UTC by Jean MORELT
Modified: 2015-01-09 08:19 UTC (History)
2 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 Jean MORELT 2014-05-03 10:59:37 UTC
Application: kwin (4.11.8)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic i686
Distribution: Ubuntu 14.04 LTS

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

Just opening Firefox and loading 5 tabs. One on outlook.com, 2 on Coursera and 2 others on CodeSkulptor.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  KWin::Scene::paintSimpleScreen (this=this@entry=0x8c06b20, orig_mask=orig_mask@entry=0, region=...) at ../../kwin/scene.cpp:261
#8  0xb762a6a7 in KWin::Scene::finalPaintScreen (this=0x8c06b20, mask=mask@entry=0, region=..., data=...) at ../../kwin/scene.cpp:198
#9  0xb7651973 in KWin::EffectsHandlerImpl::paintScreen (this=0x8c76698, mask=0, region=..., data=...) at ../../kwin/effects.cpp:375
#10 0xb762d0ec in KWin::Scene::paintScreen (this=this@entry=0x8c06b20, mask=mask@entry=0xbff6b730, damage=..., repaint=..., updateRegion=updateRegion@entry=0xbff6b734, validRegion=validRegion@entry=0xbff6b738) at ../../kwin/scene.cpp:148
#11 0xb7641fa7 in KWin::SceneOpenGL::paint (this=0x8c06b20, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:389
#12 0xb76235c0 in KWin::Compositor::performCompositing (this=this@entry=0x8c4f488) at ../../kwin/composite.cpp:618
#13 0xb7624a2e in KWin::Compositor::slotCompositingOptionsInitialized (this=0x8c4f488) at ../../kwin/composite.cpp:273
#14 0xb759dcb8 in KWin::Compositor::qt_static_metacall (_o=0xbff6b568, _id=2, _a=0xbff6b978, _c=<optimized out>) at moc_composite.cpp:193
#15 0xb5e4c0f7 in QMetaObject::activate (sender=sender@entry=0x8c56a50, m=m@entry=0xb5fa2860 <QFutureWatcherBase::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#16 0xb5e98c45 in QFutureWatcherBase::finished (this=this@entry=0x8c56a50) at .moc/release-shared/moc_qfuturewatcher.cpp:140
#17 0xb5d1428c in QFutureWatcherBasePrivate::sendCallOutEvent (this=this@entry=0x8c84428, event=event@entry=0xaac00cd0) at concurrent/qfuturewatcher.cpp:439
#18 0xb5d14551 in QFutureWatcherBase::event (this=0x8c56a50, event=0xaac00cd0) at concurrent/qfuturewatcher.cpp:344
#19 0xb53427f4 in QApplicationPrivate::notify_helper (this=0x8b167d0, receiver=0x8c56a50, e=0xaac00cd0) at kernel/qapplication.cpp:4567
#20 0xb53492d3 in QApplication::notify (this=0xbff6bfd8, receiver=receiver@entry=0x8c56a50, e=e@entry=0xaac00cd0) at kernel/qapplication.cpp:4353
#21 0xb6b0b0a4 in KApplication::notify (this=this@entry=0xbff6bfd8, receiver=receiver@entry=0x8c56a50, event=event@entry=0xaac00cd0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0xb75d3579 in KWin::Application::notify (this=0xbff6bfd8, o=0x8c56a50, e=0xaac00cd0) at ../../kwin/main.cpp:431
#23 0xb5e36e4a in QCoreApplication::notifyInternal (this=0xbff6bfd8, receiver=receiver@entry=0x8c56a50, event=event@entry=0xaac00cd0) at kernel/qcoreapplication.cpp:953
#24 0xb5e3a70d in sendEvent (event=0xaac00cd0, receiver=0x8c56a50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8a6e130) at kernel/qcoreapplication.cpp:1577
#26 0xb5e3ac1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#27 0xb53f7e99 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 QEventDispatcherX11::processEvents (this=0x8a6eed0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#29 0xb5e35823 in QEventLoop::processEvents (this=this@entry=0xbff6bed8, flags=...) at kernel/qeventloop.cpp:149
#30 0xb5e35b49 in QEventLoop::exec (this=this@entry=0xbff6bed8, flags=...) at kernel/qeventloop.cpp:204
#31 0xb5e3b8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#32 0xb5340a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#33 0xb75d491e in kdemain (argc=3, argv=0xbff6c0c4) at ../../kwin/main.cpp:597
#34 0x0804855b in main (argc=3, argv=0xbff6c0c4) at kwin_dummy.cpp:3

Possible duplicates by query: bug 334268, bug 334071, bug 333711, bug 332722, bug 331881.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-05-03 11:49:43 UTC
#13 0xb7624a2e in KWin::Compositor::slotCompositingOptionsInitialized (this=0x8c4f488) at ../../kwin/composite.cpp:273

The compositor just finished startup.

#7  KWin::Scene::paintSimpleScreen (this=this@entry=0x8c06b20, orig_mask=orig_mask@entry=0, region=...) at ../../kwin/scene.cpp:261

261	Toplevel* topw = w->window();

pot. bug #333275, https://git.reviewboard.kde.org/r/117557/
Comment 2 Thomas Lübking 2014-05-17 14:45:53 UTC
*** Bug 334404 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Lübking 2014-05-18 11:04:30 UTC
@Martin
assuming this is bug #333275, did you already backport the fix?

(otherwise i'll - i've two other patches to push anyway)
Comment 4 Martin Flöser 2014-05-18 18:12:27 UTC
(In reply to comment #3)
> @Martin
> assuming this is bug #333275, did you already backport the fix?

no, not yet backported.
Comment 5 Thomas Lübking 2014-05-30 21:54:59 UTC
Git commit 0feb2b4d5b152263737967e778415ea2afa119b6 by Thomas Lübking.
Committed on 29/05/2014 at 20:31.
Pushed by luebking into branch 'KDE/4.11'.

Discard all deleted before constructing the Scene

The Scene connects to the deletedRemoved signal and tries to remove the
Deleted from it's list of Windows, which will fail because a SceneWindow
doesn't get created for an existing Deleted in the Scene setup.

It doesn't make sense to create a SceneWindow for a Deleted as there is
no pixmap around anyway. Thus the best approach is to ensure that there
are no Deleted by just discarding all prior to creating the Scene.
Related: bug 333275
REVIEW: 117557

"cherry-picked" from kwin.git 8e631028552c4b474a317ebf589e31c13289c6fd
Author: mgraesslin
Date: Mon, 14 Apr 2014 09:19:43 +0200

M  +6    -0    kwin/composite.cpp

http://commits.kde.org/kde-workspace/0feb2b4d5b152263737967e778415ea2afa119b6
Comment 6 Martin Flöser 2014-06-10 13:04:16 UTC
*** Bug 336040 has been marked as a duplicate of this bug. ***
Comment 7 Martin Flöser 2015-01-09 08:19:40 UTC
Let's assume fixed by commit in comment #5. If it still happens please reopen.