-
Notifications
You must be signed in to change notification settings - Fork 560
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
perldiag deficiencies (and a debugger oddity) #661
Comments
From mjtg@cus.cam.ac.ukOut of memory! a) The message "Out of memory!" is not listed in perldiag in "Out of memory during request for %s" ? b) I don't understand the explanation for "Callback called exit": (F) A subroutine invoked from an external package via My program is pure Perl, with no "external package" involved, c) Similarly, I don't understand the last message: END failed--cleanup aborted My program contains no END {} subroutine. Presumably the last two really mean "Perl's internal data structures And the original problem seems to be another example of "debugger causing Mike Guy % perl -V Characteristics of this binary (from libperl): |
From @gsarOn Thu, 30 Sep 1999 14:31:28 BST, "M.J.T. Guy" wrote:
I think so. [two other errors]
Please do. Sarathy |
From @gsarOn Thu, 30 Sep 1999 14:31:28 BST, "M.J.T. Guy" wrote:
FYI. Sarathy Inline Patch-----------------------------------8<-----------------------------------
Change 4264 by gsar@auger on 1999/09/30 17:59:26
re-add missing "Out of memory!" entry
Affected files ...
... //depot/perl/pod/perldiag.pod#97 edit
Differences ...
==== //depot/perl/pod/perldiag.pod#97 (text) ====
Index: perl/pod/perldiag.pod
--- perl/pod/perldiag.pod.~1~ Thu Sep 30 10:59:30 1999
+++ perl/pod/perldiag.pod Thu Sep 30 10:59:30 1999
@@ -2141,6 +2141,12 @@
For example, if you say "*foo *foo" it will be interpreted as
if you said "*foo * 'foo'".
+=item Out of memory!
+
+(X) The malloc() function returned 0, indicating there was insufficient
+remaining memory (or virtual memory) to satisfy the request. Perl
+has no option but to exit immediately.
+
=item Out of memory for yacc stack
(F) The yacc parser wanted to grow its stack so it could continue parsing,
End of Patch. |
From [Unknown Contact. See original ticket]On Thu, 30 Sep 1999 at 11:18:05 -0700, Gurusamy Sarathy wrote:
Should $^M be mentioned here? Ian |
From @gsarOn Thu, 30 Sep 1999 23:20:43 BST, Ian Phillipps wrote:
$^M doesn't change what happens--Perl always exits after emitting the Sarathy |
From [Unknown Contact. See original ticket]Ian Phillipps writes:
Definitely not! This message comes from non-Perl-malloc. $^M is Ilya |
From @gsarOn Thu, 30 Sep 1999 21:21:15 EDT, Ilya Zakharevich wrote:
malloc.c:1016: PerlIO_puts(PerlIO_stderr(),"Out of memory!\n"); Sarathy |
From [Unknown Contact. See original ticket]Ilya Zakharevich <ilya@math.ohio-state.edu> wrote
Errr... quoting from my original post: alignbytes=8, usemymalloc=y, prototype=define I presume this misconception is the reason why the message was erroneously Mike Guy |
From [Unknown Contact. See original ticket]On Fri, Oct 01, 1999 at 12:49:14AM -0700, Gurusamy Sarathy wrote:
????!!!!! Who wrote this junk?! I count until three, then start to Ilya P.S. I think this code is not reachable without exercising some of |
From [Unknown Contact. See original ticket]Gurusamy Sarathy <gsar@ActiveState.com> wrote
Turns out I can't reproduce either effect. Sorry. Mike Guy |
Migrated from rt.perl.org#1541 (status was 'resolved')
Searchable as RT1541$
The text was updated successfully, but these errors were encountered: