Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.9k stars 540 forks source link

Parse::RecDescent 1.70 fails make test on 5.005_03 with DEBUGGING on #790

Closed p5pRT closed 14 years ago

p5pRT commented 24 years ago

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

Searchable as RT1717$

p5pRT commented 24 years ago

From bhilton@bbg.adc.com

When doing a make test on version 1.70 of Parse​::RecDescent\, I see the following​:

  /.../Parse-RecDescent-1.70 $ make test   PERL_DL_NONLAZY=1 /misc2/bin/perl -Iblib/arch -Iblib/lib   -I/misc2/lib/perl5/5.00503/sun4-solaris -I/misc2/lib/perl5/5.00503   test.pl   1..18   ok 1   ok 2   ok 3   ok 4   ok 5   ok 6   ok 7   Assertion failed​: file "pp.c"\, line 2662 at blib/lib/Parse/RecDescent.pm   line 1667.   *** Error code 255   make​: Fatal error​: Command failed for target `test_dynamic'

I have determined that this error only shows up if I compile perl with debugging turned on. If I turn debugging off and recompile\, and start from scratch with Parse​::RecDescent\, the make test passes with no errors.

Perl Info ``` Site configuration information for perl 5.00503: Configured by bhilton at Mon Jun 7 12:22:50 CDT 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos wst146 5.6 generic_105181-12 sun4m sparc sun4m ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='gcc', optimize='-O -g', gccversion=2.8.1 cppflags='-DDEBUGGING -I/usr/local/include' ccflags ='-DDEBUGGING -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=16 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Locally applied patches: @INC for perl 5.00503: /misc2/lib/perl5/5.00503/sun4-solaris /misc2/lib/perl5/5.00503 /misc2/lib/perl5/site_perl/5.005/sun4-solaris /misc2/lib/perl5/site_perl/5.005 . Environment for perl 5.00503: HOME=/homes/bhilton LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH=/usr/atria/shlib:/usr/local/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib LOGDIR (unset) PATH=.:/homes/bhilton/bin:/misc2/bin:/worx/bin:/homes/ddts/bin:/usr/atria/etc:/usr/atria/bin:/usr/frame/bin:/usr/local/bin:/usr/openwin/bin:/usr/dt/bin:/homes/bhilton/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:.:/misc2/snmp/bin:/homes/scz/dr PERL_BADLANG (unset) SHELL=/usr/local/bin/bash ```
p5pRT commented 19 years ago

From @schwern

[bhilton@​bbg.adc.com - Tue Oct 26 07​:11​:44 1999]​:

When doing a make test on version 1.70 of Parse​::RecDescent\, I see the following​:

/.../Parse-RecDescent-1.70 $ make test PERL_DL_NONLAZY=1 /misc2/bin/perl -Iblib/arch -Iblib/lib -I/misc2/lib/perl5/5.00503/sun4-solaris -I/misc2/lib/perl5/5.00503 test.pl 1..18 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 Assertion failed​: file "pp.c"\, line 2662 at blib/lib/Parse/RecDescent.pm line 1667. *** Error code 255 make​: Fatal error​: Command failed for target `test_dynamic'

I have determined that this error only shows up if I compile perl with debugging turned on. If I turn debugging off and recompile\, and start from scratch with Parse​::RecDescent\, the make test passes with no errors.

Have you experienced this problem with any recent versions of Perl?

p5pRT commented 19 years ago

The RT System itself - Status changed from 'stalled' to 'open'

p5pRT commented 19 years ago

@schwern - Status changed from 'open' to 'stalled'

p5pRT commented 14 years ago

From @gannett-ggreer

The assert() referred to was removed by Gurusamy Sarathy in commit 13d7cbc19 (January 1999) so it would have been fixed after 5.005_04 and before 5.6.0.

p5pRT commented 14 years ago

@iabyn - Status changed from 'stalled' to 'resolved'