Hang during make test



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I seem to be getting the same error as is mentioned in this message:

http://www.nntp.perl.org/group/perl.beginners/2011/03/msg116128.html

Basically, make test hangs at t/9.t when it reaches test 26. 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) and the fact that my perl does not have thread
support enabled.

Could something like the attached be added to the test? I suspect the
better way might be to check for USE_ITHREADS in GMainLoop.xs so that
the g_child_watch_add function isn't defined if threads aren't available.

Thanks,
Steve

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBAgAGBQJO0YJQAAoJEPXPYrMgexuhC7QH/iUjsPcJquPBtOIqMOl28Ebl
6Fv7l11uRLT9WUh4M8+f0s/GPiA7LES6tWKiGYpNb4C6vrG98qEsS0hMb9g3gi5j
gYoyOo8KKlzx6rA/HgaX/tcMajOND+p7V3v5wkjrJ3GpsjNOAXnZ0HKVSENNQk8X
oMknjdD1jVjMzhjbAHcnHmIe0Tp8rVcBbhoDDwBty3HCPhJlcsmlBO3jh4Y5PPzB
qz6eEFXpzKBaE1wWjvqxjuL5JvkGjRxj3zMQi73/XGfWcD+myT3DZBWMGCjqL4cM
FrNnZix/ARIZ3m5aePmsgtAO4hOeo4FZVgr6JPnmnukaI6y8yxUHhqOKI8U1d0w=
=aopm
-----END PGP SIGNATURE-----

Attachment: thread_test_patch.txt
Description: Text document

Attachment: thread_test_patch.txt.sig
Description: Binary data



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