Bug 327103 - KDE Login Crash
Summary: KDE Login Crash
Status: RESOLVED DUPLICATE of bug 333275
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/117...
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-11-03 19:38 UTC by Erich Carlson
Modified: 2015-01-09 08:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: ReviewRequest+


Attachments
New crash information added by DrKonqi (3.36 KB, text/plain)
2013-11-13 08:00 UTC, Diego
Details
New crash information added by DrKonqi (2.44 KB, text/plain)
2014-01-02 13:33 UTC, Jose Luis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Carlson 2013-11-03 19:38:45 UTC
Application: kwin (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.6-200.fc19.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

After I login KDE crashes. Other programs launch effectively. Background pictures are their, workspaces, etc. everything looks fine. I just get this message that KDE has crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  KWin::EffectWindowImpl::setSceneWindow (this=0x0, w=w@entry=0x0) at /usr/src/debug/kde-workspace-4.11.2/kwin/effects.cpp:1696
#7  0x000000331b0d8b87 in KWin::SceneOpenGL::windowDeleted (this=<optimized out>, c=0x1f421b0) at /usr/src/debug/kde-workspace-4.11.2/kwin/scene_opengl.cpp:488
#8  0x00000037a2f8df78 in QMetaObject::activate (sender=sender@entry=0x1ee24c0, m=m@entry=0x331b393ee0 <KWin::Workspace::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fffd235eaa0) at kernel/qobject.cpp:3547
#9  0x000000331b057b83 in deletedRemoved (_t1=0x1f421b0, this=0x1ee24c0) at /usr/src/debug/kde-workspace-4.11.2/x86_64-redhat-linux-gnu/kwin/workspace.moc:402
#10 KWin::Workspace::removeDeleted (this=0x1ee24c0, c=c@entry=0x1f421b0) at /usr/src/debug/kde-workspace-4.11.2/kwin/workspace.cpp:641
#11 0x000000331b0e7101 in KWin::Deleted::~Deleted (this=0x1f421b0, __in_chrg=<optimized out>) at /usr/src/debug/kde-workspace-4.11.2/kwin/deleted.cpp:53
#12 0x000000331b0e72e9 in KWin::Deleted::~Deleted (this=0x1f421b0, __in_chrg=<optimized out>) at /usr/src/debug/kde-workspace-4.11.2/kwin/deleted.cpp:55
#13 0x00000037a2f92368 in QObject::event (this=0x1f421b0, e=<optimized out>) at kernel/qobject.cpp:1175
#14 0x00000037a55c84dc in QApplicationPrivate::notify_helper (this=this@entry=0x1d73e30, receiver=receiver@entry=0x1f421b0, e=e@entry=0x1f70030) at kernel/qapplication.cpp:4562
#15 0x00000037a55ceaa0 in QApplication::notify (this=this@entry=0x7fffd235f340, receiver=receiver@entry=0x1f421b0, e=e@entry=0x1f70030) at kernel/qapplication.cpp:4348
#16 0x0000003310c3fe9a in KApplication::notify (this=0x7fffd235f340, receiver=0x1f421b0, event=0x1f70030) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#17 0x00000037a2f7a26d in QCoreApplication::notifyInternal (this=0x7fffd235f340, receiver=receiver@entry=0x1f421b0, event=event@entry=0x1f70030) at kernel/qcoreapplication.cpp:949
#18 0x00000037a2f7d1df in sendEvent (event=0x1f70030, receiver=0x1f421b0) at kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d21320) at kernel/qcoreapplication.cpp:1573
#20 0x00000037a2f7d683 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#21 0x00000037a566573c in sendPostedEvents () at ../../src/corelib/kernel/qcoreapplication.h:236
#22 QEventDispatcherX11::processEvents (this=0x1d22c80, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#23 0x00000037a2f78ecf in QEventLoop::processEvents (this=this@entry=0x7fffd235f1b0, flags=...) at kernel/qeventloop.cpp:149
#24 0x00000037a2f791c5 in QEventLoop::exec (this=this@entry=0x7fffd235f1b0, flags=...) at kernel/qeventloop.cpp:204
#25 0x00000037a2f7e45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#26 0x00000037a55c6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#27 0x000000331b07b806 in kdemain (argc=1, argv=0x7fffd235f488) at /usr/src/debug/kde-workspace-4.11.2/kwin/main.cpp:597
#28 0x0000003bcc021b75 in __libc_start_main (main=0x4009d0 <main(int, char**)>, argc=1, ubp_av=0x7fffd235f488, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd235f478) at libc-start.c:274
#29 0x0000000000400a01 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-11-03 21:35:05 UTC
might be related to bug #325569

At least the Deleted::effect_window is clearly NULL and toplevel.cpp:122 actually supports the potential case:
void Toplevel::copyToDeleted(Toplevel* c)
{
    ...
    if (effect_window != NULL)
        effect_window->setWindow(this);


This would happen if a window is deleted before Toplevel::setupCompositing() is invoked or if the window gets deleted twice.
Comment 2 Diego 2013-11-13 08:00:57 UTC
Created attachment 83542 [details]
New crash information added by DrKonqi

kwin (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.5

- What I was doing when the application crashed:

I got this crash notification as soon as my KDE desktop showed up. I did nothing on my side to trigger the crash (at least that I'm aware of).

-- Backtrace (Reduced):
#6  0x00007f5fd8f65c00 in KWin::EffectWindowImpl::setSceneWindow(KWin::Scene::Window*) () from /lib64/libkdeinit4_kwin.so
#7  0x00007f5fd8f53b87 in KWin::SceneOpenGL::windowDeleted(KWin::Deleted*) () from /lib64/libkdeinit4_kwin.so
[...]
#9  0x00007f5fd8ed2b83 in KWin::Workspace::removeDeleted(KWin::Deleted*) () from /lib64/libkdeinit4_kwin.so
#10 0x00007f5fd8f62101 in KWin::Deleted::~Deleted() () from /lib64/libkdeinit4_kwin.so
#11 0x00007f5fd8f622e9 in KWin::Deleted::~Deleted() () from /lib64/libkdeinit4_kwin.so
Comment 3 Jose Luis 2014-01-02 13:33:04 UTC
Created attachment 84411 [details]
New crash information added by DrKonqi

kwin (4.11.4) on KDE Platform 4.11.4 using Qt 4.8.5

- What I was doing when the application crashed:

I was login in, I haven't made any interaction with the computer until it starts and the error pops up.

-- Backtrace (Reduced):
#5  0x0000003ed1eeace0 in KWin::EffectWindowImpl::setSceneWindow(KWin::Scene::Window*) () from /lib64/libkdeinit4_kwin.so
#6  0x0000003ed1ed8c67 in KWin::SceneOpenGL::windowDeleted(KWin::Deleted*) () from /lib64/libkdeinit4_kwin.so
[...]
#8  0x0000003ed1e57b83 in KWin::Workspace::removeDeleted(KWin::Deleted*) () from /lib64/libkdeinit4_kwin.so
#9  0x0000003ed1ee71e1 in KWin::Deleted::~Deleted() () from /lib64/libkdeinit4_kwin.so
#10 0x0000003ed1ee73c9 in KWin::Deleted::~Deleted() () from /lib64/libkdeinit4_kwin.so
Comment 4 Martin Flöser 2015-01-09 08:31:08 UTC
assuming dup of #333275

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