Bug 10802

Summary: gl-117 Segmentation Fault on 945g
Product: DRI Reporter: Wei Tang <wei.w.tang>
Component: GeneralAssignee: Default DRI bug account <dri-devel>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: high CC: gordon.jin, haihao.xiang, wei.z.wang
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf
none
Xorg.0.log none

Description Wei Tang 2007-04-28 23:42:58 UTC
System Enviroment:
--------------------------
Arch:           945g x86_64
OSD:            Fedora Core release 5 (Bordeaux)
Kernel:         2.6.20
Mesa:           d741b10be6c254a3c52f93b9f2241aeb8ba7eba1         

Bug detailed description:
--------------------------
[root@x-945g ~]# gdb gl-117
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".

(gdb) r
Starting program: /usr/local/bin/gl-117
[Thread debugging using libthread_db enabled]
[New Thread 47202211721760 (LWP 3471)]
Info: Found gl-117 data directory /usr/local/share/gl-117
Info: Startup /usr/local/bin/gl-117, V1.3 ...
Info: Loading /root/.gl-117/conf
Info: Saving /root/.gl-117/conf
Info: Loading /root/.gl-117/conf.interface
Info: Saving /root/.gl-117/conf.interface
Info: Using SDL and GLUT
(EE) intel(0): I830 Vblank Pipe Setup Failed 0
FreeFontPath: FPE "/usr/share/X11/fonts/misc" refcount is 2, should be 1; fixing.
chosen: dotclock 40000 vco 1600000 ((m 100, m1 16, m2 8), n 4, (p 40, p1 4, p2 10))
[New Thread 1082132816 (LWP 3475)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47202211721760 (LWP 3471)]
0x00000038827368b6 in ____strtod_l_internal () from /lib64/libc.so.6
(gdb) bt
#0  0x00000038827368b6 in ____strtod_l_internal () from /lib64/libc.so.6
#1  0x00002aee1e16bbd6 in closestFit (target=3553, width=256, height=256, internalFormat=4, format=6408, type=5121,
    newWidth=0x7fff8caedfc4, newHeight=0x7fff8caedfc0) at /usr/include/stdlib.h:330
#2  0x00002aee1e1734c0 in gluBuild2DMipmaps (target=3553, internalFormat=4, width=256, height=256, format=6408, type=5121,
    data=0x2aaaaaab6010) at libutil/mipmap.c:4599
#3  0x000000000041b032 in GL::genTextureTGA (this=0x63b6c0, fname=0x5cc288 "/usr/local/share/gl-117/textures/grass1.tga",
    quality=0, alphatype=0, mipmap2=1, alpha=false) at gl.cpp:159
#4  0x000000000040f9cf in myFirstInit () at main.cpp:4306
#5  0x0000000000419c37 in main (argc=1, argv=Variable "argv" is not available.
) at main.cpp:7552

Reproduce steps:
----------------
1.startup X
2.run gl-117
Comment 1 Wei Tang 2007-04-28 23:43:35 UTC
Created attachment 9776 [details]
xorg.conf
Comment 2 Wei Tang 2007-04-28 23:44:01 UTC
Created attachment 9777 [details]
Xorg.0.log
Comment 3 Gordon Jin 2007-07-03 01:52:53 UTC
It's working now with the latest source.

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.