Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #39758] perl -d bug on Mandriva Cooker with 5.8.8 (regression from 5.6.2)

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

Jul 7, 2006, 3:17 AM

Post #1 of 3 (144 views)
Permalink
[perl #39758] perl -d bug on Mandriva Cooker with 5.8.8 (regression from 5.6.2)

# New Ticket Created by Shlomi Fish
# Please include the string: [perl #39758]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=39758 >



This is a bug report for perl from shlomif[at]iglu.org.il,
generated with the help of perlbug 1.35 running under perl v5.8.8.


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

Hi all!

I have found a bug in the perl's debugger interface. It is exhibited with
perl -d, but a similar bug occurs in Devel::ebug.

See:

http://eskimo.shlomifish.org/bugs/perl/core/perl-minus-d-bug-1/

Download the tar.gz, unpack it and cd to its directory. Then
run "perl -Ilib -d d.pl". While in the debugger, press "n" a few times until
you reach line 61. At this point the display of the code of the current line
disappears. What happens is this:

<<<<<<<<<
main::(d.pl:57): my $prefix = catdir( qw( some prefix ) );
DB<1> n
main::(d.pl:58): $mb->prefix( $prefix );
DB<1> n
main::(d.pl:59): is( $mb->{properties}{prefix}, $prefix );
DB<1> n
ok 2
main::(d.pl:61):
DB<1> n
prefix=some/prefix
main::(d.pl:62):
DB<1>
>>>>>>>>>

Now, with perl-5.6.2 everything seems to work fine from what I tried. The link
above contains my perl -V outputs, both compiled from the perl distribution
with the default options.

I'm on Mandriva 2007 cooker.

There seems to be another bug with setting breakpoints in the file and
continuing there, but I hope they are related.

Regards,

Shlomi Fish

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.8.8:

Configured by Mandriva at Sun May 14 17:00:55 CEST 2006.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.12-12mdksmp, archname=i386-linux
uname='linux n1.mandriva.com 2.6.12-12mdksmp #1 smp fri sep 9 17:43:23 cest 2005 i686 intel(r) xeon(tm) cpu 2.80ghz unknown gnulinux '
config_args='-des -Dinc_version_list=5.8.7 5.8.7/i386-linux 5.8.6 5.8.6/i386-linux 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root[at]localhost -Dcf_email=root[at]localhost -Dd_dosuid -Ud_csh -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables',
cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.0.3 (4.0.3-1mdk for Mandriva Linux release 2006.1)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.6'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
Mandriva Linux patches

---
@INC for perl v5.8.8:
/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8//i386-linux
/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8/
/home/shlomi/apps/perl/modules/lib/perl5/5.8.8/i386-linux
/home/shlomi/apps/perl/modules/lib/perl5/5.8.8
/usr/lib/perl5/5.8.8/i386-linux
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i386-linux
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i386-linux
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i386-linux
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.

---
Environment for perl v5.8.8:
HOME=/home/shlomi
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ADDRESS=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_SOURCED=1
LC_TELEPHONE=en_US.UTF-8
LC_TIME=en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/shlomi/apps/perl/modules/bin:/home/shlomi/apps/latemp/bin:/home/shlomi/apps/file/gringotts/bin:/home/shlomi/apps/gimageview/bin:/usr/local/apps/gimp-1.3.x/bin:/home/shlomi/apps/test/quadpres/bin:/usr/local/apps/svn-repos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/share/unsermake:/home/shlomi/bin:/usr/share/unsermake
PERL5LIB=/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8/:/home/shlomi/apps/perl/modules/lib/perl5/5.8.8
PERL_BADLANG (unset)
SHELL=/bin/bash


shlomif at iglu

May 12, 2008, 6:17 AM

Post #2 of 3 (84 views)
Permalink
Re: [perl #39758] perl -d bug on Mandriva Cooker with 5.8.8 (regression from 5.6.2) [In reply to]

I hope this message will be reported as a reply to the bug because:

1. There isn't a link back to the bug record on the web from the email.

2. There isn't a reply button on the
http://rt.perl.org/rt3//Public/Bug/Display.html?id=39758 record.

Both of these are as opposed to the convention on almsot any other bug-tracker
out there, including the ones for KDE, GNOME, Mozilla, and what the users
expect (and is the case for rt.cpan.org). See:

* http://use.perl.org/~Shlomi+Fish/journal/33303

* http://www.joelonsoftware.com/uibook/chapters/fog0000000057.html

I screamed from frustration.

On Monday 12 May 2008, Bram via RT wrote:
> On Fri Jul 07 03:17:14 2006, shlomif[at]iglu.org.il wrote:
> > This is a bug report for perl from shlomif[at]iglu.org.il,
> > generated with the help of perlbug 1.35 running under perl v5.8.8.
> >
> >
> > -----------------------------------------------------------------
> > [Please enter your report here]
> >
> > Hi all!
> >
> > I have found a bug in the perl's debugger interface. It is exhibited
> > with
> > perl -d, but a similar bug occurs in Devel::ebug.
> >
> > See:
> >
> > http://eskimo.shlomifish.org/bugs/perl/core/perl-minus-d-bug-1/
> >
> > Download the tar.gz, unpack it and cd to its directory. Then
> > run "perl -Ilib -d d.pl". While in the debugger, press "n" a few
>
> times
>
> > until
> > you reach line 61. At this point the display of the code of the
> > current line
> > disappears. What happens is this:
> >
> > <<<<<<<<<
> > main::(d.pl:57): my $prefix = catdir( qw( some prefix ) );
> > DB<1> n
> > main::(d.pl:58): $mb->prefix( $prefix );
> > DB<1> n
> > main::(d.pl:59): is( $mb->{properties}{prefix}, $prefix );
> > DB<1> n
> > ok 2
> > main::(d.pl:61):
> > DB<1> n
> > prefix=some/prefix
> > main::(d.pl:62):
> > DB<1>
>
> Can you make the tar.gz back available?

There you go:

http://www.shlomifish.org/Files/files/code/bugs/perl-minus-d/

( The eskimo.shlomifish.org site went offline due to political reasons, but I
still have copies of it here.)

> Or can you re-test it with 5.10/blead and see if the problem still
> exists?

It no longer exists, but it probably still exists in perl-5.8.8. I can check
again.

Regards,

Shlomi Fish

-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Funny Anti-Terrorism Story - http://xrl.us/bjn7t

The bad thing about hardware is that it sometimes work and sometimes doesn't.
The good thing about software is that it's consistent: it always does not
work, and it always does not work in exactly the same way.


p5p at perl

May 12, 2008, 10:23 AM

Post #3 of 3 (83 views)
Permalink
Re: [perl #39758] perl -d bug on Mandriva Cooker with 5.8.8 (regression from 5.6.2) [In reply to]

Quoting Shlomi Fish <shlomif[at]iglu.org.il>:

> I hope this message will be reported as a reply to the bug because:
>
> 1. There isn't a link back to the bug record on the web from the email.
>
> 2. There isn't a reply button on the
> http://rt.perl.org/rt3//Public/Bug/Display.html?id=39758 record.

There is no reply button on the Public site.
Because guest comments aren't allowed. (Just as they aren't allowed on
rt.cpan.org)

If you log in then you will see a button to Reply and a button to Comment.

>
> Both of these are as opposed to the convention on almsot any other
> bug-tracker
> out there, including the ones for KDE, GNOME, Mozilla, and what the users
> expect (and is the case for rt.cpan.org). See:
>
> * http://use.perl.org/~Shlomi+Fish/journal/33303
>
> * http://www.joelonsoftware.com/uibook/chapters/fog0000000057.html
>
> I screamed from frustration.

Next time, try logging in instead of screaming.


> On Monday 12 May 2008, Bram via RT wrote:
>> On Fri Jul 07 03:17:14 2006, shlomif[at]iglu.org.il wrote:
>> > This is a bug report for perl from shlomif[at]iglu.org.il,
>> > generated with the help of perlbug 1.35 running under perl v5.8.8.
>> >
>> >
>> > -----------------------------------------------------------------
>> > [Please enter your report here]
>> >
>> > Hi all!
>> >
>> > I have found a bug in the perl's debugger interface. It is exhibited
>> > with
>> > perl -d, but a similar bug occurs in Devel::ebug.
>> >
>> > See:
>> >
>> > http://eskimo.shlomifish.org/bugs/perl/core/perl-minus-d-bug-1/
>> >
>> > Download the tar.gz, unpack it and cd to its directory. Then
>> > run "perl -Ilib -d d.pl". While in the debugger, press "n" a few
>>
>> times
>>
>> > until
>> > you reach line 61. At this point the display of the code of the
>> > current line
>> > disappears. What happens is this:
>> >
>> > <<<<<<<<<
>> > main::(d.pl:57): my $prefix = catdir( qw( some prefix ) );
>> > DB<1> n
>> > main::(d.pl:58): $mb->prefix( $prefix );
>> > DB<1> n
>> > main::(d.pl:59): is( $mb->{properties}{prefix}, $prefix );
>> > DB<1> n
>> > ok 2
>> > main::(d.pl:61):
>> > DB<1> n
>> > prefix=some/prefix
>> > main::(d.pl:62):
>> > DB<1>
>>
>> Can you make the tar.gz back available?
>
> There you go:
>
> http://www.shlomifish.org/Files/files/code/bugs/perl-minus-d/

Thanks.


> It no longer exists, but it probably still exists in perl-5.8.8. I can check
> again.

Doesn't exist in 5.8.7, 5.10 and blead
Exists in 5.8.8
(Currently testing 5.8.9 to be)


Kind regards,

Bram

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.