Bug 65019 - [Bisected]xinit causes RefCursor ::::: cursor is (nil)
Summary: [Bisected]xinit causes RefCursor ::::: cursor is (nil)
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-27 03:23 UTC by lu hua
Modified: 2013-05-28 01:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
output (9.01 KB, text/plain)
2013-05-27 03:23 UTC, lu hua
no flags Details

Description lu hua 2013-05-27 03:23:58 UTC
Created attachment 79825 [details]
output

System Environment:
--------------------------
Platform: Pineview/Ironlake/Sandybridge/Ivybridge/Haswell
Libdrm:	(master)libdrm-2.4.45-4-g8a88e349975a64676f143183e835e6d296f29627
Mesa:	(master)44a117ab9ac7e18ffddf4d59ae35fe2c266efc1d
Xserver:(master)xorg-server-1.14.99.1-118-gcb3018d8a15add48efb3335e1f79b66378166008
Xf86_video_intel:(master)2.21.7-16-g51103d8637ba34a0d5f3507e196f54333aa765bb
Libva:	(staging)cc403954c93be77cb514c9d3836263f7d514a4f2
Libva_intel_driver:(staging)27e41b2cfc846fc451fe2409de70156338f359fa
Kernel:	(drm-intel-nightly) 6675fb0a477a9b22635eaf8aa6389a4fcd6eba61

Bug detailed description:
-------------------------
Run xinit, RefCursor ::::: cursor is (nil), It happens on master branch. It works well on server-1.13-branch.
Bisect shows: 9a5ad65330693b3273972b63d10f2907d9ab954a is the first bad commit
commit 9a5ad65330693b3273972b63d10f2907d9ab954a
Author:     Peter Hutterer <peter.hutterer@who-t.net>
AuthorDate: Wed May 15 19:01:11 2013 +1000
Commit:     Peter Hutterer <peter.hutterer@who-t.net>
CommitDate: Wed May 15 19:17:57 2013 +1000

    Abstract cursor refcounting

    Too many callers relied on the refcnt being handled correctly. Use a simple
    wrapper to handle that case.

    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>


 Backtrace:
(EE) 0: X (xorg_backtrace+0x49) [0x80b3dd9]
(EE) 1: X (RefCursor+0x3f) [0x806d9ff]
(EE) 2: X (ChangeWindowAttributes+0x848) [0x80aedd8]
(EE) 3: X (CreateWindow+0x55c) [0x80afb4c]
(EE) 4: X (0x8048000+0x2c738) [0x8074738]
(EE) 5: X (0x8048000+0x330bd) [0x807b0bd]
(EE) 6: X (0x8048000+0x1fd7c) [0x8067d7c]
(EE) 7: /lib/libc.so.6 (__libc_start_main+0xf5) [0x4f3b6635]
(EE) 8: X (0x8048000+0x20139) [0x8068139]
(EE)

Reproduce steps:
----------------
1. xinit
Comment 1 Peter Hutterer 2013-05-27 04:17:46 UTC
sorry, some debugging output was left enabled.


lhttp://patchwork.freedesktop.org/patch/13735/
Comment 2 Peter Hutterer 2013-05-27 04:52:10 UTC
commit c21344add2fc589df83b29be5831c36a372201bd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon May 27 13:46:49 2013 +1000

    dix: remove logspam in RefCursor()
Comment 3 lu hua 2013-05-28 01:08:03 UTC
Verified.Fixed.


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.