Bug 10589 - ut2004 get error caused by texture allocation
Summary: ut2004 get error caused by texture allocation
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: General (show other bugs)
Version: DRI git
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 00:12 UTC by Wei Tang
Modified: 2007-05-07 23:25 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
UT2004.log (11.48 KB, text/plain)
2007-04-10 00:14 UTC, Wei Tang
no flags Details
xorg.conf (3.44 KB, text/plain)
2007-04-10 00:14 UTC, Wei Tang
no flags Details
Xorg.0.log (52.42 KB, text/plain)
2007-04-10 00:15 UTC, Wei Tang
no flags Details

Description Wei Tang 2007-04-10 00:12:22 UTC
System Enviroment:
--------------------------
Arch:           945gm i386
OSD:            Fedora Core release 5 (Bordeaux)
Kernel:         2.6.20
Mesa:           af807a4696866a4ee08bb2a4e95b9c02011db530
Drm:            833df88d0d63bc96dcc57d0193d133b2a594e1d6


Bug detailed description:
--------------------------
ut2004 got the following error:
open /dev/[sound/]dsp: No such file or directory
Xlib:  extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
[driAllocateTexture:636] unable to allocate texture
[driAllocateTexture:636] unable to allocate texture
.........
.........
[driAllocateTexture:636] unable to allocate texture
[driAllocateTexture:636] unable to allocate texture
[driAllocateTexture:636] unable to allocate texture
Signal: SIGSEGV [segmentation fault]
Aborting.



Reproduce steps:
----------------
1.startup X
2.run ut2004
3.click "Instant Action"->"Asault"->"Play"
Comment 1 Wei Tang 2007-04-10 00:14:24 UTC
Created attachment 9538 [details]
UT2004.log
Comment 2 Wei Tang 2007-04-10 00:14:58 UTC
Created attachment 9539 [details]
xorg.conf
Comment 3 Wei Tang 2007-04-10 00:15:26 UTC
Created attachment 9540 [details]
Xorg.0.log
Comment 4 haihao 2007-04-17 22:04:41 UTC
commit 565cd49b5fc7a5bd1e533542888bf322b83b8e56 fixes the segment issue
Comment 5 Wei Tang 2007-04-25 00:50:26 UTC
the bug arised again on mesa commit <7eba12edce871c3db835decbf1a0271acfd3eb68> tested on 945g
Comment 6 Brian Paul 2007-04-25 06:51:48 UTC
Are you sure about that commit?  It was just a change to an html file, AFAICT.
Comment 7 Wei Tang 2007-04-25 23:56:05 UTC
Sorry for my fault,the bug was found on Mesa commit <47ad443c55cf07b32bac04b97066cfd3c2aa3554>.
Comment 8 Brian Paul 2007-04-26 09:14:30 UTC
Uh, that commit was a change to the glfbdev.c file:
http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=commit;h=47ad443c55cf07b32bac04b97066cfd3c2aa3554
Comment 9 Wei Tang 2007-04-26 18:15:33 UTC
Sorry for that mistake. I just want to point out that this bug happened on the newer commit, but not that the commit caused the bug.
Comment 10 Wei Tang 2007-04-28 23:22:48 UTC
if DefaultDepth value was set to 16 in xorg.conf, then running ut2004 through ssh, Segmentation Fault would arise and X crashes too. 
it is duplicate of bug #10778
Comment 11 Wei Tang 2007-04-28 23:29:00 UTC
the original segmentation fault has been fixed by Haihao as comment#4
Comment 12 Gordon Jin 2007-05-07 23:25:26 UTC
The new bug (X crashes if depth=16, as mentioned in comment#10) has been fixed by Haihao in xf86-video-driver commit 34f362d099d255f8f0bb34e9de30f953ee770163.


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.