all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gilles PION <gpion@lfdj.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 17598@debbugs.gnu.org, Dmitry Antipov <dmantipov@yandex.ru>
Subject: bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize
Date: Wed, 28 May 2014 18:40:37 +0200	[thread overview]
Message-ID: <OF4D3363CB.04FD0B5D-ONC1257CE6.00509DAD-C1257CE6.005B9C22@lfdj.com> (raw)
In-Reply-To: <5385F229.9020609@cs.ucla.edu>

[-- Attachment #1: Type: text/plain, Size: 4332 bytes --]

> > $ MALLOCTYPE=debug MALLOEBUG=validate_ptrs  ./emacs-24.3.91/src/temacs
> > --no-site-file  --no-init-file
> > Fatal error 11: Segmentation violationMemory fault
> >
> 
> Have you gone back to the 24.3.91 unexaix.c (with the short fix I sent 
> you), or are you using the much bigger change I sent you later?  For now 

> I'll assume the former.  Also, I assume you're still configuring with 
> --enable-checking=all.
I was using the latest unexaix.c, going back to previous one now

> 
> Unfortunately AIX uses the relocating allocator in ralloc.c, not the 
> system malloc, so MALLOCTYPE and MALLOCDEBUG (misspelled above) aren't 
> likely to be helpful.  If you want to try the system malloc, please 
> comment out "#define REL_ALLOC 1" in src/config.h, change "#undef 
> SYSTEM_MALLOC" to "#define SYSTEM_MALLOC 1" in the same file, and 
> comment out "RALLOC_OBJ=ralloc.o" in src/Makefile (though now of course 
> we're debugging a different program....).

OK, recompiling with those fixes (after configuring using "CFLAGS="-O0 
-g3" ):
1rst step: ./configure
2nd step: fix src/config.h as indicated
3rd step make

> 
> Also, did you actually use "MALLOEBUG"?  That looks like a typo.
You're right, sorry.

> 
> Once you've fixed the above, how about this?
> 
> MALLOCTYPE=debug 
> MALLOCDEBUG=postfree_checking,validate_ptrs,stack_depth:1000 ./temacs -Q

$ MALLOCTYPE=debug 
MALLOCDEBUG=postfree_checking,validate_ptrs,stack_depth:1000 ./temacs -Q
Fatal error 11: Segmentation violationMemory fault

> 
> or this?
> 
> gdb temacs
> (gdb) set env MALLOCTYPE debug
> (gdb) set env MALLOCDEBUG 
postfree_checking,validate_ptrs,stack_depth:200
> (gdb) run -Q

(gdb) set env MALLOCTYPE debug
(gdb) set env MALLOCDEBUG postfree_checking,validate_ptrs,stack_depth:200
(gdb) run -Q
Starting program: 
/sg/paxdev01/D1stunix/src/emacs/24.3.91/emacs-24.3.91/src/temacs -Q
[New Thread 1]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0xd0128c78 in extend_brk () from /usr/lib/libc.a(shr.o)
(gdb) where
#0  0xd0128c78 in extend_brk () from /usr/lib/libc.a(shr.o)

> 
> Please also try with the "-nw" option, e.g., "./temacs -Q -nw" or "run 
> -Q -nw".
It's the same 

Note that  the immediate crash occurs only when MALLOC* variables are 
defined.

> 
> A couple of issues that may or may not be related.  On my AIX 7 host I 
> have to configure --with-jpeg=no --with-png=no --with-gif=no 
> --with-tiff=no because those libraries are not installed.  On my 
> platform pkg-config dumps core (don't know why) so I'm not using any of 
> the fancy libraries you're probably using.  This (along with the fact 
> that I can't run X) makes it hard for me to reproduce the problem.

I understand, I've also disabled graphic libraries execpt png (using a 
emacs dedicated version)

I'm on aix 6.1, since I've been unable to compile on AIX 7.1:

configure: error: Emacs does not support `powerpc-ibm-aix7.1.0.0' systems.
If you think it should, please send a report to bug-gnu-emacs@gnu.org.
Check `etc/MACHINES' for recognized configuration names.

Used gcc binary from 6.1 there ^^^

Since I'missing native 7.1 compatible compiler to re-boostrap gcc.


NB: I won't be reachable at my office tomorrow, will return only friday

Next week, won't be very available until Thursday too.

--
Gilles





                                                                   
                                                                   
                                           
                                                                   
                                                                   
                  



. Si vous n'êtes pas destinataires de ce message, merci d'avertir
l'expéditeur de l'erreur de distribution et de le détruire
immédiatement.
Ce message contient des informations confidentielles ou appartenant
a La Française des Jeux. Il est établi a l'intention exclusive de
ses destinataires. Toute divulgation, utilisation, diffusion ou
reproduction (totale ou partielle) de ce message ou des
informations qu'il contient, doit être préalablement autorisée.
Tout message électronique est susceptible d'altération et son
intégrité ne peut etre assurée. La Française des Jeux décline toute
responsabilité au titre de ce message s'il a été modifie ou
falsifie.

[-- Attachment #2: Type: text/html, Size: 6092 bytes --]

  parent reply	other threads:[~2014-05-28 16:40 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26  6:52 bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize Gilles Pion
2014-05-26 12:29 ` bug#17598: Seem to be related to "unexec" stuff Gilles Pion
2014-05-26 18:23 ` bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize Paul Eggert
2014-05-27  7:35   ` Gilles PION
2014-05-27 15:38     ` Paul Eggert
2014-05-28  7:48       ` Dmitry Antipov
2014-05-28  8:40         ` Gilles PION
2014-05-28  9:45           ` Dmitry Antipov
2014-05-28  9:58             ` Andreas Schwab
2014-05-28 12:02             ` Gilles PION
2014-05-28 12:13             ` Gilles PION
2014-05-28 14:08               ` Dmitry Antipov
2014-05-28 14:26               ` Paul Eggert
2014-05-28 16:23                 ` Eli Zaretskii
2014-05-28 16:34                   ` Paul Eggert
2014-05-28 16:43                     ` Gilles PION
2014-05-28 17:32                       ` Dmitry Antipov
2014-05-28 17:45                         ` Paul Eggert
2014-05-28 23:44                           ` Stefan Monnier
2014-05-29  4:25                             ` Paul Eggert
2014-05-28 17:54                       ` Paul Eggert
2014-05-30  7:54                         ` Gilles PION
2014-05-30  8:26                           ` Paul Eggert
2014-05-30  9:03                             ` Gilles PION
2014-05-30 10:41                               ` Dmitry Antipov
2014-05-30 12:14                                 ` Gilles PION
2014-05-30 13:31                                 ` Gilles PION
2014-05-30 14:45                                 ` Gilles PION
     [not found]                                 ` <OFC692C5CA.08B1191C-ONC1257CE8.0050BA6E-C1257CE8.00510CC6@LocalDomain>
     [not found]                                   ` <"OFA2A54B66.55 <5388FAA6.5050202"@cs.ucla.edu>
     [not found]                                   ` <5388FAA6.5050202"@cs.ucla.edu>
2014-05-30 14:57                                   ` Gilles PION
2014-05-30 21:39                                     ` Paul Eggert
2014-05-31 13:30                                       ` Eli Zaretskii
2014-06-01  7:12                                         ` Paul Eggert
2014-06-01 15:03                                           ` Eli Zaretskii
2014-06-02 15:53                                       ` Gilles PION
2014-06-02 16:24                                         ` Paul Eggert
2014-06-02 16:37                                           ` Gilles PION
2014-06-02 16:52                                             ` Glenn Morris
2014-06-03  5:28                                               ` Gilles PION
2014-06-03  7:04                                                 ` Paul Eggert
2014-06-03  7:11                                                   ` Gilles PION
2014-06-03 16:54                                                     ` Paul Eggert
2014-06-03 17:35                                                       ` Dmitry Antipov
2014-06-04  6:31                                                   ` Gilles PION
2014-06-04  7:06                                                     ` Dmitry Antipov
2014-06-04 11:21                                                       ` Gilles PION
2014-06-03 14:01                                                 ` Dmitry Antipov
     [not found]                                               ` <"OF415D45B9 <538D737C.7060308"@cs.ucla.edu>
     [not found]                                                 ` <OF590EB3AB.AC6F8748-ONC1257CED.00235BC4-C1257CED.0023E0BA@LocalDomain>
2014-06-04  6:59                                                   ` Gilles PION
     [not found]                                                   ` <OF20FCFAFD.75399259-ONC1257CED.0025CCC9-C1257CED.00266093@LocalDomain>
2014-06-04 15:57                                                     ` Gilles PION
2014-06-07 19:58                                                       ` Paul Eggert
2014-06-10  6:50                                                         ` Gilles PION
2014-06-10 15:03                                                           ` Paul Eggert
2014-06-11  7:36                                                         ` Gilles PION
     [not found]                                                     ` <OFC1052026.4DB5CC36-ONC1257CED.003E8007-C1257CED.0057A203@LocalDomain>
2014-06-04 16:21                                                       ` Gilles PION
     [not found]                                                     ` <"OFC1052026.4DB5CC <53936EC9.2030305"@cs.ucla.edu>
     [not found]                                                       ` <OFD3CDCB8F.7DE218D1-ONC1257CF4.0028EFB2-C1257CF4.0029C217@LocalDomain>
2014-06-11  7:53                                                         ` Gilles PION
2014-06-11 20:25                                                           ` Paul Eggert
2014-06-12  8:45                                                             ` Gilles PION
2014-06-13  2:24                                                               ` Paul Eggert
2014-06-13  8:02                                                                 ` Gilles PION
2014-06-13 14:03                                                                   ` Paul Eggert
2014-06-13 15:56                                                                     ` Gilles PION
2014-06-16  9:51                                                                       ` Dmitry Antipov
2014-06-16 12:44                                                                         ` Gilles PION
2014-06-16 13:26                                                                           ` Dmitry Antipov
2014-06-16 14:51                                                                             ` Gilles PION
     [not found]                                                         ` <OFB437FBB3.AA6F7E23-ONC1257CF4.002B0A25-C1257CF4.002B5EE7@LocalDomain>
2014-06-11  9:58                                                           ` Gilles PION
2014-05-28 16:40                 ` Gilles PION [this message]
2014-05-28 18:01                   ` Paul Eggert
2014-05-30  9:01                     ` Gilles PION
2014-05-27 14:57 ` bug#17598: Not solved, unfortunately Gilles Pion
2014-05-31  4:19 ` bug#17598: anonymized-config.log is from Emacs 24.3 Paul Eggert
2014-06-02 16:08   ` Gilles PION
2014-06-02 16:15     ` Glenn Morris
2014-06-02 16:35       ` Gilles PION
2014-06-20  4:18 ` bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF4D3363CB.04FD0B5D-ONC1257CE6.00509DAD-C1257CE6.005B9C22@lfdj.com \
    --to=gpion@lfdj.com \
    --cc=17598@debbugs.gnu.org \
    --cc=dmantipov@yandex.ru \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.