On 05/07/17 23:48, Stuart Henderson wrote:
> On 2017-05-06, Peter N. M. Hansteen <pe...@bsdly.net> wrote:
>> And it happened again -
>> https://home.nuug.no/~peter/soffice_vs_x_csv/fehfeh.csv triggered
>> another kaboom, producing the log file
>> https://home.nuug.no/~peter/soffice_vs_x_csv/Xorg.0.log and the core
>> file https://home.nuug.no/~peter/soffice_vs_x_csv/Xorg.core
>>
>> I'll have to read up on usefully dissecting the core file, in the
>> meantime this is evidence preserved.
> 
> This would be a good start:
> 
> gdb /usr/X11R6/bin/Xorg /path/to/Xorg.core
> bt
>
> Trying it with your file on my system it looks like it's crashing
> in sna_poly_fill_rect_stippled_n_box in intel_drv.so, but my binaries
> may not match yours, so this may not be correct.

Here's mine:

#0  0x00001be95bca766a in sna_poly_fill_rect_stippled_n_box () from
/usr/X11R6/lib/modules/drivers/intel_drv.so
(gdb) bt
#0  0x00001be95bca766a in sna_poly_fill_rect_stippled_n_box () from
/usr/X11R6/lib/modules/drivers/intel_drv.so
#1  0x00001be95bcc0cf6 in sna_poly_fill_rect_stippled_blt () from
/usr/X11R6/lib/modules/drivers/intel_drv.so
#2  0x00001be95bcc491e in sna_poly_fill_rect () from
/usr/X11R6/lib/modules/drivers/intel_drv.so
#3  0x00001be705c0215c in damagePolyFillRect () from /usr/X11R6/bin/Xorg
#4  0x00001be705b0f91f in ProcPolyFillRectangle () from /usr/X11R6/bin/Xorg
#5  0x00001be705b14b86 in Dispatch () from /usr/X11R6/bin/Xorg
#6  0x00001be705b1860a in dix_main () from /usr/X11R6/bin/Xorg
#7  0x00001be705b0190e in _start () from /usr/X11R6/bin/Xorg
#8  0x0000000000000000 in ?? ()

But chasing other things I upgraded to a more recent snapshot in the
meantime, so this may be off too.

I suppose it's now just collect something similar when this occurs again.

> I would recommend removing the core file from the webserver, it's a dump
> of the whole memory of the failed Xorg server process so it might include
> something you don't want kept around.

:D
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to