Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444159

Summary: x11-libs/libxcb media-libs/mesa segfault in __glXGetString
Product: Gentoo Linux Reporter: Richard Freeman <rich0>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED NEEDINFO    
Severity: normal CC: dschridde+gentoobugs
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=57372
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: backtrace
updated backtrace
correct updated backtrace
backtrace -O0

Description Richard Freeman gentoo-dev 2012-11-21 12:51:57 UTC
Created attachment 330133 [details]
backtrace

I'm getting a segfault in SleepyHead, but it seems to originate from mesa (xcb-mesa-qt-sleepyhead).

I noticed this error after being updated with the x11 stable updates a few days ago.  That included both libxcb and mesa.

Backtrace attached.  I note that in glx_query.c:82 that reply=0x0, and that the function just passes that variable unchecked after getting it from xcb in the line before.  I don't know if that function is expected to return a null, but perhaps the library needs to check for it, or perhaps the problem is in qt (which I've been struggling to build with symbols).
Comment 1 Richard Freeman gentoo-dev 2012-11-21 13:40:28 UTC
Created attachment 330135 [details]
updated backtrace
Comment 2 Richard Freeman gentoo-dev 2012-11-21 13:42:25 UTC
Created attachment 330137 [details]
correct updated backtrace
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-11-21 14:26:53 UTC
Please also open a bug report upstream at https://bugs.freedesktop.org/ and provide the link.
Comment 4 Richard Freeman gentoo-dev 2012-11-21 14:39:08 UTC
(In reply to comment #3)
> Please also open a bug report upstream at https://bugs.freedesktop.org/ and
> provide the link.

Done:
https://bugs.freedesktop.org/show_bug.cgi?id=57372
Comment 5 Richard Freeman gentoo-dev 2012-11-21 20:13:05 UTC
Created attachment 330158 [details]
backtrace -O0
Comment 6 Richard Freeman gentoo-dev 2012-11-28 01:38:29 UTC
Just a note that I've narrowed this down quite a bit on the upstream bug report.  The problem only occurs with xorg-server 1.13.0 - while the segfault is client-side it is triggered by a change in server-side behavior.  Versions of client libs or server drivers do not appear to matter.
Comment 7 Richard Freeman gentoo-dev 2014-01-22 02:51:06 UTC
I'm going to go ahead and NEEDINFO this for now unless there is objection.  SleepyHead has moved on and no longer triggers this bug (substantial changes to its qt/opengl code), and xorg has moved along a ways as well.

If it comes up again and becomes an issue I'll re-open with more recent details, etc.