Bug 1039063 - XOrg crashes sometimes with qxl_alloc_ioctl: failed to create gem
Summary: XOrg crashes sometimes with qxl_alloc_ioctl: failed to create gem
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-qxl
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Blechter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-06 14:08 UTC by Alexey Torkhov
Modified: 2015-06-29 13:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 13:24:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alexey Torkhov 2013-12-06 14:08:56 UTC
Description of problem:

XOrg crashes sometimes at boot with:

Dec  6 08:55:37 localhost kernel: [   51.156030] ------------[ cut here ]------------
Dec  6 08:55:37 localhost kernel: [   51.156105] WARNING: CPU: 0 PID: 1041 at drivers/gpu/drm/qxl/qxl_ttm.c:418 qxl_sync_obj_wait+0x172/0x1f0 [qxl]()
Dec  6 08:55:37 localhost kernel: [   51.156108] sync obj 301 still has outstanding releases 0 0 0 266240 1
Dec  6 08:55:37 localhost kernel: [   51.156110] Modules linked in: nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6t_REJECT xt_conntrack bnep bluetooth cfg80211 rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables snd_hda_intel ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ppdev snd_hda_codec ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 snd_hwdep nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle snd_seq iptable_security iptable_raw snd_seq_device snd_pcm joydev snd_page_alloc microcode snd_timer virtio_console serio_raw snd parport_pc soundcore i2c_piix4 parport mperf nfsd auth_rpcgss nfs_acl lockd isofs squashfs virtio_net virtio_balloon virtio_blk qxl drm_kms_helper ttm drm virtio_pci virtio_ring virtio i2c_core ata_generic pata_acpi sunrpc loop 
Dec  6 08:55:37 localhost kernel: [   51.156163] CPU: 0 PID: 1041 Comm: X Not tainted 3.11.10-300.fc20.x86_64 #1
Dec  6 08:55:37 localhost kernel: [   51.156166] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
Dec  6 08:55:37 localhost kernel: [   51.156168]  0000000000000009 ffff880037db38b8 ffffffff816441bb ffff880037db3900
Dec  6 08:55:37 localhost kernel: [   51.156173]  ffff880037db38f0 ffffffff8106715d 0000000000000001 ffff880039ebbab0
Dec  6 08:55:37 localhost kernel: [   51.156176]  0000000000000001 ffff880039ebbac8 0000000000000000 ffff880037db3950
Dec  6 08:55:37 localhost kernel: [   51.156180] Call Trace:
Dec  6 08:55:37 localhost kernel: [   51.156191]  [<ffffffff816441bb>] dump_stack+0x45/0x56
Dec  6 08:55:37 localhost kernel: [   51.156198]  [<ffffffff8106715d>] warn_slowpath_common+0x7d/0xa0
Dec  6 08:55:37 localhost kernel: [   51.156201]  [<ffffffff810671cc>] warn_slowpath_fmt+0x4c/0x50
Dec  6 08:55:37 localhost kernel: [   51.156210]  [<ffffffff816482f3>] ? schedule_hrtimeout_range+0x13/0x20
Dec  6 08:55:37 localhost kernel: [   51.156218]  [<ffffffffa0105e82>] qxl_sync_obj_wait+0x172/0x1f0 [qxl]
Dec  6 08:55:37 localhost kernel: [   51.156242]  [<ffffffffa00ef70e>] ttm_bo_wait+0x8e/0x180 [ttm]
Dec  6 08:55:37 localhost kernel: [   51.156252]  [<ffffffffa00f0fda>] ttm_bo_evict+0x4a/0x330 [ttm]
Dec  6 08:55:37 localhost kernel: [   51.156261]  [<ffffffffa00f13f0>] ttm_mem_evict_first+0x130/0x190 [ttm]
Dec  6 08:55:37 localhost kernel: [   51.156269]  [<ffffffffa00f1701>] ttm_bo_mem_space+0x2b1/0x360 [ttm]
Dec  6 08:55:37 localhost kernel: [   51.156276]  [<ffffffffa00f1b0a>] ttm_bo_move_buffer+0xaa/0x130 [ttm]
Dec  6 08:55:37 localhost kernel: [   51.156284]  [<ffffffffa00f1c1a>] ttm_bo_validate+0x8a/0x100 [ttm]
Dec  6 08:55:37 localhost kernel: [   51.156292]  [<ffffffffa00f1e66>] ttm_bo_init+0x1d6/0x430 [ttm]
Dec  6 08:55:37 localhost kernel: [   51.156300]  [<ffffffffa0107df9>] qxl_bo_create+0x159/0x1e0 [qxl]
Dec  6 08:55:37 localhost kernel: [   51.156309]  [<ffffffffa0107b60>] ? qxl_fbdev_qobj_is_fb+0x30/0x30 [qxl]
Dec  6 08:55:37 localhost kernel: [   51.156323]  [<ffffffffa0108537>] qxl_gem_object_create+0x57/0xf0 [qxl]
Dec  6 08:55:37 localhost kernel: [   51.156332]  [<ffffffffa010861d>] qxl_gem_object_create_with_handle+0x4d/0xf0 [qxl]
Dec  6 08:55:37 localhost kernel: [   51.156341]  [<ffffffffa010b81a>] qxl_alloc_ioctl+0x3a/0xa0 [qxl]
Dec  6 08:55:37 localhost kernel: [   51.156387]  [<ffffffffa007d122>] drm_ioctl+0x512/0x640 [drm]
Dec  6 08:55:37 localhost kernel: [   51.156399]  [<ffffffff8164e934>] ? __do_page_fault+0x1f4/0x510
Dec  6 08:55:37 localhost kernel: [   51.156405]  [<ffffffff8116dae5>] ? do_mmap_pgoff+0x305/0x3c0
Dec  6 08:55:37 localhost kernel: [   51.156410]  [<ffffffff811bac3d>] do_vfs_ioctl+0x2dd/0x4b0
Dec  6 08:55:37 localhost kernel: [   51.156414]  [<ffffffff811bae91>] SyS_ioctl+0x81/0xa0
Dec  6 08:55:37 localhost kernel: [   51.156419]  [<ffffffff8164e368>] ? do_async_page_fault+0x28/0xa0
Dec  6 08:55:37 localhost kernel: [   51.156424]  [<ffffffff81653399>] system_call_fastpath+0x16/0x1b
Dec  6 08:55:37 localhost kernel: [   51.156427] ---[ end trace 3146634909eb47c8 ]---
Dec  6 08:55:37 localhost kernel: [   51.156430] [TTM] Failed to expire sync object before buffer eviction
Dec  6 08:55:37 localhost kernel: [   51.156452] qxl 0000:00:02.0: object_init failed for (266240, 0x00000001)
Dec  6 08:55:37 localhost kernel: [   51.156457] [drm:qxl_gem_object_create] *ERROR* Failed to allocate GEM object (262164, 1, 4096, -12)
Dec  6 08:55:37 localhost kernel: [   51.156460] [drm:qxl_alloc_ioctl] *ERROR* qxl_alloc_ioctl: failed to create gem ret=-12
Dec  6 08:55:37 localhost kdm[915]: X server for display :0 terminated unexpectedly


Version-Release number of selected component (if applicable):
kernel-3.11.10-300.fc20.x86_64
xorg-x11-drv-qxl-0.1.1-3.fc20.x86_64

How reproducible:
Sometimes

Steps to Reproduce:
1. Boot livecd in a VM (I'm using F-20 KDE Final TC5)

Actual results:
Sometimes user session is not auto-logged in - this means X crashed

Expected results:


Additional info:

Comment 2 Fedora End Of Life 2015-05-29 09:55:47 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2015-06-29 13:24:53 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.