Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444159 - x11-libs/libxcb media-libs/mesa segfault in __glXGetString
Summary: x11-libs/libxcb media-libs/mesa segfault in __glXGetString
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 12:51 UTC by Richard Freeman
Modified: 2014-01-22 02:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
backtrace (backtrace.log,13.88 KB, text/plain)
2012-11-21 12:51 UTC, Richard Freeman
Details
updated backtrace (backtrace.log,13.88 KB, text/plain)
2012-11-21 13:40 UTC, Richard Freeman
Details
correct updated backtrace (backtrace.log,22.56 KB, text/plain)
2012-11-21 13:42 UTC, Richard Freeman
Details
backtrace -O0 (backtrace.txt,22.53 KB, text/plain)
2012-11-21 20:13 UTC, Richard Freeman
Details

Note You need to log in before you can comment on or make changes to this bug.
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.