kwin crashes randomly

Bug #1547901 reported by Andreas Heumaier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kwin (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi ,

Fresh install of Kubuntu 16.04 (due to kwin_x11 crashes randomly with 15.10 and fglrx-updates befor to known bugs).

Seemed stable with radeon . When moving to fglrx the crashes start again.

gdb bt on the crashed kwin_x11 process shows the following:

Attaching to process 1644
Reading symbols from /usr/bin/kwin_x11...Reading symbols from /usr/lib/debug/.build-id/42/65680952ac10e5b094a8ff20ad82640aa21666.debug...done.
done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so...Reading symbols from /usr/lib/debug/.build-id/c6/dac3d321681aacd103f9fda3095a2dbfbddee0.debug...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.21.so...done.
done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libkwin.so.5...Reading symbols from /usr/lib/debug/.build-id/a5/c882a7174dc7e3f51523e608b9f98242ca4cda.debug...done.
done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libKF5I18n.so.5...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.21.so...done.
done.
[New LWP 1691]
[New LWP 1689]
[New LWP 1675]
[New LWP 1659]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
(...search for more debubg symbols)
(gdb) bt
#0 0x00007f3b9ab79d1d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f3b9ab79bb4 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2 0x00007f3b9440a313 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#3 0x00007f3b9440a929 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#4 0x00007f3b9440ae18 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#5 <signal handler called>
#6 0x00007f3b71ad0eb9 in ?? () from /usr/lib/dri/fglrx_dri.so
#7 0x00007f3b711c4a28 in ?? () from /usr/lib/dri/fglrx_dri.so
#8 0x00007f3b711c4cc2 in ?? () from /usr/lib/dri/fglrx_dri.so
#9 0x00007f3b715f05c3 in ?? () from /usr/lib/dri/fglrx_dri.so
#10 0x00007f3b9823ec8e in KWin::BlurEffect::doCachedBlur (this=this@entry=0x1892ff0,
    w=w@entry=0x1911530, region=..., opacity=1) at ../../effects/blur/blur.cpp:600
#11 0x00007f3b9823f99c in KWin::BlurEffect::drawWindow (this=this@entry=0x1892ff0,
    w=w@entry=0x1911530, mask=mask@entry=10, region=..., data=...)
    at ../../effects/blur/blur.cpp:409
#12 0x00007f3b9a78a54e in KWin::EffectsHandlerImpl::drawWindow (this=0x1834d60,
    w=w@entry=0x1911530, mask=mask@entry=10, region=..., data=...) at ../effects.cpp:492
#13 0x00007f3b9a750f01 in KWin::Scene::finalPaintWindow (this=<optimized out>,
    w=w@entry=0x1911530, mask=mask@entry=10, region=..., data=...) at ../scene.cpp:607
#14 0x00007f3b9a78a3fa in KWin::EffectsHandlerImpl::paintWindow (this=0x1834d60,
    w=w@entry=0x1911530, mask=mask@entry=10, region=..., data=...) at ../effects.cpp:458
#15 0x00007f3b987155e1 in KWin::Effect::paintWindow (this=this@entry=0x185f990,
    w=w@entry=0x1911530, mask=mask@entry=10, region=..., data=...)
    at ../../libkwineffects/kwineffects.cpp:550
#16 0x00007f3b9a78a39e in KWin::EffectsHandlerImpl::paintWindow (this=0x1834d60,
    w=w@entry=0x1911530, mask=mask@entry=10, region=..., data=...) at ../effects.cpp:455
#17 0x00007f3b987155e1 in KWin::Effect::paintWindow (this=this@entry=0x1892ff0,
    w=w@entry=0x1911530, mask=mask@entry=10, region=..., data=...)
    at ../../libkwineffects/kwineffects.cpp:550
#18 0x00007f3b9a78a39e in KWin::EffectsHandlerImpl::paintWindow (this=0x1834d60, w=0x1911530,
    mask=mask@entry=10, region=..., data=...) at ../effects.cpp:455
#19 0x00007f3b9a7561f8 in KWin::Scene::paintWindow (this=this@entry=0x180c920, w=0x1903090,
    mask=10, region=..., quads=...) at ../scene.cpp:479
#20 0x00007f3b9a75588c in KWin::Scene::paintSimpleScreen (this=this@entry=0x180c920,
    orig_mask=orig_mask@entry=8, region=...) at ../scene.cpp:382
#21 0x00007f3b9a767213 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x180c920,
    mask=mask@entry=8, region=...) at ../scene_opengl.cpp:1095
#22 0x00007f3b9a7508c4 in KWin::Scene::finalPaintScreen (this=0x180c920, mask=mask@entry=8,
    region=..., data=...) at ../scene.cpp:201
#23 0x00007f3b9a78a17f in KWin::EffectsHandlerImpl::paintScreen (this=0x1834d60,
    mask=mask@entry=8, region=..., data=...) at ../effects.cpp:415
#24 0x00007f3b9871552f in KWin::Effect::paintScreen (this=this@entry=0x185f990, mask=mask@entry=8,
    region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#25 0x00007f3b9a78a12a in KWin::EffectsHandlerImpl::paintScreen (this=0x1834d60,
    mask=mask@entry=8, region=..., data=...) at ../effects.cpp:412
#26 0x00007f3b9871552f in KWin::Effect::paintScreen (this=this@entry=0x1892ff0, mask=mask@entry=8,
    region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#27 0x00007f3b9a78a12a in KWin::EffectsHandlerImpl::paintScreen (this=0x1834d60, mask=8,
    region=..., data=...) at ../effects.cpp:412
#28 0x00007f3b9a75053a in KWin::Scene::paintScreen (this=this@entry=0x180c920,
    mask=mask@entry=0x7ffdc524ad50, damage=..., repaint=...,
    updateRegion=updateRegion@entry=0x7ffdc524ad20, validRegion=validRegion@entry=0x7ffdc524ad30)
    at ../scene.cpp:151
#29 0x00007f3b9a76cbd8 in KWin::SceneOpenGL::paint (this=0x180c920, damage=..., toplevels=...)
    at ../scene_opengl.cpp:740
#30 0x00007f3b9a748493 in KWin::Compositor::performCompositing (this=0x1118ed0)
    at ../composite.cpp:712
#31 0x00007f3b9919ce13 in QObject::event (this=0x1118ed0, e=<optimized out>)
    at kernel/qobject.cpp:1261
#32 0x00007f3b99a61ffc in QApplicationPrivate::notify_helper (this=this@entry=0x1019ad0,
    receiver=receiver@entry=0x1118ed0, e=e@entry=0x7ffdc524b170) at kernel/qapplication.cpp:3716
#33 0x00007f3b99a674b6 in QApplication::notify (this=0x7ffdc524b3a0, receiver=0x1118ed0,
    e=0x7ffdc524b170) at kernel/qapplication.cpp:3499
#34 0x00007f3b9916d5ab in QCoreApplication::notifyInternal (this=0x7ffdc524b3a0,
    receiver=0x1118ed0, event=event@entry=0x7ffdc524b170) at kernel/qcoreapplication.cpp:965
#35 0x00007f3b991c285d in QCoreApplication::sendEvent (event=0x7ffdc524b170,
    receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#36 QTimerInfoList::activateTimers (this=0x104f008) at kernel/qtimerinfo_unix.cpp:637
#37 0x00007f3b991c0600 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1048420)
    at kernel/qeventdispatcher_unix.cpp:549
#38 0x00007f3b991c1076 in QEventDispatcherUNIX::processEvents (this=0x1048420,
    flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#39 0x00007f3b84e1795d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...)
    at eventdispatchers/qunixeventdispatcher.cpp:62
#40 0x00007f3b9916ad6a in QEventLoop::exec (this=this@entry=0x7ffdc524b2c0, flags=...,
    flags@entry=...) at kernel/qeventloop.cpp:204
#41 0x00007f3b99172e0c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#42 0x00007f3b994a887c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#43 0x00007f3b99a5e435 in QApplication::exec () at kernel/qapplication.cpp:2976
#44 0x00007f3b9ae84494 in kdemain (argc=1, argv=0x7ffdc524b508) at ../main_x11.cpp:303
#45 0x00007f3b9aacfa00 in __libc_start_main (main=0x400780 <main(int, char**)>, argc=3,
    argv=0x7ffdc524b508, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7ffdc524b4f8) at libc-start.c:289
#46 0x00000000004007b9 in _start ()
(gdb) quit

Let me know if/what can i do to provide more specs. Currently found no way to reproduce.

Revision history for this message
Andreas Heumaier (aheumaier) wrote :
description: updated
description: updated
description: updated
tags: added: kubuntu xenial
removed: kubuntu16.04
Revision history for this message
Flames_in_Paradise (ellisistfroh-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1547901

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in kwin (Ubuntu):
status: New → Incomplete
Revision history for this message
Andreas Heumaier (aheumaier) wrote :

apport-collect 1547901
The authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=NHDxbr3WGvRqqQJc1Wsc&allow_permission=DESKTOP_INTEGRATION)
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Waiting to hear from Launchpad about your decision...
Traceback (most recent call last):
  File "/usr/share/apport/apport-kde", line 530, in <module>
    sys.exit(UserInterface.run_argv())
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 653, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 569, in run_update_report
    response = self.ui_present_report_details(allowed_to_report)
  File "/usr/share/apport/apport-kde", line 367, in ui_present_report_details
    desktop_info)
  File "/usr/share/apport/apport-kde", line 184, in __init__
    self.ui.ui_update_view(self)
  File "/usr/share/apport/apport-kde", line 358, in ui_update_view
    QTreeWidgetItem(keyitem, [str(line)])
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 168: ordinal not in range(128)
Segmentation fault (core dumped)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kwin (Ubuntu) because there has been no activity for 60 days.]

Changed in kwin (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Michael F Winthrop (mwinthrop-1) wrote :
Download full text (3.4 KiB)

Getting random crashes. plasma continues to operate but bug is reported on desktop. Cannot run debug. Error reported is /usr/bin/kwin_x11 not running/not found/etc. Application needed is reported as /usr/bin/kwin_x11. ls -l /usr/bin/kwin_x11 shows file exists and is executable.

dad@dad314159:~/Desktop$ ls -l /usr/bin/kwin_x11
-rwxr-xr-x 1 root root 6320 Jun 22 13:23 /usr/bin/kwin_x11
dad@dad314159:~/Desktop$ ps -elf | grep kwin_x11
0 S dad 6182 1 0 80 0 - 882459 poll_s 09:20 ? 00:01:43 /usr/bin/kwin_x11 --crashes 1
0 S dad 12720 12405 0 80 0 - 3221 pipe_w 12:33 pts/1 00:00:00 grep --color=auto kwin_x11

When described as "not running" the pid is reported (??). Installed apport-collect and ran apport-collect 1547901. Results below.

dad@dad314159:~/Desktop$ apport-collect 1547901
The authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=jHjxNPXNSm8kN9Cg2n4C&allow_permission=DESKTOP_INTEGRATION)
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Waiting to hear from Launchpad about your decision...

^CTraceback (most recent call last):
  File "/usr/bin/apport-cli", line 370, in <module>
    if not app.run_argv():
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 653, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 499, in run_update_report
    if not self.crashdb.can_update(self.options.update_report):
  File "/usr/lib/python2.7/dist-packages/apport/crashdb_impl/launchpad.py", line 521, in can_update
    bug = self.launchpad.bugs[id]
  File "/usr/lib/python2.7/dist-packages/apport/crashdb_impl/launchpad.py", line 160, in launchpad
    version='1.0')
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 544, in login_with
    credential_save_failed, version)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/launchpad.py", line 351, in _authorize_token_and_login
    credentials = authorization_engine(credentials, credential_store)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 545, in __call__
    self.make_end_user_authorize_token(credentials, request_token_string)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 658, in make_end_user_authorize_token
    self.web_root)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 232, in exchange_request_token_for_access_token
    response, content = _http_post(url, headers, params)
  File "/usr/lib/python2.7/dist-packages/launchpadlib/credentials.py", line 112, in _http_post
    url, method='POST', headers=headers, body=urlencode(params))
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1607, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1349, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1271, in _conn_request
...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.