-
Notifications
You must be signed in to change notification settings - Fork 577
Undocumented unaligned pointer error messages #16154
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
Comments
From @jkeenanAt lines 1313 and 1320 of malloc.c, there appear error messages which "Unaligned pointer in the free chain 0x%" UVxf "\n" "Unaligned \"next\" pointer in the free " ##### How should they be documented? Can they be exercised in the test suite? Thank you very much. |
From @jkeenanSummary of my perl5 (revision 5 version 27 subversion 4) configuration: Characteristics of this binary (from libperl): |
From @jkeenanOn Sun, 17 Sep 2017 16:46:56 GMT, jkeenan@pobox.com wrote:
Can anyone comment on the questions above? Thank you very much. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @tonycozOn Sun, Sep 17, 2017 at 09:46:56AM -0700, James E Keenan wrote:
We could add them to perldiag.
No. They depend on building with -Dusemymalloc *and* on the arena The first is unlikely, I don't know of any platform where we build Tony |
From @jkeenanOn Wed, 08 Nov 2017 03:40:05 GMT, tonyc wrote:
Attached is a patch which passes 'make test_porting' but whose content needs improvement. Please review. Thank you very much. -- |
From @jkeenan132112-0001-Document-two-warnings-in-Perl_malloc.patchFrom 5eb2b382fcac28cb8e656bba882bdae75f865955 Mon Sep 17 00:00:00 2001
From: James E Keenan <[email protected]>
Date: Wed, 8 Nov 2017 07:23:40 -0500
Subject: [PATCH] Document two warnings in Perl_malloc.
For: RT #132112
---
pod/perldiag.pod | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 2cf2040..2eddf4c 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -6230,6 +6230,16 @@ certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be
(F) Your machine doesn't implement the umask function and you tried to
use it to restrict permissions for yourself (EXPR & 0700).
+=item Unaligned "next" pointer in the free chain 0x% at 0x%
+
+(W malloc) In a perl built with C<-Dusemymalloc>, there was a problem when
+removing an item from a linked list.
+
+=item Unaligned pointer in the free chain 0x%
+
+(W malloc) In a perl built with C<-Dusemymalloc>, there was a problem when
+removing an item from a linked list.
+
=item Unbalanced context: %d more PUSHes than POPs
(S internal) The exit code detected an internal inconsistency in how
--
2.7.4
|
Migrated from rt.perl.org#132112 (status was 'open')
Searchable as RT132112$
The text was updated successfully, but these errors were encountered: