Bug 306795 - Crash on first use after install
Summary: Crash on first use after install
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: HI crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 308780 309328 312288 312613 313528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-14 15:10 UTC by anthony.debeus
Modified: 2022-12-11 15:35 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anthony.debeus 2012-09-14 15:10:40 UTC
Application: kwin (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-31-generic i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Running Ubuntu 12.04 LTS, (upgraded from 10.10->...->...->12.04) , didn't care for Unity, installed KDE, rebooted, logged in (xubuntu screen) logged out relogged in to KDE for first time, Kwin crashed.
Perhaps a one off.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  nouveau_flush (ctx=0x904a470) at nouveau_driver.c:70
#8  nouveau_flush (ctx=0x904a470) at nouveau_driver.c:57
#9  0x052414d0 in _mesa_flush (ctx=0x904a470) at main/context.c:1652
#10 0x05241572 in _mesa_make_current (newCtx=0x0, drawBuffer=0x0, readBuffer=0x0) at main/context.c:1431
#11 0x053c7a34 in _mesa_meta_free (ctx=0x904a470) at drivers/common/meta.c:417
#12 0x04ed902c in nouveau_context_deinit (ctx=0x904a470) at nouveau_context.c:171
#13 0x04eedb48 in nv20_context_destroy (ctx=0x904a470) at nv20_context.c:427
#14 0x04ed9088 in nouveau_context_destroy (dri_ctx=0x903f610) at nouveau_context.c:187
#15 0x04ed593a in driDestroyContext (pcp=0x903f610) at ../common/dri_util.c:277
#16 0x008b139a in dri2_destroy_context (context=0x900dae0) at dri2_glx.c:132
#17 0x00887da2 in glXDestroyContext (ctx=0x900dae0, dpy=0x8f3de90) at glxcmds.c:424
#18 glXDestroyContext (dpy=0x8f3de90, ctx=0x900dae0) at glxcmds.c:405
#19 0x00504826 in KWin::CompositingPrefs::deleteGLXContext (this=0xbf8bfb88) at ../../kwin/compositingprefs.cpp:282
#20 0x00505234 in KWin::CompositingPrefs::detect (this=0xbf8bfb88) at ../../kwin/compositingprefs.cpp:223
#21 0x0047f020 in KWin::Options::reloadCompositingSettings (this=0x900cdc8, force=false) at ../../kwin/options.cpp:313
#22 0x004842ea in KWin::Options::updateSettings (this=0x900cdc8) at ../../kwin/options.cpp:256
#23 0x0047c00e in KWin::Application::Application (this=0xbf8c08d8) at ../../kwin/main.cpp:319
#24 0x0047e3ae in kdemain (argc=1, argv=0xbf8c0b84) at ../../kwin/main.cpp:511
#25 0x0804850b in main (argc=1, argv=0xbf8c0b84) at kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Martin Flöser 2012-09-14 15:25:13 UTC
Crashes unfortunately in the nouveau driver, that is out of our control.

To circumvent this problem there are multiple solutions:
1. Use the proprietary NVIDIA driver
2. Update to 4.9 (provided through a PPA) which does no longer use this specific code path where the crash occurred, though it is still very likely that the nouveau driver would cause a crash.
Comment 2 anthony.debeus 2012-09-14 22:06:03 UTC
Can't use NVIDIA proprietary driver, old card using 96.x.x.x, now no longer supported for the latest Xorg.  Guess I can try 4.9; can we pass this bug along to the nouveau team?
Comment 3 Thomas Lübking 2012-09-14 22:27:53 UTC
The trace has all required debug symbols, fdo bugtracker with nouveau bugs:
https://bugs.freedesktop.org/buglist.cgi?quicksearch=xf86-video-nouveau

You can and should file the bug, but the OpenGL drivers are far from productive state and NV20 is not exactly a common chip nowadays.

You may have more success using XRender compositing ("kcmshell4 kwincompositing", last tab)
Comment 4 Martin Flöser 2012-10-22 04:27:23 UTC
*** Bug 308780 has been marked as a duplicate of this bug. ***
Comment 5 Martin Flöser 2012-10-31 17:11:11 UTC
*** Bug 309328 has been marked as a duplicate of this bug. ***
Comment 6 Martin Flöser 2012-12-28 06:45:12 UTC
*** Bug 312288 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Lübking 2013-01-04 18:16:58 UTC
*** Bug 312613 has been marked as a duplicate of this bug. ***
Comment 8 Martin Flöser 2013-01-20 08:22:14 UTC
*** Bug 313528 has been marked as a duplicate of this bug. ***