From unknown Wed Jun 18 23:06:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16901 <16901@debbugs.gnu.org> To: bug#16901 <16901@debbugs.gnu.org> Subject: Status: 24.3.50; emacs_backtrace.txt Reply-To: bug#16901 <16901@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:06:30 +0000 retitle 16901 24.3.50; emacs_backtrace.txt reassign 16901 emacs submitter 16901 Drew Adams severity 16901 normal tag 16901 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 23:57:09 2014 Received: (at submit) by debbugs.gnu.org; 28 Feb 2014 04:57:09 +0000 Received: from localhost ([127.0.0.1]:43388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJFVU-0006yW-Sd for submit@debbugs.gnu.org; Thu, 27 Feb 2014 23:57:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57003) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJFVS-0006yM-8W for submit@debbugs.gnu.org; Thu, 27 Feb 2014 23:57:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJFVH-0003gu-Q1 for submit@debbugs.gnu.org; Thu, 27 Feb 2014 23:57:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJFVH-0003gq-Nx for submit@debbugs.gnu.org; Thu, 27 Feb 2014 23:56:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJFV9-0003pQ-47 for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 23:56:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJFUz-0003Zz-Vi for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 23:56:47 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:35208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJFUz-0003ZT-Or for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 23:56:37 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1S4uaHT016843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 28 Feb 2014 04:56:36 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1S4uYwP029316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 28 Feb 2014 04:56:35 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1S4uY7v002496 for ; Fri, 28 Feb 2014 04:56:34 GMT MIME-Version: 1.0 Message-ID: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> Date: Thu, 27 Feb 2014 20:56:33 -0800 (PST) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.3.50; emacs_backtrace.txt X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Backtrace: 011fbfd9 011fc04a 010f067f 011625d1 0115b8ce 0115b7a0 01161ad2 0116038c 010ee79f 011c154c 0118131d 011809b3 0118022e 010f591a 0117d6d7 010f5d12 01180122 010f5d56 0103edd3 0103eadb 010429bd 0104180f 010f6c34 01104076 010f474d 0117d6d7 010f4082 0117cc84 010f403a 010f37d0 010f398c 010f1b90 010010f9 76fa3366 77ce9f6e 77ce9f41 In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2014-02-21 on ODIEONE Repository revision: 116523 lekktu@gmail.com-20140222021049-g04nwe512x430tk= 5 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include' Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Dired by date Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: =20 =20 =20 =20 =20 C-g=20 C-g s M-< =20 =20 =20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils dired oneonone hexrgb cl-macs gv cl cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 04:42:31 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 09:42:31 +0000 Received: from localhost ([127.0.0.1]:43576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJJxf-0007Bi-Bt for submit@debbugs.gnu.org; Fri, 28 Feb 2014 04:42:31 -0500 Received: from mail-yk0-f175.google.com ([209.85.160.175]:63187) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJJxc-0007BX-NP for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 04:42:29 -0500 Received: by mail-yk0-f175.google.com with SMTP id 131so1235168ykp.6 for <16901@debbugs.gnu.org>; Fri, 28 Feb 2014 01:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sDJKQ4IK/8b1QN/qJxTKnifAhqyxoYNeMLwHqbHDPDY=; b=PvfhL9sSIUfXmkPo7gOeZuWkdObC8PlTJIZtshbbs7NO1U7qZMwzNyZLgezub6/X6y v67Ydel70s+8ALlPWXDXWzPdtYHwfUiADGxk/yVxci/mdZbp3zKwD1v9ihlmI1iRd668 /J1nHE7uJpUpkic3kbFMe8n9E/Yh8+QNeQCfefqQgPuPiqWosmfi2g7q3hk4D+s0wx1M LULGAuAL5B3utfGHm6duR/PY1OIKmc2YUW99jgER80oyClTAPfAUn4kmw4YtUJ0OvPxJ jU5VoNF2496yt0FgSS4aepNngquDiAG9Calx5dO7MmzYdnQ/x5wf06Xv0G5LRjRTqzRi DqTA== X-Received: by 10.236.149.2 with SMTP id w2mr477117yhj.114.1393580548233; Fri, 28 Feb 2014 01:42:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Fri, 28 Feb 2014 01:41:48 -0800 (PST) In-Reply-To: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> From: Juanma Barranquero Date: Fri, 28 Feb 2014 10:41:48 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Drew Adams Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) ?? ??:0 w32_backtrace at w32fns.c:8431 emacs_abort at w32fns.c:8463 terminate_due_to_signal at emacs.c:378 die at alloc.c:6761 compact_small_strings at alloc.c:1960 sweep_strings at alloc.c:1890 gc_sweep at alloc.c:6333 Fgarbage_collect at alloc.c:5572 maybe_gc at lisp.h:4518 exec_byte_code at bytecode.c:964 funcall_lambda at eval.c:3049 Ffuncall at eval.c:2864 call0 at eval.c:2599 safe_run_hooks_1 at keyboard.c:1872 internal_condition_case at eval.c:1354 safe_run_hook_funcall at keyboard.c:1927 run_hook_with_args at eval.c:2551 safe_run_hooks at keyboard.c:1944 update_menu_bar at xdisp.c:11608 prepare_menu_bars at xdisp.c:11509 redisplay_internal at xdisp.c:13312 redisplay at xdisp.c:12931 read_char at keyboard.c:2567 read_key_sequence at keyboard.c:9075 command_loop_1 at keyboard.c:1449 internal_condition_case at eval.c:1354 command_loop_2 at keyboard.c:1174 internal_catch at eval.c:1118 command_loop at keyboard.c:1153 recursive_edit_1 at keyboard.c:777 Frecursive_edit at keyboard.c:845 main at emacs.c:1646 ?? at crt1.c:0 ?? ??:0 ?? ??:0 ?? ??:0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 05:43:21 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 10:43:21 +0000 Received: from localhost ([127.0.0.1]:43616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJKuX-0000WR-8u for submit@debbugs.gnu.org; Fri, 28 Feb 2014 05:43:21 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:56614) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJKuV-0000WI-SB for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 05:43:20 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N1P00A00C9EH500@mtaout28.012.net.il> for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 12:43:40 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1P006GSCGSJS50@mtaout28.012.net.il>; Fri, 28 Feb 2014 12:43:40 +0200 (IST) Date: Fri, 28 Feb 2014 12:43:20 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero , Dmitry Antipov Message-id: <83mwhbwm9j.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Fri, 28 Feb 2014 10:41:48 +0100 > Cc: 16901@debbugs.gnu.org > > w32_backtrace at w32fns.c:8431 > emacs_abort at w32fns.c:8463 > terminate_due_to_signal at emacs.c:378 > die at alloc.c:6761 > compact_small_strings at alloc.c:1960 > sweep_strings at alloc.c:1890 > gc_sweep at alloc.c:6333 > Fgarbage_collect at alloc.c:5572 > maybe_gc at lisp.h:4518 Thanks. Dmitry, any insights? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 05:49:32 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 10:49:32 +0000 Received: from localhost ([127.0.0.1]:43623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJL0V-0000hC-W7 for submit@debbugs.gnu.org; Fri, 28 Feb 2014 05:49:32 -0500 Received: from mail-yk0-f174.google.com ([209.85.160.174]:37332) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJL0T-0000h2-Oa for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 05:49:30 -0500 Received: by mail-yk0-f174.google.com with SMTP id 20so1392332yks.5 for <16901@debbugs.gnu.org>; Fri, 28 Feb 2014 02:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=PiEWHaJiiTyJ0og0Yj28boWgKu0ZyPbcnIOo0k4l7ZM=; b=khRp5+dcUdWC08w50t3vg5iu1i8u4QaRRUOpCPf3Mn7u3Zx18v8KKGEG1JUlnW2wo/ SuFnK9n02O8RsJpvJ55R1koxDNM3+LUAssW477uNwJ+Xs9qIDtEf9vBzeKLy5i/JYDKp p69labFUizC9FBZaijKpNChYDyu0qzGF65QEP/azucaePLzGzZLUG9ubRVkb6I5ED9CP mNCH0wjyUEFos2lIQpjeT4RY1TULCwTekmiaGmPbtY7OMYABGkiTB8v3g2/YraedlmCX kCJjf0mXOMFE0vdUj/yYvJRZAHtBjD98FKqdGsVowWoRY8Mg2iA4+XQduPdXe2Kxhvai CbVw== X-Received: by 10.236.31.138 with SMTP id m10mr1087198yha.55.1393584569084; Fri, 28 Feb 2014 02:49:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Fri, 28 Feb 2014 02:48:48 -0800 (PST) In-Reply-To: <83mwhbwm9j.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> From: Juanma Barranquero Date: Fri, 28 Feb 2014 11:48:48 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Drew Adams , Dmitry Antipov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> compact_small_strings at alloc.c:1960 >> sweep_strings at alloc.c:1890 >> gc_sweep at alloc.c:6333 >> Fgarbage_collect at alloc.c:5572 >> maybe_gc at lisp.h:4518 What it is quite puzzling is that Drew is basically using the same builds than I do (in quite different ways, of course), and yet I've got very few gc crashes, perhaps a couple in the last month, while he seems to get them a lot. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 06:41:49 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 11:41:50 +0000 Received: from localhost ([127.0.0.1]:43705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJLp7-0003VK-I4 for submit@debbugs.gnu.org; Fri, 28 Feb 2014 06:41:49 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:47261) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJLp3-0003V9-Vo for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 06:41:47 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N1P00L00EL76B00@mtaout28.012.net.il> for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 13:42:06 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1P00HDVF66I760@mtaout28.012.net.il>; Fri, 28 Feb 2014 13:42:06 +0200 (IST) Date: Fri, 28 Feb 2014 13:41:46 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83ha7jwjk5.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, drew.adams@oracle.com, antipov@dev.rtsoft.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Fri, 28 Feb 2014 11:48:48 +0100 > Cc: Dmitry Antipov , Drew Adams , 16901@debbugs.gnu.org > > >> compact_small_strings at alloc.c:1960 > >> sweep_strings at alloc.c:1890 > >> gc_sweep at alloc.c:6333 > >> Fgarbage_collect at alloc.c:5572 > >> maybe_gc at lisp.h:4518 > > What it is quite puzzling is that Drew is basically using the same > builds than I do (in quite different ways, of course), and yet I've > got very few gc crashes, perhaps a couple in the last month, while he > seems to get them a lot. Because it's some usage pattern that triggers this, not the way you build Emacs. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 07:21:33 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 12:21:33 +0000 Received: from localhost ([127.0.0.1]:43735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJMRY-0004cc-S0 for submit@debbugs.gnu.org; Fri, 28 Feb 2014 07:21:33 -0500 Received: from forward8l.mail.yandex.net ([84.201.143.141]:46324) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJMRV-0004cQ-2q for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 07:21:30 -0500 Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 829EA1A41082; Fri, 28 Feb 2014 16:21:26 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id D119B2C33D2; Fri, 28 Feb 2014 16:21:25 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fXZIgE4qo1-LP54ktHi; Fri, 28 Feb 2014 16:21:25 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 936c4934-9623-413c-8eb9-092ae08fb8fb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1393590085; bh=Tv6lVgtdBv/UUJZjPLKtcTL8YwDdaypK6xpFFoeEJ/M=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=U+out4Ua63c6VFhr6cY3YSI8TisgY/zDvwFwTaBnsu//UD2uOiu6YczWg78RKZFNd cy5YNk+2Jnn78gKessrVS97n7qqkIU7fd0xvyvFVCoZTgCMZO3Efq5dkMJnB93dGY3 f+t7Yzg1fNZOcBjQee/nVzSwl366n2ue/2mYzDys= Authentication-Results: smtp4h.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <53107F45.3060502@yandex.ru> Date: Fri, 28 Feb 2014 16:21:25 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> In-Reply-To: <83mwhbwm9j.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Juanma Barranquero , drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 02/28/2014 02:43 PM, Eli Zaretskii wrote: >> From: Juanma Barranquero >> Date: Fri, 28 Feb 2014 10:41:48 +0100 >> Cc: 16901@debbugs.gnu.org >> >> w32_backtrace at w32fns.c:8431 >> emacs_abort at w32fns.c:8463 >> terminate_due_to_signal at emacs.c:378 >> die at alloc.c:6761 >> compact_small_strings at alloc.c:1960 >> sweep_strings at alloc.c:1890 >> gc_sweep at alloc.c:6333 >> Fgarbage_collect at alloc.c:5572 >> maybe_gc at lisp.h:4518 > > Thanks. > > Dmitry, any insights? As usual, it's hard to say anything without a clean recipe to reproduce. I realize that GC-related bugs may be very subtle, so all affected users (especially on MS-Windows and OSX) are pleased to bisect at least; r114795 may be a good starting point. Now we have an explanation of http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16069. Suggested fix should help http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16817#5 as well; unfortunately this is X-specific and probably won't help with weird GC issues on other platforms. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 07:28:21 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 12:28:21 +0000 Received: from localhost ([127.0.0.1]:43739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJMY8-0004ou-QC for submit@debbugs.gnu.org; Fri, 28 Feb 2014 07:28:21 -0500 Received: from mail-yh0-f45.google.com ([209.85.213.45]:45140) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJMY7-0004ok-AK for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 07:28:19 -0500 Received: by mail-yh0-f45.google.com with SMTP id i57so534535yha.4 for <16901@debbugs.gnu.org>; Fri, 28 Feb 2014 04:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=0I/Pu5VQKGJAJEO6Y6Eq7Fs+vbk0ps8Rtcitf4q+8iE=; b=QfPTCI3HJlXgnHHgFWNLpLTGCVl6tv44Mx8yAexiP3boCf4qXB2ThWhunGc0BrxaZ6 ejh+DS4QdcXWfW2cQg9TOg0VC4V9bMAqu5/WcNH3rsFL96VedWJBJl2bpgNUBaigtIao L3swDT/EWGHCOkOK4e3Oa1pxH0i7tEr50kQ6zWfUkpY1K9WwLWmF+4IEJ/BtCHkHu5+h qc/V9KPLMhSzW/gLLiJKd0xsEwbESlneBJ1jmzNbx/e3zuWXYsCnN+YmhJ/D+NdJsr1F CAlAvgLpi6dk2rVV9vMN7vHk+dM4obNROIKjNOboeEQf73YOeJ22WJWuiWuECBOJK1li TjxQ== X-Received: by 10.236.180.33 with SMTP id i21mr1479777yhm.101.1393590498725; Fri, 28 Feb 2014 04:28:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Fri, 28 Feb 2014 04:27:38 -0800 (PST) In-Reply-To: <83ha7jwjk5.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <83ha7jwjk5.fsf@gnu.org> From: Juanma Barranquero Date: Fri, 28 Feb 2014 13:27:38 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Drew Adams , antipov@dev.rtsoft.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, Feb 28, 2014 at 12:41 PM, Eli Zaretskii wrote: > Because it's some usage pattern that triggers this, not the way you > build Emacs. Yes, I understand that. Alas, not many people use extremely multi-frame setups on Windows like Drew does. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 09:26:08 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 14:26:08 +0000 Received: from localhost ([127.0.0.1]:43804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJOO7-0000zM-CE for submit@debbugs.gnu.org; Fri, 28 Feb 2014 09:26:07 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:39465) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJOO3-0000z6-3f for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 09:26:04 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N1P00500M2RIW00@a-mtaout21.012.net.il> for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 16:26:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1P005DBMRDK000@a-mtaout21.012.net.il>; Fri, 28 Feb 2014 16:26:01 +0200 (IST) Date: Fri, 28 Feb 2014 16:26:03 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: <53107F45.3060502@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Antipov Message-id: <83d2i7wbyc.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 28 Feb 2014 16:21:25 +0400 > From: Dmitry Antipov > CC: Juanma Barranquero , drew.adams@oracle.com, > 16901@debbugs.gnu.org > > As usual, it's hard to say anything without a clean recipe to reproduce. Would it be possible to install some debugging code that could pinpoint the problem, or at least give further ideas? Or is the problem so subtle that any code which uses strings could be the culprit? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 10:00:49 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 15:00:49 +0000 Received: from localhost ([127.0.0.1]:44739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJOvh-00027b-7S for submit@debbugs.gnu.org; Fri, 28 Feb 2014 10:00:49 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:32324) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJOva-00027I-BW for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 10:00:43 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1SF0dZA021511 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Feb 2014 15:00:40 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1SF0cwD021222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Feb 2014 15:00:38 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1SF0cNf003023; Fri, 28 Feb 2014 15:00:38 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 28 Feb 2014 07:00:37 -0800 (PST) From: Drew Adams To: Juanma Barranquero , Eli Zaretskii Subject: RE: bug#16901: 24.3.50; emacs_backtrace.txt References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > What it is quite puzzling is that Drew is basically using the same > builds than I do (in quite different ways, of course), and yet I've > got very few gc crashes, perhaps a couple in the last month, while he > seems to get them a lot. "It's a gift. And a curse." - Adrian Monk From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 10:44:54 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 15:44:55 +0000 Received: from localhost ([127.0.0.1]:44769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJPcL-0003Nu-Hy for submit@debbugs.gnu.org; Fri, 28 Feb 2014 10:44:54 -0500 Received: from forward5l.mail.yandex.net ([84.201.143.138]:42989) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJPcH-0003Nh-4x for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 10:44:50 -0500 Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward5l.mail.yandex.net (Yandex) with ESMTP id 89095C40D9A; Fri, 28 Feb 2014 19:44:47 +0400 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id DBC5E1B42A67; Fri, 28 Feb 2014 19:44:46 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Hddg3RUhoi-ikgeUXA9; Fri, 28 Feb 2014 19:44:46 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 43c349c3-6c1d-471b-abb7-1a98b1162a09 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1393602286; bh=mcZkG53vkDVmdb3TauA2luzJ5LfF7oexxp/OTohf5sw=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rVRDh/+AXUMslvjDYHsTw0UQQt++INI6YgL1FeOQ7KuYH444qbdtLrJzMcTKkkcrA U3Ywz9XtCbX4C/d2IBZEf1Hx7CGXRuviKV4WhEnOpJPtpgevX0dhzrPtVgThWwXQx/ 1vrZKo0l0UEl2QHnnf0yTEAi40vTlZ0W0+x6cvR0= Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <5310AEEE.4070005@yandex.ru> Date: Fri, 28 Feb 2014 19:44:46 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> In-Reply-To: <83d2i7wbyc.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, Emacs development discussions X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) [CC: to emacs-devel@ in attempt to initiate a broader discussion] On 02/28/2014 06:26 PM, Eli Zaretskii wrote: > Would it be possible to install some debugging code that could > pinpoint the problem, or at least give further ideas? Or is the > problem so subtle that any code which uses strings could be the > culprit? Hm... are there crashes around sweep_strings on platforms other than MS-Windows? Now I have two crash reports to make me worry about GC. Both are irregular and looks hard to reproduce: - this bug (crash in compact_small_strings, MS-Windows only (?)) - http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16817#11 - crash marking C stack, OSX-only (?) These crashes may be originated by the same bug (probably irregular heap corruption). It's known that GC-related crashes may be caused by freeing fonts during gc_sweep; this is http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16069, but it should not affect MS-Windows and OSX (and hopefully I'll fix it soon). On GNU/Linux, valgrind makes great job in finding memory-related errors; if there are similar tools for other platforms, it would be nice to try. And what about using GCC and (sorry RMS) LLVM sanitizers? Dmitry From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 11:00:50 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 16:00:50 +0000 Received: from localhost ([127.0.0.1]:44778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJPrl-0003ru-V9 for submit@debbugs.gnu.org; Fri, 28 Feb 2014 11:00:50 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:38228) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJPrj-0003rh-RL for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 11:00:48 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1SG0klh009101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Feb 2014 16:00:46 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1SG0jM9016188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Feb 2014 16:00:45 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s1SG0ios006636; Fri, 28 Feb 2014 16:00:44 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 28 Feb 2014 08:00:44 -0800 (PST) From: Drew Adams To: Eli Zaretskii , Dmitry Antipov Subject: RE: bug#16901: 24.3.50; emacs_backtrace.txt References: <<5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default>> <> <<83mwhbwm9j.fsf@gnu.org>> <<53107F45.3060502@yandex.ru>> <<83d2i7wbyc.fsf@gnu.org>> In-Reply-To: <<83d2i7wbyc.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Are all of these duplicate crash reports (dunno whether the crashes themselves are duplicates) from the same build or from builds closely related in time? If so, shouldn't that help narrow things down a bit? My impression is that I am getting lots of crashes with the latest build I have (from Feb 22). Maybe some development just before that build is responsible? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 12:13:40 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 17:13:41 +0000 Received: from localhost ([127.0.0.1]:44841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJR0G-00076H-Bq for submit@debbugs.gnu.org; Fri, 28 Feb 2014 12:13:40 -0500 Received: from mail-yk0-f171.google.com ([209.85.160.171]:34330) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJR0D-000767-VQ for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 12:13:38 -0500 Received: by mail-yk0-f171.google.com with SMTP id q9so2627584ykb.2 for <16901@debbugs.gnu.org>; Fri, 28 Feb 2014 09:13:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=L+F7mTWJkib7cedawhyIekWheBrB8+y5+ejxGDG2U5o=; b=OgcNC8PjgAE601ncJBhmjLExKKS2rDqc/08QbcLmSvbgQcf7zdr7f/OLh5di5oZJlx 3V6e3RZnFX4ZfBYE1D9GuIK5uZiRPQoWLP/yqWKraWKXBqkGH52vHcklLSjBVS1JZFE5 rUdbW84KHJ3mtDgnGtrurRaJqoTMBkwBeb5KNXJzEPccsp6yc5z4q3jaVyp0gOmlp0rm dLxtW9A4tsysbEilOhMUDqtejUBFW/nbFsLCvo4vTiLKc7Q8ERE/n+TsLWVk1tefG58v fysEoPEDa4N0KRHiFBaXDHpLkN4a0Dkp2oPSnOr1FJjzxU+xkmbr2oL06LRVnXbh000I bkzQ== X-Received: by 10.236.199.82 with SMTP id w58mr3154936yhn.57.1393607617490; Fri, 28 Feb 2014 09:13:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Fri, 28 Feb 2014 09:12:57 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Fri, 28 Feb 2014 18:12:57 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Drew Adams Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Eli Zaretskii , Dmitry Antipov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) On Fri, Feb 28, 2014 at 5:00 PM, Drew Adams wrote: > My impression is that I am getting lots of crashes with the > latest build I have (from Feb 22). At least for GC crashes, your impression is correct. You've had 5 GC-related crashes with the build from revno:116523, which is the same amount of GC-related crashes you've had with all other builds since Jan 1 (first snapshot from revno:115827) combined. > Maybe some development > just before that build is responsible? These are the changes between the previous snapshot and the build from Feb 22, except for the ones obviously unrelated (doc fixes, manual, tests, etc.). 116523: Juanma Barranquero 2014-02-22 lisp/desktop.el: Do not fail when desktop-files-not-to-save is nil. 116522: Daniel Colascione 2014-02-21 Build correct secrets pattern from auth-source pattern 116521: Daniel Colascione 2014-02-21 Additional type checking in secrets API 116518: Juanma Barranquero 2014-02-21 lisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist. 116517: Stefan Monnier 2014-02-21 * lisp/emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule. 116515: Juanma Barranquero 2014-02-21 lisp/whitespace.el: End obsolescence messages with dot. 116514: Dmitry Gutov 2014-02-21 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add missing "or". 116513: Dmitry Gutov 2014-02-21 * lisp/electric.el (electric-indent-functions-without-reindent): 116512: Juanma Barranquero 2014-02-21 lisp/w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete. 116509: martin rudalics 2014-02-21 In with-temp-buffer-window don't evaluate BODY within with-current-buffer (Bug#16816). 116504: martin rudalics 2014-02-21 Fix handling of window-min-height/-width (Bug#16738). 116501: Michael Albinus 2014-02-21 * net/tramp.el (tramp-check-cached-permissions): 116500: Paul Eggert 2014-02-20 Pacify GCC when configuring with --enable-gcc-warnings. 116499: Daniel Colascione 2014-02-20 [merge] Improve dbus error handling; detect bus failure 116498: Juanma Barranquero 2014-02-21 lisp/w32-fns.el: Remove obsolescence declarations for nonexistent vars. 116494: Eli Zaretskii 2014-02-20 Fix excessive calls to bidi_shelve_cache reported in bug #15555. 116493: Eli Zaretskii 2014-02-20 Fix assertion violation in redisplay. 116492: Eli Zaretskii 2014-02-20 Fix bug #16819 with dereferencing invalid face pointer. 116491: Michael Albinus 2014-02-20 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare. 116489: Juanma Barranquero 2014-02-20 lisp/elec-pair.el: Fix bug#16799. 116485: W. Trevor King 2014-02-19 * lisp/term/xterm.el (xterm--version-handler): Adapt to xterm-280's output. 116484: Juanma Barranquero 2014-02-19 lisp/frameset.el (frameset-restore): Remove duplicate ids only when needed. 116481: Michael Albinus 2014-02-19 Some Tramp minor fixes, found during test campaign. 116480: Eli Zaretskii 2014-02-19 Fix bug #16806 with horizontal scrolling of images when fringes are disabled. 116479: Eli Zaretskii 2014-02-19 Avoid crashes on MS-Windows when JPEG images are too large. 116478: Juanma Barranquero 2014-02-19 lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793. 116477: martin rudalics 2014-02-19 In window-state-put allow WINDOW to refer to an internal window (Bug#16793). 116474: Stefan Monnier 2014-02-18 * lisp/delsel.el (delete-char): Restore incorrectly erased property. 116473: Juanma Barranquero 2014-02-18 lisp/frameset.el: Workaround bug#16793. 116472: martin rudalics 2014-02-18 Don't set FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH in update_various_frame_slots (Bug#16736). 116470: Michael Albinus 2014-02-18 * dbusbind.c (xd_close_bus): Apply proper check on busobj. 116469: Mirek Kaim 2014-02-17 * configure.ac [HAVE_W32]: Test for ImageMagick. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 16:12:45 2014 Received: (at 16901) by debbugs.gnu.org; 28 Feb 2014 21:12:45 +0000 Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJUjc-0005RC-OA for submit@debbugs.gnu.org; Fri, 28 Feb 2014 16:12:45 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:40287) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJUjZ-0005R1-Up for 16901@debbugs.gnu.org; Fri, 28 Feb 2014 16:12:42 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 000C639E8013; Fri, 28 Feb 2014 13:12:40 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0G60m7eJxyj2; Fri, 28 Feb 2014 13:12:40 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A699E39E8008; Fri, 28 Feb 2014 13:12:40 -0800 (PST) Message-ID: <5310FBC5.7040501@cs.ucla.edu> Date: Fri, 28 Feb 2014 13:12:37 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Dmitry Antipov Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru> In-Reply-To: <5310AEEE.4070005@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On 02/28/2014 07:44 AM, Dmitry Antipov wrote: > On GNU/Linux, valgrind makes great job in finding memory-related > errors; if there are similar tools for other platforms, it would > be nice to try. And what about using GCC ... sanitizers? gcc -fsanitize=address should work on the trunk, if you configure with something like "./configure CFLAGS='-g3 -Og -fsanitize=address' CANNOT_DUMP=yes" (assuming recent-enough GCC). Like valgrind, it doesn't work with a dumped Emacs. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 01:56:38 2014 Received: (at control) by debbugs.gnu.org; 1 Mar 2014 06:56:38 +0000 Received: from localhost ([127.0.0.1]:45214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJdqf-0005G4-Pt for submit@debbugs.gnu.org; Sat, 01 Mar 2014 01:56:38 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:49411) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJdqc-0005Ft-Iq for control@debbugs.gnu.org; Sat, 01 Mar 2014 01:56:35 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N1Q00000W6HQS00@a-mtaout20.012.net.il> for control@debbugs.gnu.org; Sat, 01 Mar 2014 08:56:33 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1Q000XFWM7H880@a-mtaout20.012.net.il> for control@debbugs.gnu.org; Sat, 01 Mar 2014 08:56:31 +0200 (IST) Date: Sat, 01 Mar 2014 08:56:36 +0200 From: Eli Zaretskii Subject: Re: bug#16908: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: control@debbugs.gnu.org Message-id: <834n3iwgnv.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) merge 16908 16901 thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 02:15:43 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 07:15:43 +0000 Received: from localhost ([127.0.0.1]:45247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJe98-0006zR-4m for submit@debbugs.gnu.org; Sat, 01 Mar 2014 02:15:42 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:40867) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJe94-0006zH-5r for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 02:15:39 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N1Q00M00VUOJJ00@mtaout28.012.net.il> for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 09:15:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1Q00GULXIKRA90@mtaout28.012.net.il>; Sat, 01 Mar 2014 09:15:56 +0200 (IST) Date: Sat, 01 Mar 2014 09:15:41 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83y50uv17m.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Fri, 28 Feb 2014 18:12:57 +0100 > Cc: Eli Zaretskii , Dmitry Antipov , 16901@debbugs.gnu.org > > > Maybe some development > > just before that build is responsible? > > These are the changes between the previous snapshot and the build from > Feb 22, except for the ones obviously unrelated (doc fixes, manual, > tests, etc.). Thanks; I see nothing that immediately stands out. It could be an unrelated change which just exposed a bug that was present previously. Or it could be some change in Drew's use patterns, like in the window/frame configurations and other customizations, which exposed an extant bug. Or even some changes in the OS and other programs used in conjunction with Emacs, for that matter. IOW, there's no way to be certain without a recipe, or something like that. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 03:47:19 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 08:47:19 +0000 Received: from localhost ([127.0.0.1]:45297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJfZm-000107-Ex for submit@debbugs.gnu.org; Sat, 01 Mar 2014 03:47:18 -0500 Received: from mtaout29.012.net.il ([80.179.55.185]:33186) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJfZf-0000zu-SS for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 03:47:16 -0500 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N1R00I001DRBH00@mtaout29.012.net.il> for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 10:50:10 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1R00C401VM7N70@mtaout29.012.net.il>; Sat, 01 Mar 2014 10:50:10 +0200 (IST) Date: Sat, 01 Mar 2014 10:47:14 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: <5310AEEE.4070005@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Antipov Message-id: <83k3ceuwz1.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 28 Feb 2014 19:44:46 +0400 > From: Dmitry Antipov > CC: 16901@debbugs.gnu.org, lekktu@gmail.com, > Emacs development discussions > > Now I have two crash reports to make me worry about GC. Both are > irregular and looks hard to reproduce: > > - this bug (crash in compact_small_strings, MS-Windows only (?)) > > - http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16817#11 - crash > marking C stack, OSX-only (?) > > These crashes may be originated by the same bug (probably irregular > heap corruption). It's known that GC-related crashes may be caused > by freeing fonts during gc_sweep; this is > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16069, but it should > not affect MS-Windows and OSX (and hopefully I'll fix it soon). > > On GNU/Linux, valgrind makes great job in finding memory-related > errors; if there are similar tools for other platforms, it would > be nice to try. And what about using GCC and (sorry RMS) LLVM > sanitizers? This is exacerbated by the fact that Drew, who is the only one that reports such assertion violations on Windows, doesn't build his Emacs. So using temacs under valgrind-like tool is not an option in this case. I'm not aware of any tools comparable with valgrind that work on Windows with GCC-generated symbol tables. However, since Emacs on Windows uses gmalloc, perhaps Juanma could build Emacs with GC_MCHECK defined, which might catch the villain closer to the corruption locus. Last time I hit a segfault in 'free', turning on these checks in gmalloc allowed me to find the culprit in just a few minutes of debugging, which is quite impressive for this sort of bugs. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 05:13:21 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 10:13:21 +0000 Received: from localhost ([127.0.0.1]:45326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJgv3-0003Ea-4f for submit@debbugs.gnu.org; Sat, 01 Mar 2014 05:13:21 -0500 Received: from mail-yk0-f173.google.com ([209.85.160.173]:53076) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJgv0-0003ER-M8 for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 05:13:19 -0500 Received: by mail-yk0-f173.google.com with SMTP id 10so5000359ykt.4 for <16901@debbugs.gnu.org>; Sat, 01 Mar 2014 02:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=PRz4H0wQNyiiquo5D9j3HUHmUKDca9UfnqOdnjzXAuk=; b=F0N7M9gtV6oE75C6Pvrr8LwsNOlS/Z5BjpQ2X9LvIlu7Q+LEGLXTW99cG9aMVW6wnk Un/0P9fb7N+nt63hiBbiPqnnJMrLRt065glFeyzHB+QB6MEuOr9Q6UqT1is6fGhsmyte mQGrzvQ3C3Y3YWCzZ3DKi0LSizY38ELNDTR68zBTAoyfNYQeKN4zCCT0ucqksqLHnEMe LP/HalQwyndCxOCXPcaAh+F841598M8HtPrRZVCA/HVOVrdVK7WkCoSRP7SP6t4SRkQY sQyd0+E28d+TebDKPD+ahUtlMt8q9XfF/VCpldfg5fbAesisp5aXvsHYrGcQq586sx9D VRAw== X-Received: by 10.236.30.2 with SMTP id j2mr1468681yha.73.1393668797996; Sat, 01 Mar 2014 02:13:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Sat, 1 Mar 2014 02:12:37 -0800 (PST) In-Reply-To: <83k3ceuwz1.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru> <83k3ceuwz1.fsf@gnu.org> From: Juanma Barranquero Date: Sat, 1 Mar 2014 11:12:37 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov , Emacs developers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sat, Mar 1, 2014 at 9:47 AM, Eli Zaretskii wrote: > However, since Emacs on > Windows uses gmalloc, perhaps Juanma could build Emacs with GC_MCHECK > defined, which might catch the villain closer to the corruption locus. Yes, of course. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 05:47:14 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 10:47:14 +0000 Received: from localhost ([127.0.0.1]:45367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJhRp-00047S-W6 for submit@debbugs.gnu.org; Sat, 01 Mar 2014 05:47:14 -0500 Received: from mail-yh0-f42.google.com ([209.85.213.42]:33645) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJhRn-00047J-5x for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 05:47:11 -0500 Received: by mail-yh0-f42.google.com with SMTP id a41so1901788yho.29 for <16901@debbugs.gnu.org>; Sat, 01 Mar 2014 02:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=GL/4YM3ZR/0qYMjXrpFT7lx43NthJQjXXY6xpyfeI18=; b=C6THWcLRMmqHWuhimXLEgDc5C4DPxcmvnsXSW6ctEoopW9aRLci2dmUy00pkCDXdfH b/+hVALac7R5A/Te6SpXVkUV5GFiCHbrPWHIxj4j4SXIRVI4P7oXui2+ACaOOFOdJ9Wv +LsNpLCTQLBun129weO06NzE0jU22EnofCVBMPPf4BVirv27FvBxZKcErtfdqA3EbOoa MM2aF0z0QOVX0pHBTUanFd7bOnbrDCsxNZR9u9w0vjkoo8x8DP+aYWw/73FAXw0A3xed UQAKa7y+RSQkiXoyqIEHUOGEyQMYfEna24LprNAgXBmgYoRZ874e3HuV1HvDt9D8cz/w dN3g== X-Received: by 10.236.142.198 with SMTP id i46mr7958490yhj.66.1393670830483; Sat, 01 Mar 2014 02:47:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Sat, 1 Mar 2014 02:46:30 -0800 (PST) In-Reply-To: References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru> <83k3ceuwz1.fsf@gnu.org> From: Juanma Barranquero Date: Sat, 1 Mar 2014 11:46:30 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov , Emacs developers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Just by adding -DGC_MCHECK=1 to CPPFLAGS and reconfiguring/recompiling I'm getting a lot of these: mcheck: memory clobbered before allocated block Where do I go from here? J From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 06:57:46 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 11:57:46 +0000 Received: from localhost ([127.0.0.1]:45401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJiY6-00061M-6C for submit@debbugs.gnu.org; Sat, 01 Mar 2014 06:57:46 -0500 Received: from mtaout29.012.net.il ([80.179.55.185]:53191) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJiY3-00061B-QZ for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 06:57:44 -0500 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N1R00000A1KSL00@mtaout29.012.net.il> for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 14:00:43 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1R00LHBAP74V60@mtaout29.012.net.il>; Sat, 01 Mar 2014 14:00:43 +0200 (IST) Date: Sat, 01 Mar 2014 13:57:47 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83d2i6uo5g.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru> <83k3ceuwz1.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Sat, 1 Mar 2014 11:46:30 +0100 > Cc: Dmitry Antipov , 16901@debbugs.gnu.org, > Emacs developers > > Just by adding -DGC_MCHECK=1 to CPPFLAGS and reconfiguring/recompiling > I'm getting a lot of these: > > mcheck: memory clobbered before allocated block > > Where do I go from here? These are most probably bugs. Put a breakpoint where that message is displayed, and post backtraces if you cannot figure out what is the problem that triggers them. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 08:12:48 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 13:12:48 +0000 Received: from localhost ([127.0.0.1]:45448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJjih-0000hx-2T for submit@debbugs.gnu.org; Sat, 01 Mar 2014 08:12:47 -0500 Received: from mail-yh0-f51.google.com ([209.85.213.51]:34025) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJjie-0000hl-Fo for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 08:12:45 -0500 Received: by mail-yh0-f51.google.com with SMTP id f10so1511937yha.10 for <16901@debbugs.gnu.org>; Sat, 01 Mar 2014 05:12:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WQ9WHtXBB1FotXN3sj2DAvWohOqXgsDyE4KaJ9osAIA=; b=WeXX/7oYZz7oRr/0UsJ3NkckM/9c1TcuFdVjZOHgLVuGXvv+soeRMfucgQS3/AWPfv 3yyP5MYIxHl5F2D8wO+QiJ1Wl57OIMapej2a+UonpQahA64j52twgawSNK72At0y+Xq5 48Ocgeuw6G+uV5n1N5zVHai6IoGnMM+ed002+5rxBV1aauM+BLp07381m/MIwwZmq8pZ FRNOw400Ct+gV7EiksZiY0peboZjuhndPI/zGRrfkn68Mttpa7JO5bx3Yy6l7OXIX+D9 X0pqd/j3xiUMkbb9tWad0D1RAhq6SlDG+gB7xcY3QOo6tWAyjo/HM0nF3o9xlElwvuKq na3w== X-Received: by 10.236.142.48 with SMTP id h36mr8194087yhj.49.1393679563934; Sat, 01 Mar 2014 05:12:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Sat, 1 Mar 2014 05:12:03 -0800 (PST) In-Reply-To: <83d2i6uo5g.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru> <83k3ceuwz1.fsf@gnu.org> <83d2i6uo5g.fsf@gnu.org> From: Juanma Barranquero Date: Sat, 1 Mar 2014 14:12:03 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov , Emacs developers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Here's one from emacs -Q: (gdb) break mabort Breakpoint 3 at 0x124c388: file gmalloc.c, line 1859. (gdb) run -Q -f view-hello-file Starting program: C:\Devel\emacs\repo\trunk\src\emacs-24.3.50.2.exe -Q -f view-hello-file [New Thread 8228.0x220c] [New Thread 8228.0x2320] [New Thread 8228.0x2530] [New Thread 8228.0x2e70] [New Thread 8228.0x2404] Breakpoint 3, mabort (status=MCHECK_HEAD) at gmalloc.c:1859 1859 switch (status) (gdb) bt #0 mabort (status=MCHECK_HEAD) at gmalloc.c:1859 #1 0x0124c17c in checkhdr (hdr=0x5aa43f8) at gmalloc.c:1780 #2 0x0124c1a1 in freehook (ptr=0x5aa4400) at gmalloc.c:1792 #3 0x0124bab9 in e_free (ptr=0x5aa4400) at gmalloc.c:1255 #4 0x0115eb49 in lisp_align_free (block=0x5aa8000) at alloc.c:1197 #5 0x0116570e in gc_sweep () at alloc.c:6415 #6 0x01163dd4 in Fgarbage_collect () at alloc.c:5586 #7 0x010f20b7 in maybe_gc () at lisp.h:4519 #8 0x01183fcb in Ffuncall (nargs=6, args=0x88c460) at eval.c:2766 #9 0x011814fc in internal_condition_case_n (bfun=0x1183f13 , nargs=6, args=0x88c460, handlers=58374218, hfun=0x1029dbb ) at eval.c:1436 #10 0x01029edb in safe_call (nargs=6, func=60982154) at xdisp.c:2609 #11 0x011ea7d1 in autocmp_chars (rule=61169485, charpos=361, bytepos=428, limit=366, win=0x3ac2218 <__register_frame_info+61612568>, face=0x3914d08 <__register_frame_info+59854088>, string=58374186) at composite.c:918 #12 0x011ebb2a in composition_reseat_it (cmp_it=0x88d544, charpos=365, bytepos=436, endpos=1, w=0x3ac2218 <__register_frame_info+61612568>, face=0x3914d08 <__register_frame_info+59854088>, string=58374186) at composite.c:1252 #13 0x01038bf8 in next_element_from_buffer (it=0x88d07c) at xdisp.c:8209 #14 0x01035545 in get_next_display_element (it=0x88d07c) at xdisp.c:6796 #15 0x0105c4b1 in display_line (it=0x88d07c) at xdisp.c:19820 #16 0x010511d7 in try_window (window=61612573, pos=..., flags=1) at xdisp.c:16638 #17 0x0104e7cf in redisplay_window (window=61612573, just_this_one_p=false) at xdisp.c:16155 #18 0x01047aac in redisplay_window_0 (window=61612573) at xdisp.c:14148 #19 0x011812ba in internal_condition_case_1 (bfun=0x1047a76 , arg=61612573, handlers=58349798, hfun=0x1047a52 ) at eval.c:1378 #20 0x01047a39 in redisplay_windows (window=61612573) at xdisp.c:14128 #21 0x01046a6f in redisplay_internal () at xdisp.c:13727 #22 0x01044aec in redisplay () at xdisp.c:13013 #23 0x010fa553 in read_char (commandflag=1, map=63501118, prev_event=58374186, used_mouse_menu=0x88f793, end_time=0x0) at keyboard.c:2567 #24 0x011079b5 in read_key_sequence (keybuf=0x88f8b0, bufsize=30, prompt=58374186, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9079 #25 0x010f8065 in command_loop_1 () at keyboard.c:1449 #26 0x011811a7 in internal_condition_case (bfun=0x10f7ce5 , handlers=58445162, hfun=0x10f754b ) at eval.c:1354 #27 0x010f799a in command_loop_2 (ignore=58374186) at keyboard.c:1174 #28 0x01180754 in internal_catch (tag=58432330, func=0x10f7976 , arg=58374186) at eval.c:1118 #29 0x010f7952 in command_loop () at keyboard.c:1153 #30 0x010f70e8 in recursive_edit_1 () at keyboard.c:777 #31 0x010f72a4 in Frecursive_edit () at keyboard.c:845 #32 0x010f54a8 in main (argc=4, argv=0xe03048) at emacs.c:1646 Lisp Backtrace: "Automatic GC" (0x153ce7c) "auto-compose-chars" (0x88c464) "redisplay_internal (C function)" (0x153ce7c) (gdb) and then there's one with my setup: Breakpoint 3, mabort (status=MCHECK_HEAD) at gmalloc.c:1859 1859 switch (status) (gdb) bt #0 mabort (status=MCHECK_HEAD) at gmalloc.c:1859 #1 0x0124c17c in checkhdr (hdr=0x583d3f8) at gmalloc.c:1780 #2 0x0124c1a1 in freehook (ptr=0x583d400) at gmalloc.c:1792 #3 0x0124bab9 in e_free (ptr=0x583d400) at gmalloc.c:1255 #4 0x0115eb49 in lisp_align_free (block=0x5841000) at alloc.c:1197 #5 0x0116570e in gc_sweep () at alloc.c:6415 #6 0x01163dd4 in Fgarbage_collect () at alloc.c:5586 #7 0x010f20b7 in maybe_gc () at lisp.h:4519 #8 0x01183fcb in Ffuncall (nargs=4, args=0x88d934) at eval.c:2766 #9 0x011c4e38 in exec_byte_code (bytestr=19622849, vector=19622869, maxdepth=20, args_template=58374186, nargs=0, args=0x0) at bytecode.c:919 #10 0x01184ded in funcall_lambda (fun=19622797, nargs=5, arg_vector=0x12b6bd5) at eval.c:3049 #11 0x01184483 in Ffuncall (nargs=6, args=0x88dc64) at eval.c:2864 #12 0x011c4e38 in exec_byte_code (bytestr=19623113, vector=19623133, maxdepth=28, args_template=58374186, nargs=0, args=0x0) at bytecode.c:919 #13 0x01184ded in funcall_lambda (fun=19623093, nargs=2, arg_vector=0x12b6cdd) at eval.c:3049 #14 0x01184483 in Ffuncall (nargs=3, args=0x88df94) at eval.c:2864 #15 0x011c4e38 in exec_byte_code (bytestr=19623209, vector=19623229, maxdepth=16, args_template=58374186, nargs=0, args=0x0) at bytecode.c:919 #16 0x01184ded in funcall_lambda (fun=19623189, nargs=2, arg_vector=0x12b6d3d) at eval.c:3049 #17 0x01184483 in Ffuncall (nargs=3, args=0x88e2c4) at eval.c:2864 #18 0x011c4e38 in exec_byte_code (bytestr=19633881, vector=19633901, maxdepth=20, args_template=58374186, nargs=0, args=0x0) at bytecode.c:919 #19 0x01184ded in funcall_lambda (fun=19633861, nargs=2, arg_vector=0x12b96ed) at eval.c:3049 #20 0x01184483 in Ffuncall (nargs=3, args=0x88e5f4) at eval.c:2864 #21 0x011c4e38 in exec_byte_code (bytestr=19637193, vector=19637221, maxdepth=12, args_template=58374186, nargs=0, args=0x0) at bytecode.c:919 #22 0x011c4288 in Fbyte_code (bytestr=19637193, vector=19637221, maxdepth=12) at bytecode.c:482 #23 0x01182f0d in eval_sub (form=19637182) at eval.c:2191 #24 0x0118109c in internal_lisp_condition_case (var=58374186, bodyform=19637182, handlers=19449710) at eval.c:1323 #25 0x011c5d78 in exec_byte_code (bytestr=19637081, vector=19637101, maxdepth=24, args_template=58374186, nargs=0, args=0x0) at bytecode.c:1169 #26 0x01184ded in funcall_lambda (fun=19637053, nargs=1, arg_vector=0x12ba36d) at eval.c:3049 #27 0x01184483 in Ffuncall (nargs=2, args=0x88ecf4) at eval.c:2864 #28 0x011c4e38 in exec_byte_code (bytestr=19961633, vector=19961653, maxdepth=36, args_template=58374186, nargs=0, args=0x0) at bytecode.c:919 #29 0x01184ded in funcall_lambda (fun=19961613, nargs=0, arg_vector=0x1309735) at eval.c:3049 #30 0x01184483 in Ffuncall (nargs=1, args=0x88f034) at eval.c:2864 #31 0x011c4e38 in exec_byte_code (bytestr=19655433, vector=62373741, maxdepth=24, args_template=0, nargs=0, args=0x88f374) at bytecode.c:919 #32 0x01184a29 in funcall_lambda (fun=61450973, nargs=0, arg_vector=0x88f374) at eval.c:2983 #33 0x01184483 in Ffuncall (nargs=1, args=0x88f370) at eval.c:2864 #34 0x01182daf in eval_sub (form=60524278) at eval.c:2157 #35 0x0117eaba in Fprogn (body=60524270) at eval.c:468 #36 0x0117eb22 in unwind_body (body=60524270) at eval.c:482 #37 0x011855d0 in unbind_to (count=4, value=58374186) at eval.c:3306 #38 0x011c4edb in exec_byte_code (bytestr=19654841, vector=19654861, maxdepth=48, args_template=0, nargs=0, args=0x88f7c0) at bytecode.c:941 #39 0x01184a29 in funcall_lambda (fun=19654821, nargs=0, arg_vector=0x88f7c0) at eval.c:2983 #40 0x01184748 in apply_lambda (fun=19654821, args=58374186) at eval.c:2924 #41 0x01183126 in eval_sub (form=60147982) at eval.c:2230 #42 0x01182746 in Feval (form=60147982, lexical=58374186) at eval.c:2003 #43 0x010f79cd in top_level_2 () at keyboard.c:1183 #44 0x011811a7 in internal_condition_case (bfun=0x10f79b0 , handlers=58445162, hfun=0x10f754b ) at eval.c:1354 #45 0x010f7a01 in top_level_1 (ignore=58374186) at keyboard.c:1191 #46 0x01180754 in internal_catch (tag=58432330, func=0x10f79cf , arg=58374186) at eval.c:1118 #47 0x010f7933 in command_loop () at keyboard.c:1152 #48 0x010f70e8 in recursive_edit_1 () at keyboard.c:777 #49 0x010f72a4 in Frecursive_edit () at keyboard.c:845 #50 0x010f54a8 in main (argc=1, argv=0x982f78) at emacs.c:1646 Lisp Backtrace: "Automatic GC" (0x153ce7c) "internal-face-x-get-resource" (0x88d938) "set-face-attribute-from-resource" (0x88dc68) "set-face-attributes-from-resources" (0x88df98) "make-face-x-resource-internal" (0x88e2c8) "face-spec-recalc" (0x88e5f8) "byte-code" (0x88e880) "face-set-after-frame-default" (0x88ecf8) "frame-notice-user-settings" (0x88f038) 0x3a9aad8 PVEC_COMPILED "funcall" (0x88f370) "normal-top-level" (0x88f7c0) (gdb) Perfectly repeatable, so if you want me to try anything, just ask. J From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 12:42:32 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 17:42:32 +0000 Received: from localhost ([127.0.0.1]:46914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJnvk-0008PO-6A for submit@debbugs.gnu.org; Sat, 01 Mar 2014 12:42:32 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:24761) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJnvg-0008PF-NI for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 12:42:29 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s21HgRCJ003793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 1 Mar 2014 17:42:27 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s21HgPEx006973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Mar 2014 17:42:26 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s21HgPtj019645; Sat, 1 Mar 2014 17:42:25 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 1 Mar 2014 09:42:26 -0800 (PST) From: Drew Adams To: Eli Zaretskii , Juanma Barranquero Subject: RE: bug#16901: 24.3.50; emacs_backtrace.txt References: <> <> <<83y50uv17m.fsf@gnu.org>> In-Reply-To: <<83y50uv17m.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Or it could be some change in Drew's use patterns, like in the > window/frame configurations and other customizations, which exposed an > extant bug. Or even some changes in the OS and other programs used in > conjunction with Emacs, for that matter. I am not aware of any such changes on my side. Doesn't mean there is definitely not some minor change that I might be overlooking. I'm just not aware of having changed anything. If you like, I can revert to using an older Emacs build, to see if I still get such crashes. Let me know. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 13:26:41 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 18:26:41 +0000 Received: from localhost ([127.0.0.1]:46924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJocT-00019e-Bs for submit@debbugs.gnu.org; Sat, 01 Mar 2014 13:26:41 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:60020) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJocQ-00019R-9o for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 13:26:39 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N1R00400S7AVG00@a-mtaout23.012.net.il> for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 20:26:36 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1R004FNSKBVW00@a-mtaout23.012.net.il>; Sat, 01 Mar 2014 20:26:35 +0200 (IST) Date: Sat, 01 Mar 2014 20:26:29 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <831tylvkq2.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 1 Mar 2014 09:42:26 -0800 (PST) > From: Drew Adams > Cc: dmantipov@yandex.ru, 16901@debbugs.gnu.org > > If you like, I can revert to using an older Emacs build, to see if > I still get such crashes. Not unless you cannot possibly use the latest. Since the build with memory allocation checks is definitely on to something, I don't see a need for downgrading yet; it is much more efficient to try debugging the problems that are flagged to us. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 13:40:22 2014 Received: (at 16901) by debbugs.gnu.org; 1 Mar 2014 18:40:22 +0000 Received: from localhost ([127.0.0.1]:46928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJoph-0001W6-Ub for submit@debbugs.gnu.org; Sat, 01 Mar 2014 13:40:22 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:35044) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJope-0001Vu-QN for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 13:40:19 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s21IeGoc024936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 1 Mar 2014 18:40:17 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s21IeFAJ002157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Mar 2014 18:40:16 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s21IeFj9023370; Sat, 1 Mar 2014 18:40:15 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 1 Mar 2014 10:40:16 -0800 (PST) From: Drew Adams To: Eli Zaretskii Subject: RE: bug#16901: 24.3.50; emacs_backtrace.txt References: <> <<831tylvkq2.fsf@gnu.org>> In-Reply-To: <<831tylvkq2.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > If you like, I can revert to using an older Emacs build, to see if > > I still get such crashes. >=20 > Not unless you cannot possibly use the latest. Since the build with > memory allocation checks is definitely on to something, I don't see a > need for downgrading yet; it is much more efficient to try debugging > the problems that are flagged to us. No, I don't have a problem, in general, with the latest - just those occasional crashes. I'll keep using the latest. Thx. I just downloaded a new build from Juanma (2014-02-28). Will use that. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 14:33:12 2014 Received: (at control) by debbugs.gnu.org; 1 Mar 2014 19:33:12 +0000 Received: from localhost ([127.0.0.1]:46979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJpeq-0002yQ-9c for submit@debbugs.gnu.org; Sat, 01 Mar 2014 14:33:12 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:41054) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJpen-0002yF-BW for control@debbugs.gnu.org; Sat, 01 Mar 2014 14:33:10 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WJpem-0007mB-Q3 for control@debbugs.gnu.org; Sat, 01 Mar 2014 14:33:08 -0500 Date: Sat, 01 Mar 2014 14:33:08 -0500 Message-Id: Subject: control message for bug 16901 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 16899 16901 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 23:17:12 2014 Received: (at 16901) by debbugs.gnu.org; 2 Mar 2014 04:17:12 +0000 Received: from localhost ([127.0.0.1]:47256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJxpv-0001LW-I3 for submit@debbugs.gnu.org; Sat, 01 Mar 2014 23:17:11 -0500 Received: from mail-yh0-f43.google.com ([209.85.213.43]:40890) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJxpt-0001LM-R9 for 16901@debbugs.gnu.org; Sat, 01 Mar 2014 23:17:10 -0500 Received: by mail-yh0-f43.google.com with SMTP id b6so1999273yha.16 for <16901@debbugs.gnu.org>; Sat, 01 Mar 2014 20:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TPG1Eiz1zaOByHV/kAewsf8fJRdF+HrODq89Z+BCLvA=; b=mgbZgoDT6ccMYn/5ryr8nvOP4Q2etGIeU3nIN56qz5pTOSUaX20m3DP/VJ0PoNP6Km 8+RSqdo21mK88dmRx54arVOzdOimY41U+E614OAaOObPSjha8Q1wM2uSdQSXgOOxSHtE qknp8aDMoYUbrMradFAVTayPOQ5Pex3CLQiz40Hzd/crei69eBmZyRPkBcThmF4aWlPI nNNmaiKNGlvv3p1Op5vc/E1Q8tXxqampLbQGt/RHYrYXzc1FatnWI7O+DPvPVS4umpgh 0gDsRGaeolO9q5SiVtWMp6Cb8X6TaBbxKCkTTMuIjkiVsg43tKW/A+I8lJFyxcx4LYyc fjtQ== X-Received: by 10.236.99.38 with SMTP id w26mr13760893yhf.18.1393733829180; Sat, 01 Mar 2014 20:17:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Sat, 1 Mar 2014 20:16:29 -0800 (PST) In-Reply-To: <831tylvkq2.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> From: Juanma Barranquero Date: Sun, 2 Mar 2014 05:16:29 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sat, Mar 1, 2014 at 7:26 PM, Eli Zaretskii wrote: > Not unless you cannot possibly use the latest. Certainly I cannot give Drew a snapshot from trunk built with -DGC_MCHECK=1, because it will likely crash upon starting and, as Drew doesn't run Emacs under GDB, he won't be able to provide us with more information that "mcheck: memory clobbered before allocated block". > it is much more efficient to try debugging > the problems that are flagged to us. If you rebuild gmalloc.c with an added #define GC_MCHECK, do you see the mabort calls too? J From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 02 12:00:46 2014 Received: (at 16901) by debbugs.gnu.org; 2 Mar 2014 17:00:46 +0000 Received: from localhost ([127.0.0.1]:48086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WK9kr-0006HQ-SU for submit@debbugs.gnu.org; Sun, 02 Mar 2014 12:00:46 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:38813) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WK9ko-0006HG-89 for 16901@debbugs.gnu.org; Sun, 02 Mar 2014 12:00:43 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N1T00L00IZJDB00@a-mtaout22.012.net.il> for 16901@debbugs.gnu.org; Sun, 02 Mar 2014 19:00:40 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1T00L5SJ94CH20@a-mtaout22.012.net.il>; Sun, 02 Mar 2014 19:00:40 +0200 (IST) Date: Sun, 02 Mar 2014 19:00:23 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83lhwstu1k.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Sun, 2 Mar 2014 05:16:29 +0100 > Cc: Drew Adams , Dmitry Antipov , 16901@debbugs.gnu.org > > If you rebuild gmalloc.c with an added #define GC_MCHECK, do you see > the mabort calls too? Yes, I see them, and I'm looking into that. Which requires me to wade through some completely obfuscated code first... From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 02 15:45:59 2014 Received: (at 16901) by debbugs.gnu.org; 2 Mar 2014 20:46:00 +0000 Received: from localhost ([127.0.0.1]:48210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKDGp-0004mR-DC for submit@debbugs.gnu.org; Sun, 02 Mar 2014 15:45:59 -0500 Received: from mail-yk0-f170.google.com ([209.85.160.170]:42149) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKDGn-0004mJ-3Y for 16901@debbugs.gnu.org; Sun, 02 Mar 2014 15:45:57 -0500 Received: by mail-yk0-f170.google.com with SMTP id 9so8396485ykp.1 for <16901@debbugs.gnu.org>; Sun, 02 Mar 2014 12:45:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=EOKyhHz8hy2fVqc8X6/ISxdUjUhuYv2FD6It+ggFHYY=; b=VuY+Yc+ybuzXgXbt/eI8OnVoODXfl7nXr2vCDOtRtx1Xk67vUPoeP21rp+cv49cHUv lfbr3BwRQCOqvsb4uZe/piKf3nKt0x/2h3wHrgpUSwF2DW8XRc8zqzFhGKOc9p13Ggwc 0GbMpzlLUNldFIri/bIiedVlm+Z7DCZBW9wWZnLYTB2W2D7mbrUnB9JdJf4isgZJj99i f1GOAfmTlJj6Zj/zai/ursctCaDYhSiWaS+IXvUKk27bl7x9HDBYdKqV5cbHol5o6HkC zSW7ky9EzV2YWZtsLv3kCDkQPYNDYUnE78GQOfWXWihEiya97v40wmBRLvClOJTHvEtc nhHg== X-Received: by 10.236.142.198 with SMTP id i46mr3046936yhj.66.1393793156327; Sun, 02 Mar 2014 12:45:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Sun, 2 Mar 2014 12:45:16 -0800 (PST) In-Reply-To: <83lhwstu1k.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> From: Juanma Barranquero Date: Sun, 2 Mar 2014 21:45:16 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sun, Mar 2, 2014 at 6:00 PM, Eli Zaretskii wrote: > Yes, I see them, and I'm looking into that. Grat. > Which requires me to wade > through some completely obfuscated code first... Oops. Good luck. We'll send a rescue party if you haven't reported back in a couple months... From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 03 11:54:30 2014 Received: (at 16901) by debbugs.gnu.org; 3 Mar 2014 16:54:30 +0000 Received: from localhost ([127.0.0.1]:49306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKW8L-0007ZR-UK for submit@debbugs.gnu.org; Mon, 03 Mar 2014 11:54:30 -0500 Received: from mtaout26.012.net.il ([80.179.55.182]:40517) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKW8G-0007ZF-48 for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 11:54:25 -0500 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N1V00J00DH2S000@mtaout26.012.net.il> for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 18:52:15 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1V00D7KDJ20I70@mtaout26.012.net.il>; Mon, 03 Mar 2014 18:52:15 +0200 (IST) Date: Mon, 03 Mar 2014 18:54:08 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: <83lhwstu1k.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: lekktu@gmail.com Message-id: <83ppm3rznz.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 02 Mar 2014 19:00:23 +0200 > From: Eli Zaretskii > Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru > > > From: Juanma Barranquero > > Date: Sun, 2 Mar 2014 05:16:29 +0100 > > Cc: Drew Adams , Dmitry Antipov , 16901@debbugs.gnu.org > > > > If you rebuild gmalloc.c with an added #define GC_MCHECK, do you see > > the mabort calls too? > > Yes, I see them, and I'm looking into that. Which requires me to wade > through some completely obfuscated code first... I fixed 2 bugs in gmalloc (trunk revision 116643). One of them was in the GC_MCHECK code, but the other could have been triggered in a normal build as well (although a GC_MCHECK build triggered it all the time). In a nutshell, gmalloc didn't cope well with aligned allocations, especially when GC_MCHECK was turned on. The result survived a full bootstrap, where the original code couldn't even get past loading the *.el files into bootstrap-emacs during the initial build of the trunk, and of course the crasher with HELLO reported by Juanma no longer does. So I think this is ready for prime time, and let's hope it will reveal real problems. P.S. The bugs in gmalloc were so glaring that I'd appreciate if someone could eyeball my changes, in case I grossly misunderstood the code. When I see such bugs in such veteran code, I usually question my own sanity. TIA. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 03 12:28:48 2014 Received: (at 16901) by debbugs.gnu.org; 3 Mar 2014 17:28:48 +0000 Received: from localhost ([127.0.0.1]:49359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKWfX-000064-VQ for submit@debbugs.gnu.org; Mon, 03 Mar 2014 12:28:48 -0500 Received: from mail-yk0-f173.google.com ([209.85.160.173]:64026) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKWfU-00005s-Gc for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 12:28:45 -0500 Received: by mail-yk0-f173.google.com with SMTP id 10so11270611ykt.4 for <16901@debbugs.gnu.org>; Mon, 03 Mar 2014 09:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=yxfzHcrTCspD9llrzE/gjX7dytLp5UB+fmDU/w3DdQ8=; b=dqB/4gGdqohBEtp1EZp73OwOkla0MzvQ0a1CS6IiBtOr4k7WZDXUwUtQxMR/BhvQMG GMKPAWl7+eVOoc6NS34JYdhCpLxGOcECzkmwKpQkBjzC9+hvSHYIQYAHGayL8dr6vqXG OGDE4Z5hsuE/O9wvzHHwjGLR4geR+iKA5H94E7Z9XOAKdv/PNktHCNZoMRTT92ihwSVy yUqguPnn+Rg4D9vstQXehM8VRM1nF7oc3WSkL/MUG60rQprzRFhaKPh3RlNl1+hCHPst a/ehXODqbtd9TG/6x8tAIe5NPvdwXEQFs7hApUhizW9/3RP+p4TjQyf3rhZZCWRku5rj iGuA== X-Received: by 10.236.74.73 with SMTP id w49mr2810233yhd.87.1393867723931; Mon, 03 Mar 2014 09:28:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Mon, 3 Mar 2014 09:28:03 -0800 (PST) In-Reply-To: <83ppm3rznz.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 3 Mar 2014 18:28:03 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Mar 3, 2014 at 5:54 PM, Eli Zaretskii wrote: > The result survived a full bootstrap, where the original code couldn't > even get past loading the *.el files into bootstrap-emacs during the > initial build of the trunk, and of course the crasher with HELLO > reported by Juanma no longer does. I'm bootstrapping trunk now with #define GC_MCHECK (I add it directly to gmalloc.c instead of going the configure route because it is easier to turn it off later ;-) If everything goes fine, I'll build a GC_MCHECK snapshot for Drew. > When I see such bugs in such veteran code, I usually question > my own sanity. I would question how much that code has been used (for the bug in GC_MCHECK code); as for the other, it surely has been giving us grief for years, but not in a consistent enough way. Until now. J From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 03 12:43:15 2014 Received: (at 16901) by debbugs.gnu.org; 3 Mar 2014 17:43:16 +0000 Received: from localhost ([127.0.0.1]:49368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKWtX-0000XH-KW for submit@debbugs.gnu.org; Mon, 03 Mar 2014 12:43:15 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:56875) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKWtV-0000X7-0U for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 12:43:14 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N1V00B00FS2UI00@a-mtaout20.012.net.il> for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 19:43:11 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1V00BNCFVYC1A0@a-mtaout20.012.net.il>; Mon, 03 Mar 2014 19:43:11 +0200 (IST) Date: Mon, 03 Mar 2014 19:42:57 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83ob1nrxem.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Mon, 3 Mar 2014 18:28:03 +0100 > Cc: 16901@debbugs.gnu.org, Dmitry Antipov > > > When I see such bugs in such veteran code, I usually question > > my own sanity. > > I would question how much that code has been used (for the bug in > GC_MCHECK code); as for the other, it surely has been giving us grief > for years, but not in a consistent enough way. Until now. I think we rarely, if ever, get unaligned blocks in a production build. The bug only shows when malloc returns a 16KB block whose alignment is not a multiple of 1K. A GC_MCHECK build does that all the time, because it reserves the first 8 bytes of every block for a hidden header. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 03 12:57:52 2014 Received: (at 16901) by debbugs.gnu.org; 3 Mar 2014 17:57:52 +0000 Received: from localhost ([127.0.0.1]:49374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKX7f-0000ue-W4 for submit@debbugs.gnu.org; Mon, 03 Mar 2014 12:57:52 -0500 Received: from mail-yk0-f176.google.com ([209.85.160.176]:43651) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKX7e-0000uW-2x for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 12:57:50 -0500 Received: by mail-yk0-f176.google.com with SMTP id 19so11359427ykq.7 for <16901@debbugs.gnu.org>; Mon, 03 Mar 2014 09:57:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SZYTsVqPF1HnOBGZW20LpSFp5LQnyq3Zcy5zRD90N64=; b=G3SIBygcbI+Uf7zx3i3bYPgWpUNCpDg7G1HLfvgNOhcl5Ro7E83ceSf6MakX3Py5Hj zb9nsXwoyvy5oCLHvKC2DpgQspDcOZgowpYoJetWJsDMwo/1uWAMF+YfR0D2THoWz7cp 9FSv+0YFYgxWvip42X7PesEQoPMUIV71Nj6WRx49VgyxD33QKmo5uDobZIrukzTr6rI1 HlT4A4R0KW7kegJuGny6LeKy1+VUyxN0xaXHNdPt6eTqQayPy2ZnoRVtAmZYS6mf3cxw GFFpTTwLyEnYe2vGP4ok+NOaI5B7bOgBXP+7WP8S8Xu9jD8BdCeudWbZqK/jYvTz1KX/ NhFg== X-Received: by 10.236.82.226 with SMTP id o62mr3083443yhe.90.1393869469331; Mon, 03 Mar 2014 09:57:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Mon, 3 Mar 2014 09:57:09 -0800 (PST) In-Reply-To: <83ob1nrxem.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> <83ob1nrxem.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 3 Mar 2014 18:57:09 +0100 Message-ID: Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, Dmitry Antipov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Mar 3, 2014 at 6:42 PM, Eli Zaretskii wrote: > The bug only shows when malloc returns a 16KB block whose > alignment is not a multiple of 1K. That's perhaps the reason the GC crashes were so rare. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 03 18:19:59 2014 Received: (at 16901) by debbugs.gnu.org; 3 Mar 2014 23:19:59 +0000 Received: from localhost ([127.0.0.1]:49489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKc9O-0000wZ-W2 for submit@debbugs.gnu.org; Mon, 03 Mar 2014 18:19:59 -0500 Received: from limerock01.mail.cornell.edu ([128.84.12.99]:38853) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKc9L-0000wP-Pp for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 18:19:56 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id s23NJsNe005343; Mon, 3 Mar 2014 18:19:55 -0500 Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id s23NJqAr001138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 3 Mar 2014 18:19:54 -0500 Message-ID: <53150E29.7080504@cornell.edu> Date: Mon, 03 Mar 2014 18:20:09 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Eli Zaretskii , lekktu@gmail.com Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> In-Reply-To: <83ppm3rznz.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 3/3/2014 11:54 AM, Eli Zaretskii wrote: > P.S. The bugs in gmalloc were so glaring that I'd appreciate if > someone could eyeball my changes, in case I grossly misunderstood the > code. When I see such bugs in such veteran code, I usually question > my own sanity. TIA. I may be misunderstanding the code too, but I don't think your fix to aligned_alloc is quite right. If adj == 0 in line 1596, then we've allocated much more memory than we needed, and the next call to malloc (line 1602) allocates even more. And if adj == 1 in line 1596, then we've allocated exactly as much memory as we needed, so there's no need to call malloc again in line 1602. Ken From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 03 22:45:29 2014 Received: (at 16901) by debbugs.gnu.org; 4 Mar 2014 03:45:29 +0000 Received: from localhost ([127.0.0.1]:49696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKgIK-00087t-PJ for submit@debbugs.gnu.org; Mon, 03 Mar 2014 22:45:29 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:51848) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKgID-00087f-GL for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 22:45:23 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N1W009007DU2300@a-mtaout21.012.net.il> for 16901@debbugs.gnu.org; Tue, 04 Mar 2014 05:45:19 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1W0085P7RJQU80@a-mtaout21.012.net.il>; Tue, 04 Mar 2014 05:45:19 +0200 (IST) Date: Tue, 04 Mar 2014 05:45:06 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: <53150E29.7080504@cornell.edu> X-012-Sender: halo1@inter.net.il To: Ken Brown Message-id: <83iorusk3h.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> <53150E29.7080504@cornell.edu> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 03 Mar 2014 18:20:09 -0500 > From: Ken Brown > CC: 16901@debbugs.gnu.org, dmantipov@yandex.ru > > If adj == 0 in line 1596, then we've allocated much more memory than > we needed, and the next call to malloc (line 1602) allocates even > more. And if adj == 1 in line 1596, then we've allocated exactly as > much memory as we needed, so there's no need to call malloc again in > line 1602. Thanks for reviewing. These are further optimizations, and can (and probably should) be done in separate commits. But you aren't saying that the previous code was correct, are you? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 09:23:56 2014 Received: (at 16901) by debbugs.gnu.org; 4 Mar 2014 14:23:56 +0000 Received: from localhost ([127.0.0.1]:49891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKqGB-0001HV-6o for submit@debbugs.gnu.org; Tue, 04 Mar 2014 09:23:55 -0500 Received: from limerock01.mail.cornell.edu ([128.84.12.99]:42624) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKqG8-0001HM-0W for 16901@debbugs.gnu.org; Tue, 04 Mar 2014 09:23:52 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id s24ENouR010072; Tue, 4 Mar 2014 09:23:51 -0500 Received: from [192.168.1.5] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id s24ENnGo028277 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 4 Mar 2014 09:23:50 -0500 Message-ID: <5315E1EB.8060404@cornell.edu> Date: Tue, 04 Mar 2014 09:23:39 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> <53150E29.7080504@cornell.edu> <83iorusk3h.fsf@gnu.org> In-Reply-To: <83iorusk3h.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 3/3/2014 10:45 PM, Eli Zaretskii wrote: >> Date: Mon, 03 Mar 2014 18:20:09 -0500 >> From: Ken Brown >> CC: 16901@debbugs.gnu.org, dmantipov@yandex.ru >> >> If adj == 0 in line 1596, then we've allocated much more memory than >> we needed, and the next call to malloc (line 1602) allocates even >> more. And if adj == 1 in line 1596, then we've allocated exactly as >> much memory as we needed, so there's no need to call malloc again in >> line 1602. > > Thanks for reviewing. > > These are further optimizations, and can (and probably should) be done > in separate commits. But you aren't saying that the previous code was > correct, are you? No, I think it was clearly wrong. By accident, however, it probably worked most of the time and didn't waste memory, since adj is usually 0. When/if you do the optimizations I suggested, I think it would clarify the code if `adj' were used to represent the actual adjustment needed, something like this: adj = (uintptr_t) alignment - result % alignment; if (adj == alignment) adj = 0; Ken From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 12:37:33 2014 Received: (at 16901) by debbugs.gnu.org; 4 Mar 2014 17:37:34 +0000 Received: from localhost ([127.0.0.1]:50578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKtHY-0001er-90 for submit@debbugs.gnu.org; Tue, 04 Mar 2014 12:37:32 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:59713) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKtHU-0001eh-2L for 16901@debbugs.gnu.org; Tue, 04 Mar 2014 12:37:29 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N1X00J009T19D00@a-mtaout23.012.net.il> for 16901@debbugs.gnu.org; Tue, 04 Mar 2014 19:37:26 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1X00JOPAAE8K30@a-mtaout23.012.net.il>; Tue, 04 Mar 2014 19:37:26 +0200 (IST) Date: Tue, 04 Mar 2014 19:37:15 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: <5315E1EB.8060404@cornell.edu> X-012-Sender: halo1@inter.net.il To: Ken Brown Message-id: <8361ntsw50.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> <53150E29.7080504@cornell.edu> <83iorusk3h.fsf@gnu.org> <5315E1EB.8060404@cornell.edu> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 04 Mar 2014 09:23:39 -0500 > From: Ken Brown > CC: lekktu@gmail.com, 16901@debbugs.gnu.org, dmantipov@yandex.ru > > On 3/3/2014 10:45 PM, Eli Zaretskii wrote: > >> Date: Mon, 03 Mar 2014 18:20:09 -0500 > >> From: Ken Brown > >> CC: 16901@debbugs.gnu.org, dmantipov@yandex.ru > >> > >> If adj == 0 in line 1596, then we've allocated much more memory than > >> we needed, and the next call to malloc (line 1602) allocates even > >> more. And if adj == 1 in line 1596, then we've allocated exactly as > >> much memory as we needed, so there's no need to call malloc again in > >> line 1602. > > > > Thanks for reviewing. > > > > These are further optimizations, and can (and probably should) be done > > in separate commits. Now done in trunk revision 16661. > > But you aren't saying that the previous code was correct, are you? > > No, I think it was clearly wrong. By accident, however, it probably > worked most of the time and didn't waste memory, since adj is usually 0. Yes, when the initial allocation was already aligned, it worked OK. > When/if you do the optimizations I suggested, I think it would clarify > the code if `adj' were used to represent the actual adjustment needed, > something like this: > > adj = (uintptr_t) alignment - result % alignment; > if (adj == alignment) > adj = 0; I didn't make this change, but feel free to follow up. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 04 14:04:33 2014 Received: (at 16901) by debbugs.gnu.org; 4 Mar 2014 19:04:33 +0000 Received: from localhost ([127.0.0.1]:50681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKudk-0005E7-Vx for submit@debbugs.gnu.org; Tue, 04 Mar 2014 14:04:33 -0500 Received: from limerock01.mail.cornell.edu ([128.84.12.99]:51149) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKudi-0005Dw-P6 for 16901@debbugs.gnu.org; Tue, 04 Mar 2014 14:04:31 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id s24J4Tpo000486; Tue, 4 Mar 2014 14:04:29 -0500 Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id s24J4Rwh000410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 4 Mar 2014 14:04:28 -0500 Message-ID: <531623CD.7060807@cornell.edu> Date: Tue, 04 Mar 2014 14:04:45 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> <83ppm3rznz.fsf@gnu.org> <53150E29.7080504@cornell.edu> <83iorusk3h.fsf@gnu.org> <5315E1EB.8060404@cornell.edu> <8361ntsw50.fsf@gnu.org> In-Reply-To: <8361ntsw50.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 3/4/2014 12:37 PM, Eli Zaretskii wrote: >> Date: Tue, 04 Mar 2014 09:23:39 -0500 > I didn't make this change, but feel free to follow up. Done as trunk revision 116662. Ken From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 20 14:31:28 2014 Received: (at 16901) by debbugs.gnu.org; 20 Mar 2014 18:31:28 +0000 Received: from localhost ([127.0.0.1]:42640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WQhkW-000093-4k for submit@debbugs.gnu.org; Thu, 20 Mar 2014 14:31:28 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:33170) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WQhkS-00008s-Qy for 16901@debbugs.gnu.org; Thu, 20 Mar 2014 14:31:26 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N2Q00L00ZE2V100@a-mtaout23.012.net.il> for 16901@debbugs.gnu.org; Thu, 20 Mar 2014 20:31:23 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2Q00LYNZGBSO50@a-mtaout23.012.net.il>; Thu, 20 Mar 2014 20:31:23 +0200 (IST) Date: Thu, 20 Mar 2014 20:31:37 +0200 From: Eli Zaretskii Subject: Re: bug#16901: 24.3.50; emacs_backtrace.txt In-reply-to: <5310AEEE.4070005@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Antipov Message-id: <83lhw47md2.fsf@gnu.org> References: <5d9f431d-d0c3-4cfa-b9e5-07cdf6718d5a@default> <83mwhbwm9j.fsf@gnu.org> <53107F45.3060502@yandex.ru> <83d2i7wbyc.fsf@gnu.org> <5310AEEE.4070005@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16901 Cc: 16901@debbugs.gnu.org, lekktu@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 28 Feb 2014 19:44:46 +0400 > From: Dmitry Antipov > Cc: 16901@debbugs.gnu.org, lekktu@gmail.com, > Emacs development discussions > > Now I have two crash reports to make me worry about GC. Both are > irregular and looks hard to reproduce: > > - this bug (crash in compact_small_strings, MS-Windows only (?)) > > - http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16817#11 - crash > marking C stack, OSX-only (?) > > These crashes may be originated by the same bug (probably irregular > heap corruption). It's known that GC-related crashes may be caused > by freeing fonts during gc_sweep; this is > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16069, but it should > not affect MS-Windows and OSX (and hopefully I'll fix it soon). > > On GNU/Linux, valgrind makes great job in finding memory-related > errors; if there are similar tools for other platforms, it would > be nice to try. I've run Emacs on Windows under Dr. Memory (http://www.drmemory.org/), but saw nothing appropriate. However, there's no reproducer, so it's hard to know if I did what was needed. Perhaps you could come up with a function to execute compact_small_strings, then I'd run that and see what I get. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 08:40:16 2015 Received: (at control) by debbugs.gnu.org; 26 Dec 2015 13:40:16 +0000 Received: from localhost ([127.0.0.1]:37134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCp4x-00018R-Ut for submit@debbugs.gnu.org; Sat, 26 Dec 2015 08:40:16 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:44282) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCp4w-00018J-LK for control@debbugs.gnu.org; Sat, 26 Dec 2015 08:40:14 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCp4Z-0007in-Qk for control@debbugs.gnu.org; Sat, 26 Dec 2015 14:39:51 +0100 Date: Sat, 26 Dec 2015 14:39:51 +0100 Message-Id: <878u4h2us8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16899 X-MailScanner-ID: 1aCp4Z-0007in-Qk X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451741994.43549@zMEU1MgksV3hjkg/nPvQ7Q X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) close 16899 From unknown Wed Jun 18 23:06:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 Jan 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator