Bug 9047 - mesa/progs/demos/texdown get segmentation fault
mesa/progs/demos/texdown get segmentation fault
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915
x86 (IA32) Linux (All)
: high normal
Assigned To: Default DRI bug account
Depends on:
  Show dependency treegraph
Reported: 2006-11-15 18:28 UTC by veelion (inactive account)
Modified: 2009-08-24 12:24 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:

xorg.log on 945g (64.29 KB, text/plain)
2006-11-15 18:29 UTC, veelion (inactive account)
xorg.conf on 945g (2.80 KB, text/plain)
2006-11-15 18:30 UTC, veelion (inactive account)

Note You need to log in before you can comment on or make changes to this bug.
Description veelion (inactive account) 2006-11-15 18:28:03 UTC
run mesa/prog/demos/texdown on 945G and 915G, it both got the segfault, the 
debug information is following,
(gdb) run
Starting program: /home/veelion/Mesa/progs/demos/texdown
[Thread debugging using libthread_db enabled]
[New Thread 47745304097504 (LWP 15863)]
GL_VENDOR = Tungsten Graphics, Inc
GL_VERSION = 1.3 Mesa 6.5.2
GL_RENDERER = Mesa DRI Intel(R) 945G 20061017
allocating 16777216 bytes for 4 1024x1024 images
alloc 0x2b6c96853010 0x2b6c97855010
texture image alignment: 16384 bytes (0x96854000)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47745304097504 (LWP 15863)]
Display () at texdown.c:197
197           texImage[i] = i & 0xff;
(gdb) bt
#0  Display () at texdown.c:197
#1  0x00002b6c90d03e54 in processWindowWorkList (window=0x509670)
    at glut_event.c:1302
#2  0x00002b6c90d04992 in glutMainLoop () at glut_event.c:1349
#3  0x00000000004017c2 in main (argc=1, argv=0x7fff19dc7678) at texdown.c:480
Comment 1 veelion (inactive account) 2006-11-15 18:29:53 UTC
Created attachment 7806 [details]
xorg.log on 945g
Comment 2 veelion (inactive account) 2006-11-15 18:30:12 UTC
Created attachment 7807 [details]
xorg.conf on 945g
Comment 3 Brian Paul 2006-11-27 08:26:45 UTC
I can't reproduce this on my 915G with current X.org and Mesa code.
Can you verify?
Comment 4 veelion (inactive account) 2006-11-27 17:38:49 UTC
the error goes away with latest Mesa
Comment 5 ajax at nwnk dot net 2009-08-24 12:24:58 UTC
Mass version move, cvs -> git