From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.bugs Subject: bug#30855: 25.3; temacs fails with bus error during garbage collection Date: Mon, 19 Mar 2018 16:23:34 +0100 Message-ID: <23215.54774.152043.418244@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1521473056 407 195.159.176.226 (19 Mar 2018 15:24:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2018 15:24:16 +0000 (UTC) Cc: Rolf Eike Beer To: 30855@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 19 16:24:12 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exwdw-0008S7-2m for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Mar 2018 16:24:12 +0100 Original-Received: from localhost ([::1]:42548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exwfz-0004iA-8x for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Mar 2018 11:26:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exwen-0003xa-9C for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exwek-0002Uf-3P for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:25:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exwej-0002UV-UZ for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1exwej-0003jB-Og for bug-gnu-emacs@gnu.org; Mon, 19 Mar 2018 11:25:01 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152147304214258 (code B ref -1); Mon, 19 Mar 2018 15:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Mar 2018 15:24:02 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144408 Archived-At: 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