[Intel-gfx] infinite loop on shutdown
Patrick Welche
prlw1 at cam.ac.uk
Tue Jan 27 08:33:01 PST 2015
On shutdown, my sandy bridge laptop hangs in an infinite loop in:
xf86-video-intel/src/sna/sna_threads.c:
69 while (t->func == NULL)
70 pthread_cond_wait(&t->cond, &t->mutex);
Any idea on how to stop it waiting and just quit?
(Or what to look for if you aren't seeing this...)
FWIW
(gdb) print *t
$1 = {thread = 0x7f7ff7b68000, mutex = {ptm_magic = 858980355,
ptm_errorcheck = 0 '\000', ptm_pad1 = "\000\000",
ptm_interlock = 0 '\000', ptm_pad2 = "\000\000", ptm_owner = 0x0,
ptm_waiters = 0x0, ptm_recursed = 0, ptm_spare2 = 0x0}, cond = {
ptc_magic = 1431633925, ptc_lock = 0 '\000', ptc_waiters = {
ptqh_first = 0x7f7ff7b68000, ptqh_last = 0x7f7ff7b68230},
ptc_mutex = 0x7f7ff7b47338, ptc_private = 0x0}, func = 0x0, arg = 0x0}
Cheers,
Patrick
More information about the Intel-gfx
mailing list