[Xcb] Adding pthread stubs into libxcb

Eric Anholt eric at anholt.net
Tue Nov 7 15:43:18 PST 2006


On Tue, 2006-11-07 at 15:29 -0800, Jamey Sharp wrote:
> On Tue, Nov 07, 2006 at 11:12:44AM -0800, Eric Anholt wrote:
> > I believe I fixed this bug yesterday.
> 
> Wow. That was kind of a nasty bug. I guess glibc malloc rounded the
> allocation up to 8 bytes, or you're testing on a 64-bit platform, or
> something.
> 
> Thanks for catching and fixing it. I guess we should roll a libX11 1.1
> RC3 now.

I got lucky just staring at the code and noticing that bug.  Ugh.

I'm still getting a bunch of:

Assertion failed: (!c->xlib.lock), function xcb_xlib_lock, file xcb_xlib.c, line 41.
Fatal error (6).zsh: abort (core dumped)  emacs

#7  0x080d5f28 in abort ()
#8  0x285458db in __assert () from /lib/libc.so.7
#9  0x285938c4 in xcb_xlib_lock (c=0x84f2000) at xcb_xlib.c:41
#10 0x28399ea5 in _XCBLockDisplay (dpy=0x84f1000) at xcb_lock.c:20
#11 0x28380a49 in XInternAtom (dpy=0x84f1000, name=0x28435d7d "XIM_SERVERS", 
    onlyIfExists=1) at IntAtom.c:178
#12 0x283b95cd in _XimFilterPropertyNotify (display=0x84f1000, window=82, 
    event=0xbfbd0960, client_data=0x0) at imInsClbk.c:97
#13 0x28377e2e in XFilterEvent (ev=0xbfbd0960, window=0) at FilterEv.c:99
#14 0x080bbe1b in ?? ()
#15 0xbfbd0960 in ?? ()
[...]

However, I haven't ruled out local issues.

-- 
Eric Anholt                             anholt at FreeBSD.org
eric at anholt.net                         eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xcb/attachments/20061107/bc6e30ed/attachment.pgp


More information about the Xcb mailing list