Debian Bug report logs - #910846
X server "Segmentation fault at address 0x0" when using about:support in Firefox-based browsers.

version graph

Package: xserver-xorg-video-radeon; Maintainer for xserver-xorg-video-radeon is Debian X Strike Force <debian-x@lists.debian.org>; Source for xserver-xorg-video-radeon is src:xserver-xorg-video-ati (PTS, buildd, popcon).

Reported by: pthfdr@tutanota.de

Date: Fri, 12 Oct 2018 04:45:01 UTC

Severity: normal

Found in version xserver-xorg-video-ati/1:18.1.0-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Fri, 12 Oct 2018 04:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Gong S." <pthfdr@protonmail.ch>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Fri, 12 Oct 2018 04:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Gong S." <pthfdr@protonmail.ch>
To: "submit@bugs.debian.org" <submit@bugs.debian.org>
Subject: X server "Segmentation fault at address 0x0" when using about:support in Firefox-based browsers.
Date: Fri, 12 Oct 2018 04:40:36 +0000
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: xserver-xorg-video-radeon
Version: 1:18.1.0-1

I am using a standalone AMD HD 7670. "firmware-amd-graphics" is installed and loaded during boot.
It seems that whenever I tries to query information about hardware acceleration, X segfaults.
"dmesg" does not show any error or warning after segfault.
Sometimes other programs or games trigger it as well, with the same problem described in the file Xorg.0.log.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
Comment: https://protonmail.com

wsBcBAEBCAAQBQJbwCXBCRDYtWA5RV10HwAAuiQIAJQ2jdMOx42C2e3u6tMl
gWPQH1duJcPbXwk/SgD6mQBZPFP2+q/nxStgqAEtrihj78DrgefD9tnyt4tu
Z/PAp0g5quf6ds4Apwo4RCXbsxq1aQRe0ATRHidj2h959k6Qi9InH7skxcCO
AYn0GFRNGEtLXiqs3BE5Je8oQ+t5lI71s1DtmzCLtaQo/OKwNQl+T29UO01d
fz4Y9VppJdQLZYP71cPW3MRbW0o+dv7FcURoiU/28GF28941APtDX+M1rDQ/
o4UrKYR1I4Ea4ejroYSOQGZyKCc7c3Ao0z5rTAFTkLnNncp4pfJnHwCK20GO
8KMH6svPEBKMjfxINfI635g=
=SqQz
-----END PGP SIGNATURE-----

[Xorg.0.log (text/x-log, attachment)]
[Xorg.0.log.sig (application/pgp-signature, attachment)]
[xorg.conf (text/plain, attachment)]
[xorg.conf.sig (application/pgp-signature, attachment)]
[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc (application/pgp-keys, attachment)]
[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc.sig (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Fri, 12 Oct 2018 08:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <michel@daenzer.net>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Fri, 12 Oct 2018 08:18:04 GMT) (full text, mbox, link).


Message #10 received at 910846@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <michel@daenzer.net>
To: "Gong S." <pthfdr@protonmail.ch>
Cc: 910846@bugs.debian.org
Subject: Re: Bug#910846: X server "Segmentation fault at address 0x0" when using about:support in Firefox-based browsers.
Date: Fri, 12 Oct 2018 10:10:27 +0200
On 2018-10-12 6:40 a.m., Gong S. wrote:
> Package: xserver-xorg-video-radeon
> Version: 1:18.1.0-1
> 
> I am using a standalone AMD HD 7670. "firmware-amd-graphics" is installed and loaded during boot.
> It seems that whenever I tries to query information about hardware acceleration, X segfaults.
> "dmesg" does not show any error or warning after segfault.
> Sometimes other programs or games trigger it as well, with the same problem described in the file Xorg.0.log.

[...]

> [   324.504] (EE) Backtrace:
> [   324.505] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x562764468de9]
> [   324.505] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7f100883292f]
> [   324.506] (EE) 2: /usr/lib/xorg/modules/drivers/radeon_drv.so (_init+0x1592) [0x7f10073d4b24]
> [   324.506] (EE) 3: /usr/lib/xorg/Xorg (dri3_send_open_reply+0x55d) [0x562764438b4d]
> [   324.506] (EE) 4: /usr/lib/xorg/Xorg (drm_format_for_depth+0x93b) [0x56276443827b]
> [   324.506] (EE) 5: /usr/lib/xorg/Xorg (SendErrorToClient+0x35e) [0x56276430a97e]
> [   324.506] (EE) 6: /usr/lib/xorg/Xorg (InitFonts+0x3b6) [0x56276430e906]
> [   324.506] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7f1008683b17]
> [   324.506] (EE) 8: /usr/lib/xorg/Xorg (_start+0x2a) [0x5627642f867a]
> [   324.506] (EE) 
> [   324.506] (EE) Segmentation fault at address 0x0

Please make sure the xserver-xorg-video-radeon-dbgsym and
xserver-xorg-core-dbgsym packages are installed, and either get a
backtrace with gdb or another log file.


Does the problem also happen without Option "AccelMethod" "EXA"? That's
the default and recommended configuration for your GPU.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer



Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Sun, 14 Oct 2018 05:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Gong S." <pthfdr@protonmail.ch>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Sun, 14 Oct 2018 05:15:02 GMT) (full text, mbox, link).


Message #15 received at 910846@bugs.debian.org (full text, mbox, reply):

From: "Gong S." <pthfdr@protonmail.ch>
To: "910846@bugs.debian.org" <910846@bugs.debian.org>
Subject: No packages.
Date: Sun, 14 Oct 2018 04:53:21 +0000
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

There is no "xserver-xorg-video-radeon-dbgsym" or "xserver-xorg-core-dbgsym" in the repo.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
Comment: https://protonmail.com

wsBcBAEBCAAQBQJbwsu/CRDYtWA5RV10HwAAlBoH/31H3xlegMCUp4lFdulZ
cGqNjqkA4nljr2x4Jmrr00RzxWiLUcd7P96wogePu15NSHj5qEzLTiiWlIoX
0AFJO+zaoua02QiqS9TEZz8wET11f4J/3KhqvyX00QWCXk06CQP9N7aGtL15
SCJ7x0p2B1U/6F0LVdUBcPnOAv/WB0c1SkcYJSPHZII1dCIUelHVz4lakwAA
jerubxK0qIOS1YZTNHQiLAhlLhFuhY0NPbvD4+QnEKDFm/HgJ424mBHaZ7t+
KqdZ4olbLWrYFpEkDjbs2cdSywWWA3tKYCZwZc/2u8atllg4MDNgsf7UfQNd
ZbDZp+Nzu9Hlgf0soqsg+Ww=
=00U5
-----END PGP SIGNATURE-----

[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc (application/pgp-keys, attachment)]
[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc.sig (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Mon, 15 Oct 2018 09:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <michel@daenzer.net>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Mon, 15 Oct 2018 09:48:03 GMT) (full text, mbox, link).


Message #20 received at 910846@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <michel@daenzer.net>
To: "Gong S." <pthfdr@protonmail.ch>
Cc: 910846@bugs.debian.org
Subject: Re: Bug#910846: No packages.
Date: Mon, 15 Oct 2018 11:43:58 +0200
[Message part 1 (text/plain, inline)]
On 2018-10-14 6:53 a.m., Gong S. wrote:
> There is no "xserver-xorg-video-radeon-dbgsym" or
> "xserver-xorg-core-dbgsym" in the repo.

They're in a separate repository:

deb	https://deb.debian.org/debian-debug/	<suite>-debug	main contrib non-free

Replace <suite> with the name of the suite you're using in your main
repository entry.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Mon, 15 Oct 2018 11:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Gong S." <pthfdr@protonmail.ch>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Mon, 15 Oct 2018 11:48:02 GMT) (full text, mbox, link).


Message #25 received at 910846@bugs.debian.org (full text, mbox, reply):

From: "Gong S." <pthfdr@protonmail.ch>
To: "910846@bugs.debian.org" <910846@bugs.debian.org>
Subject: Here is the result.
Date: Mon, 15 Oct 2018 11:35:46 +0000
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Here is the output of GDB.
I am no developer, thus I do not know whether this is what you want.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
Comment: https://protonmail.com

wsBcBAEBCAAQBQJbxHuOCRDYtWA5RV10HwAAh3oH/Avj5UFSkRC9/ycaJQY8
Ib64nAdpzHcDhSQnR2wV2/ui4QNCpp+Vlh9Qd+AVKUhlBQiknePZQOqJovEU
r+r7FVN3NfNooKililvDMJIFD3YY54DfACdvqySbQmggyuuyi4FYUStfCULD
eseUYWwTS5vmSS/2Lyma8JFTqIx2DgcCPThmwYypM08bv7wX52PiPPiWBp2W
zcD4G098izvz2AMy5DkVwD8aRNXUVuJTRUkmGuTpQ8nio1ruv8nK7+s8JlXK
m+ZicUlR3MujdYsHvktLjdbuOh4mBsbYyCH39Sr5JuHpQA6/t5Auq/Y+B3/n
XKkGfY4tcZ+rMwVLgEgTsOQ=
=WL0I
-----END PGP SIGNATURE-----

[xorg_gdb.log (text/x-log, attachment)]
[xorg_gdb.log.sig (application/pgp-signature, attachment)]
[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc (application/pgp-keys, attachment)]
[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc.sig (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Mon, 15 Oct 2018 11:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Gong S." <pthfdr@protonmail.ch>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Mon, 15 Oct 2018 11:54:02 GMT) (full text, mbox, link).


Message #30 received at 910846@bugs.debian.org (full text, mbox, reply):

From: "Gong S." <pthfdr@protonmail.ch>
To: "910846@bugs.debian.org" <910846@bugs.debian.org>
Subject: User error.
Date: Mon, 15 Oct 2018 11:43:46 +0000
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sorry, I have found the problem. If I remove this line from "/etc/X11/xorg.conf", X would not crash:
Option "DRI" "3"
So it is my fault. Sorry.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
Comment: https://protonmail.com

wsBcBAEBCAAQBQJbxH1vCRDYtWA5RV10HwAAX08H/29y/7iN69E57QmCJrjy
RU1nHqfOxgggoi7be9N+9i8zbiQzhyFN4FnWpasWkJr8yGibYwNLKyXmtTw+
qtNToX2WE3mYJ+8v4/nnEUQCVWcvjbJ2vwI2IbBNbOomZo1H6b8CJ50RvkGm
lazo024twWAx/ZjCysztfaT8EzUke2+eWEAEJoSZf7xKitCr8I27mTcUIlZx
Z2hhSB48GGR3LJ+OHE7nFmZqP/GpLXeuVVYQSfeHQp2WKs5sDsPpXLcjEpFD
BojmrHH4Cqx6MTv+3ZG3Zkzj7ka1u+lMhIze+6wSThWRRijJB2k2FO7aNRnx
fIR2P6am19I8Ck/cVMCSd/8=
=/ahJ
-----END PGP SIGNATURE-----

[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc (application/pgp-keys, attachment)]
[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc.sig (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Mon, 15 Oct 2018 15:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <michel@daenzer.net>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Mon, 15 Oct 2018 15:18:04 GMT) (full text, mbox, link).


Message #35 received at 910846@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <michel@daenzer.net>
To: "Gong S." <pthfdr@protonmail.ch>
Cc: 910846@bugs.debian.org
Subject: Re: Bug#910846: User error.
Date: Mon, 15 Oct 2018 17:16:12 +0200
[Message part 1 (text/plain, inline)]
On 2018-10-15 1:43 p.m., Gong S. wrote:
> Sorry, I have found the problem. If I remove this line from "/etc/X11/xorg.conf", X would not crash:
> Option "DRI" "3"

If removing

	Option "AccelMethod" "EXA"

as well also works, that would be the best solution for you.


> So it is my fault. Sorry.

The crash is still a bug, even though EXA & DRI3 isn't recommended,
because it can't work correctly in some cases.

Any chance you can test if the attached patch fixes the crash?


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
[0001-dri3-Handle-radeon_get_pixmap_bo-returning-NULL.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Mon, 15 Oct 2018 15:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to "Gong S." <pthfdr@protonmail.ch>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Mon, 15 Oct 2018 15:51:08 GMT) (full text, mbox, link).


Message #40 received at 910846@bugs.debian.org (full text, mbox, reply):

From: "Gong S." <pthfdr@protonmail.ch>
To: "910846@bugs.debian.org" <910846@bugs.debian.org>
Subject: Re: Bug#910846: User error.
Date: Mon, 15 Oct 2018 15:48:21 +0000
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Using "glamor" instead of "EXA" works. However, the manpage says "EXA (for pre-TAHITI GPUs) and glamor (for R300 or higher)". TURKS GPUs are pre-TAHITI ones.
I cannot test the patch for you. I have said, I am no developer, and I do not want to mess up my OS by recompiling an important package.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
Comment: https://protonmail.com

wsBcBAEBCAAQBQJbxLbBCRDYtWA5RV10HwAACdAH/2yVrvePAd0gZ6G0ADyT
41e9Mg54bqW7L00fIzZCcWpCHW5Ux4EUeg2OzbJGxfM/z4ItT/0KqQ1A0lPk
ky/zGQffQzyn1uxg419ktO/vgeg4XVt/uXjc657NISkFh6NeOG+81zEaEo2r
zVQqAPmzGvrBmPPE0/VdJhyzQ4F3tUNxHGVOu47S9X2QNeu5Matu8U4q0s6U
SgrlTu35a1W0gQSIHlFBETuVSKJv9iGqU15vVTRplZq7TejL/eVy5HinrFjM
i2BovG0F5VQUGyb/PO3M8Eh/9l5R7SCo1Asd15A0Bt1oUSL7TUPCf2H/tDEm
XyKDAAd1DexafdQ9H03bgHI=
=KSv9
-----END PGP SIGNATURE-----

[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc (application/pgp-keys, attachment)]
[publickey - pthfdr@protonmail.ch - 0xAB77ABA4.asc.sig (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#910846; Package xserver-xorg-video-radeon. (Mon, 15 Oct 2018 16:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <michel@daenzer.net>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Mon, 15 Oct 2018 16:57:03 GMT) (full text, mbox, link).


Message #45 received at 910846@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <michel@daenzer.net>
To: "Gong S." <pthfdr@protonmail.ch>
Cc: 910846@bugs.debian.org
Subject: Re: Bug#910846: User error.
Date: Mon, 15 Oct 2018 18:55:46 +0200
[Message part 1 (text/plain, inline)]
On 2018-10-15 5:48 p.m., Gong S. wrote:
> Using "glamor" instead of "EXA" works. However, the manpage says "EXA
> (for pre-TAHITI GPUs) and glamor (for R300 or higher)". TURKS GPUs
> are pre-TAHITI ones.

They're also post-R300. :) The next sentence (with side note which
doesn't apply here elided) in the manpage is:

The default is glamor with R600 or newer [...], otherwise EXA.


> I cannot test the patch for you.
No problem. I'll send out the patch for review anyway, it's pretty
likely it'll fix the crash.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

[signature.asc (application/pgp-signature, attachment)]

Changed Bug submitter to 'pthfdr@tutanota.de' from '"Gong S." <pthfdr@protonmail.ch>'. Request was from GONG Sheng <pthfdr@tutanota.de> to control@bugs.debian.org. (Wed, 20 Jan 2021 11:18:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Aug 30 07:53:08 2025; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.