delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/14/13:34:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-499298.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_23,J_CHICKENPOX_53,J_CHICKENPOX_66,J_CHICKENPOX_84,KAM_STOCKTIP
X-Spam-Check-By: sourceware.org
X-MDAV-Processed: mail1.multiplay.co.uk, Tue, 14 Jul 2009 18:33:57 +0100
X-Spam-Processed: mail1.multiplay.co.uk, Tue, 14 Jul 2009 18:33:56 +0100 (not processed: message from trusted or authenticated source)
X-MDRemoteIP: 188.220.16.97
X-Return-Path: prvs=1446091326=killing AT multiplay DOT co DOT uk
X-Envelope-From: killing AT multiplay DOT co DOT uk
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
Message-ID: <24C96F26BB394F019C25CDE087FDD1D8@multiplay.co.uk>
From: "Steven Hartland" <killing AT multiplay DOT co DOT uk>
To: "Cygwin List" <cygwin AT cygwin DOT com>
References: <DAFA8ADC28014B82920B6D6AB81A1633 AT multiplay DOT co DOT uk>
Subject: Re: perl 5.10 threads on 1.5.25 = instant crash
Date: Tue, 14 Jul 2009 18:33:55 +0100
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Also happens on 5.8.8 :(
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=cygwin, osvers=1.5.24(0.15642), archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 reini 1.5.24(0.15642) 2007-01-31 10:57 i686 cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc -Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize -Dusedev
l'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef 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', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
    ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)', 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='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
    perllibs=-ldl -lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
  Locally applied patches:
        CYG01 - hints.cygwin.sh ldflags -s
        CYG02 - lib-ExtUtils-Embed insensitive against leading \s
        CYG03 - lib-Test-Harness-Straps $ENV{PERL5LIB} = ''
        CYG04 - major.version.cygwin.sh cygperl-5_8.dll and not cygperl-5_8_x.dll
        CYG05 - add Win32CORE to core
        CYG07 - File-Spec-Cygwin-TMPDIR.patch
        Bug#38628 - allow legacy Cwd->cwd()
        Bug#40103 - File-Spec-case_tolerant.patch from 5.9.5
  Built under cygwin
  Compiled at Jul  8 2007 19:12:08
  %ENV:
    CYGWIN=""
  @INC:
    /usr/lib/perl5/5.8/cygwin
    /usr/lib/perl5/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8
    .
----- Original Message ----- 
From: "Steven Hartland" <killing AT multiplay DOT co DOT uk>
To: "Cygwin List" <cygwin AT cygwin DOT com>
Sent: Tuesday, July 14, 2009 5:44 PM
Subject: perl 5.10 threads on 1.5.25 = instant crash


> Been looking around but cant find any mention of it so asking here:
> Is there a known issue with the latest 1.5.25 + perl 5.10 threads,
> as doing anything with threads here causes an instant crash.
>
> [test]
> #!/bin/perl -w
>
> use warnings;
> use strict;
> use threads;
>
> print STDERR "Testing threads...\n";
> my $thrd = threads->create( \&dothread );
> $thrd->join();
> print STDERR "Testing done\n";
>
> sub dothread { print STDERR "I'm a thread!\n" }
> [/test]
>
> Environment details:
> $ uname -a
> CYGWIN_NT-6.1-WOW64 ibm 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
>
> $ perl -V
> Summary of my perl5 (revision 5 version 10 subversion 0 patch 34065) configurati
> on:
>  Platform:
>    osname=cygwin, osvers=1.5.25(0.15642), archname=cygwin-thread-multi-64int
>    uname='cygwin_nt-5.1 reini 1.5.25(0.15642) 2008-06-12 19:34 i686 cygwin '
>    config_args='-de -Dmksymlinks -Dusethreads -Dmad=y -Dusedevel'
>    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=y, bincompat5005=undef
>  Compiler:
>    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-ali
> asing -pipe -I/usr/local/include',
>    optimize='-O3',
>    cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pip
> e -I/usr/local/include'
>    ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> ', 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', lsee
> ksize=8
>    alignbytes=8, prototype=define
>  Linker and Libraries:
>    ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,-
> -stack,8388608 -Wl,--enable-auto-image-base -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=libperl.a
>    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,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
>  Compile-time options: MULTIPLICITY MYMALLOC PERL_DONT_CREATE_GVSV
>                        PERL_IMPLICIT_CONTEXT PERL_MAD PERL_MALLOC_WRAP
>                        PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS
>                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
>  Locally applied patches:
>        MAINT34065
>        CYG11 no-bs
>        CYG12 no archlib in otherlibdirs
>        CYG14 Dynaloader
>        CYG15 static-Win32CORE
>        Bug#55162 File::Spec::case_tolerant performance
>  Built under cygwin
>  Compiled at Jun 30 2008 16:05:15
>  %ENV:
>    CYGWIN=""
>  @INC:
>    /usr/lib/perl5/5.10/i686-cygwin
>    /usr/lib/perl5/5.10
>    /usr/lib/perl5/site_perl/5.10/i686-cygwin
>    /usr/lib/perl5/site_perl/5.10
>    /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
>    /usr/lib/perl5/vendor_perl/5.10
>    /usr/lib/perl5/vendor_perl/5.10
>    /usr/lib/perl5/site_perl/5.8
>    /usr/lib/perl5/vendor_perl/5.8
>    .
> [/quote]
>
>    Regards
>    Steve
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
> 



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019