Data race in libxcb1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxcb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There's a data race in libxcb1_
This bug relates to Bug #1179617. Below is stack trace of this data race. This bug was fixed by upstream three years ago but it hasn't merged into our code. I have patched my library and Virtualbox haven't crashed since then.
Fix: https:/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Core was generated by `/usr/lib/
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f7c36b4fcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/
56 ../nptl/
(gdb) bt
#0 0x00007f7c36b4fcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/
#1 0x00007f7c36b530d8 in __GI_abort () at abort.c:89
#2 0x00007f7c36b48b86 in __assert_fail_base (fmt=0x7f7c36c99830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=
function=
#3 0x00007f7c36b48c32 in __GI___assert_fail (assertion=
line=
#4 0x00007f7c2b54ee5b in write_vec (count=
#5 _xcb_conn_wait (c=c@entry=
at ../../src/
#6 0x00007f7c2b54f191 in _xcb_out_send (c=c@entry=
#7 0x00007f7c2b54f8a7 in _xcb_out_flush_to (c=0x7f7c0835d020, request=93593) at ../../src/
#8 0x00007f7c2b54f9c8 in xcb_take_socket (c=0x7f7c0835d020, return_
flags=0, sent=sent@
#9 0x00007f7c2e3cea38 in require_socket (dpy=0x7f7c0835
#10 0x00007f7c2e3cf259 in _XFlush (dpy=0x7f7c0835
#11 0x00007f7c2e3d1c75 in _XGetRequest (dpy=dpy@
#12 0x00007f7c2e3cb0bb in XSync (dpy=dpy@
#13 0x00007f7c2ed380ab in dri2XcbSwapBuffers (pdraw=
at ../../.
#14 dri2SwapBuffers (pdraw=
#15 0x00007f7bf63bac5b in ?? () from /usr/lib/
#16 0x00007f7bf63bd1ec in ?? () from /usr/lib/
#17 0x00007f7c367ce7cc in ?? () from /usr/lib/
#18 0x00007f7c3684980c in ?? () from /usr/lib/
#19 0x00007f7c370ea182 in start_thread (arg=0x7f7c00cd
#20 0x00007f7c36c1347d in clone () at ../sysdeps/
(gdb) frame 4
#4 0x00007f7c2b54ee5b in write_vec (count=
186 assert(
(gdb)