[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847229: xserver-xorg-video-intel: Xserver crashes when Option "AccelMethod" "sna" is enables in xorg.conf



Control: forcemerge 847073 -1

This is a duplicate of bug #847073.

Thanks,
Andreas

On Tue, Dec 06, 2016 at 05:48:00PM +0100, Andreas Gocht wrote:
> Package: xserver-xorg-video-intel
> Version: 2:2.99.917+git20161105-1
> Severity: normal
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
> 
> In order to load the intel graphic driver as default I had to add an
> /etc/X11/xorg.conf.d/09-intel.conf . With the default graphic driver settings
> the XServer crashed.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> I changed the Option "AccelMethod" to "uxa". When I change back to "sna" it
> crashes again.
> 
>    * What was the outcome of this action?
> 
> Changing to "uxa" solved the problem. However, as far as I know sna is supposed
> to replace uxa. Moreover, sna is default.
> 
>    * What outcome did you expect instead?
> 
> I would expect the XServer to work with default settings ;-)
> 
> I did a bit of bug tracking. First of all there is the XOrg log, which I
> attached. Moreover, I was able to create a backtrace with help of the
> following article:
> 
> https://www.x.org/wiki/Development/Documentation/ServerDebugging/
> 
> The backtrace is attached as well. Finally, there are a few info’s about my
> system:
> I am using a Lenovo T540p, which has an additional Nvidia graphic card. I use a
> docking station with two monitors attached. The screen of the Lenovo is
> deactivated.
> 
> Finally the package version is 2:2.99.917+git20161105-1
> 
> I hope this information might help.
> 
> Best,
> 
> Andreas
> 
> 

snip

> 
> Thread 1 "Xorg" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff5d3a889 in __readdir (dirp=dirp@entry=0x0) at ../sysdeps/posix/readdir.c:44
> 44	../sysdeps/posix/readdir.c: Datei oder Verzeichnis nicht gefunden.
> #0  0x00007ffff5d3a889 in __readdir (dirp=dirp@entry=0x0) at ../sysdeps/posix/readdir.c:44
>         dp = <optimized out>
>         saved_errno = 2
> #1  0x00007ffff1a76618 in has_connector_backlight (output=0x5555559e90d0, output=0x5555559e90d0) at ../../../src/sna/sna_display.c:1036
>         sna_output = <optimized out>
>         dir = 0x0
>         str = 0x0
>         path = "/sys/class/drm/card0-DP-3\000A-2/modes\000\000\000m\000ht", '\000' <repeats 14 times>, "\003\000\000\000\060", '\000' <repeats 19 times>, "[\000\000\000n", '\000' <repeats 19 times>, "w\000\000\000|\000\000\000\070\331\377\377\377\177\000\000\000\373\001\366\377\177\000\000 \000\000\000\000\000\000\000\000\020\350\367\377\177\000\000\b\000\000\000\000\000\000\000 \333\377\377\377\177\000\000\240\333\377\377\377\177\000\000\224\035\320\365\377\177\000\000\005\000\000\000\000\000\000\000\340\332\377\377\377\177\000\000\340\331\377\377\377\177\000\000"...
>         de = <optimized out>
> #2  sna_output_backlight_init (output=0x5555559e90d0) at ../../../src/sna/sna_display.c:1083
>         sna_output = 0x5555559e8fa0
>         from = X_CONFIG
>         pci = <optimized out>
>         best_iface = <optimized out>
> #3  sna_output_add (sna=sna@entry=0x7ffff7e81000, id=<optimized out>, serial=serial@entry=0) at ../../../src/sna/sna_display.c:5144
>         scrn = 0x5555559e2130
>         config = 0x5555559e3830
>         compat_conn = {conn = {encoders_ptr = 140737488344608, modes_ptr = 140737488344768, props_ptr = 93824997036144, prop_values_ptr = 93824997036176, count_modes = 0, count_props = 6, count_encoders = 3, encoder_id = 0, 
>             connector_id = 61, connector_type = 10, connector_type_id = 3, connection = 2, mm_width = 0, mm_height = 0, subpixel = 0, pad = 0}, pad = {4294956576, 32767, 4294956736, 32767, 1436455024, 21845, 1436455056, 21845, 0, 6, 3, 0, 
>             61, 10, 3, 2, 0, 0, 0, 0}}
>         enc = {encoder_id = 0, encoder_type = 0, crtc_id = 0, possible_crtcs = 0, possible_clones = 0}
>         dummy = {clock = 4294957104, hdisplay = 32767, hsync_start = 0, hsync_end = 55344, htotal = 65535, hskew = 32767, vdisplay = 0, vsync_start = 55344, vsync_end = 65535, vtotal = 32767, vscan = 0, vrefresh = 24, flags = 48, 
>           type = 4294958416, name = "\377\177\000\000\220\334\377\377\377\177\000\000/\334\377\377\377\177", '\000' <repeats 13 times>}
>         sna_output = 0x5555559e8fa0
>         outputs = <optimized out>
>         output = 0x5555559e90d0
>         possible_encoders = <optimized out>
>         attached_encoders = <optimized out>
>         possible_crtcs = <optimized out>
>         output_name = <optimized out>
>         name = "DP2-1\000\000\000\070\200\311\365\377\177\000\000p\331\377\377\377\177\000\000@0\336\367\377\177\000"
>         path = <optimized out>
>         len = 5
>         i = <optimized out>
> #4  0x00007ffff1a77d47 in sna_mode_pre_init (scrn=scrn@entry=0x5555559e2130, sna=sna@entry=0x7ffff7e81000) at ../../../src/sna/sna_display.c:7467
>         xf86_config = 0x5555559e3830
>         res = 0x5555559e3750
>         num_fake = 1
>         i = 6
> #5  0x00007ffff1a80603 in sna_pre_init (scrn=0x5555559e2130, probe=<optimized out>) at ../../../src/sna/sna_driver.c:658
>         sna = <optimized out>
>         buf = "x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2\000\177\000\000\370\307\361\367\377\177\000\000\005", '\000' <repeats 15 times>, "\210\340\377\377\377\177\000\000a>\336\367\377\177\000\000\020\000\000\000\000\000\000\000\370\307\361\367\377\177\000\000\005", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000\000\340\372\367\377\177", '\000' <repeats 26 times>, "X\343\372\367\377\177\000\000\320\337\377\377\377\177\000\000\000\000\000\000\001\000\000\000\000\340\372\367\377\177\000\000"...
>         defaultWeight = {red = 0, green = 0, blue = 0}
>         pEnt = 0x5555559e2ef0
>         zeros = {red = 0, green = 0, blue = 0}
>         fd = 9
> #6  0x00005555555ee8f5 in InitOutput (pScreenInfo=pScreenInfo@entry=0x5555559b66e0 <screenInfo>, argc=argc@entry=8, argv=argv@entry=0x7fffffffe518) at ../../../../hw/xfree86/common/xf86Init.c:583
>         i = 0
>         j = <optimized out>
>         k = <optimized out>
>         scr_index = <optimized out>
>         modulelist = <optimized out>
>         optionlist = 0x5555559c73e0
>         screenpix24 = <optimized out>
>         pix24 = <optimized out>
>         pix24From = X_DEFAULT
>         pix24Fail = 0
>         autoconfig = <optimized out>
>         sigio_blocked = 0
>         want_hw_access = <optimized out>
>         configured_device = <optimized out>
> #7  0x00005555555abe76 in dix_main (argc=8, argv=0x7fffffffe518, envp=<optimized out>) at ../../dix/main.c:204
>         i = <optimized out>
>         alwaysCheckForInput = {0, 1}
> #8  0x00007ffff5ca72b1 in __libc_start_main (main=0x555555595fb0 <main>, argc=8, argv=0x7fffffffe518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe508) at ../csu/libc-start.c:291
>         result = <optimized out>
>         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -2228025219544175856, 93824992501696, 140737488348432, 0, 0, -5458041941575521520, -5458020050593699056}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fffffffe560, 
>               0x7ffff7ffe168}, data = {prev = 0x0, cleanup = 0x0, canceltype = -6816}}}
>         not_first_call = <optimized out>
> #9  0x0000555555595fea in _start ()
> No symbol table info available.
> (EE) 
> (EE) Backtrace:
> (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4a) [0x55555570e01a]
> (EE) 1: /usr/lib/xorg/Xorg (0x555555554000+0x1be389) [0x555555712389]
> (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7ffff5c87000+0x33040) [0x7ffff5cba040]
> (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (readdir+0x29) [0x7ffff5d3a889]
> (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ffff1a02000+0x74618) [0x7ffff1a76618]
> (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ffff1a02000+0x75d47) [0x7ffff1a77d47]
> (EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ffff1a02000+0x7e603) [0x7ffff1a80603]
> (EE) 7: /usr/lib/xorg/Xorg (InitOutput+0xa85) [0x5555555ee8f5]
> (EE) 8: /usr/lib/xorg/Xorg (0x555555554000+0x57e76) [0x5555555abe76]
> (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf1) [0x7ffff5ca72b1]
> (EE) 10: /usr/lib/xorg/Xorg (_start+0x2a) [0x555555595fea]
> (EE) 
> (EE) Segmentation fault at address 0x4
> (EE) 
> Fatal server error:
> (EE) Caught signal 11 (Segmentation fault). Server aborting
> (EE) 
> (EE) 
> Please consult the The X.Org Foundation support 
> 	 at http://wiki.x.org
>  for help. 
> (EE) Please also check the log file at "/home/gocht/.local/share/xorg/Xorg.1.log" for additional information.
> (EE) 
> (EE) Server terminated with error (1). Closing log file.
> 
> Thread 1 "Xorg" received signal SIGABRT, Aborted.
> __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
> 58	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.

Attachment: signature.asc
Description: Digital signature


Reply to: