You are not logged in.

#1 2016-04-05 15:39:23

CTAG
Member
Registered: 2013-10-14
Posts: 80

Segfaults after system suspend

Hi,

On my Lenovo X200 I've noticed that once the system resumes from sleep a couple of programs will segfault when launching. This doesn't happen if I cold boot or reboot the machine, the programs run fine then.

First, dmesg.

$ dmesg
...
[33807.020464] PM: resume of devices complete after 709.632 msecs
[33807.021131] PM: Finishing wakeup.
[33807.021132] Restarting tasks ... done.
[33807.030183] video LNXVIDEO:00: Restoring backlight state
[33807.206937] e1000e: enp0s25 NIC Link is Down
[33807.350254] e1000e 0000:00:19.0: can't derive routing for PCI INT A
[33807.350259] e1000e 0000:00:19.0: PCI INT A: no GSI
[33807.453470] e1000e 0000:00:19.0: can't derive routing for PCI INT A
[33807.453476] e1000e 0000:00:19.0: PCI INT A: no GSI
... - Connects to wireless network
[33812.349979] [drm] stuck on render ring
[33812.351242] [drm] GPU HANG: ecode 4:0:0xfdfffffb, in Xorg [608], reason: Ring hung, action: reset
[33812.351245] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[33812.351246] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[33812.351247] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[33812.351249] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[33812.351250] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[33812.351833] drm/i915: Resetting chip after gpu hang
[33818.336658] [drm] stuck on render ring
[33818.337948] [drm] GPU HANG: ecode 4:0:0xfdfffffb, in Xorg [608], reason: Ring hung, action: reset
[33818.337958] i915: render error detected, EIR: 0x00000010
[33818.337961] i915:   IPEIR: 0x00000000
[33818.337962] i915:   IPEHR: 0x02000004
[33818.337963] i915:   INSTDONE_0: 0xffffffff
[33818.337965] i915:   INSTDONE_1: 0xbfffffdd
[33818.337966] i915:   INSTDONE_2: 0x00000000
[33818.337968] i915:   INSTDONE_3: 0x00000000
[33818.337969] i915:   INSTPS: 0x8001e025
[33818.337971] i915:   ACTHD: 0x0127f0e0
[33818.337972] i915: page table error
[33818.337974] i915:   PGTBL_ER: 0x00000001
[33818.338001] [drm:i915_handle_error [i915]] *ERROR* EIR stuck: 0x00000010, masking
[33818.338050] [drm:i915_set_reset_status [i915]] *ERROR* gpu hanging too fast, banning!
[33818.338088] drm/i915: Resetting chip after gpu hang
[33896.344911] perl[14681]: segfault at 200 ip 00007f29492c770f sp 00007ffd78509340 error 4 in i965_dri.so[7f2948f58000+5d8000]
[33906.444962] perl[14696]: segfault at 200 ip 00007fcc47dd870f sp 00007ffe37d63fc0 error 4 in i965_dri.so[7fcc47a69000+5d8000]

The program which returns the most text is chromium. Chromium doesn't fail to create a window like the other programs, but the window it does create has a blank webpage viewing area. It will load a URL typed into the address bar, but the window is still blank.

$ chromium
Received signal 11 SEGV_MAPERR 000000000200
#0 0x55fdedd6f63e <unknown>
#1 0x55fdedd6fa19 <unknown>
#2 0x7fee7e5c2e80 <unknown>
#3 0x7fee7109070f <unknown>
#4 0x7fee71078733 <unknown>
#5 0x55fdf203b6dd <unknown>
#6 0x55fdf1fd3c85 <unknown>
#7 0x55fdf1fd1dd4 <unknown>
#8 0x55fdf1fcd43e <unknown>
#9 0x55fdedddc8d9 <unknown>
#10 0x55fdedd8f258 <unknown>
#11 0x55fdedd8fee9 <unknown>
#12 0x55fdedd903c5 <unknown>
#13 0x55fdedddb0b9 <unknown>
#14 0x55fdedddb0fd <unknown>
#15 0x7fee842b8d87 g_main_context_dispatch
#16 0x7fee842b8fe0 <unknown>
#17 0x7fee842b908c g_main_context_iteration
#18 0x55fdedddae1a <unknown>
#19 0x55fdedda5a52 <unknown>
#20 0x55fdedd8e4b5 <unknown>
#21 0x55fdf1e4212f <unknown>
#22 0x55fdedd24d04 <unknown>
#23 0x55fdedd24261 <unknown>
#24 0x55fded87e79a ChromeMain
#25 0x7fee7c9f7710 __libc_start_main
#26 0x55fded87e649 _start
  r8: 0000000000000000  r9: 0000000000000001 r10: 00000000ffffffff r11: 00007fee7cb43020
 r12: 00001f5f006e7210 r13: 00001f5f00719900 r14: 0000000000000000 r15: 0000000000000001
  di: 00001f5f01b14028  si: 0000000000000032  bp: 00001f5f006e7210  bx: 00001f5f01b14028
  dx: 0000000000000001  ax: 0000000000000000  cx: 0000000000000000  sp: 00007ffc2bb699a0
  ip: 00007fee7109070f efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000200
[end of stack trace]
[15221:15221:0405/101358:ERROR:command_buffer_proxy_impl.cc(196)] Could not send GpuCommandBufferMsg_Initialize.
[15221:15221:0405/101358:ERROR:webgraphicscontext3d_command_buffer_impl.cc(210)] CommandBufferProxy::Initialize failed.
[15221:15221:0405/101358:ERROR:webgraphicscontext3d_command_buffer_impl.cc(229)] Failed to initialize command buffer.
[15221:15221:0405/101358:ERROR:gpu_channel_host.cc(269)] Failed to send GpuChannelMsg_CreateOffscreenCommandBuffer.
[15221:15221:0405/101358:ERROR:webgraphicscontext3d_command_buffer_impl.cc(229)] Failed to initialize command buffer.
Received signal 11 SEGV_MAPERR 000000000200
#0 0x563489e7063e <unknown>
#1 0x563489e70a19 <unknown>
#2 0x7f0fe2e34e80 <unknown>
#3 0x7f0fd590270f <unknown>
#4 0x7f0fd58ea733 <unknown>
#5 0x56348e13c6dd <unknown>
#6 0x56348e0d4c85 <unknown>
#7 0x56348e0d2dd4 <unknown>
#8 0x56348e0ce43e <unknown>
#9 0x563489edd8d9 <unknown>
#10 0x563489e90258 <unknown>
#11 0x563489e90ee9 <unknown>libpng warning: iCCP: known incorrect sRGB profile

#12 0x563489e913c5 <unknown>
#13 0x563489edbde1 <unknown>
#14 0x563489ea6a52 <unknown>
#15 0x563489e8f4b5 <unknown>
#16 0x56348df4312f <unknown>
#17 0x563489e25d04 <unknown>
#18 0x563489e25261 <unknown>
#19 0x56348997f79a ChromeMain
#20 0x7f0fe1269710 __libc_start_main
#21 0x56348997f649 _start
  r8: 0000000000000000  r9: 0000000000000001 r10: 00000000ffffffff r11: 00007f0fe13b5020
 r12: 00000389c91bc000 r13: 00000389c91bf000 r14: 0000000000000000 r15: 0000000000000001
  di: 00000389c91c2028  si: 0000000000000032  bp: 00000389c91bc000  bx: 00000389c91c2028
  dx: 0000000000000001  ax: 0000000000000000  cx: 0000000000000000  sp: 00007fff5dee01c0
  ip: 00007f0fd590270f efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000200
[end of stack trace]
[7:7:0405/101359:ERROR:webgraphicscontext3d_command_buffer_impl.cc(269)] Failed to initialize GLES2Implementation.
[15221:15221:0405/101359:ERROR:command_buffer_proxy_impl.cc(196)] Could not send GpuCommandBufferMsg_Initialize.
[15221:15221:0405/101359:ERROR:webgraphicscontext3d_command_buffer_impl.cc(210)] CommandBufferProxy::Initialize failed.
[15221:15221:0405/101359:ERROR:webgraphicscontext3d_command_buffer_impl.cc(229)] Failed to initialize command buffer.
[15221:15221:0405/101359:ERROR:gpu_channel_host.cc(269)] Failed to send GpuChannelMsg_CreateOffscreenCommandBuffer.
[15221:15221:0405/101359:ERROR:webgraphicscontext3d_command_buffer_impl.cc(229)] Failed to initialize command buffer.
$ slic3r.pl 
Segmentation fault (core dumped)
$ blender
connect failed: No such file or directory
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

Reading the dmesg output, it looks like the i915 driver is having trouble. It very specifically instructs me to file a bug report, but I failed to gather that error output before rebooting.

And I'd like to gauge here first if it's actually worthy of a bug report, or if maybe one already exists that I missed.

Last edited by CTAG (2016-04-05 15:42:59)

Offline

#2 2016-04-06 00:42:28

blutechgirl
Member
Registered: 2015-05-27
Posts: 43

Re: Segfaults after system suspend

It seems to be a bug I did a web search and found https://bugs.archlinux.org/task/18319 and
https://bugs.launchpad.net/ubuntu/+sour … ug/1510723
the second one relates to ubuntu, but it seems relevent enough
i don't know if they are the exact issue you are facing, but it seems worthy of a bug report

Offline

#3 2016-04-07 04:53:02

CTAG
Member
Registered: 2013-10-14
Posts: 80

Re: Segfaults after system suspend

Thanks for the links, it looks like either of those could be my issue.

I've switched to xf86-video-intel-git and am waiting to see if this issue persists. If so, then I'll write up a bug report.

Offline

#4 2016-04-12 21:54:33

CTAG
Member
Registered: 2013-10-14
Posts: 80

Re: Segfaults after system suspend

The issue persists on the git version of this package. I filed a bug report.

Offline

Board footer

Powered by FluxBB