Bug 40610 - piglit glx-swap-pixmap SIGSEGV on 64-bit
Summary: piglit glx-swap-pixmap SIGSEGV on 64-bit
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) All
: medium critical
Assignee: Brian Paul
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-03 13:27 UTC by Vinson Lee
Modified: 2012-11-16 11:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2011-09-03 13:27:29 UTC
mesa: 0a00a9a05b357dafae86bf8af879aa601f101eba (master)

piglit glx-swap-pixmap crashes on 64-bit softpipe and 64-bit llvmpipe. The test does not crash on swrast, 32-bit softpipe, or 64-bit llvmpipe.

$ ./bin/glx-swap-pixmap

Program received signal SIGSEGV, Segmentation fault.
(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00000000004285fe in main (argc=1, argv=0x7fffffffe308) at piglit/tests/glx/glx-swap-pixmap.c:70
        p = 69206017
        g = 0
        green = {0, 1, 0, 0}
        ctx = 0x6795b0
        pass = false
(gdb) frame 1
#1  0x00000000004285fe in main (argc=1, argv=0x7fffffffe308) at piglit/tests/glx/glx-swap-pixmap.c:70
70		glClearColor(0.0, 1.0, 0.0, 0.0);
(gdb) l
65	
66		ctx = piglit_get_glx_context(dpy, visinfo);
67		glXMakeCurrent(dpy, g, ctx);
68	
69		/* Clear to green */
70		glClearColor(0.0, 1.0, 0.0, 0.0);
71		glClear(GL_COLOR_BUFFER_BIT);
72	
73		/* Noop */
74		glXSwapBuffers(dpy, p);
Comment 1 Andreas Boll 2012-09-10 14:31:12 UTC
No segfault with softpipe and llvmpipe on
mesa master e81ee67b51651e99e7e8e52c1ccafc66835d57cd
and mesa 8.0.4

I'm using 64-bit debian testing.

Though the test fails on both softpipe and llvmpipe.
Anyway I think we can close this bug.

@ Vinson
can you confirm?


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.