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

2018-10-12 Thread Michel Dänzer
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



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

2018-10-11 Thread Gong S.
-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-

[   303.139] 
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[   303.139] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[   303.139] Current Operating System: Linux AVENTHEIM 4.19.0-rc7-amd64 #1 SMP Debian 4.19~rc7-1~exp1 (2018-10-07) x86_64
[   303.139] Kernel command line: auto BOOT_IMAGE=vmlinuz rw root=800 scsi_mod.use_blk_mq=0 elevator=deadline net.ifnames=0 biosdevname=0 pti=off radeon.dpm=1 quiet video=vesafb:ywrap,mtrr:3
[   303.139] Build Date: 10 October 2018  04:23:15PM
[   303.139] xorg-server 2:1.20.1-5 (https://www.debian.org/support) 
[   303.139] Current version of pixman: 0.34.0
[   303.139] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   303.139] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   303.139] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 12 08:03:49 2018
[   303.141] (==) Using config file: "/etc/X11/xorg.conf"
[   303.141] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   303.142] (==) No Layout section.  Using the first Screen section.
[   303.142] (==) No screen section available. Using defaults.
[   303.142] (**) |-->Screen "Default Screen Section" (0)
[   303.142] (**) |   |-->Monitor ""
[   303.143] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   303.143] (**) |   |-->Device "Card0"
[   303.143] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   303.143] (==) Automatically adding devices
[   303.143] (==) Automatically enabling devices
[   303.143] (==) Automatically adding GPU devices
[   303.143] (==) Max clients allowed: 256, resource mask: 0x1f
[   303.143] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[   303.143] 	Entry deleted from font path.
[   303.143] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   303.143] 	Entry deleted from font path.
[   303.143] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   303.143] 	Entry deleted from font path.
[   303.143] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   303.143] 	Entry deleted from font path.
[   303.143] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[   303.143] 	Entry deleted from font path.
[   303.143] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   303.143] 	Entry deleted from font path.
[   303.143] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   303.143] 	Entry deleted from font path.
[   303.143] (**) FontPath set to:
	/usr/share/fonts/X11,
	built-ins,
	built-ins
[   303.143] (**) ModulePath set to "/usr/lib/xorg/modules"
[   303.144] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   303.144] (II) Loader magic: 0x5627644f5e20
[   303.144] (II) Module ABI versions:
[   303.144] 	X.Org ANSI C Emulation: 0.4
[   303.144] 	X.Org Video Driver: 24.0
[   303.144] 	X.Org XInput driver : 24.1
[   303.144] 	X.Org Server Extension : 10.0
[   303.144] (++) using VT number 1

[   303.145] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
[   303.145] (II) xfree86: Adding drm device (/dev/dri/card0)
[   303.148] (--) PCI:*(1@0:0:0) 1002:675b:174b:7670 rev 0, Mem @ 0xe000/268435456, 0xf7e2/131072, I/O @ 0xe000/256, BIOS @ 0x/131072
[   303.148] (II) LoadModule: "glx"
[   303.149] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   303.161] (II) Module glx: vendor="X.Org Foundation"
[   303.161] 	compiled for 1.20.1, module version = 1.0.0
[   303.161] 	ABI class: X.Org Server Extension, version 10.0
[   303.161] (II) LoadModule: "radeon"
[   303.161] (II) Loading