Bug#834737: xserver-xorg-core: Xorg crashes with SIGABRT in _fbGetWindowPixmap
On 18/08/16 10:09 PM, vrishab wrote:
> Package: xserver-xorg-core
> Version: 2:1.18.4-1
> Severity: important
> Tags: upstream
>
> Not sure how the crash occurred. I log all crashes in the system, and I noticed
> this crash.
>
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `/usr/lib/xorg/Xorg vt2 -displayfd 3 -auth
> /run/user/1000/gdm/Xauthority -backgr'.
> Program terminated with signal SIGABRT, Aborted.
> #0 0x00007f53bdeee1c8 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 0x00007f53bdeee1c8 in __GI_raise (sig=sig@entry=6) at
> ../sysdeps/unix/sysv/linux/raise.c:54
> #1 0x00007f53bdeef64a in __GI_abort () at abort.c:89
> #2 0x000055577c5af04e in OsAbort () at ../../os/utils.c:1408
> #3 0x000055577c48cebc in ddxGiveUp (error=error@entry=EXIT_ERR_ABORT) at
> ../../../../hw/xfree86/common/xf86Init.c:1066
> #4 0x000055577c48cf6a in AbortDDX (error=error@entry=EXIT_ERR_ABORT) at
> ../../../../hw/xfree86/common/xf86Init.c:1110
> #5 0x000055577c5b4cb2 in AbortServer () at ../../os/log.c:874
> #6 0x000055577c5b5aed in FatalError (f=f@entry=0x55577c5e4cf0 "Caught signal
> %d (%s). Server aborting\n") at ../../os/log.c:1015
> #7 0x000055577c5ac8ee in OsSigHandler (signo=11, sip=<optimized out>,
> unused=<optimized out>) at ../../os/osinit.c:150
> #8 0x00007f53bdeee250 in <signal handler called> () at /lib/x86_64-linux-
> gnu/libc.so.6
> #9 0x00007f53b6bdcbfd in _fbGetWindowPixmap (pWindow=0x0) at
> ../../fb/fbscreen.c:84
> #10 0x000055577c52ae37 in present_restore_screen_pixmap (screen=0x55577d4c7fc0)
> at ../../present/present.c:442
> #11 0x000055577c52af05 in present_set_abort_flip
> (screen=screen@entry=0x55577d4c7fc0) at ../../present/present.c:458
> #12 0x000055577c52b672 in present_flip_destroy
> (screen=screen@entry=0x55577d4c7fc0) at ../../present/present.c:1030
> #13 0x000055577c52a223 in present_close_screen (screen=0x55577d4c7fc0) at
> ../../present/present_screen.c:61
> #14 0x000055577c4da768 in CursorCloseScreen (pScreen=0x55577d4c7fc0) at
> ../../xfixes/cursor.c:187
> #15 0x000055577c5285c4 in AnimCurCloseScreen (pScreen=<optimized out>) at
> ../../render/animcur.c:106
> #16 0x000055577c44ddd7 in dix_main (argc=12, argv=0x7ffc7f7c1d18,
> envp=<optimized out>) at ../../dix/main.c:354
> #17 0x00007f53bdedb730 in __libc_start_main (main=0x55577c437f60 <main>,
> argc=12, argv=0x7ffc7f7c1d18, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>, stack_end=0x7ffc7f7c1d08) at ../csu/libc-start.c:291
> #18 0x000055577c437f99 in _start ()
FWIW, this should be fixed by
https://cgit.freedesktop.org/xorg/xserver/commit/?id=9f04fa3babaaabe0ed5bf4aa2563755bc6c45723
.
Note that this crash only happens when the X server is already shutting
down (or at least resetting for a new generation), so it's kind of a
minor issue.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
Reply to: