[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kfreebsd-amd64: monitor test hangs in _kqueue_thread_func()



Package: glib2.0
Version: 2.38.2-1
Severity: important
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

monitor test hangs when running the testsuite on kfreebsd-amd64 (using glibc 2.18).

AFAICT this bug is not the same as #712848, so filing separately.

Note that kevent() is called repeatedly. I.e. the thread that invokes _kqueue_thread_func()
calls kevent() in a loop and expects to be terminated by someone else.

gdb backtrace:

$ LD_LIBRARY_PATH=/usr/lib/debug gdb --args ./debian/build/deb/gio/tests/.libs/lt-monitor -k --tap
(gdb) r
Starting program: /home/rmh/gnome/glib2.0/glib2.0-2.38.2/./debian/build/deb/gio/tests/.libs/lt-monitor -k --tap
# random seed: R02S6c26288ba95a0adf9b77f610afbbb049
# Start of monitor tests
^C
Program received signal SIGINT, Interrupt.
0x00000008015d5c5a in kevent () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: El fitxer o directori no existeix.
(gdb) bt
#0  0x00000008015d5c5a in kevent () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000000801067dd1 in _kqueue_thread_func (arg=<optimized out>)
    at /home/rmh/gnome/glib2.0/glib2.0-2.38.2/./gio/kqueue/kqueue-thread.c:226
#2  0x00000008012e9ae0 in start_thread (arg=0x802ad2700) at pthread_create.c:307
#3  0x0000000000000000 in ?? ()
(gdb) q
A debugging session is active.

        Inferior 1 [process 23842] will be killed.

Quit anyway? (y or n) y

-- 
Robert Millan


Reply to: