From unknown Sat Aug 16 00:33:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33073: 27.0.50; Fatal error when comparing threads with 'equal' Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Oct 2018 04:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 33073@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15397523318281 (code B ref -1); Wed, 17 Oct 2018 04:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2018 04:58:51 +0000 Received: from localhost ([127.0.0.1]:54297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCdv0-00029U-HI for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCduy-00029D-83 for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCduq-0005En-Lg for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47168) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gCdup-0005Db-6a for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCdun-0002Gm-Pc for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 00:58:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCduj-00059k-BX for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 00:58:37 -0400 Received: from aibo.runbox.com ([91.220.196.211]:54558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCduj-000577-05 for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 00:58:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=Fj3mUsBIk5Na6TKfriJSNkIjvCdbl/pma5GuW3fI+Pg=; b=UVaQX64mYoV5BOWGUX05MDnzy G5RD3V1pm+QuWJImQ+MN/9mWksnjMbN52ti17I0F9g2SWlIzQd+2i3H9r/fkBbV1I0MGkylc9RgKY 4yx6svkXSrAEMe6YuhLKH0bJ8WKHFy7pU5uw0JKuvfrJvcL/IqKnCLcGgNxgvJSdvoYvk3I6g61+V Z+SR/Ar3MzLBrP5Q0Z2vabf0rdVZ5t9NsQxzvtpUqVAfwdLAYRixXZhoXWBVpqbFN3OUxeVPg5LlA qRIPkw6+9U6vA7MdAi8UBWYfYCfIGaVH5UAqaFKlIe/xwnZGZ18BGieloaWvA0K2Qy5lFlGn/BAaL MKrUeJkOg==; Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gCduh-0006gA-9K for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 06:58:31 +0200 Received: by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1gCduY-0002qB-Qc for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 06:58:24 +0200 From: Gemini Lasswell Date: Tue, 16 Oct 2018 21:58:20 -0700 Message-ID: <875zy1cgpf.fsf@runbox.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -5.1 (-----) When Emacs is configured with assertions, it fails at one when using 'equal' to compare main-thread to another thread. The configure flags which I am using are: --enable-checking=yes,glyphs --enable-check-lisp-object-type To reproduce: >From emacs -Q, enter the following code into *scratch* and then M-x eval-buffer RET: (defun my-func () (while t (sleep-for 10))) (setq my-t (make-thread 'my-func)) (equal main-thread my-t) Result: lisp.h:1548: Emacs fatal error: assertion failed: 0 <= size Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:369 369 { (gdb) bt #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:369 #1 0x00000000005a7259 in die (msg=msg@entry=0x678e84 "0 <= size", file=file@entry=0x678da5 "lisp.h", line=line@entry=1548) at alloc.c:7094 #2 0x0000000000536bda in ASIZE (array=...) at lisp.h:1548 #3 0x00000000005dbb18 in internal_equal (o1=XIL(0xd73485), o2=XIL(0x15dfc35), equal_kind=equal_kind@entry=EQUAL_PLAIN, depth=depth@entry=0, ht=..., ht@entry=XIL(0)) at fns.c:2422 #4 0x00000000005dc163 in Fequal (o1=..., o2=...) at fns.c:2314 #5 0x00000000005cd6e6 in eval_sub (form=...) at eval.c:2327 #6 0x00000000005f6d60 in readevalloop_eager_expand_eval (val=..., val@entry=XIL(0x4302393), macroexpand=macroexpand@entry=XIL(0xe3130)) at lread.c:1903 #7 0x00000000005fd0c5 in readevalloop ( readcharfun=readcharfun@entry=XIL(0xde3805), infile0=infile0@entry=0x0, sourcename=..., sourcename@entry=XIL(0), printflag=false, unibyte=..., unibyte@entry=XIL(0), readfun=..., readfun@entry=XIL(0), start=XIL(0), end=...) at lread.c:2089 #8 0x00000000005fe749 in Feval_buffer (buffer=..., printflag=XIL(0), filename=XIL(0), unibyte=..., do_allow_print=...) at lread.c:2156 #9 0x00000000005cc5b3 in funcall_subr (subr=0xcd9480 , numargs=numargs@entry=0, args=args@entry=0x7fff2cf3c450) at eval.c:2946 #10 0x00000000005ca771 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fff2cf3c448) at eval.c:2859 #11 0x00000000005c6653 in Ffuncall_interactively (nargs=1, args=0x7fff2cf3c448) at callint.c:253 #12 0x00000000005ca771 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fff2cf3c440) at eval.c:2859 #13 0x00000000005c7dd9 in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:781 #14 0x00000000005cc5d7 in funcall_subr (subr=0xcd6100 , numargs=numargs@entry=3, args=args@entry=0x7fff2cf3c700) at eval.c:2939 #15 0x00000000005ca771 in Ffuncall (nargs=4, args=args@entry=0x7fff2cf3c6f8) at eval.c:2859 #16 0x0000000000611f00 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x9c69e8 ) at bytecode.c:632 #17 0x00000000005cde82 in funcall_lambda (fun=XIL(0x7fff2cf3c6f8), nargs=nargs@entry=2, arg_vector=0x9c69e8 , arg_vector@entry=0x7fff2cf3c9e8) at eval.c:3060 #18 0x00000000005ca65b in Ffuncall (nargs=3, args=args@entry=0x7fff2cf3c9e0) at eval.c:2873 #19 0x0000000000611f00 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=3, args=, args@entry=0x9c6698 ) at bytecode.c:632 #20 0x00000000005cde82 in funcall_lambda (fun=XIL(0x7fff2cf3c9e0), nargs=nargs@entry=3, arg_vector=0x9c6698 , arg_vector@entry=0x7fff2cf3cdd0) at eval.c:3060 #21 0x00000000005ca65b in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fff2cf3cdc8) at eval.c:2873 #22 0x00000000005c6653 in Ffuncall_interactively (nargs=4, args=0x7fff2cf3cdc8) at callint.c:253 #23 0x00000000005ca771 in Ffuncall (nargs=nargs@entry=5, args=0x7fff2cf3cdc0) at eval.c:2859 #24 0x00000000005caa3a in Fapply (nargs=nargs@entry=3, args=args@entry=0x7fff2cf3cf70) at eval.c:2479 #25 0x00000000005c6de1 in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:340 #26 0x00000000005cc5d7 in funcall_subr (subr=0xcd6100 , numargs=numargs@entry=3, args=args@entry=0x7fff2cf3d100) at eval.c:2939 #27 0x00000000005ca771 in Ffuncall (nargs=4, args=args@entry=0x7fff2cf3d0f8) at eval.c:2859 #28 0x0000000000611f00 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=1, args=, args@entry=0x9c69e8 ) at bytecode.c:632 #29 0x00000000005cde82 in funcall_lambda (fun=XIL(0x7fff2cf3d0f8), nargs=nargs@entry=1, arg_vector=0x9c69e8 , arg_vector@entry=0x7fff2cf3d3b8) at eval.c:3060 #30 0x00000000005ca65b in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fff2cf3d3b0) at eval.c:2873 #31 0x00000000005ca83a in call1 (fn=..., fn@entry=XIL(0x3ff0), arg1=...) at eval.c:2710 #32 0x000000000054f597 in command_loop_1 () at keyboard.c:1451 #33 0x00000000005c975f in internal_condition_case ( bfun=bfun@entry=0x54f080 , handlers=..., handlers@entry=XIL(0x53a0), hfun=hfun@entry=0x541d60 ) at eval.c:1373 #34 0x000000000053db88 in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1079 #35 0x00000000005c9683 in internal_catch (tag=..., func=func@entry=0x53db60 , arg=..., arg@entry=XIL(0)) at eval.c:1136 #36 0x000000000053ddeb in command_loop () at keyboard.c:1058 #37 0x0000000000541864 in recursive_edit_1 () at keyboard.c:703 #38 0x0000000000541c23 in Frecursive_edit () at keyboard.c:774 #39 0x000000000041e727 in main (argc=, argv=) at emacs.c:1731 Lisp Backtrace: "equal" (0x2cf3c120) "eval-buffer" (0x2cf3c450) "funcall-interactively" (0x2cf3c448) "call-interactively" (0x2cf3c700) "command-execute" (0x2cf3c9e8) "execute-extended-command" (0x2cf3cdd0) "funcall-interactively" (0x2cf3cdc8) "call-interactively" (0x2cf3d100) "command-execute" (0x2cf3d3b8) (gdb) p main_thread.header $1 = { size = -4611686018091843576 } (gdb) p all_threads->header $2 = { size = 4611686018763149320 } (gdb) p/x main_thread.header $3 = { size = 0xc000000014000008 } (gdb) p/x all_threads->header $4 = { size = 0x4000000014035008 } In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-10-16 built on sockeye Repository revision: e64065bbbd21b7136a7a4efb4b0f2f39a65905dd Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: NixOS 18.09.git.ad56635 (Jellyfish) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/home/gem/src/emacs/master/bin --with-modules --with-x-toolkit=gtk3 --with-xft --config-cache --enable-checking=yes,glyphs --enable-check-lisp-object-type' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS GMP Important settings: value of $EMACSLOADPATH: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded 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 threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 94825 10040) (symbols 48 20044 1) (strings 32 28460 1827) (string-bytes 1 811220) (vectors 16 14265) (vector-slots 8 504082 12778) (floats 8 47 70) (intervals 56 213 0) (buffers 992 11)) From unknown Sat Aug 16 00:33:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33073: 27.0.50; Fatal error when comparing threads with 'equal' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Oct 2018 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gemini Lasswell Cc: 33073@debbugs.gnu.org Received: via spool by 33073-submit@debbugs.gnu.org id=B33073.153978970517629 (code B ref 33073); Wed, 17 Oct 2018 15:22:02 +0000 Received: (at 33073) by debbugs.gnu.org; 17 Oct 2018 15:21:45 +0000 Received: from localhost ([127.0.0.1]:55493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCndp-0004aH-0h for submit@debbugs.gnu.org; Wed, 17 Oct 2018 11:21:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCndk-0004Zz-Tz for 33073@debbugs.gnu.org; Wed, 17 Oct 2018 11:21:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCndW-0005zS-68 for 33073@debbugs.gnu.org; Wed, 17 Oct 2018 11:21:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCndL-0005in-Fi; Wed, 17 Oct 2018 11:21:17 -0400 Received: from [176.228.60.248] (port=2185 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gCndL-00038B-7z; Wed, 17 Oct 2018 11:21:15 -0400 Date: Wed, 17 Oct 2018 18:21:11 +0300 Message-Id: <83efcosioo.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <875zy1cgpf.fsf@runbox.com> (message from Gemini Lasswell on Tue, 16 Oct 2018 21:58:20 -0700) References: <875zy1cgpf.fsf@runbox.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -6.0 (------) > From: Gemini Lasswell > Date: Tue, 16 Oct 2018 21:58:20 -0700 > > When Emacs is configured with assertions, it fails at one when using > 'equal' to compare main-thread to another thread. The configure flags > which I am using are: > > --enable-checking=yes,glyphs --enable-check-lisp-object-type > > To reproduce: > > >From emacs -Q, enter the following code into *scratch* and > then M-x eval-buffer RET: > > (defun my-func () (while t (sleep-for 10))) > (setq my-t (make-thread 'my-func)) > (equal main-thread my-t) > > Result: > > lisp.h:1548: Emacs fatal error: assertion failed: 0 <= size Thanks, should be fixed now. From unknown Sat Aug 16 00:33:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33073: 27.0.50; Fatal error when comparing threads with 'equal' Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Oct 2018 00:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 33073@debbugs.gnu.org Received: via spool by 33073-submit@debbugs.gnu.org id=B33073.153990865629713 (code B ref 33073); Fri, 19 Oct 2018 00:25:01 +0000 Received: (at 33073) by debbugs.gnu.org; 19 Oct 2018 00:24:16 +0000 Received: from localhost ([127.0.0.1]:57715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDIaO-0007jB-9e for submit@debbugs.gnu.org; Thu, 18 Oct 2018 20:24:16 -0400 Received: from aibo.runbox.com ([91.220.196.211]:50740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDIaM-0007j3-RD for 33073@debbugs.gnu.org; Thu, 18 Oct 2018 20:24:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From; bh=v2oXzhoe5X6wYXOv3vKgvUd33t7SGk4Z3ia+tyThaZQ=; b=hKqjCQz/7VLtsRVIyilpIOtyzo iheOjJkXmzbcTPmyHJBoEA+IyasXzouxWOjzOHDRZK5jAdw9BydbJqe8zOtTo+Arnu6CcT+rjENv7 nniWXDBwQym20XEdNrykLvOuIljl1JboNSH4CZjkaD3dV7ayUV9lKE4rwzphGSgcjO08nd84xg+Ga 9NV3JWye9XvcAN5F7REOsnq4jS0iplP09LL+0DuK020sncABoc+glUmVfnnB/jEu9BQptj5Yl5ctu StrvSWV5LS8FxoqvWIhja7/h7EZiCFP6hl+He9311BC8m/9DjN/serzKUQ1usdOuEw37IxTwxf3vS jpowy3qQ==; Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gDIaM-00055N-8M; Fri, 19 Oct 2018 02:24:14 +0200 Received: by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1gDIa5-0003Il-U9; Fri, 19 Oct 2018 02:23:58 +0200 From: Gemini Lasswell References: <875zy1cgpf.fsf@runbox.com> <83efcosioo.fsf@gnu.org> Date: Thu, 18 Oct 2018 17:23:56 -0700 In-Reply-To: <83efcosioo.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 Oct 2018 18:21:11 +0300") Message-ID: <87sh12bx7n.fsf@runbox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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: -1.7 (-) Eli Zaretskii writes: > Thanks, should be fixed now. Yes, it's fixed. From unknown Sat Aug 16 00:33:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Gemini Lasswell Subject: bug#33073: closed (Re: bug#33073: 27.0.50; Fatal error when comparing threads with 'equal') Message-ID: References: <8336t2qw6d.fsf@gnu.org> <875zy1cgpf.fsf@runbox.com> X-Gnu-PR-Message: they-closed 33073 X-Gnu-PR-Package: emacs Reply-To: 33073@debbugs.gnu.org Date: Fri, 19 Oct 2018 06:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1539931082-23352-1" This is a multi-part message in MIME format... ------------=_1539931082-23352-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #33073: 27.0.50; Fatal error when comparing threads with 'equal' which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 33073@debbugs.gnu.org. --=20 33073: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33073 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1539931082-23352-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 33073-done) by debbugs.gnu.org; 19 Oct 2018 06:37:48 +0000 Received: from localhost ([127.0.0.1]:58046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDOPs-00064F-8e for submit@debbugs.gnu.org; Fri, 19 Oct 2018 02:37:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDOPq-000643-Jp for 33073-done@debbugs.gnu.org; Fri, 19 Oct 2018 02:37:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDOPg-0006g1-Eu for 33073-done@debbugs.gnu.org; Fri, 19 Oct 2018 02:37:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDOPg-0006ff-7m; Fri, 19 Oct 2018 02:37:36 -0400 Received: from [176.228.60.248] (port=1350 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gDOPf-0001My-QQ; Fri, 19 Oct 2018 02:37:36 -0400 Date: Fri, 19 Oct 2018 09:37:14 +0300 Message-Id: <8336t2qw6d.fsf@gnu.org> From: Eli Zaretskii To: Gemini Lasswell In-reply-to: <87sh12bx7n.fsf@runbox.com> (message from Gemini Lasswell on Thu, 18 Oct 2018 17:23:56 -0700) Subject: Re: bug#33073: 27.0.50; Fatal error when comparing threads with 'equal' References: <875zy1cgpf.fsf@runbox.com> <83efcosioo.fsf@gnu.org> <87sh12bx7n.fsf@runbox.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33073-done Cc: 33073-done@debbugs.gnu.org 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: -6.0 (------) > From: Gemini Lasswell > Cc: 33073@debbugs.gnu.org > Date: Thu, 18 Oct 2018 17:23:56 -0700 > > Eli Zaretskii writes: > > > Thanks, should be fixed now. > > Yes, it's fixed. Thanks, closing. ------------=_1539931082-23352-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Oct 2018 04:58:51 +0000 Received: from localhost ([127.0.0.1]:54297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCdv0-00029U-HI for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCduy-00029D-83 for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCduq-0005En-Lg for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47168) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gCdup-0005Db-6a for submit@debbugs.gnu.org; Wed, 17 Oct 2018 00:58:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCdun-0002Gm-Pc for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 00:58:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCduj-00059k-BX for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 00:58:37 -0400 Received: from aibo.runbox.com ([91.220.196.211]:54558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCduj-000577-05 for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 00:58:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=Fj3mUsBIk5Na6TKfriJSNkIjvCdbl/pma5GuW3fI+Pg=; b=UVaQX64mYoV5BOWGUX05MDnzy G5RD3V1pm+QuWJImQ+MN/9mWksnjMbN52ti17I0F9g2SWlIzQd+2i3H9r/fkBbV1I0MGkylc9RgKY 4yx6svkXSrAEMe6YuhLKH0bJ8WKHFy7pU5uw0JKuvfrJvcL/IqKnCLcGgNxgvJSdvoYvk3I6g61+V Z+SR/Ar3MzLBrP5Q0Z2vabf0rdVZ5t9NsQxzvtpUqVAfwdLAYRixXZhoXWBVpqbFN3OUxeVPg5LlA qRIPkw6+9U6vA7MdAi8UBWYfYCfIGaVH5UAqaFKlIe/xwnZGZ18BGieloaWvA0K2Qy5lFlGn/BAaL MKrUeJkOg==; Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gCduh-0006gA-9K for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 06:58:31 +0200 Received: by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1gCduY-0002qB-Qc for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 06:58:24 +0200 From: Gemini Lasswell To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Fatal error when comparing threads with 'equal' Date: Tue, 16 Oct 2018 21:58:20 -0700 Message-ID: <875zy1cgpf.fsf@runbox.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit 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: -5.1 (-----) When Emacs is configured with assertions, it fails at one when using 'equal' to compare main-thread to another thread. The configure flags which I am using are: --enable-checking=yes,glyphs --enable-check-lisp-object-type To reproduce: >From emacs -Q, enter the following code into *scratch* and then M-x eval-buffer RET: (defun my-func () (while t (sleep-for 10))) (setq my-t (make-thread 'my-func)) (equal main-thread my-t) Result: lisp.h:1548: Emacs fatal error: assertion failed: 0 <= size Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:369 369 { (gdb) bt #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:369 #1 0x00000000005a7259 in die (msg=msg@entry=0x678e84 "0 <= size", file=file@entry=0x678da5 "lisp.h", line=line@entry=1548) at alloc.c:7094 #2 0x0000000000536bda in ASIZE (array=...) at lisp.h:1548 #3 0x00000000005dbb18 in internal_equal (o1=XIL(0xd73485), o2=XIL(0x15dfc35), equal_kind=equal_kind@entry=EQUAL_PLAIN, depth=depth@entry=0, ht=..., ht@entry=XIL(0)) at fns.c:2422 #4 0x00000000005dc163 in Fequal (o1=..., o2=...) at fns.c:2314 #5 0x00000000005cd6e6 in eval_sub (form=...) at eval.c:2327 #6 0x00000000005f6d60 in readevalloop_eager_expand_eval (val=..., val@entry=XIL(0x4302393), macroexpand=macroexpand@entry=XIL(0xe3130)) at lread.c:1903 #7 0x00000000005fd0c5 in readevalloop ( readcharfun=readcharfun@entry=XIL(0xde3805), infile0=infile0@entry=0x0, sourcename=..., sourcename@entry=XIL(0), printflag=false, unibyte=..., unibyte@entry=XIL(0), readfun=..., readfun@entry=XIL(0), start=XIL(0), end=...) at lread.c:2089 #8 0x00000000005fe749 in Feval_buffer (buffer=..., printflag=XIL(0), filename=XIL(0), unibyte=..., do_allow_print=...) at lread.c:2156 #9 0x00000000005cc5b3 in funcall_subr (subr=0xcd9480 , numargs=numargs@entry=0, args=args@entry=0x7fff2cf3c450) at eval.c:2946 #10 0x00000000005ca771 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fff2cf3c448) at eval.c:2859 #11 0x00000000005c6653 in Ffuncall_interactively (nargs=1, args=0x7fff2cf3c448) at callint.c:253 #12 0x00000000005ca771 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fff2cf3c440) at eval.c:2859 #13 0x00000000005c7dd9 in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:781 #14 0x00000000005cc5d7 in funcall_subr (subr=0xcd6100 , numargs=numargs@entry=3, args=args@entry=0x7fff2cf3c700) at eval.c:2939 #15 0x00000000005ca771 in Ffuncall (nargs=4, args=args@entry=0x7fff2cf3c6f8) at eval.c:2859 #16 0x0000000000611f00 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x9c69e8 ) at bytecode.c:632 #17 0x00000000005cde82 in funcall_lambda (fun=XIL(0x7fff2cf3c6f8), nargs=nargs@entry=2, arg_vector=0x9c69e8 , arg_vector@entry=0x7fff2cf3c9e8) at eval.c:3060 #18 0x00000000005ca65b in Ffuncall (nargs=3, args=args@entry=0x7fff2cf3c9e0) at eval.c:2873 #19 0x0000000000611f00 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=3, args=, args@entry=0x9c6698 ) at bytecode.c:632 #20 0x00000000005cde82 in funcall_lambda (fun=XIL(0x7fff2cf3c9e0), nargs=nargs@entry=3, arg_vector=0x9c6698 , arg_vector@entry=0x7fff2cf3cdd0) at eval.c:3060 #21 0x00000000005ca65b in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fff2cf3cdc8) at eval.c:2873 #22 0x00000000005c6653 in Ffuncall_interactively (nargs=4, args=0x7fff2cf3cdc8) at callint.c:253 #23 0x00000000005ca771 in Ffuncall (nargs=nargs@entry=5, args=0x7fff2cf3cdc0) at eval.c:2859 #24 0x00000000005caa3a in Fapply (nargs=nargs@entry=3, args=args@entry=0x7fff2cf3cf70) at eval.c:2479 #25 0x00000000005c6de1 in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:340 #26 0x00000000005cc5d7 in funcall_subr (subr=0xcd6100 , numargs=numargs@entry=3, args=args@entry=0x7fff2cf3d100) at eval.c:2939 #27 0x00000000005ca771 in Ffuncall (nargs=4, args=args@entry=0x7fff2cf3d0f8) at eval.c:2859 #28 0x0000000000611f00 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=1, args=, args@entry=0x9c69e8 ) at bytecode.c:632 #29 0x00000000005cde82 in funcall_lambda (fun=XIL(0x7fff2cf3d0f8), nargs=nargs@entry=1, arg_vector=0x9c69e8 , arg_vector@entry=0x7fff2cf3d3b8) at eval.c:3060 #30 0x00000000005ca65b in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fff2cf3d3b0) at eval.c:2873 #31 0x00000000005ca83a in call1 (fn=..., fn@entry=XIL(0x3ff0), arg1=...) at eval.c:2710 #32 0x000000000054f597 in command_loop_1 () at keyboard.c:1451 #33 0x00000000005c975f in internal_condition_case ( bfun=bfun@entry=0x54f080 , handlers=..., handlers@entry=XIL(0x53a0), hfun=hfun@entry=0x541d60 ) at eval.c:1373 #34 0x000000000053db88 in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1079 #35 0x00000000005c9683 in internal_catch (tag=..., func=func@entry=0x53db60 , arg=..., arg@entry=XIL(0)) at eval.c:1136 #36 0x000000000053ddeb in command_loop () at keyboard.c:1058 #37 0x0000000000541864 in recursive_edit_1 () at keyboard.c:703 #38 0x0000000000541c23 in Frecursive_edit () at keyboard.c:774 #39 0x000000000041e727 in main (argc=, argv=) at emacs.c:1731 Lisp Backtrace: "equal" (0x2cf3c120) "eval-buffer" (0x2cf3c450) "funcall-interactively" (0x2cf3c448) "call-interactively" (0x2cf3c700) "command-execute" (0x2cf3c9e8) "execute-extended-command" (0x2cf3cdd0) "funcall-interactively" (0x2cf3cdc8) "call-interactively" (0x2cf3d100) "command-execute" (0x2cf3d3b8) (gdb) p main_thread.header $1 = { size = -4611686018091843576 } (gdb) p all_threads->header $2 = { size = 4611686018763149320 } (gdb) p/x main_thread.header $3 = { size = 0xc000000014000008 } (gdb) p/x all_threads->header $4 = { size = 0x4000000014035008 } In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-10-16 built on sockeye Repository revision: e64065bbbd21b7136a7a4efb4b0f2f39a65905dd Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: NixOS 18.09.git.ad56635 (Jellyfish) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/home/gem/src/emacs/master/bin --with-modules --with-x-toolkit=gtk3 --with-xft --config-cache --enable-checking=yes,glyphs --enable-check-lisp-object-type' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS GMP Important settings: value of $EMACSLOADPATH: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded 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 threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 94825 10040) (symbols 48 20044 1) (strings 32 28460 1827) (string-bytes 1 811220) (vectors 16 14265) (vector-slots 8 504082 12778) (floats 8 47 70) (intervals 56 213 0) (buffers 992 11)) ------------=_1539931082-23352-1--