[Mesa-dev] [Bug 33758] CreateDRIDrawable can't fail gracefully

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 27 12:53:00 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=33758

--- Comment #4 from nobled <nobled at dreamwidth.org> 2011-06-27 12:53:00 PDT ---
Good news and bad news.

Good news: I tested in an Ubuntu Maverick chroot, and I can't reproduce the
segfault -- maybe it was fixed in Xlib? (In Lucid, libX11 is version 1.3.2; in
Maverick, it's 1.3.3) Now, instead of silently segfaulting, it seems to call
exit(1) after giving a much more informative printout. Which is a *very slight*
improvement:

(gdb) finish
Run till exit from #0  drisw_bind_context (context=0x80690b0, old=0x4871e0, 
    draw=106954753, read=106954753) at drisw_glx.c:267
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  55 (X_CreateGC)
  Resource id in failed request:  0x6600001
  Serial number of failed request:  26
  Current serial number in output stream:  28

Program exited with code 01.
(gdb) quit

Bad news is, ajax's patch no longer applies cleanly to master
<773556e0f537eba82d9d68d618e229140f413620>, and I tested both of Chad's patches
and the bug still happens.

I'll attach a reduced testcase.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list