<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 - Crash when starting app that uses KMS."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101242">101242</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash when starting app that uses KMS.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </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>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>barz621@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=131592" name="attach_131592" title="lshw">attachment 131592</a> <a href="attachment.cgi?id=131592&action=edit" title="lshw">[details]</a></span>
lshw

The EFL toolkit has the ability to display apps on KMS (ie launch from the
command line directly) 

When i do that with 4.10.13 and with 4.9.26 kernels i get the crash below.



May 09 21:59:26 testland kernel: BUG: unable to handle kernel NULL pointer
dereference at 0000000c
May 09 21:59:26 testland kernel: IP: i915_gem_request_alloc+0xa0/0x3c0 [i915]
May 09 21:59:26 testland kernel: *pde = 00000000
May 09 21:59:26 testland kernel:
May 09 21:59:26 testland kernel: Oops: 0000 [#1] PREEMPT SMP
May 09 21:59:26 testland kernel: Modules linked in: ctr ccm bnep arc4 b43 bcma
mac80211 joydev mousedev cfg80211 iTCO_wdt hp_wmi iTCO_vendor_support
sparse_keymap btusb btrtl btbcm snd_hda_codec_idt snd_hda_codec_generic btintel
coretemp pcspkr uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2
snd_hda_intel videobuf2_core videodev bluetooth rfkill snd_hda_codec crc16
media snd_hda_core lpc_ich psmouse input_leds ssb i2c_i801 sky2 snd_hwdep
mmc_core led_class snd_pcm pcmcia rng_core snd_timer thermal ac acpi_cpufreq
tpm_tis tpm_tis_core tpm pcmcia_core wmi shpchp snd soundcore fjes battery
intel_agp evdev mac_hid sch_fq_codel ip_tables x_tables crc32c_generic btrfs
xor raid6_pq sd_mod ata_generic pata_acpi serio_raw atkbd libps2 ata_piix
libata uhci_hcd scsi_mod ehci_pci ehci_hcd usbcore usb_common i8042 serio
May 09 21:59:26 testland kernel:  i915 video button intel_gtt i2c_algo_bit
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm agpgart
May 09 21:59:26 testland kernel: CPU: 1 PID: 489 Comm: terminology Not tainted
4.10.13-1-ARCH #1
May 09 21:59:26 testland kernel: Hardware name: Hewlett-Packard HP Mini/361A,
BIOS 361A0 Ver. F.10 12/25/2008
May 09 21:59:26 testland kernel: task: f247ef00 task.stack: f1d06000
May 09 21:59:26 testland kernel: EIP: i915_gem_request_alloc+0xa0/0x3c0 [i915]
May 09 21:59:26 testland kernel: EFLAGS: 00210282 CPU: 1
May 09 21:59:26 testland kernel: EAX: 00000000 EBX: f215f980 ECX: f215f980 EDX:
00000000
May 09 21:59:26 testland kernel: ESI: f4d00000 EDI: f55bb000 EBP: f1d07d74 ESP:
f1d07d50
May 09 21:59:26 testland kernel:  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
May 09 21:59:26 testland kernel: CR0: 80050033 CR2: 0000000c CR3: 31cf5000 CR4:
000006d0
May 09 21:59:26 testland kernel: Call Trace:
May 09 21:59:26 testland kernel:  ? intel_fbc_pre_update+0x8a/0xe0 [i915]
May 09 21:59:26 testland kernel:  intel_crtc_page_flip+0x34e/0xa80 [i915]
May 09 21:59:26 testland kernel:  ? __ww_mutex_lock+0x2a/0x90
May 09 21:59:26 testland kernel:  ? drm_mode_setcrtc+0x103/0x530 [drm]
May 09 21:59:26 testland kernel:  drm_mode_page_flip_ioctl+0x378/0x430 [drm]
May 09 21:59:26 testland kernel:  ? __check_object_size+0x50/0x12d
May 09 21:59:26 testland kernel:  ? drm_mode_cursor2_ioctl+0x10/0x10 [drm]
May 09 21:59:26 testland kernel:  drm_ioctl+0x20e/0x480 [drm]
May 09 21:59:27 testland kernel:  ? drm_mode_cursor2_ioctl+0x10/0x10 [drm]
May 09 21:59:27 testland kernel:  ? drm_getunique+0x60/0x60 [drm]
May 09 21:59:27 testland kernel:  do_vfs_ioctl+0x91/0x6b0
May 09 21:59:27 testland kernel:  ? __fget+0x6b/0xc0
May 09 21:59:27 testland kernel:  SyS_ioctl+0x60/0x70
May 09 21:59:27 testland kernel:  do_fast_syscall_32+0x8a/0x150
May 09 21:59:27 testland kernel:  entry_SYSENTER_32+0x4e/0x7c
May 09 21:59:27 testland kernel: EIP: 0xb7753cd9
May 09 21:59:27 testland kernel: EFLAGS: 00200296 CPU: 1
May 09 21:59:27 testland kernel: EAX: ffffffda EBX: 00000019 ECX: c01864b0 EDX:
bf97bd34
May 09 21:59:27 testland kernel: ESI: 0000002b EDI: c01864b0 EBP: 00000019 ESP:
bf97bcd8
May 09 21:59:27 testland kernel:  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
May 09 21:59:27 testland kernel: Code: c0 00 00 00 3b 4a d0 78 05 e8 cd f6 ff
ff 8b 86 c0 03 00 00 ba c0 00 40 01 e8 6d bd e6 c8 85 c0 89 c3 0f 84 f3 02 00
00 8b 45 f0 <8b> 50 0c 85 d2 0f 84 05 02 00 00 8b 47 08 c7 43 38 00 00 00 00
May 09 21:59:27 testland kernel: EIP: i915_gem_request_alloc+0xa0/0x3c0 [i915]
SS:ESP: 0068:f1d07d50
May 09 21:59:27 testland kernel: CR2: 000000000000000c
May 09 21:59:27 testland kernel: ---[ end trace e624351421283037 ]---</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>