Bug#470501: libx11-6: crash (segmentation fault) in XPutImage (libX11.so.6) via gs / pspresent
Vincent Lefevre wrote:
> Package: libx11-6
> Version: 2:1.0.3-7
> Severity: important
>
> When trying to view some ps files with pspresent, gs (executed by
> pspresent) immediately crashes in a function from libX11.so.6 (see
> the backtrace below). Nothing is displayed (blank screen).
>
> [...]
> Core was generated by `gs -sDEVICE=x11alpha -q -dNOPAUSE -dSAFER -'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x00002b23ca027674 in ?? () from /usr/lib/libX11.so.6
> (gdb) bt
> #0 0x00002b23ca027674 in ?? () from /usr/lib/libX11.so.6
> #1 0x00002b23ca032a4b in XPutImage () from /usr/lib/libX11.so.6
> #2 0x00002b23c9533dfb in ?? () from /usr/lib/ghostscript/8.62/X11.so
> #3 0x00002b23c9533f0f in ?? () from /usr/lib/ghostscript/8.62/X11.so
> #4 0x00002b23c95360c9 in ?? () from /usr/lib/ghostscript/8.62/X11.so
> #5 0x00002b23c50192ef in gs_fillpage () from /usr/lib/libgs.so.8
> #6 0x00002b23c4dd5df7 in gs_interpret () from /usr/lib/libgs.so.8
> #7 0x00002b23c4dcb26e in gs_main_run_string_end () from /usr/lib/libgs.so.8
> #8 0x00002b23c4dcc280 in ?? () from /usr/lib/libgs.so.8
> #9 0x00002b23c4dccde6 in ?? () from /usr/lib/libgs.so.8
> #10 0x00002b23c4dce35e in gs_main_init_with_args () from /usr/lib/libgs.so.8
> #11 0x0000000000400a91 in main ()
>
Please install libx11-6-dbg and catch a debugging backtrace. It could be
another example of #417816 and friends where the application wrongly
passes image=NULL to XPutImage.
Brice
Reply to: