From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21676: 25.0.50; crash in code_convert_string Date: Tue, 13 Oct 2015 17:55:21 +0300 Message-ID: <83lhb6zuli.fsf@gnu.org> References: <87eggzsprg.fsf@udel.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1444748979 30657 80.91.229.3 (13 Oct 2015 15:09:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 15:09:39 +0000 (UTC) Cc: 21676@debbugs.gnu.org To: Mark Oteiza Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 13 17:09:28 2015 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 1Zm1Cf-0001Ln-Ia for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2015 17:09:25 +0200 Original-Received: from localhost ([::1]:36716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm1Cf-000795-34 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2015 11:09:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm10l-000817-37 for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 10:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm10h-0002N5-0y for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 10:57:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm10g-0002N0-SE for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 10:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zm10g-00005t-H0 for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 10:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Oct 2015 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21676 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21676-submit@debbugs.gnu.org id=B21676.1444748203333 (code B ref 21676); Tue, 13 Oct 2015 14:57:02 +0000 Original-Received: (at 21676) by debbugs.gnu.org; 13 Oct 2015 14:56:43 +0000 Original-Received: from localhost ([127.0.0.1]:38869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zm10M-00005I-F5 for submit@debbugs.gnu.org; Tue, 13 Oct 2015 10:56:42 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:41918) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zm10J-000058-Fd for 21676@debbugs.gnu.org; Tue, 13 Oct 2015 10:56:41 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NW500J00YONDP00@a-mtaout22.012.net.il> for 21676@debbugs.gnu.org; Tue, 13 Oct 2015 17:55:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NW500JGEYRV8E40@a-mtaout22.012.net.il>; Tue, 13 Oct 2015 17:55:13 +0300 (IDT) In-reply-to: <87eggzsprg.fsf@udel.edu> X-012-Sender: halo1@inter.net.il 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: 208.118.235.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:107574 Archived-At: > From: Mark Oteiza > Date: Mon, 12 Oct 2015 18:09:23 -0400 > > I have no idea why this happened or how to reproduce. > Perhaps related to bug#21602? In any case, here's a backtrace. No, it doesn't seem to be related to 21602. And it's not even a crash in code_convert_string, it's an abort during GC, due to some corruption in memory allocation data: > #9 0x0000000000556d9d in shut_down_emacs (sig=6, stuff=0) at emacs.c:2018 > No locals. > #10 0x00000000005548a8 in terminate_due_to_signal (sig=6, backtrace_limit=40) > at emacs.c:382 > No locals. > #11 0x000000000057a231 in handle_fatal_signal (sig=6) at sysdep.c:1593 > No locals. > #12 0x000000000057a202 in deliver_thread_signal (sig=6, > handler=0x57a217 ) at sysdep.c:1567 > old_errno = 6 > #13 0x000000000057a268 in deliver_fatal_thread_signal (sig=6) at sysdep.c:1605 > No locals. > #14 > No symbol table info available. > #15 0x00007f20158995f8 in raise () from /usr/lib/libc.so.6 > No symbol table info available. > #16 0x00007f201589aa7a in abort () from /usr/lib/libc.so.6 > No symbol table info available. > #17 0x00007f20158d805a in __libc_message () from /usr/lib/libc.so.6 > No symbol table info available. > #18 0x00007f20158dd9a6 in malloc_printerr () from /usr/lib/libc.so.6 > No symbol table info available. > #19 0x00007f20158de18e in _int_free () from /usr/lib/libc.so.6 > No symbol table info available. > #20 0x00000000005d028b in xfree (block=0x40b8da0) at alloc.c:765 > No locals. > #21 0x000000000067cebe in ftcrfont_close (font=0x462fd30) at ftcrfont.c:184 > ftcrfont_info = 0x462fd30 > i = 2 > #22 0x00000000005d2926 in cleanup_vector (vector=0x462fd30) at alloc.c:2971 > drv = 0xc98da0 > #23 0x00000000005d2a6e in sweep_vectors () at alloc.c:3023 > total_bytes = 48 > free_this_block = false > nbytes = 48 > block = 0x462fd00 > bprev = 0x46630f8 > lv = 0x661008 > lvprev = 0xc636f0 > vector = 0x462fd00 > next = 0x462fd30 > #24 0x00000000005d8e14 in gc_sweep () at alloc.c:6708 > No locals. > #25 0x00000000005d6b5e in garbage_collect_1 (end=0x7ffeedb5a2f0) at alloc.c:5536 > nextb = 0x0 > stack_top_variable = 0 '\000' > i = 582 > message_p = false > count = 26 > start = { > tv_sec = 1444684638, > tv_nsec = 913808806 > } > retval = 0 > tot_before = 0 > total = {140732886524664, 83643444, 0, 3, 13157648, 7, 0, 140732886524608, > 5572695, 2, 140732886524800} > #26 0x00000000005d718e in Fgarbage_collect () at alloc.c:5720 > end = 0x7ffeedb5a2f0 > #27 0x00000000005526ca in maybe_gc () at lisp.h:4517 > No locals. Emacs then tried to auto-save the session, and segfaulted during that, probably because doing that during (a failed) GC is almost certainly going to crash.