https://bugzilla.redhat.com/show_bug.cgi?id=1129850
Bug ID: 1129850 Summary: Perl debugger commands that depend on Padwalker no longer work Product: Fedora Version: 20 Component: perl Severity: high Assignee: jplesnik@redhat.com Reporter: alan@clueserver.org QA Contact: extras-qa@fedoraproject.org CC: cweyl@alumni.drew.edu, iarnell@gmail.com, jplesnik@redhat.com, kasal@ucw.cz, perl-devel@lists.fedoraproject.org, ppisar@redhat.com, psabata@redhat.com, rc040203@freenet.de, tcallawa@redhat.com
Description of problem:
When using the Perl command line debugger the "y" and "X" commands no longer work. (They fail silently.)
Version-Release number of selected component (if applicable):
perl-5.18.2-289.fc20 perl-PadWalker-1.98-1.fc20.x86_64
How reproducible: Every time.
Steps to Reproduce: 1. Debug a test program with "perl -d testprog.pl 2. Use "n" and enter a few lines until a variable you want to examine is loaded. 3. Use "y" or "X" on that variable.
Actual results:
Nothing returned.
Expected results:
The contents of the variable should be displayed.
Additional info:
The "p" command will print a variable, it is very narrow in scope. It will not display the contents of an entire hash variable like "X" or "y" will. ("y" shows the contents of the variable for all types in the current package. "X" does the same for global variables. Neither work at this point.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #1 from Alan Olsen alan@clueserver.org --- Created attachment 926559 --> https://bugzilla.redhat.com/attachment.cgi?id=926559&action=edit An example of how it should work.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #2 from Alan Olsen alan@clueserver.org --- Created attachment 926560 --> https://bugzilla.redhat.com/attachment.cgi?id=926560&action=edit An example how it works now.
This is what it does now. Notice nothing is returned by the y or X command.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #3 from Petr Pisar ppisar@redhat.com --- The X does not work even in CentoOS 5. The perl debugger is doomed. It has been broken for ages. Ask upstream for help https://rt.perl.org//Public/.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #4 from Alan Olsen alan@clueserver.org --- (In reply to Petr Pisar from comment #3)
The X does not work even in CentoOS 5. The perl debugger is doomed. It has been broken for ages. Ask upstream for help https://rt.perl.org//Public/.
The example that I posted was from CentOS 5.10. It works fine there.
The question is *why* it is broken.
I will talk to upstream and see if they have ideas as to what is going wrong. I will also build it from scratch and see if that works.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #5 from Alan Olsen alan@clueserver.org --- Created attachment 926984 --> https://bugzilla.redhat.com/attachment.cgi?id=926984&action=edit Fix for 'y' command in debugger
This is a fix for the problem. It will conflict on the version number, but that is not important. The second part of the patch fixes the problem. (It is an off by one error.)
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #6 from Petr Pisar ppisar@redhat.com --- (In reply to Alan Olsen from comment #4)
(In reply to Petr Pisar from comment #3)
The X does not work even in CentoOS 5. The perl debugger is doomed. It has been broken for ages. Ask upstream for help https://rt.perl.org//Public/.
The example that I posted was from CentOS 5.10. It works fine there.
The example showed only "y". I tested in RHEL-5.11 the "X" too. "y" worked for me, "X" didn't.
I even tested RHEL-6 (perl-5.10.1) and Fedora 19 and Perl development tree (5.21.x) and both commands are broken there too.
I will talk to upstream and see if they have ideas as to what is going wrong.
When you do that, post the link here please.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://nntp.perl.org/group/ | |perl.perl5.porters/218623
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #7 from Fedora End Of Life endoflife@fedoraproject.org --- This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|20 |21
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |perl-5.22.0-344.fc23
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- perl-5.20.3-328.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16582
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- perl-5.18.4-310.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-b4c6dd8cd3
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- perl-5.20.3-328.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update perl' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16582
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- perl-5.18.4-310.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update perl' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-b4c6dd8cd3
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- perl-5.20.3-328.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version|perl-5.22.0-344.fc23 |perl-5.22.0-344.fc23 | |perl-5.20.3-328.fc22 Resolution|--- |ERRATA Last Closed| |2015-10-03 17:14:14
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- perl-5.18.4-310.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1129850
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-5.22.0-344.fc23 |perl-5.22.0-344.fc23 |perl-5.20.3-328.fc22 |perl-5.20.3-328.fc22 | |perl-5.18.4-310.fc21
perl-devel@lists.fedoraproject.org