Re: Hang during make test
- From: Steve Wills <swills FreeBSD org>
- To: Kevin Ryde <user42 zip com au>
- Cc: gtk-perl-list gnome org
- Subject: Re: Hang during make test
- Date: Sun, 27 Nov 2011 21:08:08 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/27/11 18:21, Kevin Ryde wrote:
Steve Wills <swills FreeBSD org> writes:
Basically, make test hangs at t/9.t when it reaches test 26.
Within the first Glib::Child->watch_add is it?
Correct.
After looking at it, it seems to be due to the call to
g_child_watch_add_full eventually calling
g_thread_create_posix_impl which uses pthreads (since my glib uses
threads)
Oh, that's the crazy glib thing where the child watch uses a signal
handler in another thread is it?
and the fact that my perl does not have thread support enabled.
Glib.xs always does g_thread_init(), maybe. Should that be inhibited
in a non-threaded perl? Though I might have wondered that if perl is
not threaded it wouldn't care about anyone else using threads or not
...
It may be a FreeBSD specific thing as I don't see this behavior on Mac
OS X and from the looks of CPAN testers it doesn't happen on Linux either:
http://matrix.cpantesters.org/?dist=Glib+1.241
Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
iQEcBAEBAgAGBQJO0u0IAAoJEPXPYrMgexuhHOUIAJ9b7NRbeMkUO37FabPFxwv7
c8JA3NxnNaW17hpuBlWrCrbQMileK6/Knt1s8QqcvVSe1FAQK47rToG1bZyf+yEB
D48mHaJd3VGg7W1yPuzJNc1AdFhp0Fid8XN8n0SDe0VqM+fCubisTucR6DaMz32R
kUNQO7kEKuLerPn0DgD5RuERSzZrDjFql+9be5ciYhxX9dUNTZGwYePDtMKrQdIR
lFvVrwbQ14YfhQjJBrUs+gNC/5UWV//dSSyBa0sPRt3XfcLwMqTG6qsd53CqOdX6
bN74uWPYC10QEgV/VEjmj1zDK05N/kwnLIw4/lpG/UYNDxD+43DPFRlvRCGxgAE=
=42/b
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]