1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136 | [ 98309.419] (WW) Failed to open protocol names file /usr/lib/xorg/protocol.txt
[ 98309.420]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 98309.420] X Protocol Version 11, Revision 0
[ 98309.420] Build Operating System: Linux 3.13.0-86-generic x86_64 Ubuntu
[ 98309.420] Current Operating System: Linux ubuntu 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64
[ 98309.420] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-24-generic root=UUID=55a60aa3-d4e3-42ec-87ca-9ae988d25f71 ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
[ 98309.420] Build Date: 18 May 2016 01:07:07AM
[ 98309.420] xorg-server 2:1.18.3-1ubuntu2.2 (For technical support please see http://www.ubuntu.com/support)
[ 98309.420] Current version of pixman: 0.33.6
[ 98309.420] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 98309.420] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 98309.420] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 23 13:37:00 2016
[ 98309.421] (II) Loader magic: 0x560c9efcdda0
[ 98309.421] (II) Module ABI versions:
[ 98309.421] X.Org ANSI C Emulation: 0.4
[ 98309.421] X.Org Video Driver: 20.0
[ 98309.421] X.Org XInput driver : 22.1
[ 98309.421] X.Org Server Extension : 9.0
[ 98309.423] (--) using VT number 3
[ 98309.423] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 98309.423] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 98309.461] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/32768
[ 98309.461] (EE)
[ 98309.461] (EE) Backtrace:
[ 98309.462] (EE) 0: /snap/test-xorg/current/usr/lib/xorg/Xorg (xorg_backtrace+0x4e) [0x560c9ed415ce]
[ 98309.462] (EE) 1: /snap/test-xorg/current/usr/lib/xorg/Xorg (0x560c9eb8f000+0x1b6959) [0x560c9ed45959]
[ 98309.462] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7ff661c52000+0x354a0) [0x7ff661c874a0]
[ 98309.462] (EE) 3: /snap/test-xorg/current/usr/lib/xorg/Xorg (xf86PlatformMatchDriver+0xa1) [0x560c9ec412b1]
[ 98309.462] (EE) 4: /snap/test-xorg/current/usr/lib/xorg/Xorg (0x560c9eb8f000+0xb561d) [0x560c9ec4461d]
[ 98309.462] (EE) 5: /snap/test-xorg/current/usr/lib/xorg/Xorg (0x560c9eb8f000+0xb57c5) [0x560c9ec447c5]
[ 98309.462] (EE) 6: /snap/test-xorg/current/usr/lib/xorg/Xorg (InitOutput+0x78d) [0x560c9ec2783d]
[ 98309.462] (EE) 7: /snap/test-xorg/current/usr/lib/xorg/Xorg (0x560c9eb8f000+0x57a44) [0x560c9ebe6a44]
[ 98309.462] (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7ff661c72830]
[ 98309.462] (EE) 9: /snap/test-xorg/current/usr/lib/xorg/Xorg (_start+0x29) [0x560c9ebd0f59]
[ 98309.462] (EE)
[ 98309.462] (EE) Segmentation fault at address 0x50
[ 98309.462] (EE)
Fatal server error:
[ 98309.462] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 98309.462] (EE)
[ 98309.462] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 98309.462] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 98309.462] (EE)
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /snap/test-xorg/current/usr/lib/xorg/Xorg...Reading symbols from /usr/lib/debug/.build-id/56/f0a78a23cd036ac69718bda45a41881ef5ec75.debug...done.
done.
[New LWP 76009]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/snap/test-xorg/current/usr/lib/xorg/Xorg'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f9c8879e418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007f9c8879e418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f9c887a001a in __GI_abort () at abort.c:89
#2 0x000055f5248d710e in OsAbort () at ../../os/utils.c:1408
#3 0x000055f5247b4dec in ddxGiveUp (error=error@entry=EXIT_ERR_ABORT) at ../../../../hw/xfree86/common/xf86Init.c:1102
#4 0x000055f5247b4e9a in AbortDDX (error=error@entry=EXIT_ERR_ABORT) at ../../../../hw/xfree86/common/xf86Init.c:1146
#5 0x000055f5248dcd72 in AbortServer () at ../../os/log.c:874
#6 0x000055f5248ddbad in FatalError (f=f@entry=0x55f52490cf30 "Caught signal %d (%s). Server aborting\n") at ../../os/log.c:1015
#7 0x000055f5248d49ae in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../os/osinit.c:150
#8 <signal handler called>
#9 0x000055f5247d02b1 in xf86OutputClassDriverList (nmatches=20, matches=0x7ffd0de4f920, index=0) at ../../../../hw/xfree86/common/xf86platformBus.c:224
#10 xf86PlatformMatchDriver (matches=matches@entry=0x7ffd0de4f920, nmatches=nmatches@entry=20) at ../../../../hw/xfree86/common/xf86platformBus.c:261
#11 0x000055f5247d361d in listPossibleVideoDrivers (matches=matches@entry=0x7ffd0de4f920, nmatches=20) at ../../../../hw/xfree86/common/xf86AutoConfig.c:241
#12 0x000055f5247d37c5 in xf86AutoConfig () at ../../../../hw/xfree86/common/xf86AutoConfig.c:165
#13 0x000055f5247b683d in InitOutput (pScreenInfo=pScreenInfo@entry=0x55f524b78680 <screenInfo>, argc=argc@entry=1, argv=argv@entry=0x7ffd0de4fff8)
at ../../../../hw/xfree86/common/xf86Init.c:464
#14 0x000055f524775a44 in dix_main (argc=1, argv=0x7ffd0de4fff8, envp=<optimized out>) at ../../dix/main.c:204
#15 0x00007f9c88789830 in __libc_start_main (main=0x55f52475ff20 <main>, argc=1, argv=0x7ffd0de4fff8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7ffd0de4ffe8) at ../csu/libc-start.c:291
#16 0x000055f52475ff59 in _start ()
(gdb) up
#1 0x00007f9c887a001a in __GI_abort () at abort.c:89
89 abort.c: No such file or directory.
(gdb)
#2 0x000055f5248d710e in OsAbort () at ../../os/utils.c:1408
1408 ../../os/utils.c: No such file or directory.
(gdb)
#3 0x000055f5247b4dec in ddxGiveUp (error=error@entry=EXIT_ERR_ABORT) at ../../../../hw/xfree86/common/xf86Init.c:1102
1102 }
(gdb)
#4 0x000055f5247b4e9a in AbortDDX (error=error@entry=EXIT_ERR_ABORT) at ../../../../hw/xfree86/common/xf86Init.c:1146
1146 return save;
(gdb)
#5 0x000055f5248dcd72 in AbortServer () at ../../os/log.c:874
874 ../../os/log.c: No such file or directory.
(gdb)
#6 0x000055f5248ddbad in FatalError (f=f@entry=0x55f52490cf30 "Caught signal %d (%s). Server aborting\n") at ../../os/log.c:1015
1015 in ../../os/log.c
(gdb)
#7 0x000055f5248d49ae in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../os/osinit.c:150
150 ../../os/osinit.c: No such file or directory.
(gdb)
#8 <signal handler called>
(gdb)
#9 0x000055f5247d02b1 in xf86OutputClassDriverList (nmatches=20, matches=0x7ffd0de4f920, index=0) at ../../../../hw/xfree86/common/xf86platformBus.c:224
224 for (cl = xf86configptr->conf_outputclass_lst; cl; cl = cl->list.next) {
(gdb) list
219 int i = 0;
220
221 if (nmatches == 0)
222 return 0;
223
224 for (cl = xf86configptr->conf_outputclass_lst; cl; cl = cl->list.next) {
225 if (OutputClassMatches(cl, index)) {
226 char *path = xf86_platform_odev_attributes(index)->path;
227
228 xf86Msg(X_INFO, "Applying OutputClass \"%s\" to %s\n",
(gdb) p xf86configptr
$1 = (XF86ConfigPtr) 0x0
|