Skip Menu |

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 75678
Status: rejected
Priority: 0/
Queue: Socket

People
Owner: Nobody in particular
Requestors: jean [...] veronis.fr
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.000
Fixed in: (no value)



Subject: Socket::MSG_NOSIGNAL
I used Beanstalk::Client with no problem until I upgraded Socket. Beanstalk::Client has the following line : eval {Socket::MSG_NOSIGNAL()} This causes a crash, not trapped by eval: perl -e 'use Socket; eval {Socket::MSG_NOSIGNAL()}' Attempt to free unreferenced scalar: SV 0x1008034e0. Coul you please help? Thanks! --jv
Show quoted text
> Coul you please help? > Thanks!
Hi, Could you let me know what perl version? Please supply the output of `perl -V` There were some issues of that in 5.10 or so but I haven't seen any on 5.14. -- Paul Evans
From: jean [...] veronis.fr
Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=darwin, osvers=10.6.0, archname=darwin-2level uname='darwin lilas.home 10.6.0 darwin kernel version 10.6.0: wed nov 10 18:13:17 pst 2010; root:xnu-1504.9.26~3release_i386 i386 ' config_args='-de -Dprefix=/Users/jean/perl5/perlbrew/perls/perl-5.12.3' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing - pipe -fstack-protector -I/usr/local/include -I/opt/local/include', optimize='-O3', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno- strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.2.1 (Apple Inc. build 5664)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector - L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib - L/opt/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Built under darwin Compiled at Feb 10 2011 17:42:45 %ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin:/Users/jean/lib/perl5" PERLBREW_PATH="/Users/jean/perl5/perlbrew/bin:/Users/jean/perl5/perlbrew/perls/perl- 5.12.3/bin" PERLBREW_PERL="perl-5.12.3" PERLBREW_ROOT="/Users/jean/perl5/perlbrew" PERLBREW_VERSION="0.15" @INC: /sw/lib/perl5 /sw/lib/perl5/darwin /Users/jean/lib/perl5/darwin-2level /Users/jean/lib/perl5 /Users/jean/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/darwin-2level /Users/jean/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3 /Users/jean/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/darwin-2level /Users/jean/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3 .
From the Socket 2.000 source dir, rebuilding each time: $ perl5.12.4 -Mblib -e 'use Socket; eval {Socket::MSG_NOSIGNAL()}; print "OK\n"' OK $ perl5.12.3 -Mblib -e 'use Socket; eval {Socket::MSG_NOSIGNAL()}; print "OK\n"' OK $ perl5.10.1 -Mblib -e 'use Socket; eval {Socket::MSG_NOSIGNAL()}; print "OK\n"' OK I'm afraid I'm not easily able to reproduce this one. Is it possible it is darwin-related? Perchance is it possible you can reproduce it on other OSes, or is it specific to that one machine? -- Paul Evans
From: jean [...] veronis.fr
It works fine with perl-5.14.2 under darwin (and debian).
Seems to be a duplicate of RT78624 https://rt.cpan.org/Ticket/Display.html?id=78624 -- Paul Evans
Dupe -- Paul Evans