Bug 27416 - X.org crashes reproducably when mouse hovers over last opened file menu entry in KWrite
Summary: X.org crashes reproducably when mouse hovers over last opened file menu entry...
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: unspecified
Hardware: Other All
: high critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 12:22 UTC by Martin Steigerwald
Modified: 2014-07-07 16:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
first crash while hovering over last opened file menu of kwrite (39.63 KB, text/plain)
2010-04-01 12:22 UTC, Martin Steigerwald
Details
second crash while hovering over last opened file menu of kwrite (86.94 KB, text/plain)
2010-04-01 12:23 UTC, Martin Steigerwald
Details
third crash while hovering over last opened file menu of kwrite (36.56 KB, text/plain)
2010-04-01 12:23 UTC, Martin Steigerwald
Details
Crash log with debug packages installed (37.49 KB, text/plain)
2010-04-10 03:45 UTC, Martin Steigerwald
Details
another crash log (86.94 KB, text/plain)
2010-04-10 03:46 UTC, Martin Steigerwald
Details
kwriterc config file that reliably produces the crash here (2.07 KB, text/plain)
2010-04-10 03:50 UTC, Martin Steigerwald
Details

Description Martin Steigerwald 2010-04-01 12:22:09 UTC
Created attachment 34598 [details]
first crash while hovering over last opened file menu of kwrite

When I hover the mouse pointer over the last opened file menu entry in KWin X.org with Radeon KMS reliably crashes here. I tried three times - I get slightly different backtraces, but Radeon DRI /usr/lib/dri/r300_dri.so is always involved. I attach the logs in few moments.

I am using the following debian packages:

martin@shambhala:~/Computer/X.org/KWrite-Zuletzt-geöffnet-Crash> apt-show-version | egrep "(xserver-xorg/|xserver-xorg-core/|xserver-xorg-video-radeon|kdelibs5|kwin|kwrite|libqt4-core)"
zsh: correct 'apt-show-version' to 'apt-show-versions' [nyae]? y
kdelibs5/experimental-snapshots uptodate 4:4.4.2-0rc1
kdelibs5-data/experimental-snapshots uptodate 4:4.4.2-0rc1
kdelibs5-dbg/experimental-snapshots uptodate 4:4.4.2-0rc1
kdelibs5-plugins/experimental-snapshots uptodate 4:4.4.2-0rc1
kwrite/experimental-snapshots uptodate 4:4.4.2-0rc1
libkwineffects1a/experimental-snapshots uptodate 4:4.4.2-0rc1
libqt4-core/experimental uptodate 4:4.6.2-1
xserver-xorg/squeeze uptodate 1:7.5+5
xserver-xorg-core/sid uptodate 2:1.7.6-1
xserver-xorg-video-radeon/sid uptodate 1:6.12.192-2
xserver-xorg-video-radeonhd/squeeze uptodate 1.3.0-2

(I am using radeon, not radeonhd driver.)

on Linux Kernel

martin@shambhala:~> cat /proc/version
Linux version 2.6.33.1-tp42-toi-3.1-04962-g60dd176 (martin@shambhala) (gcc version 4.4.3 20100108 (prerelease) (Debian 4.4.2-9) ) #5 PREEMPT Wed Mar 31 09:53:38 CEST 2010

- which is basically a vanilla kernel with TuxOnIce snapshotting support -

on a ThinkPad T42 with

martin@shambhala:~> lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50]
Comment 1 Martin Steigerwald 2010-04-01 12:23:00 UTC
Created attachment 34599 [details]
second crash while hovering over last opened file menu of kwrite

I think that was the second crash.
Comment 2 Martin Steigerwald 2010-04-01 12:23:43 UTC
Created attachment 34600 [details]
third crash while hovering over last opened file menu of kwrite

I think this was the third crash.
Comment 3 Rafał Miłecki 2010-04-01 13:02:13 UTC
Could you try to install some debug packages? Maybe something likge
xserver-xorg-core-dbg
libdrm2-dbg
is available for you?

This should have developers some better picture of situations (not me, I just help with bug report).
Comment 4 Martin Steigerwald 2010-04-10 03:45:02 UTC
Created attachment 34866 [details]
Crash log with debug packages installed

Crash log with the following packages installed.

martin@shambhala:~/Computer/X.org/27416-KWrite-Zuletzt-geöffnet-Crash> apt-show-versions | egrep "(kdelibs5/|libkwineffect|kwrite|libqt4-gui|xserver-xorg/|xserver-xorg-core|xserver-xorg-video-radeon|libdrm|libgl1-mesa-dri)"
kdelibs5/experimental uptodate 4:4.4.2-1
kwrite/experimental uptodate 4:4.4.2-1
libdrm-intel1/squeeze uptodate 2.4.18-3
libdrm-radeon1/squeeze uptodate 2.4.18-3
libdrm-radeon1-dbg/squeeze uptodate 2.4.18-3
libdrm2/squeeze uptodate 2.4.18-3
libdrm2-dbg/squeeze uptodate 2.4.18-3
libgl1-mesa-dri/sid uptodate 7.7.1-1
libgl1-mesa-dri-dbg/sid uptodate 7.7.1-1
libkwineffects1a/experimental-snapshots uptodate 4:4.4.2-0rc1
libqt4-gui/experimental uptodate 4:4.6.2-2
xserver-xorg/squeeze uptodate 1:7.5+5
xserver-xorg-core/sid uptodate 2:1.7.6-2
xserver-xorg-core-dbg/sid uptodate 2:1.7.6-2
xserver-xorg-video-radeon/sid uptodate 1:6.13.0-1
xserver-xorg-video-radeon-dbg/sid uptodate 1:6.13.0-1
xserver-xorg-video-radeonhd/squeeze uptodate 1.3.0-2
Comment 5 Martin Steigerwald 2010-04-10 03:46:39 UTC
Created attachment 34867 [details]
another crash log
Comment 6 Martin Steigerwald 2010-04-10 03:50:21 UTC
Created attachment 34868 [details]
kwriterc config file that reliably produces the crash here

Its a certain entry in recent files:

[Recent Files]
File1[$e]=nepomuksearch:/nepomuk_3A_2Fres_2Fde660a90-9ad7-47db-86d8-7aca791dc104?sparql=select%20distinct%20%3Fr%2        0%20where%20%7B%20%7B%20%3Fr%20%3Fv1%20%3Fv2%20.%20%3Fv2%20bif%3Acontains%20%22%27Linux%2A%27%22%20.%20%7D%20U    NION    %20%7B%20%3Fr%20%3Fv1%20%3Fv3%20.%20%3Fv3%20%3Fv4%20%3Fv2%20.%20%3Fv4%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%    2F01%2Fr    df-schema%23subPropertyOf%3E%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label%3E%20.%20%3    Fv2%20bif%3A    contains%20%22%27Linux%2A%27%22%20.%20%7D%20.%20%20%20%20%7D
Name1[$e]=nepomuk_3A_2Fres_2Fde660a90-9ad7-47db-86d8-7aca791dc104

I know it looks crazy and I do not remember how I managed to put it in there, but nonetheless it X.org should behave stably.
Comment 7 Martin Steigerwald 2010-04-10 03:57:44 UTC
I try to raise the priority and importance of this bug report cause I lost a mail text I used up more than one hour to write. I wanted to make a copy of it to a kwrite window and when hovering to the save menu entry I came across Recently opened and X.org crashed taking the mail with me. For whatever reason the crash recovery in KMail did not recover the mail, maybe it is only triggered when KMail itself crashes.
Comment 8 Martin Steigerwald 2010-04-10 05:01:30 UTC
Also reported in KDE bugtracker in case some KDE developer has some input:

https://bugs.kde.org/show_bug.cgi?id=233940

Also reported in Debian as critical cause it caused serious data loss here. No bug number yet known to me.
Comment 9 Michel Dänzer 2010-04-12 02:27:43 UTC
The logs seem to show several different crashes. It would be interesting to see full gdb backtraces for each of them.

You may be able to work around the crashes by changing the kwin compositing backend from OpenGL to XRender, or disabling compositing altogether.
Comment 10 Andreas Boll 2014-07-07 16:43:39 UTC
The classic r300 driver has been abandoned long ago.
It was replaced by the Gallium driver r300g.

If you have issues with r300g please file a new bug report with component Drivers/Gallium/r300

Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.