From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68690: Segmentation fault building with native-comp Date: Wed, 24 Jan 2024 22:27:01 +0200 Message-ID: <86sf2mcwa2.fsf@gnu.org> References: <87wmryel78.fsf@pub.pink> <86zfwud5cv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34593"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jm@pub.pink, 68690@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 24 21:28:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rSjrC-0008oG-Vx for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 21:28:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSjqq-000251-9t; Wed, 24 Jan 2024 15:28:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSjqo-00023v-Gh for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 15:27:58 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSjqn-0005aR-9B for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 15:27:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSjqs-0002qa-9h for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 15:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jan 2024 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68690 X-GNU-PR-Package: emacs Original-Received: via spool by 68690-submit@debbugs.gnu.org id=B68690.170612804110896 (code B ref 68690); Wed, 24 Jan 2024 20:28:02 +0000 Original-Received: (at 68690) by debbugs.gnu.org; 24 Jan 2024 20:27:21 +0000 Original-Received: from localhost ([127.0.0.1]:46688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSjqD-0002pf-3e for submit@debbugs.gnu.org; Wed, 24 Jan 2024 15:27:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSjqA-0002pS-R0 for 68690@debbugs.gnu.org; Wed, 24 Jan 2024 15:27:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSjpy-00056e-Ve; Wed, 24 Jan 2024 15:27:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pXLAmPrXjgTEQDgYmMJgTrZGOp4X9BBIvZz4fEdwdeQ=; b=mWMpB1aJtF9b Zqr3zLI6gkoVAiclNo1DjTJLfqIxFl5P7FPRcg8CzMHjyivVSsszXPTzMvYB6BXTuTlDaEW0frN2R 6483utlXlUnYZ9uAn1loH8U/yRDjucu+Lw2eTJm2sIOp1kc7yZMRObhRu3ja41SQriaBiBG2vtRtL rAei2F6UBly9xn303Pim+R/Tp19RqRQ3HkCl/szbXnuP/DuJ+pvWATIFnDuVSwdqci+jGkKW4vjr9 oT8xA+JemBW8FCES6QSaFW9AmWazdrfXHhY1FW3ipjnwCfrWFfGw10d08LtxrAyUebI8mqO3nKRsv YY6xBy7vaaohiVJKu3kUug==; In-Reply-To: (message from Stefan Monnier on Wed, 24 Jan 2024 14:56:49 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278818 Archived-At: > From: Stefan Monnier > Cc: john muhl , 68690@debbugs.gnu.org > Date: Wed, 24 Jan 2024 14:56:49 -0500 > > > Adding Stefan, who installed that commit. > > Oops, should be fixed now, The build now crashes here (this is a 32-bit build with large ints): '../src/bootstrap-emacs.exe' -batch --no-site-file --no-site-lisp --eval "(setq load-prefer-newer t byte-compile-warnings 'all)" --eval "(setq org--inhibit-version-check t)" \ -l bytecomp -f byte-compile-refresh-preloaded \ -f batch-byte-compile ../lisp/mwheel.el lisp.h:1784: Emacs fatal error: assertion failed: VECTORLIKEP (a) Here's the backtrace from GDB: lisp.h:1784: Emacs fatal error: assertion failed: VECTORLIKEP (a) Thread 1 hit Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:442 442 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:442 #1 0x00772401 in die (msg=0xddc80d "VECTORLIKEP (a)", file=0xddc740 "lisp.h", line=1784) at alloc.c:8062 #2 0x00626a44 in XVECTOR (a=XIL(0x92348b000000000)) at lisp.h:1784 #3 0x00626ace in gc_asize (array=XIL(0x92348b000000000)) at lisp.h:1800 #4 0x00626bba in AREF (array=XIL(0x92348b000000000), idx=1) at lisp.h:1971 #5 0x0063174d in Fcharset_after (pos=make_fixnum(113)) at charset.c:2084 #6 0x007ba520 in funcall_subr (subr=0xdb7a80 , numargs=1, args=0x9d14a08) at eval.c:3090 #7 0x0082d5b7 in exec_byte_code (fun=XIL(0xa0000000091dcec8), args_template=0, nargs=0, args=0x9d14a08) at bytecode.c:815 #8 0x007baafa in fetch_and_exec_byte_code (fun=XIL(0xa000000009136058), args_template=642, nargs=10, args=0x5dce628) at eval.c:3135 #9 0x007bb059 in funcall_lambda (fun=XIL(0xa000000009136058), nargs=10, arg_vector=0x5dce628) at eval.c:3207 #10 0x007b9e7d in funcall_general (fun=XIL(0xa000000009136058), numargs=10, args=0x5dce628) at eval.c:2972 #11 0x007ba202 in Ffuncall (nargs=11, args=0x5dce620) at eval.c:3022 #12 0x007b90d0 in Fapply (nargs=2, args=0x9d14648) at eval.c:2693 #13 0x007ba9ab in funcall_subr (subr=0xdc1f40 , numargs=2, args=0x9d14648) at eval.c:3113 #14 0x0082d5b7 in exec_byte_code (fun=XIL(0xa000000009108c20), args_template=513, nargs=2, args=0x9d145e8) at bytecode.c:815 #15 0x007baafa in fetch_and_exec_byte_code (fun=XIL(0xa00000000a6685e0), args_template=0, nargs=0, args=0x5dcee70) at eval.c:3135 #16 0x007bb059 in funcall_lambda (fun=XIL(0xa00000000a6685e0), nargs=0, arg_vector=0x5dcee70) at eval.c:3207 #17 0x007b9e7d in funcall_general (fun=XIL(0xa00000000a6685e0), numargs=0, args=0x5dcee70) at eval.c:2972 #18 0x007ba202 in Ffuncall (nargs=1, args=0x5dcee68) at eval.c:3022 #19 0x007adffe in call0 (fn=XIL(0xa00000000a6685e0)) at lisp.h:3349 #20 0x007b397d in Fhandler_bind_1 (nargs=3, args=0x9d14478) at eval.c:1403 #21 0x007ba9ab in funcall_subr (subr=0xdc1dc0 , numargs=3, args=0x9d14478) at eval.c:3113 #22 0x0082d5b7 in exec_byte_code (fun=XIL(0xa000000009041ed0), args_template=257, nargs=1, args=0x9d14440) at bytecode.c:815 #23 0x007baafa in fetch_and_exec_byte_code (fun=XIL(0xa000000009365d18), args_template=0, nargs=0, args=0x5dcf5a0) at eval.c:3135 #24 0x007bb059 in funcall_lambda (fun=XIL(0xa000000009365d18), nargs=0, arg_vector=0x5dcf5a0) at eval.c:3207 #25 0x007baca9 in apply_lambda (fun=XIL(0xa000000009365d18), args=XIL(0), count=128) at eval.c:3157 #26 0x007b85e6 in eval_sub (form=XIL(0xc00000000982c7b0)) at eval.c:2572 #27 0x007b75b9 in Feval (form=XIL(0xc00000000982c7b0), lexical=XIL(0x30)) at eval.c:2389 #28 0x006b01ec in top_level_2 () at keyboard.c:1173 #29 0x007b4530 in internal_condition_case (bfun=0x6b0163 , handlers=XIL(0x90), hfun=0x6af6c2 ) at eval.c:1537 #30 0x006b027f in top_level_1 (ignore=XIL(0)) at keyboard.c:1185 #31 0x007b319e in internal_catch (tag=XIL(0x10a40), func=0x6b020b , arg=XIL(0)) at eval.c:1217 #32 0x006b0056 in command_loop () at keyboard.c:1134 #33 0x006af122 in recursive_edit_1 () at keyboard.c:744 #34 0x006af3c0 in Frecursive_edit () at keyboard.c:827 #35 0x006aa3cc in main (argc=15, argv=0x77a2970) at emacs.c:2624 Lisp Backtrace: "charset-after" (0x9d14a08) "fill-move-to-break-point" (0x9d149b8) "fill-region-as-paragraph" (0x9d14948) "fill-region" (0x9d14898) "easy-mmode--mode-docstring" (0x9d14778) 0x9136058 PVEC_COMPILED "apply" (0x9d14648) "macroexpand-1" (0x9d145d8) "macroexp-macroexpand" (0x9d14578) "byte-compile-recurse-toplevel" (0x9d14538) "byte-compile-toplevel-file-form" (0x9d144f0) 0xa6685a8 PVEC_COMPILED 0xa6685e0 PVEC_COMPILED "handler-bind-1" (0x9d14478) 0x9041ed0 PVEC_COMPILED "bytecomp--displaying-warnings" (0x9d14390) "byte-compile-from-buffer" (0x9d14328) "byte-compile-file" (0x9d14288) "batch-byte-compile-file" (0x9d14228) "batch-byte-compile" (0x9d14198) "command-line-1" (0x9d140b8) "command-line" (0x9d14048) "normal-top-level" (0x5dcf5a0) (gdb)