From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Ulrich Mueller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Mar 2018 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 30855@debbugs.gnu.org Cc: Rolf Eike Beer X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152147304214258 (code B ref -1); Mon, 19 Mar 2018 15:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Mar 2018 15:24:02 +0000 Received: from localhost ([127.0.0.1]:42040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exwdl-0003ht-VC for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:24:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exwdi-0003hM-JY for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:24:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exwdb-0001Ts-8J for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:23:53 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33314) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1exwdb-0001Th-4Q for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:23:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exwdY-0003PS-Kn for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exwdV-0001Na-DF for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:23:48 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:36158) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exwdV-0001KY-43 for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:23:45 -0400 Received: from a1i15.kph.uni-mainz.de (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id DDB98335DBF; Mon, 19 Mar 2018 15:23:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> Date: Mon, 19 Mar 2018 16:23:34 +0100 From: Ulrich Mueller X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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.4 (----) 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: -4.4 (----) Forwarding Gentoo bug: https://bugs.gentoo.org/647238 When building Emacs 25.3 on a sparc64 system with 32 bit userland (Linux 4.14.14 sparc64, gcc-6.4.0, glibc-2.25-r10), temacs fails with a bus error: Loading loadup.el (source)... Using load-path (/var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/emacs-lisp /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/language /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/international /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/textmodes /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version... make[1]: *** [Makefile:737: bootstrap-emacs] Bus error make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/src' make: *** [Makefile:398: src] Error 2 See backtrace and configure options below. Note that Emacs was configured with the --with-wide-int option, so Lisp_Object has a size of 8 bytes, whereas pointers (and GC_POINTER_ALIGNMENT) are 4 bytes. Especially, pp = 0xffffaefc is not aligned at an 8 byte boundary. Program received signal SIGBUS, Bus error. 0x0021c638 in mark_memory (start=0xffffaef8, end=0xffffc870) at alloc.c:4895 4895 mark_maybe_object (*(Lisp_Object *) pp); (gdb) bt full #0 0x0021c638 in mark_memory (start=0xffffaef8, end=0xffffc870) at alloc.c:4895 pp = 0xffffaefc "" #1 0x0021c69c in mark_stack (end=0xffffaef8) at alloc.c:5038 No locals. #2 0x0021e410 in garbage_collect_1 (end=0xffffaef8) at alloc.c:5760 nextb = 0x0 stack_top_variable = 0 '\000' i = 527 message_p = false count = 23 start = {tv_sec = 1521456162, tv_nsec = 586770363} retval = 0 tot_before = 0 total = {0, 203128, 4611686018427387936, 4611686018427387904, 0, 6072456, 42949672965, 137445489480, 210104, -6917529027635009400} #3 0x0021f0b4 in Fgarbage_collect () at alloc.c:5983 end = 0xffffaef8 #4 0x00258180 in eval_sub (form=-4611686018420189376) at eval.c:2169 i = 0 maxargs = 0 args_left = 0 numargs = 4611686018427387904 fun = -6917529027635009400 val = -6917529027634378352 original_fun = 210104 original_args = 0 funcar = 0 count = 22 argvals = {-9223372036847521760, 0, 21072, 4611686018433923912, 695672, 2987888495278920, -6917529027634378352, -4611686018420189328} #5 0x00251930 in Fprogn (body=-4611686018420189328) at eval.c:431 val = 0 #6 0x0025b92c in funcall_lambda (fun=-4611686018420189296, nargs=1, arg_vector=0xffffb5c0) at eval.c:2922 val = 0 syms_left = 0 next = 695672 lexenv = 0 count = 21 i = 1 optional = false rest = false #7 0x0025aa7c in Ffuncall (nargs=2, args=0xffffb5b8) at eval.c:2760 fun = -4611686018420189296 original_fun = -4611686018420189296 funcar = 26016 numargs = 1 lisp_numargs = 0 val = 4 internal_args = 0x6e724c count = 20 #8 0x00259088 in funcall_nil (nargs=2, args=0xffffb5b8) at eval.c:2338 No locals. #9 0x00259738 in run_hook_with_args (nargs=2, args=0xffffb5b8, funcall=0x25906c ) at eval.c:2515 global_vals = 0 sym = 637976 val = -4611686018420189248 ret = 0 #10 0x00259150 in Frun_hook_with_args (nargs=2, args=0xffffb5b8) at eval.c:2380 No locals. #11 0x0025a318 in Ffuncall (nargs=3, args=0xffffb5b0) at eval.c:2679 fun = -6917529027635003944 original_fun = 35280 funcar = 0 numargs = 2 lisp_numargs = 4156751872 val = 0 internal_args = 0x63bb48 count = 19 #12 0x002c2a64 in exec_byte_code (bytestr=-9223372036847584608, vector=-6917529027633902504, maxdepth=4611686018427387914, args_template=4611686018427388161, nargs=1, args=0xffffbbe8) at bytecode.c:880 targets = {0x2c74c8 , 0x2c7588 , 0x2c7590 , 0x2c7598 , 0x2c75a0 , 0x2c75a0 , 0x2c7608 , 0x2c7680 , 0x2c1f74 , 0x2c1f7c , 0x2c1f84 , 0x2c1f8c , 0x2c1f94 , 0x2c1f94 , 0x2c1fa8 , 0x2c1f28 , 0x2c265c , 0x2c2664 , 0x2c266c , 0x2c2674 , 0x2c267c , 0x2c267c , 0x2c26d4 , 0x2c2690 , 0x2c2908 , 0x2c2910 , 0x2c2918 , 0x2c2920 , 0x2c2928 , 0x2c2928 , 0x2c28a4 , 0x2c28c4 , 0x2c2a08 , 0x2c2a10 , 0x2c2a18 , 0x2c2a20 , 0x2c2a28 , 0x2c2a28 , 0x2c29a4 , 0x2c29c4 , 0x2c2b0c , 0x2c2b14 , 0x2c2b1c , 0x2c2b24 , 0x2c2b2c , 0x2c2b2c , 0x2c2aa8 , 0x2c2ac8 , 0x2c43d4 , 0x2c4270 , 0x2c4264 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c4690 , 0x2c47dc , 0x2c4870 , 0x2c4904 , 0x2c499c , 0x2c243c , 0x2c24e4 , 0x2c4a64 , 0x2c2338 , 0x2c2558 , 0x2c4b04 , 0x2c4b78 , 0x2c4bd4 , 0x2c4c48 , 0x2c4ca8 , 0x2c4d94 , 0x2c4df0 , 0x2c4e64 , 0x2c4ef0 , 0x2c4f4c , 0x2c4fa8 , 0x2c501c , 0x2c5090 , 0x2c5104 , 0x2c5190 , 0x2c51f0 , 0x2c5250 , 0x2c533c , 0x2c5404 , 0x2c54cc , 0x2c584c , 0x2c58c4 , 0x2c593c , 0x2c59b4 , 0x2c5a2c , 0x2c5a8c , 0x2c5b58 , 0x2c5bb8 , 0x2c5c18 , 0x2c5c78 , 0x2c5dac , 0x2c4080 , 0x2c5e2c , 0x2c5e88 , 0x2c5f68 , 0x2c5fe8 , 0x2c6068 , 0x2c60c4 , 0x2c6124 , 0x2c6184 , 0x2c6200 , 0x2c74c8 , 0x2c6278 , 0x2c62d0 , 0x2c6328 , 0x2c6380 , 0x2c63d8 , 0x2c6430 , 0x2c4080 , 0x2c74c8 , 0x2c648c , 0x2c6504 , 0x2c6560 , 0x2c65bc , 0x2c6630 , 0x2c66a4 , 0x2c6700 , 0x2c68bc , 0x2c6930 , 0x2c69a4 , 0x2c6a18 , 0x2c6a70 , 0x2c74c8 , 0x2c3f94 , 0x2c2c04 , 0x2c20f8 , 0x2c2dfc , 0x2c303c , 0x2c327c , 0x2c3efc , 0x2c3f54 , 0x2c284c , 0x2c4024 , 0x2c40bc , 0x2c4188 , 0x2c41e4 , 0x2c4424 , 0x2c44d8 , 0x2c4564 , 0x2c45ec , 0x2c2ba8 , 0x2c6acc , 0x2c6b58 , 0x2c6bb4 , 0x2c6c10 , 0x2c6c6c , 0x2c6cc8 , 0x2c6d3c , 0x2c6db0 , 0x2c6e24 , 0x2c6e98 , 0x2c7054 , 0x2c70c8 , 0x2c713c , 0x2c7198 , 0x2c720c , 0x2c7280 , 0x2c72dc , 0x2c7338 , 0x2c5cd8 , 0x2c5d38 , 0x2c7398 , 0x2c7430 , 0x2c74c8 , 0x2c34bc , 0x2c3684 , 0x2c38a0 , 0x2c3abc , 0x2c3cdc , 0x2c4d08 , 0x2c52b0 , 0x2c5edc , 0x2c771c , 0x2c7790 , 0x2c74c8 , 0x2c74c8 , 0x2c7828 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c78d4 } count = 19 op = 2 vectorp = 0x6d8c60 stack = {pc = 0x6da388 "\207", byte_string = -9223372036847584608, byte_string_start = 0x6da2fc "\b\211\203+", next = 0x0} top = 0xffffb5b0 result = -6917529027633902280 type = CATCHER #13 0x0025b3fc in funcall_lambda (fun=-6917529027633902280, nargs=1, arg_vector=0xffffbbe0) at eval.c:2863 size = 5 val = 0 syms_left = 4611686018427388161 next = -6917529027633902280 lexenv = 14 count = 19 i = 7198352 optional = 140 rest = false #14 0x0025a8ec in Ffuncall (nargs=2, args=0xffffbbd8) at eval.c:2748 fun = -6917529027633902280 original_fun = 15168 funcar = 15168 numargs = 1 lisp_numargs = 15168 val = 0 internal_args = 0xf4bdf7 count = 18 #15 0x002599a0 in call1 (fn=15168, arg1=-9223372036847542432) at eval.c:2558 No locals. #16 0x0029d014 in Fload (file=-9223372036847542496, noerror=0, nomessage=0, nosuffix=0, must_suffix=0) at lread.c:1349 stream = 0x653400 fd = 5 fd_index = 18 count = 18 found = -9223372036847542432 efound = -9223372036847542432 hist_file_name = -9223372036847542432 newer = false compiled = true handler = 0 safe_p = true fmode = 0x3653b0 "r" version = 23 #17 0x00258318 in eval_sub (form=-4611686018420189232) at eval.c:2186 i = 5 maxargs = 5 args_left = 0 numargs = 4611686018427387905 fun = -6917529027635000192 val = 16 original_fun = 27120 original_args = -4611686018420191232 funcar = 0 count = 17 argvals = {-9223372036847542496, 0, 0, 0, 0, 6536008, 33840, 21072} #18 0x0029f4bc in readevalloop (readcharfun=21072, stream=0x653a00, sourcename=-9223372036847975664, printflag=false, unibyte=0, readfun=0, start=0, end=0) at lread.c:1927 count1 = 17 c = 40 val = -4611686018420189232 count = 13 b = 0x0 continue_reading_p = true lex_bound = 0 whole_buffer = false first_sexp = false macroexpand = 0 #19 0x0029ce50 in Fload (file=-9223372036847975792, noerror=0, nomessage=0, nosuffix=0, must_suffix=0) at lread.c:1335 stream = 0x653a00 fd = 4 fd_index = 5 count = 5 found = -9223372036847975696 efound = 0 hist_file_name = -9223372036847975664 newer = false compiled = false handler = 0 safe_p = true fmode = 0x3653b0 "r" version = 0 #20 0x00258318 in eval_sub (form=-4611686018420484784) at eval.c:2186 i = 5 maxargs = 5 args_left = 0 numargs = 4611686018427387905 fun = -6917529027635000192 val = 4294967295 original_fun = 27120 original_args = -4611686018420484800 funcar = 0 count = 4 argvals = {-9223372036847975792, 0, 0, 0, 0, 0, 24624, 6560632} #21 0x00257298 in Feval (form=-4611686018420484784, lexical=0) at eval.c:1994 count = 3 #22 0x0015dda4 in top_level_2 () at keyboard.c:1121 No locals. #23 0x00254bdc in internal_condition_case (bfun=0x15dd68 , handlers=16128, hfun=0x15d370 ) at eval.c:1315 val = 6642432 c = 0x655a00 #24 0x0015de30 in top_level_1 (ignore=0) at keyboard.c:1129 No locals. #25 0x00254064 in internal_catch (tag=40128, func=0x15ddbc , arg=0) at eval.c:1080 val = -62775235462328 c = 0x655b00 #26 0x0015dc1c in command_loop () at keyboard.c:1090 No locals. #27 0x0015cbd0 in recursive_edit_1 () at keyboard.c:697 count = 1 val = 0 #28 0x0015cef0 in Frecursive_edit () at keyboard.c:768 count = 0 buffer = 0 #29 0x001597b8 in main (argc=5, argv=0xffffc984) at emacs.c:1629 dummy = 0 stack_bottom_variable = -9 '\367' do_initial_setlocale = true dumping = true skip_args = 3 rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615} no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 Configure options: ./configure --prefix=/usr --build=sparc-unknown-linux-gnu --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/emacs-25.3-r3 --htmldir=/usr/share/doc/emacs-25.3-r3/html --libdir=/usr/lib --program-suffix=-emacs-25 --infodir=/usr/share/info/emacs-25 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=:gamestat --without-compress-install --with-file-notification=no --disable-acl --with-dbus --without-modules --with-gpm --without-hesiod --with-kerberos --with-kerberos5 --with-xml2 --without-selinux --without-gnutls --with-wide-int --with-zlib --with-sound=oss --with-x --without-ns --without-gconf --with-gsettings --without-toolkit-scroll-bars --with-gif --without-jpeg --with-png --without-rsvg --with-tiff --without-xpm --without-imagemagick --with-xft --without-cairo --without-libotf --without-m17n-flt --with-x-toolkit=motif From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Mar 2018 19:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ulrich Mueller Cc: gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.15214871793498 (code B ref 30855); Mon, 19 Mar 2018 19:20:01 +0000 Received: (at 30855) by debbugs.gnu.org; 19 Mar 2018 19:19:39 +0000 Received: from localhost ([127.0.0.1]:42163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ey0Jn-0000uM-1G for submit@debbugs.gnu.org; Mon, 19 Mar 2018 15:19:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ey0Jk-0000u8-SJ for 30855@debbugs.gnu.org; Mon, 19 Mar 2018 15:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ey0JZ-0005DW-OV for 30855@debbugs.gnu.org; Mon, 19 Mar 2018 15:19: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=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ey0J3-0004mZ-Vk; Mon, 19 Mar 2018 15:18:54 -0400 Received: from [176.228.60.248] (port=3274 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ey0J3-0003Hq-9x; Mon, 19 Mar 2018 15:18:53 -0400 Date: Mon, 19 Mar 2018 21:19:01 +0200 Message-Id: <834llboouy.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> (message from Ulrich Mueller on Mon, 19 Mar 2018 16:23:34 +0100) References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> 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: -5.0 (-----) > Date: Mon, 19 Mar 2018 16:23:34 +0100 > From: Ulrich Mueller > Cc: Rolf Eike Beer > > Forwarding Gentoo bug: https://bugs.gentoo.org/647238 > > When building Emacs 25.3 on a sparc64 system with 32 bit userland > (Linux 4.14.14 sparc64, gcc-6.4.0, glibc-2.25-r10), temacs fails with > a bus error: Thanks. We are not planning any further v25.x releases, so if this problem doesn't happen with the latest pretest of Emacs 26.1, we will consider it resolved. From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Ulrich Mueller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.15215544479953 (code B ref 30855); Tue, 20 Mar 2018 14:01:02 +0000 Received: (at 30855) by debbugs.gnu.org; 20 Mar 2018 14:00:47 +0000 Received: from localhost ([127.0.0.1]:43832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyHok-0002aT-QR for submit@debbugs.gnu.org; Tue, 20 Mar 2018 10:00:47 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:53298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyHoi-0002aF-8M for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 10:00:44 -0400 Received: from a1i15.kph.uni-mainz.de (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id E751C335C09; Tue, 20 Mar 2018 14:00:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> Date: Tue, 20 Mar 2018 15:00:28 +0100 In-Reply-To: <834llboouy.fsf@gnu.org> References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller 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: -5.0 (-----) >>>>> On Mon, 19 Mar 2018, Eli Zaretskii wrote: > Thanks. We are not planning any further v25.x releases, so if this > problem doesn't happen with the latest pretest of Emacs 26.1, we > will consider it resolved. Well, function mark_memory hasn't been touched since 25.3, and the bug won't have resolved itself in some magical way. ;-) for (pp = start; (void *) pp < end; pp += GC_POINTER_ALIGNMENT) { mark_maybe_pointer (*(void **) pp); mark_maybe_object (*(Lisp_Object *) pp); } The loop is in steps of 4 but tries to access objects of size 8. Backtrace with Emacs 26.0.91 (thanks to Rolf Eike Beer): #0 0x002211a0 in mark_memory (start=0xffffacd8, end=0xffffc840) at alloc.c:4986 pp = 0xffffacdc "" #1 0x002211fc in mark_stack (bottom=0xffffc840 "", end=0xffffacd8 "") at alloc.c:5193 No locals. #2 0x0031d1c8 in mark_one_thread (thread=0x66ab88 ) at thread.c:616 stack_top = 0xffffacd8 #3 0x0031d328 in mark_threads_callback (ignore=0x0) at thread.c:649 thread_obj = -6917529027634353272 iter = 0x66ab88 #4 0x00221258 in flush_stack_call_func (func=0x31d2dc , arg=0x0) at alloc.c:5220 end = 0xffffacd8 self = 0x66ab88 sentry = {o = {__max_align_ll = -91431263796984, __max_align_ld = 0}} #5 0x0031d368 in mark_threads () at thread.c:656 No locals. #6 0x0022333c in garbage_collect_1 (end=0xffffaf00) at alloc.c:5997 nextb = 0x0 stack_top_variable = 0 '\000' i = 538 message_p = false count = 25 start = {tv_sec = 1521554084, tv_nsec = 118444958} retval = 0 tot_before = 0 total = {0, 0, 0, 4611686018427387904, 0, 4611686018427387904, -6917529027634762960, 4611686018434174144, 4611686018433697584, 0} #7 0x00223f74 in Fgarbage_collect () at alloc.c:6168 end = 0xffffaf00 sentry = {o = {__max_align_ll = -89060441849851, __max_align_ld = 2}} [...] From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ulrich Mueller , Paul Eggert Cc: gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.152155728014394 (code B ref 30855); Tue, 20 Mar 2018 14:48:02 +0000 Received: (at 30855) by debbugs.gnu.org; 20 Mar 2018 14:48:00 +0000 Received: from localhost ([127.0.0.1]:43958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyIYR-0003k6-TX for submit@debbugs.gnu.org; Tue, 20 Mar 2018 10:48:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyIYQ-0003jr-49 for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 10:47:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyIYH-0003Ds-HX for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 10:47:52 -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.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyIXl-0002lh-KU; Tue, 20 Mar 2018 10:47:17 -0400 Received: from [176.228.60.248] (port=4394 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eyIXl-00027V-2E; Tue, 20 Mar 2018 10:47:17 -0400 Date: Tue, 20 Mar 2018 16:47:29 +0200 Message-Id: <83y3imls72.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> (message from Ulrich Mueller on Tue, 20 Mar 2018 15:00:28 +0100) References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> 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: -5.0 (-----) > Date: Tue, 20 Mar 2018 15:00:28 +0100 > Cc: 30855@debbugs.gnu.org, > gentoo-bug@opensource.sf-tec.de > From: Ulrich Mueller > > for (pp = start; (void *) pp < end; pp += GC_POINTER_ALIGNMENT) > { > mark_maybe_pointer (*(void **) pp); > mark_maybe_object (*(Lisp_Object *) pp); > } > > The loop is in steps of 4 but tries to access objects of size 8. So you are saying that we should be doing the below instead? diff --git a/src/alloc.c b/src/alloc.c index 9d0e2d3..18546ca 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4983,7 +4983,8 @@ mark_memory (void *start, void *end) for (pp = start; (void *) pp < end; pp += GC_POINTER_ALIGNMENT) { mark_maybe_pointer (*(void **) pp); - mark_maybe_object (*(Lisp_Object *) pp); + if ((intptr_t) pp % GCALIGNMENT == 0) + mark_maybe_object (*(Lisp_Object *) pp); } } From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 15:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Ulrich Mueller , Paul Eggert , gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.152155958817809 (code B ref 30855); Tue, 20 Mar 2018 15:27:03 +0000 Received: (at 30855) by debbugs.gnu.org; 20 Mar 2018 15:26:28 +0000 Received: from localhost ([127.0.0.1]:43987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyJ9f-0004dB-VX for submit@debbugs.gnu.org; Tue, 20 Mar 2018 11:26:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:44509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyJ9e-0004cz-Du for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 11:26:26 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 24902AB36; Tue, 20 Mar 2018 15:26:20 +0000 (UTC) From: Andreas Schwab References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> <83y3imls72.fsf@gnu.org> X-Yow: I want you to MEMORIZE the collected poems of EDNA ST VINCENT MILLAY.. BACKWARDS!! Date: Tue, 20 Mar 2018 16:26:19 +0100 In-Reply-To: <83y3imls72.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 20 Mar 2018 16:47:29 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -2.3 (--) On Mär 20 2018, Eli Zaretskii wrote: > So you are saying that we should be doing the below instead? > > diff --git a/src/alloc.c b/src/alloc.c > index 9d0e2d3..18546ca 100644 > --- a/src/alloc.c > +++ b/src/alloc.c > @@ -4983,7 +4983,8 @@ mark_memory (void *start, void *end) > for (pp = start; (void *) pp < end; pp += GC_POINTER_ALIGNMENT) > { > mark_maybe_pointer (*(void **) pp); > - mark_maybe_object (*(Lisp_Object *) pp); > + if ((intptr_t) pp % GCALIGNMENT == 0) That should be alignof(Lisp_Object). A Lisp_Object only needs Lisp_Object alignment. GCALIGNMENT is about the _value_ of a Lisp_Object (ie. the address of the Lisp object that this Lisp_Object points to). Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: ulm@gentoo.org, eggert@cs.ucla.edu, gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.152156408624940 (code B ref 30855); Tue, 20 Mar 2018 16:42:02 +0000 Received: (at 30855) by debbugs.gnu.org; 20 Mar 2018 16:41:26 +0000 Received: from localhost ([127.0.0.1]:44121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKKE-0006UB-48 for submit@debbugs.gnu.org; Tue, 20 Mar 2018 12:41:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKKA-0006Tx-Qo for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 12:41:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyKK1-0006QZ-Nl for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 12:41:17 -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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyKJU-000625-8c; Tue, 20 Mar 2018 12:40:40 -0400 Received: from [176.228.60.248] (port=4714 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eyKJT-0005Eo-NM; Tue, 20 Mar 2018 12:40:40 -0400 Date: Tue, 20 Mar 2018 18:40:51 +0200 Message-Id: <83tvtalmy4.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Andreas Schwab on Tue, 20 Mar 2018 16:26:19 +0100) References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> <83y3imls72.fsf@gnu.org> 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: -5.0 (-----) > From: Andreas Schwab > Cc: Ulrich Mueller , Paul Eggert , 30855@debbugs.gnu.org, gentoo-bug@opensource.sf-tec.de > Date: Tue, 20 Mar 2018 16:26:19 +0100 > > > --- a/src/alloc.c > > +++ b/src/alloc.c > > @@ -4983,7 +4983,8 @@ mark_memory (void *start, void *end) > > for (pp = start; (void *) pp < end; pp += GC_POINTER_ALIGNMENT) > > { > > mark_maybe_pointer (*(void **) pp); > > - mark_maybe_object (*(Lisp_Object *) pp); > > + if ((intptr_t) pp % GCALIGNMENT == 0) > > That should be alignof(Lisp_Object). A Lisp_Object only needs > Lisp_Object alignment. GCALIGNMENT is about the _value_ of a > Lisp_Object (ie. the address of the Lisp object that this Lisp_Object > points to). Right, thanks. Ulrich, please see if that fixes this problem. From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Andreas Schwab Cc: ulm@gentoo.org, gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.152156510226609 (code B ref 30855); Tue, 20 Mar 2018 16:59:01 +0000 Received: (at 30855) by debbugs.gnu.org; 20 Mar 2018 16:58:22 +0000 Received: from localhost ([127.0.0.1]:44145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKab-0006v7-OW for submit@debbugs.gnu.org; Tue, 20 Mar 2018 12:58:21 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:34050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKaa-0006ur-Bu for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 12:58:20 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 49649161769; Tue, 20 Mar 2018 09:58:14 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id YhT1GEmtcIpB; Tue, 20 Mar 2018 09:58:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7429A16176C; Tue, 20 Mar 2018 09:58:13 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ebS-276yWdGc; Tue, 20 Mar 2018 09:58:13 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 55435161769; Tue, 20 Mar 2018 09:58:13 -0700 (PDT) References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> <83y3imls72.fsf@gnu.org> <83tvtalmy4.fsf@gnu.org> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <23993a7d-08e3-2c23-ace1-25850620e59e@cs.ucla.edu> Date: Tue, 20 Mar 2018 09:58:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <83tvtalmy4.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------636A01569630334D17C14756" Content-Language: en-US X-Spam-Score: -2.3 (--) 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: -2.3 (--) This is a multi-part message in MIME format. --------------636A01569630334D17C14756 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Even with the fix the code assumes that Lisp_Object is aligned at least as strictly as void *; this should be verified. Plus, if the alignments are the same Emacs can avoid a runtime check each time through the loop, which should help branch prediction. I installed the attached into master; if it fixes Ulrich's problem I think this should be backported to emacs-26. Thanks to Ulrich, Eli, and Andreas for reporting this and suggesting the fix. --------------636A01569630334D17C14756 Content-Type: text/x-patch; name="0001-Port-to-32-bit-sparc64.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Port-to-32-bit-sparc64.patch" >From 59abd64e9a448bbc5e375a9238d55074d3c9ba11 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 20 Mar 2018 09:54:20 -0700 Subject: [PATCH] Port to 32-bit sparc64 Problem reported by Ulrich Mueller; fix suggested by Eli Zaretskii and Andreas Schwab (Bug#30855). * src/alloc.c (mark_memory): Call mark_maybe_object only on pointers that are properly aligned for Lisp_Object. --- src/alloc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/alloc.c b/src/alloc.c index f97b99c0f3..da01173fba 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4981,7 +4981,11 @@ mark_memory (void *start, void *end) for (pp = start; (void *) pp < end; pp += GC_POINTER_ALIGNMENT) { mark_maybe_pointer (*(void **) pp); - mark_maybe_object (*(Lisp_Object *) pp); + + verify (alignof (Lisp_Object) % GC_POINTER_ALIGNMENT == 0); + if (alignof (Lisp_Object) == GC_POINTER_ALIGNMENT + || (uintptr_t) pp % alignof (Lisp_Object) == 0) + mark_maybe_object (*(Lisp_Object *) pp); } } -- 2.14.3 --------------636A01569630334D17C14756-- From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 17:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: schwab@suse.de, ulm@gentoo.org, gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.15215661793307 (code B ref 30855); Tue, 20 Mar 2018 17:17:01 +0000 Received: (at 30855) by debbugs.gnu.org; 20 Mar 2018 17:16:19 +0000 Received: from localhost ([127.0.0.1]:44155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKrz-0000rH-Hi for submit@debbugs.gnu.org; Tue, 20 Mar 2018 13:16:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKry-0000r2-1k for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 13:16:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyKro-0001Ry-UU for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 13:16:12 -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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyKrI-0000x7-Vj; Tue, 20 Mar 2018 13:15:37 -0400 Received: from [176.228.60.248] (port=4800 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eyKrI-0004Qi-Bu; Tue, 20 Mar 2018 13:15:36 -0400 Date: Tue, 20 Mar 2018 19:15:48 +0200 Message-Id: <83r2oellbv.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <23993a7d-08e3-2c23-ace1-25850620e59e@cs.ucla.edu> (message from Paul Eggert on Tue, 20 Mar 2018 09:58:12 -0700) References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> <83y3imls72.fsf@gnu.org> <83tvtalmy4.fsf@gnu.org> <23993a7d-08e3-2c23-ace1-25850620e59e@cs.ucla.edu> 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: -5.0 (-----) > Cc: ulm@gentoo.org, 30855@debbugs.gnu.org, gentoo-bug@opensource.sf-tec.de > From: Paul Eggert > Date: Tue, 20 Mar 2018 09:58:12 -0700 > > I installed the attached into master; if it fixes Ulrich's problem I > think this should be backported to emacs-26. I'm okay with backporting, unless the configuration where it happens is extremely rare, so much so that we can get away with this as a "known problem". Thanks. From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Ulrich Mueller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2018 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: schwab@suse.de, Paul Eggert , gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.152158079125861 (code B ref 30855); Tue, 20 Mar 2018 21:20:02 +0000 Received: (at 30855) by debbugs.gnu.org; 20 Mar 2018 21:19:51 +0000 Received: from localhost ([127.0.0.1]:44318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyOff-0006j3-8t for submit@debbugs.gnu.org; Tue, 20 Mar 2018 17:19:51 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:57888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyOfd-0006iq-FY for 30855@debbugs.gnu.org; Tue, 20 Mar 2018 17:19:49 -0400 Received: from a1i15.kph.uni-mainz.de (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 18BC1335C0C; Tue, 20 Mar 2018 21:19:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23217.31465.724993.860537@a1i15.kph.uni-mainz.de> Date: Tue, 20 Mar 2018 22:19:37 +0100 In-Reply-To: <83r2oellbv.fsf@gnu.org> References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> <83y3imls72.fsf@gnu.org> <83tvtalmy4.fsf@gnu.org> <23993a7d-08e3-2c23-ace1-25850620e59e@cs.ucla.edu> <83r2oellbv.fsf@gnu.org> From: Ulrich Mueller 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: -5.0 (-----) >>>>> On Tue, 20 Mar 2018, Paul Eggert wrote: > I installed the attached into master; if it fixes Ulrich's problem > I think this should be backported to emacs-26. Thanks. This fixes the build on sparc both for 25.3 and 26.0.91 (tested by Rolf Eike Beer, see https://bugs.gentoo.org/647238#c18). >>>>> On Tue, 20 Mar 2018, Eli Zaretskii wrote: > I'm okay with backporting, unless the configuration where it happens > is extremely rare, so much so that we can get away with this as a > "known problem". I would really appreciate if this could be included with Emacs 26. It would be less than ideal if we (Gentoo) needed a downstream patch for the initial version because otherwise it won't even build on sparc. Also, doesn't this bug affect other architectures too, and at least cause a performance penalty for unaligned access? From unknown Sun Aug 10 16:44:49 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: Ulrich Mueller Subject: bug#30855: closed (Re: bug#30855: 25.3; temacs fails with bus error during garbage collection) Message-ID: References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> X-Gnu-PR-Message: they-closed 30855 X-Gnu-PR-Package: emacs Reply-To: 30855@debbugs.gnu.org Date: Tue, 20 Mar 2018 21:43:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1521582181-27934-1" This is a multi-part message in MIME format... ------------=_1521582181-27934-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30855: 25.3; temacs fails with bus error during garbage collection 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 30855@debbugs.gnu.org. --=20 30855: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30855 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1521582181-27934-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30855-done) by debbugs.gnu.org; 20 Mar 2018 21:42:23 +0000 Received: from localhost ([127.0.0.1]:44328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyP1T-0007Fj-Ef for submit@debbugs.gnu.org; Tue, 20 Mar 2018 17:42:23 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyP1S-0007FV-Bo for 30855-done@debbugs.gnu.org; Tue, 20 Mar 2018 17:42:22 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2F02616161E; Tue, 20 Mar 2018 14:42:16 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id OR6U4xIGsENo; Tue, 20 Mar 2018 14:42:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 737C916161F; Tue, 20 Mar 2018 14:42:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dZjoxv3ysdzu; Tue, 20 Mar 2018 14:42:15 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 545D416161E; Tue, 20 Mar 2018 14:42:15 -0700 (PDT) Subject: Re: bug#30855: 25.3; temacs fails with bus error during garbage collection To: Ulrich Mueller , Eli Zaretskii References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> <83y3imls72.fsf@gnu.org> <83tvtalmy4.fsf@gnu.org> <23993a7d-08e3-2c23-ace1-25850620e59e@cs.ucla.edu> <83r2oellbv.fsf@gnu.org> <23217.31465.724993.860537@a1i15.kph.uni-mainz.de> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Tue, 20 Mar 2018 14:42:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <23217.31465.724993.860537@a1i15.kph.uni-mainz.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 30855-done Cc: schwab@suse.de, gentoo-bug@opensource.sf-tec.de, 30855-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: -2.3 (--) On 03/20/2018 02:19 PM, Ulrich Mueller wrote: > Also, doesn't this bug affect other architectures too, and at least > cause a performance penalty for unaligned access? It might cause crashes on other (presumably less-common) architectures, which is worrisome. The performance penalty is not something we'd want to worry about in the emacs-26 branch, since we don't want to assume that the compiler is storing Lisp words on fast-aligned boundaries; this is why we're using alignof instead of __alignof__. So the patch does not address the issue of optimizing for compilers that use only fast-aligned Lisp words (and I doubt whether it's worth worrying about, even in the master branch). Although 32-bit sparc64 is rare compared to x86-64, I wouldn't consider it to be "extremely rare" in an absolute sense (at least, not for the next several years; ask me again after 2038 :-). Perhaps I'm biased by the fact that one of our department's production servers is still regularly used that way, but whatever. I backported the patch to the emacs-26 branch and am closing Bug#30855. ------------=_1521582181-27934-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Mar 2018 15:24:02 +0000 Received: from localhost ([127.0.0.1]:42040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exwdl-0003ht-VC for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:24:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exwdi-0003hM-JY for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:24:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exwdb-0001Ts-8J for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:23:53 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33314) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1exwdb-0001Th-4Q for submit@debbugs.gnu.org; Mon, 19 Mar 2018 11:23:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exwdY-0003PS-Kn for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exwdV-0001Na-DF for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:23:48 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:36158) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exwdV-0001KY-43 for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:23:45 -0400 Received: from a1i15.kph.uni-mainz.de (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id DDB98335DBF; Mon, 19 Mar 2018 15:23:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> Date: Mon, 19 Mar 2018 16:23:34 +0100 To: bug-gnu-emacs@gnu.org Subject: 25.3; temacs fails with bus error during garbage collection From: Ulrich Mueller X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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.4 (----) X-Debbugs-Envelope-To: submit Cc: Rolf Eike Beer 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: -4.4 (----) Forwarding Gentoo bug: https://bugs.gentoo.org/647238 When building Emacs 25.3 on a sparc64 system with 32 bit userland (Linux 4.14.14 sparc64, gcc-6.4.0, glibc-2.25-r10), temacs fails with a bus error: Loading loadup.el (source)... Using load-path (/var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/emacs-lisp /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/language /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/international /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/textmodes /var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version... make[1]: *** [Makefile:737: bootstrap-emacs] Bus error make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-25.3-r3/work/emacs-25.3/src' make: *** [Makefile:398: src] Error 2 See backtrace and configure options below. Note that Emacs was configured with the --with-wide-int option, so Lisp_Object has a size of 8 bytes, whereas pointers (and GC_POINTER_ALIGNMENT) are 4 bytes. Especially, pp = 0xffffaefc is not aligned at an 8 byte boundary. Program received signal SIGBUS, Bus error. 0x0021c638 in mark_memory (start=0xffffaef8, end=0xffffc870) at alloc.c:4895 4895 mark_maybe_object (*(Lisp_Object *) pp); (gdb) bt full #0 0x0021c638 in mark_memory (start=0xffffaef8, end=0xffffc870) at alloc.c:4895 pp = 0xffffaefc "" #1 0x0021c69c in mark_stack (end=0xffffaef8) at alloc.c:5038 No locals. #2 0x0021e410 in garbage_collect_1 (end=0xffffaef8) at alloc.c:5760 nextb = 0x0 stack_top_variable = 0 '\000' i = 527 message_p = false count = 23 start = {tv_sec = 1521456162, tv_nsec = 586770363} retval = 0 tot_before = 0 total = {0, 203128, 4611686018427387936, 4611686018427387904, 0, 6072456, 42949672965, 137445489480, 210104, -6917529027635009400} #3 0x0021f0b4 in Fgarbage_collect () at alloc.c:5983 end = 0xffffaef8 #4 0x00258180 in eval_sub (form=-4611686018420189376) at eval.c:2169 i = 0 maxargs = 0 args_left = 0 numargs = 4611686018427387904 fun = -6917529027635009400 val = -6917529027634378352 original_fun = 210104 original_args = 0 funcar = 0 count = 22 argvals = {-9223372036847521760, 0, 21072, 4611686018433923912, 695672, 2987888495278920, -6917529027634378352, -4611686018420189328} #5 0x00251930 in Fprogn (body=-4611686018420189328) at eval.c:431 val = 0 #6 0x0025b92c in funcall_lambda (fun=-4611686018420189296, nargs=1, arg_vector=0xffffb5c0) at eval.c:2922 val = 0 syms_left = 0 next = 695672 lexenv = 0 count = 21 i = 1 optional = false rest = false #7 0x0025aa7c in Ffuncall (nargs=2, args=0xffffb5b8) at eval.c:2760 fun = -4611686018420189296 original_fun = -4611686018420189296 funcar = 26016 numargs = 1 lisp_numargs = 0 val = 4 internal_args = 0x6e724c count = 20 #8 0x00259088 in funcall_nil (nargs=2, args=0xffffb5b8) at eval.c:2338 No locals. #9 0x00259738 in run_hook_with_args (nargs=2, args=0xffffb5b8, funcall=0x25906c ) at eval.c:2515 global_vals = 0 sym = 637976 val = -4611686018420189248 ret = 0 #10 0x00259150 in Frun_hook_with_args (nargs=2, args=0xffffb5b8) at eval.c:2380 No locals. #11 0x0025a318 in Ffuncall (nargs=3, args=0xffffb5b0) at eval.c:2679 fun = -6917529027635003944 original_fun = 35280 funcar = 0 numargs = 2 lisp_numargs = 4156751872 val = 0 internal_args = 0x63bb48 count = 19 #12 0x002c2a64 in exec_byte_code (bytestr=-9223372036847584608, vector=-6917529027633902504, maxdepth=4611686018427387914, args_template=4611686018427388161, nargs=1, args=0xffffbbe8) at bytecode.c:880 targets = {0x2c74c8 , 0x2c7588 , 0x2c7590 , 0x2c7598 , 0x2c75a0 , 0x2c75a0 , 0x2c7608 , 0x2c7680 , 0x2c1f74 , 0x2c1f7c , 0x2c1f84 , 0x2c1f8c , 0x2c1f94 , 0x2c1f94 , 0x2c1fa8 , 0x2c1f28 , 0x2c265c , 0x2c2664 , 0x2c266c , 0x2c2674 , 0x2c267c , 0x2c267c , 0x2c26d4 , 0x2c2690 , 0x2c2908 , 0x2c2910 , 0x2c2918 , 0x2c2920 , 0x2c2928 , 0x2c2928 , 0x2c28a4 , 0x2c28c4 , 0x2c2a08 , 0x2c2a10 , 0x2c2a18 , 0x2c2a20 , 0x2c2a28 , 0x2c2a28 , 0x2c29a4 , 0x2c29c4 , 0x2c2b0c , 0x2c2b14 , 0x2c2b1c , 0x2c2b24 , 0x2c2b2c , 0x2c2b2c , 0x2c2aa8 , 0x2c2ac8 , 0x2c43d4 , 0x2c4270 , 0x2c4264 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c4690 , 0x2c47dc , 0x2c4870 , 0x2c4904 , 0x2c499c , 0x2c243c , 0x2c24e4 , 0x2c4a64 , 0x2c2338 , 0x2c2558 , 0x2c4b04 , 0x2c4b78 , 0x2c4bd4 , 0x2c4c48 , 0x2c4ca8 , 0x2c4d94 , 0x2c4df0 , 0x2c4e64 , 0x2c4ef0 , 0x2c4f4c , 0x2c4fa8 , 0x2c501c , 0x2c5090 , 0x2c5104 , 0x2c5190 , 0x2c51f0 , 0x2c5250 , 0x2c533c , 0x2c5404 , 0x2c54cc , 0x2c584c , 0x2c58c4 , 0x2c593c , 0x2c59b4 , 0x2c5a2c , 0x2c5a8c , 0x2c5b58 , 0x2c5bb8 , 0x2c5c18 , 0x2c5c78 , 0x2c5dac , 0x2c4080 , 0x2c5e2c , 0x2c5e88 , 0x2c5f68 , 0x2c5fe8 , 0x2c6068 , 0x2c60c4 , 0x2c6124 , 0x2c6184 , 0x2c6200 , 0x2c74c8 , 0x2c6278 , 0x2c62d0 , 0x2c6328 , 0x2c6380 , 0x2c63d8 , 0x2c6430 , 0x2c4080 , 0x2c74c8 , 0x2c648c , 0x2c6504 , 0x2c6560 , 0x2c65bc , 0x2c6630 , 0x2c66a4 , 0x2c6700 , 0x2c68bc , 0x2c6930 , 0x2c69a4 , 0x2c6a18 , 0x2c6a70 , 0x2c74c8 , 0x2c3f94 , 0x2c2c04 , 0x2c20f8 , 0x2c2dfc , 0x2c303c , 0x2c327c , 0x2c3efc , 0x2c3f54 , 0x2c284c , 0x2c4024 , 0x2c40bc , 0x2c4188 , 0x2c41e4 , 0x2c4424 , 0x2c44d8 , 0x2c4564 , 0x2c45ec , 0x2c2ba8 , 0x2c6acc , 0x2c6b58 , 0x2c6bb4 , 0x2c6c10 , 0x2c6c6c , 0x2c6cc8 , 0x2c6d3c , 0x2c6db0 , 0x2c6e24 , 0x2c6e98 , 0x2c7054 , 0x2c70c8 , 0x2c713c , 0x2c7198 , 0x2c720c , 0x2c7280 , 0x2c72dc , 0x2c7338 , 0x2c5cd8 , 0x2c5d38 , 0x2c7398 , 0x2c7430 , 0x2c74c8 , 0x2c34bc , 0x2c3684 , 0x2c38a0 , 0x2c3abc , 0x2c3cdc , 0x2c4d08 , 0x2c52b0 , 0x2c5edc , 0x2c771c , 0x2c7790 , 0x2c74c8 , 0x2c74c8 , 0x2c7828 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c74c8 , 0x2c78d4 } count = 19 op = 2 vectorp = 0x6d8c60 stack = {pc = 0x6da388 "\207", byte_string = -9223372036847584608, byte_string_start = 0x6da2fc "\b\211\203+", next = 0x0} top = 0xffffb5b0 result = -6917529027633902280 type = CATCHER #13 0x0025b3fc in funcall_lambda (fun=-6917529027633902280, nargs=1, arg_vector=0xffffbbe0) at eval.c:2863 size = 5 val = 0 syms_left = 4611686018427388161 next = -6917529027633902280 lexenv = 14 count = 19 i = 7198352 optional = 140 rest = false #14 0x0025a8ec in Ffuncall (nargs=2, args=0xffffbbd8) at eval.c:2748 fun = -6917529027633902280 original_fun = 15168 funcar = 15168 numargs = 1 lisp_numargs = 15168 val = 0 internal_args = 0xf4bdf7 count = 18 #15 0x002599a0 in call1 (fn=15168, arg1=-9223372036847542432) at eval.c:2558 No locals. #16 0x0029d014 in Fload (file=-9223372036847542496, noerror=0, nomessage=0, nosuffix=0, must_suffix=0) at lread.c:1349 stream = 0x653400 fd = 5 fd_index = 18 count = 18 found = -9223372036847542432 efound = -9223372036847542432 hist_file_name = -9223372036847542432 newer = false compiled = true handler = 0 safe_p = true fmode = 0x3653b0 "r" version = 23 #17 0x00258318 in eval_sub (form=-4611686018420189232) at eval.c:2186 i = 5 maxargs = 5 args_left = 0 numargs = 4611686018427387905 fun = -6917529027635000192 val = 16 original_fun = 27120 original_args = -4611686018420191232 funcar = 0 count = 17 argvals = {-9223372036847542496, 0, 0, 0, 0, 6536008, 33840, 21072} #18 0x0029f4bc in readevalloop (readcharfun=21072, stream=0x653a00, sourcename=-9223372036847975664, printflag=false, unibyte=0, readfun=0, start=0, end=0) at lread.c:1927 count1 = 17 c = 40 val = -4611686018420189232 count = 13 b = 0x0 continue_reading_p = true lex_bound = 0 whole_buffer = false first_sexp = false macroexpand = 0 #19 0x0029ce50 in Fload (file=-9223372036847975792, noerror=0, nomessage=0, nosuffix=0, must_suffix=0) at lread.c:1335 stream = 0x653a00 fd = 4 fd_index = 5 count = 5 found = -9223372036847975696 efound = 0 hist_file_name = -9223372036847975664 newer = false compiled = false handler = 0 safe_p = true fmode = 0x3653b0 "r" version = 0 #20 0x00258318 in eval_sub (form=-4611686018420484784) at eval.c:2186 i = 5 maxargs = 5 args_left = 0 numargs = 4611686018427387905 fun = -6917529027635000192 val = 4294967295 original_fun = 27120 original_args = -4611686018420484800 funcar = 0 count = 4 argvals = {-9223372036847975792, 0, 0, 0, 0, 0, 24624, 6560632} #21 0x00257298 in Feval (form=-4611686018420484784, lexical=0) at eval.c:1994 count = 3 #22 0x0015dda4 in top_level_2 () at keyboard.c:1121 No locals. #23 0x00254bdc in internal_condition_case (bfun=0x15dd68 , handlers=16128, hfun=0x15d370 ) at eval.c:1315 val = 6642432 c = 0x655a00 #24 0x0015de30 in top_level_1 (ignore=0) at keyboard.c:1129 No locals. #25 0x00254064 in internal_catch (tag=40128, func=0x15ddbc , arg=0) at eval.c:1080 val = -62775235462328 c = 0x655b00 #26 0x0015dc1c in command_loop () at keyboard.c:1090 No locals. #27 0x0015cbd0 in recursive_edit_1 () at keyboard.c:697 count = 1 val = 0 #28 0x0015cef0 in Frecursive_edit () at keyboard.c:768 count = 0 buffer = 0 #29 0x001597b8 in main (argc=5, argv=0xffffc984) at emacs.c:1629 dummy = 0 stack_bottom_variable = -9 '\367' do_initial_setlocale = true dumping = true skip_args = 3 rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615} no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 Configure options: ./configure --prefix=/usr --build=sparc-unknown-linux-gnu --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/emacs-25.3-r3 --htmldir=/usr/share/doc/emacs-25.3-r3/html --libdir=/usr/lib --program-suffix=-emacs-25 --infodir=/usr/share/info/emacs-25 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=:gamestat --without-compress-install --with-file-notification=no --disable-acl --with-dbus --without-modules --with-gpm --without-hesiod --with-kerberos --with-kerberos5 --with-xml2 --without-selinux --without-gnutls --with-wide-int --with-zlib --with-sound=oss --with-x --without-ns --without-gconf --with-gsettings --without-toolkit-scroll-bars --with-gif --without-jpeg --with-png --without-rsvg --with-tiff --without-xpm --without-imagemagick --with-xft --without-cairo --without-libotf --without-m17n-flt --with-x-toolkit=motif ------------=_1521582181-27934-1-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 20 17:50:07 2018 Received: (at control) by debbugs.gnu.org; 20 Mar 2018 21:50:07 +0000 Received: from localhost ([127.0.0.1]:44335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyP8x-0007RH-9R for submit@debbugs.gnu.org; Tue, 20 Mar 2018 17:50:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyP8u-0007Qi-UG for control@debbugs.gnu.org; Tue, 20 Mar 2018 17:50:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyP8p-0001Gt-11 for control@debbugs.gnu.org; Tue, 20 Mar 2018 17:49:59 -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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyP8o-0001Gm-Ti for control@debbugs.gnu.org; Tue, 20 Mar 2018 17:49:58 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eyP8o-0003Al-Ii for control@debbugs.gnu.org; Tue, 20 Mar 2018 17:49:58 -0400 Subject: control message for bug 30855 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 20 Mar 2018 17:49:58 -0400 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: 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: -5.0 (-----) # d09c488 fixed 30855 26.1 From unknown Sun Aug 10 16:44:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Mar 2018 06:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ulrich Mueller Cc: schwab@suse.de, eggert@cs.ucla.edu, gentoo-bug@opensource.sf-tec.de, 30855@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30855-submit@debbugs.gnu.org id=B30855.15216132847681 (code B ref 30855); Wed, 21 Mar 2018 06:22:01 +0000 Received: (at 30855) by debbugs.gnu.org; 21 Mar 2018 06:21:24 +0000 Received: from localhost ([127.0.0.1]:44745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyX7k-0001zp-Hr for submit@debbugs.gnu.org; Wed, 21 Mar 2018 02:21:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyX7j-0001zb-Gb for 30855@debbugs.gnu.org; Wed, 21 Mar 2018 02:21:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyX7b-0004l8-9p for 30855@debbugs.gnu.org; Wed, 21 Mar 2018 02:21:18 -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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyX75-0004QN-LC; Wed, 21 Mar 2018 02:20:43 -0400 Received: from [176.228.60.248] (port=1601 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eyX75-0004TE-2D; Wed, 21 Mar 2018 02:20:43 -0400 Date: Wed, 21 Mar 2018 08:20:57 +0200 Message-Id: <83k1u6kkza.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <23217.31465.724993.860537@a1i15.kph.uni-mainz.de> (message from Ulrich Mueller on Tue, 20 Mar 2018 22:19:37 +0100) References: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> <834llboouy.fsf@gnu.org> <23217.5116.912173.630464@a1i15.kph.uni-mainz.de> <83y3imls72.fsf@gnu.org> <83tvtalmy4.fsf@gnu.org> <23993a7d-08e3-2c23-ace1-25850620e59e@cs.ucla.edu> <83r2oellbv.fsf@gnu.org> <23217.31465.724993.860537@a1i15.kph.uni-mainz.de> 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: -5.0 (-----) > Date: Tue, 20 Mar 2018 22:19:37 +0100 > Cc: Paul Eggert , > schwab@suse.de, > 30855@debbugs.gnu.org, > gentoo-bug@opensource.sf-tec.de > From: Ulrich Mueller > > Also, doesn't this bug affect other architectures too Building a 32-bit Emacs --with-wide-int on a 64-bit system is quite rare, and at least the x86_64 systems don't trigger SIGBUS in this case.