From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#16710: 24.3.50; emacs crash. Date: Mon, 10 Feb 2014 09:18:22 -0500 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87k3d36ogh.fsf@lifelogs.com> References: <87iosnawu0.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392041950 796 80.91.229.3 (10 Feb 2014 14:19:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 14:19:10 +0000 (UTC) Cc: 16710@debbugs.gnu.org To: Nicolas Richard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 15:19:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCrhc-0004dw-Fu for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 15:19:16 +0100 Original-Received: from localhost ([::1]:55803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCrhb-0000VP-MQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 09:19:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCrhT-0000VF-Vj for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 09:19:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCrhO-0004fl-SU for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 09:19:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCrhO-0004ff-JO for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 09:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCrhO-0006De-4d for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 09:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16710 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16710-submit@debbugs.gnu.org id=B16710.139204190323863 (code B ref 16710); Mon, 10 Feb 2014 14:19:02 +0000 Original-Received: (at 16710) by debbugs.gnu.org; 10 Feb 2014 14:18:23 +0000 Original-Received: from localhost ([127.0.0.1]:39364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCrgl-0006Cp-5k for submit@debbugs.gnu.org; Mon, 10 Feb 2014 09:18:23 -0500 Original-Received: from mail-qc0-f181.google.com ([209.85.216.181]:58813) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCrgi-0006CX-8H for 16710@debbugs.gnu.org; Mon, 10 Feb 2014 09:18:21 -0500 Original-Received: by mail-qc0-f181.google.com with SMTP id e9so10454021qcy.26 for <16710@debbugs.gnu.org>; Mon, 10 Feb 2014 06:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=2hgZnJq0j1LxocSYqN/WSM6+5yArqb0dgZLIB549eIg=; b=bCDrksy052shph9bxi7RpSwB6/F4IioLVx71U7LAldKXXlLcMzDbpd7EQkPPDZXn/V sX4+V4bysrR7Uynx992deQRgfd4ymJ7GzqDzUZiJCy1BiG0ISCs9T/Y0ax+dCWiAnKqQ Z8BJPycCT5kADt0Xasi4BUhIgP8RgwuTmkJWQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=2hgZnJq0j1LxocSYqN/WSM6+5yArqb0dgZLIB549eIg=; b=aXxHV7nQjK2C3+NdU/EOD754KVtT8GlHmJlTpeyxyyN4UYdXheLAi+HYNpJsc3pjWW 2HI82deRY0CLyw05iPB5anvX5XneU51EKuSOERu7a2BnpTl943WrUbwRlspc6Id437d0 5S08Mhv5pZcxxey4ip0FNHmEqRRGRelo8sppqYjoQqooiXBS7o7IittcGJIpWZ4ioi2s Z2sX6TeaVrMFEE38cQigumgD4OS7NBb9l4P2EQr7BrbEng5Ma6sbJdC7YIh0Nysh8el6 KwseXR9AGJeDZnUu6ewWbKPN+tAIRUdH65CFy+B0hlKmm+vMWQu+49h0WmXQ/upjRiU9 jIEg== X-Gm-Message-State: ALoCoQmPGnoqRqGSHr98J1ZaLc9yawxS+CXpRn9O9KsYHSYKbsqqaS8onVtDaAmlRxJVjfKelRaH X-Received: by 10.229.171.8 with SMTP id f8mr30828123qcz.13.1392041894692; Mon, 10 Feb 2014 06:18:14 -0800 (PST) Original-Received: from flea (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id o75sm23872111qgd.11.2014.02.10.06.18.13 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Feb 2014 06:18:13 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87iosnawu0.fsf@yahoo.fr> (Nicolas Richard's message of "Mon, 10 Feb 2014 15:03:51 +0100") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85262 Archived-At: On Mon, 10 Feb 2014 15:03:51 +0100 Nicolas Richard 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 , p=0xb58b510, have_lock=0) at malloc.c:3910 NR> size = 128 NR> fb = NR> nextchunk = NR> nextsize = NR> nextinuse = NR> prevsize = NR> bck = NR> fwd = 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 = NR> p2 = 0xd5ebfd0 NR> p3 = 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 = 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