all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 16710@debbugs.gnu.org
Subject: bug#16710: 24.3.50; emacs crash.
Date: Mon, 10 Feb 2014 09:18:22 -0500	[thread overview]
Message-ID: <87k3d36ogh.fsf@lifelogs.com> (raw)
In-Reply-To: <87iosnawu0.fsf@yahoo.fr> (Nicolas Richard's message of "Mon, 10 Feb 2014 15:03:51 +0100")

On Mon, 10 Feb 2014 15:03:51 +0100 Nicolas Richard <theonewiththeevillook@yahoo.fr> wrote: 

NR> I was experimenting --with edebug-- a lisp infinite loop of recursive
NR> calls, all wrapped in an ignore-errors, and got this crash. I could not
NR> reproduce unfortunately, and in fact it doesn't seem to be related to
NR> the lisp code I was looking at.

NR> #3  0xb64f3889 in _int_free (av=0xb6625440 <main_arena>, p=0xb58b510, have_lock=0) at malloc.c:3910
NR>         size = 128
NR>         fb = <optimized out>
NR>         nextchunk = <optimized out>
NR>         nextsize = <optimized out>
NR>         nextinuse = <optimized out>
NR>         prevsize = <optimized out>
NR>         bck = <optimized out>
NR>         fwd = <optimized out>
NR>         errstr = 0x0
NR>         locked = 0
NR>         __func__ = "_int_free"
NR> #4  0xb66fa476 in _asn1_remove_node (node=0xb58b518) at parser_aux.c:462
NR> No locals.
NR> #5  0xb66fb712 in asn1_delete_structure (structure=0xc756680) at structure.c:306
NR>         p = <optimized out>
NR>         p2 = 0xd5ebfd0
NR>         p3 = <optimized out>
NR> #6  0xb66d6226 in gnutls_x509_crt_deinit (cert=0xc756680) at x509.c:141
NR> No locals.
NR> #7  0xb668508f in gnutls_certificate_free_cas (sc=0xd72aba8) at gnutls_cert.c:136
NR>         j = <optimized out>
NR> #8  0xb6685f84 in gnutls_certificate_free_credentials (sc=0xd72aba8) at gnutls_cert.c:281
NR> No locals.
NR> #9  0x08212028 in emacs_gnutls_deinit (proc=219878189) at gnutls.c:563
NR>         log_level = 0
NR> #10 0x0820b690 in deactivate_process (proc=219878189) at process.c:3859
NR>         inchannel = 136907210
NR>         p = 0xd1b1328
NR>         i = 184165678

I don't know for sure, but it looks like something corrupted the data
structures that GnuTLS uses in each process and you noticed when the
process was destroyed (at that time, the data structures were already
invalid).

Can you replicate this?  It looks tricky, since you had an inactive TLS
connection in a process, if I'm reading the dump correctly.  Raising
`gnutls-log-level' *may* be useful, if you can replicate.

Ted





  reply	other threads:[~2014-02-10 14:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-10 14:03 bug#16710: 24.3.50; emacs crash Nicolas Richard
2014-02-10 14:18 ` Ted Zlatanov [this message]
2014-02-10 14:36   ` Nicolas Richard
2014-02-10 16:17     ` Ted Zlatanov
2014-02-10 16:46       ` Nicolas Richard
2018-06-15 11:51 ` Noam Postavsky
2019-06-30  5:06 ` Stefan Kangas
2019-06-30 10:32   ` Nicolas Richard
2019-06-30 22:31     ` Stefan Kangas
2019-06-30 22:33       ` Stefan Kangas

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=87k3d36ogh.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=16710@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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.