Skip Menu |
 

This queue is for tickets about the Glib CPAN distribution.

Report information
The Basics
Id: 84242
Status: resolved
Priority: 0/
Queue: Glib

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.280
  • 1.291_002
  • 1.304
  • 1.305
  • 1.310
Fixed in: (no value)



Subject: t/9.t hangs on Cygwin after test 28
Download (untitled) / with headers
text/plain 743b
cygserver is running $ perl -Mblib t/9.t 1..30 ok 1 ok 2 ok 3 - running in eval ok 4 - idle one-shot ok 5 - another idle, but this one dies ok 6 - in __DIE__ handler ok 7 ok 8 ok 9 - running in eval ok 10 - dying with 'waugh' ok 11 - killing loop from exception handler ok 12 ok 13 - running in eval ok 14 - eof, dying with 'done\n' ok 15 - ALRM handler ok 16 - 1 sec alarm handler fires before 5 sec timeout ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 - in timeout handler ok 26 - child userdata kept alive ok 27 - child source removal ok 28 - child userdata now gone *** unhandled exception in callback: *** Oops, child watch callback didn't run *** ignoring at t/9.t line 267. (hangs) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #84242] t/9.t hangs on Cygwin after test 28
Date: Sat, 15 Nov 2014 20:35:49 +0100
To: bug-Glib [...] rt.cpan.org
From: Torsten Schoenfeld <kaffeetisch [...] gmx.de>
Download (untitled) / with headers
text/plain 695b
On 27.03.2013 16:37, Alexandr Ciornii via RT wrote: Show quoted text
> $ perl -Mblib t/9.t > 1..30 > [...] > *** unhandled exception in callback: > *** Oops, child watch callback didn't run > *** ignoring at t/9.t line 267. > (hangs)
Is that with an unthreaded perl, i.e. without "-Dusethreads"? Check with 'perl -V:usethreads'. If so, the issue might be related to what is discussed in <https://rt.cpan.org/Public/Bug/Display.html?id=82349>. In short: libglib uses threads under the hood, and when perl was linked without "-pthread", this causes issues on some systems. Could you try a variant of the patch attached to the above bug report, with "$^O eq 'freebsd'" altered so it is true on your system?
Download (untitled) / with headers
text/plain 2.3k
On Sat Nov 15 14:36:01 2014, TSCH wrote: Show quoted text
> Is that with an unthreaded perl, i.e. without "-Dusethreads"?
threaded Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Platform: osname=cygwin, osvers=1.7.15(0.26053), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.1 winxp 1.7.15(0.26053) 2012-05-09 10:25 i686 cygwin ' config_args='-de -Dlibperl=cygperl5_14.dll -Dcc=gcc-4 -Dld=g++-4 -Darchname=i686-cygwin-threads-64int -Dmksymlinks -Dusethreads -Accflags=-g' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc-4', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector' ccversion='', gccversion='4.5.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++-4', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_14.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API -- Alexandr Ciornii, http://chorny.net
Latest version does not hang anymore. -- Alexandr Ciornii, http://chorny.net


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.