Bug 101242 - Crash when starting app that uses KMS.
Summary: Crash when starting app that uses KMS.
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-31 09:09 UTC by Apostolos B.
Modified: 2017-07-27 16:54 UTC (History)
1 user (show)

See Also:
i915 platform: I945G
i915 features:


Attachments
lshw (13.62 KB, text/plain)
2017-05-31 09:09 UTC, Apostolos B.
no flags Details

Description Apostolos B. 2017-05-31 09:09:33 UTC
Created attachment 131592 [details]
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 ]---
Comment 1 Apostolos B. 2017-05-31 11:04:34 UTC
Tested with 4.11.3 and its fixed.

Sorry for the noise.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.