From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Paul Adrian Glaubitz Newsgroups: gmane.lisp.guile.devel Subject: Re: Regression on 32-bit big-endian targets Date: Sat, 12 Dec 2020 21:25:31 +0100 Message-ID: <1ee485dd-d5fa-698e-91ec-50fc569f78a3@physik.fu-berlin.de> References: <9a864c2b-2076-5849-2af2-e52f267cdb70@physik.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38729"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Dec 12 21:27:02 2020 Return-path: Envelope-to: guile-devel@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 1koBTq-0009xf-17 for guile-devel@m.gmane-mx.org; Sat, 12 Dec 2020 21:27:02 +0100 Original-Received: from localhost ([::1]:60006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koBTp-0007k4-2L for guile-devel@m.gmane-mx.org; Sat, 12 Dec 2020 15:27:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koBSg-0007jK-JZ for guile-devel@gnu.org; Sat, 12 Dec 2020 15:25:50 -0500 Original-Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:45499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koBSS-0005jw-4s for guile-devel@gnu.org; Sat, 12 Dec 2020 15:25:50 -0500 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) for guile-devel@gnu.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1koBSO-001KAw-KZ; Sat, 12 Dec 2020 21:25:32 +0100 Original-Received: from p5b13ae73.dip0.t-ipconnect.de ([91.19.174.115] helo=[192.168.178.139]) by inpost2.zedat.fu-berlin.de (Exim 4.94) for guile-devel@gnu.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1koBSO-00203E-3W; Sat, 12 Dec 2020 21:25:32 +0100 In-Reply-To: <9a864c2b-2076-5849-2af2-e52f267cdb70@physik.fu-berlin.de> Content-Language: en-US X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.174.115 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@zedat.fu-berlin.de; helo=outpost1.zedat.fu-berlin.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20620 Archived-At: Hi! On 12/11/20 12:41 PM, John Paul Adrian Glaubitz wrote: > There seems to be a regression in guile that was introduced somewhere between the > 3.0.2 and 3.0.4 which seems to affect 32-bit big-endian targets only [1]: Here is the backtrace: #0 0x006e3e9c in scm_sum (x=x@entry=0x0, y=0x6) at numbers.c:7569 7569 else if (SCM_BIGP (x)) [Current thread is 1 (Thread 0xf7c34480 (LWP 529732))] (gdb) bt #0 0x006e3e9c in scm_sum (x=x@entry=0x0, y=0x6) at numbers.c:7569 #1 0x006cd498 in add_immediate (a=0x0, b=) at intrinsics.c:80 #2 0x00749818 in vm_regular_engine (thread=0xf7971e00) at vm-engine.c:1583 #3 0x0074c2f4 in scm_call_n (proc=proc@entry=0xeffbf148, argv=argv@entry=0x0, nargs=nargs@entry=0) at vm.c:1608 #4 0x006a70fc in scm_call_0 (proc=proc@entry=0xeffbf148) at eval.c:490 #5 0x006d39d8 in scm_primitive_load_path (args=) at load.c:1259 #6 0x006d3f28 in scm_c_primitive_load_path (filename=filename@entry=0x776458 "ice-9/boot-9") at load.c:1275 #7 0x006c9310 in scm_load_startup_files () at init.c:222 #8 0x006c96a8 in scm_i_init_guile (base=base@entry=0xffecfb18) at init.c:505 #9 0x0073b858 in scm_i_init_thread_for_guile (base=base@entry=0xffecfb18, dynamic_state=dynamic_state@entry=0x0) at threads.c:570 #10 0x0073ba1c in scm_i_init_thread_for_guile (dynamic_state=0x0, base=0xffecfb18) at threads.c:677 #11 with_guile (base=0xffecfb18, data=0xffecfb38) at threads.c:638 #12 0x003e17e4 in GC_call_with_stack_base () from /usr/lib/powerpc-linux-gnu/libgc.so.1 #13 0x0073bfb8 in scm_i_with_guile (dynamic_state=, data=0xffecfb28, func=0x6c90c0 ) at threads.c:688 #14 scm_with_guile (func=func@entry=0x6c90c0 , data=data@entry=0xffecfb58) at threads.c:694 #15 0x006c93c8 in scm_boot_guile (argc=argc@entry=16, argv=argv@entry=0xffecfe14, main_func=main_func@entry=0x800950 , closure=closure@entry=0x0) at init.c:290 #16 0x00800754 in main (argc=16, argv=0xffecfe14) at guile.c:95 (gdb) Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913