<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segmentation fault after resume"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101986">101986</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segmentation fault after resume
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nico-freedesktop.org@schottelius.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=133148" name="attach_133148" title="Xorg.0.log">attachment 133148</a> <a href="attachment.cgi?id=133148&action=edit" title="Xorg.0.log">[details]</a></span>
Xorg.0.log

Platform: Dell Latitude 5285

After waking up from s2idle several times, xorg will crash (this can be
reproduced by suspending/resuming a couple of times).

dmesg says:

[92917.133746] [drm:intel_display_resume [i915]] *ERROR* Restoring old state
failed with -22

xorg.log says at the end:

[ 53740.959] (II) intel(0): switch to mode <a href="mailto:1920x1280@60.0">1920x1280@60.0</a> on eDP1 using pipe 0,
position (0, 2160), rotation normal, reflection none
[ 53741.003] (II) intel(0): switch to mode <a href="mailto:3840x2160@60.0">3840x2160@60.0</a> on DP2 using pipe 1,
position (0, 0), rotation normal, reflection none
[ 53741.010] (EE) intel(0): failed to set mode: Invalid argument [22]
[ 53741.010] (EE) 
[ 53741.010] (EE) Backtrace:
[ 53741.011] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x59c209]
[ 53741.012] (EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50)
[0x7fed5190082f]
[ 53741.012] (EE) 2: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x5ee25)
[0x7fed4e160a45]
[ 53741.013] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x5efdb)
[0x7fed4e160d6b]
[ 53741.014] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x6687b)
[0x7fed4e16fceb]
[ 53741.014] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x66cc1)
[0x7fed4e170551]
[ 53741.015] (EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x68162)
[0x7fed4e172e52]
[ 53741.015] (EE) 7: /usr/lib/xorg-server/Xorg (xf86CrtcSetModeTransform+0x144)
[0x4aff74]
[ 53741.015] (EE) 8: /usr/lib/xorg-server/Xorg (xf86SetDesiredModes+0x199)
[0x4b0519]
[ 53741.016] (EE) 9: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x6aeec)
[0x7fed4e178c8c]
[ 53741.016] (EE) 10: /usr/lib/xorg/modules/drivers/intel_drv.so
(_init+0x6b1aa) [0x7fed4e1791ea]
[ 53741.016] (EE) 11: /usr/lib/xorg-server/Xorg
(xf86PruneDuplicateModes+0x196d) [0x4b7ebd]
[ 53741.016] (EE) 12: /usr/lib/xorg-server/Xorg
(xf86AllocateLinearOffscreenArea+0x15a0) [0x4826c0]
[ 53741.017] (EE) 13: /usr/lib/xorg/modules/extensions/libglx.so
(GlxSetVisualConfigs+0x66ef) [0x7fed4f3534cf]
[ 53741.017] (EE) 14: /usr/lib/xorg-server/Xorg (xf86VTEnter+0x88) [0x479598]
[ 53741.017] (EE) 15: /usr/lib/xorg-server/Xorg (xf86RemoveSIGIOHandler+0xa88)
[0x49f368]
[ 53741.017] (EE) 16: /usr/lib/xorg-server/Xorg (xf86RemoveSIGIOHandler+0xd9b)
[0x49f72b]
[ 53741.018] (EE) 17: /usr/lib/libdbus-1.so.3 (dbus_connection_dispatch+0x401)
[0x7fed53910f91]
[ 53741.018] (EE) 18: /usr/lib/libdbus-1.so.3 (dbus_connection_dispatch+0x6dd)
[0x7fed539118ad]
[ 53741.019] (EE) 19: /usr/lib/xorg-server/Xorg (config_fini+0x461) [0x4988d1]
[ 53741.019] (EE) 20: /usr/lib/xorg-server/Xorg (OsCleanup+0x641) [0x59d171]
[ 53741.019] (EE) 21: /usr/lib/xorg-server/Xorg (WaitForSomething+0xcc)
[0x595a0c]
[ 53741.019] (EE) 22: /usr/lib/xorg-server/Xorg (SendErrorToClient+0x13a)
[0x43679a]
[ 53741.019] (EE) 23: /usr/lib/xorg-server/Xorg (InitFonts+0x428) [0x43a9a8]
[ 53741.020] (EE) 24: /usr/lib/libc.so.6 (__libc_start_main+0xea)
[0x7fed515694ca]
[ 53741.021] (EE) 25: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x42464a]
[ 53741.021] (EE) 
[ 53741.021] (EE) Segmentation fault at address 0x88
[ 53741.021] (EE) 
Fatal server error:
[ 53741.021] (EE) Caught signal 11 (Segmentation fault). Server aborting


Versions:

[18:11] manager:~% pacman -Q | grep xorg | sort
xorg-appres 1.0.4-1
xorg-bdftopcf 1.0.5-1
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-4
xorg-fonts-misc 1.0.3-5
xorg-font-util 1.3.1-1
xorg-font-utils 7.6-4
xorg-luit 1.1.1-2
xorg-mkfontdir 1.0.7-8
xorg-mkfontscale 1.1.2-1
xorg-server 1.19.3-2
xorg-server-common 1.19.3-2
xorg-setxkbmap 1.3.1-1
xorg-xauth 1.0.10-1
xorg-xbacklight 1.2.1-1
xorg-xdpyinfo 1.3.2-1
xorg-xev 1.2.2-1
xorg-xinit 1.3.4-4
xorg-xinput 1.6.2-1
xorg-xkbcomp 1.4.0-1
xorg-xkill 1.0.4-1
xorg-xmodmap 1.0.9-1
xorg-xrandr 1.5.0-1
xorg-xrdb 1.1.0-2
xorg-xset 1.2.3-1
xorg-xwd 1.0.6-1
xorg-xwininfo 1.1.3-1

Running 4.13.0-rc1-ARCH+ so s2idle is supported - from commit
54a7d50b9205b5064628c1d10de6531d2d9fbc90.

Attached are relevant log files (dmesg, xorg log and lspci output)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>