Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sys::Syslog bad free() #504

Closed
p5pRT opened this issue Sep 9, 1999 · 3 comments
Closed

Sys::Syslog bad free() #504

p5pRT opened this issue Sep 9, 1999 · 3 comments

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Sep 9, 1999

Migrated from rt.perl.org#1350 (status was 'resolved')

Searchable as RT1350$

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Sep 9, 1999

From navarro@mcs.anl.gov

Bad free() in Sys/Syslog.pm below​:

  CPAN.pm​: Going to build JWIED/Net-Daemon-0.27.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Net​::Daemon
mkdir blib
mkdir blib/lib
mkdir blib/lib/Net
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Net
mkdir blib/arch/auto/Net/Daemon
mkdir blib/lib/auto
mkdir blib/lib/auto/Net
mkdir blib/lib/auto/Net/Daemon
mkdir blib/man3
cp lib/Net/Daemon/Test.pm blib/lib/Net/Daemon/Test.pm
cp lib/Net/Daemon.pm blib/lib/Net/Daemon.pm
cp lib/Net/Daemon/Log.pm blib/lib/Net/Daemon/Log.pm
Manifying blib/man3/Net​::Daemon​::Test.3
Manifying blib/man3/Net​::Daemon.3
Manifying blib/man3/Net​::Daemon​::Log.3
  /bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.00503 -Iblib/arch -Iblib/lib -I/software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/sun4-sunos -I/software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503 -e 'use Test​::Harness qw(&runtests $verbose); $verbose=0; runtests @​ARGV;' t/*.t
t/base..............ok
t/config............Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/fork..............Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/forkm.............Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/loop-child........Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/loop..............Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/single............Bad free() ignored at /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/thread............skipping test on this platform
t/threadm...........skipping test on this platform
(rest omitted)

Perl Info


Site configuration information for perl 5.00503:

Configured by navarro at Wed Sep  8 12:31:43 CDT 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=sunos, osvers=4.1.4, archname=sun4-sunos
    uname='sunos cosmo.mcs 4.1.4 1 sun4m '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.2
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ucblib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lc -lposix
    libc=/lib/libc.so.1.9, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-assert nodefinitions -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00503:
    /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/sun4-sunos
    /software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503
    /software/common/perl_pkgs/5.005/sun4-sunos
    /software/common/perl_pkgs/5.005
    .


Environment for perl 5.00503:
    HOME=/homes/navarro
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=~/bin:/mcs/adm/bin:/software/common/adm/bin:/software/common/apps/bin:/mcs/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/etc:/usr/etc:/usr/sbin:/sbin:/usr/local/avs/bin:/usr/local/elm/bin:/usr/local/gcc/bin:/usr/local/gs/bin:/usr/local/interviews-3.1/bin:/usr/local/lapack/bin:/usr/lang:/usr/local/maple/bin:/usr/local/matlab/bin:/usr/local/mh/bin:/soft/apps/bin:/usr/local/graphics/bin:/usr/local/cvs/bin:/usr/local/NCAR/bin:/usr/local/netscape:/usr/local/tcl/bin:/usr/local/Mathematica/bin:/usr/local/X11R5/bin:/usr/bin/X11:/soft/adm/bin:/homes/navarro/bin/sun4:/homes/navarro/bin:.:/usr/local/req/bin
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/tcsh

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Nov 2, 2004

From @smpeters

[navarro@​mcs.anl.gov - Thu Sep 09 04​:11​:09 1999]​:

-----------------------------------------------------------------
[Please enter your report here]

Bad free() in Sys/Syslog.pm below​:

CPAN.pm​: Going to build JWIED/Net-Daemon-0.27.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Net​::Daemon
mkdir blib
mkdir blib/lib
mkdir blib/lib/Net
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Net
mkdir blib/arch/auto/Net/Daemon
mkdir blib/lib/auto
mkdir blib/lib/auto/Net
mkdir blib/lib/auto/Net/Daemon
mkdir blib/man3
cp lib/Net/Daemon/Test.pm blib/lib/Net/Daemon/Test.pm
cp lib/Net/Daemon.pm blib/lib/Net/Daemon.pm
cp lib/Net/Daemon/Log.pm blib/lib/Net/Daemon/Log.pm
Manifying blib/man3/Net​::Daemon​::Test.3
Manifying blib/man3/Net​::Daemon.3
Manifying blib/man3/Net​::Daemon​::Log.3
/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.00503 -Iblib/arch -Iblib/lib

-I/software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503/sun4-sunos

-I/software/sun4/apps/packages/perl-5.005_03_01/lib/5.00503 -e
'use
Test​::Harness qw(&runtests $verbose); $verbose=0; runtests
@​ARGV;'
t/*.t
t/base..............ok
t/config............Bad free() ignored at
/software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
Bad free() ignored at /software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/fork..............Bad free() ignored at
/software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/forkm.............Bad free() ignored at
/software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/loop-child........Bad free() ignored at
/software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/loop..............Bad free() ignored at
/software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/single............Bad free() ignored at
/software/sun4/apps/packages/perl-
5.005_03_01/lib/5.00503/Sys/Syslog.pm line 253.
ok
t/thread............skipping test on this platform
t/threadm...........skipping test on this platform
(rest omitted)

Sys​::Syslog has been mostly rewritten since this error was opened. It
appears to me that this problem has long been fixed.

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Nov 2, 2004

@smpeters - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.