https://bugzilla.novell.com/show_bug.cgi?id=466806
User mhopf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=466806#c1
Matthias Hopf changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P3 - Medium
Status|NEW |ASSIGNED
CC| |mhopf@novell.com
AssignedTo|sndirsch@novell.com |mhopf@novell.com
Severity|Normal |Major
--- Comment #1 from Matthias Hopf 2009-01-16 06:59:55 MST ---
Only reproducable on Arvin's and Stefan's machines;
Mesa crashes in driBindContext(), because in MakeContextCurrent
FetchDRIDrawable() fails:
Program received signal SIGSEGV, Segmentation fault.
0xb7dcff72 in driBindContext (context=0x8059920, draw=0x0, read=0x0) at
drisw_glx.c:234
234 return (*core->bindContext)(pcp->driContext,
(gdb) bt
#0 0xb7dcff72 in driBindContext (context=0x8059920, draw=0x0, read=0x0) at
drisw_glx.c:234
#1 0xb7daf6cc in MakeContextCurrent (dpy=0x804d020, draw=56623106,
read=56623106, gc=0x8057c58, pre13=0) at glxcurrent.c:379
#2 0xb7fab386 in fgOpenWindow (window=0x8053e90, title=0x804ab91 "Gears",
positionUse=1 '\001', x=0, y=0, sizeUse=1 '\001', w=300, h=300,
gameMode=0 '\0', isSubWindow=0 '\0') at freeglut_window.c:706
#3 0xb7fa95ef in fgCreateWindow (parent=0x0, title=0x804ab91 "Gears",
positionUse=<value optimized out>, x=0, y=0,
sizeUse=<value optimized out>, w=300, h=300, gameMode=<value optimized
out>, isMenu=0 '\0') at freeglut_structure.c:105
#4 0xb7faaae5 in glutCreateWindow (title=0x804ab91 "Gears") at
freeglut_window.c:953
#5 0x0804a9c1 in main ()
(gdb) p core->bindContext
glxcurrent.c:379ff
374 /* Bind the direct rendering context to the drawable */
375 if (gc && gc->driContext) {
376 __GLXDRIdrawable *pdraw = FetchDRIDrawable(dpy, draw, gc,
pre13);
377 __GLXDRIdrawable *pread = FetchDRIDrawable(dpy, read, gc,
pre13);
378
379 bindReturnValue =
380 (gc->driContext->bindContext) (gc->driContext, pdraw,
pread);
bindContext assumes that both pdraw and pread are *not* NULL. Which they are in
this case.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.