From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 02 11:12:01 2022 Received: (at 54056) by debbugs.gnu.org; 2 Mar 2022 16:12:01 +0000 Received: from localhost ([127.0.0.1]:40592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPRa4-00071y-Ou for submit@debbugs.gnu.org; Wed, 02 Mar 2022 11:12:00 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:36870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPRa2-00071k-Pk for 54056@debbugs.gnu.org; Wed, 02 Mar 2022 11:11:59 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6BFB43FC; Wed, 2 Mar 2022 17:11:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RGNlw2ExZSmd; Wed, 2 Mar 2022 17:11:51 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 73F6A2EA; Wed, 2 Mar 2022 17:11:51 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Baines Subject: Re: bug#54056: guix-data-service build failure, segfault probably related to guile@3.0.8 References: <87pmnkb44i.fsf@cbaines.net> Date: Wed, 02 Mar 2022 17:11:51 +0100 In-Reply-To: <87pmnkb44i.fsf@cbaines.net> (Christopher Baines's message of "Fri, 18 Feb 2022 15:08:22 +0000") Message-ID: <87fso01ghk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 6BFB43FC X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DBL_PROHIBIT(0.00)[3.0.0.8:email]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 54056 Cc: 54056@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: -0.0 (/) Hi, Christopher Baines skribis: > Core was generated by `/gnu/store/jjl6sa1bhjpj9cssi80yr4h8ihdgk34z-guile-= 3.0.8/bin/guile --no-auto-com'. > Program terminated with signal SIGSEGV, Segmentation fault. This segfault seems to come from a bug (an out-of-range exception is raised) while walking the VM stack to display the backtrace: > #8 0x00007ffff7eaedd0 in error_during_backtrace (data=3D0x7ffff1c2b080, = tag=3Dout-of-range, throw_args=3D0x7fffe5a9bb80) at backtrace.c:252 > #9 0x00007ffff7f68821 in scm_c_with_exception_handler.constprop.0 (type= =3D#t, handler_data=3Dhandler_data@entry=3D0x7fffffff98b0, thunk_data=3Dthu= nk_data@entry=3D0x7fffffff98b0, thunk=3D, handler=3D) at exceptions.c:167 > #10 0x00007ffff7f3a88f in scm_c_catch (tag=3D, body=3D, body_data=3D, handler=3D, handle= r_data=3D, pre_unwind_handler=3Dpre_unwind_handler@entry=3D0= x0, pre_unwind_handler_data=3D0x0) at throw.c:168 > #11 0x00007ffff7f3a8ae in scm_internal_catch (tag=3D, body= =3D, body_data=3D, handler=3D,= handler_data=3D) at throw.c:177 > #12 0x00007ffff7eaf005 in scm_display_backtrace_with_highlights (stack=3D= stack@entry=3D"#" =3D {...}, port=3Dport@entry=3D# 7ffff1c2b080>, first=3Dfirst@entry=3D#f, depth=3D= depth@entry=3D#f, highlights=3Dhighlights@entry=3D()) at backtrace.c:277 (Of course, both the out-of-range exception and subsequent segfault are genuine Guile bugs.) The real cause of the error though seems to be a =E2=80=98match-error=E2=80= =99 in application code: > #17 0x00007ffff7f3bc8d in scm_throw (key=3Dmatch-error, args=3D("match" "= no matching pattern" x86_64-linux)) at throw.c:262 > #18 0x00007ffff7edb239 in throw_ (key=3D, args=3D) at intrinsics.c:396 > #19 0x00007ffff7f3f137 in vm_regular_engine (thread=3D0x7ffff75c8d80) at = vm-engine.c:1183 > #20 0x00007ffff7f4a5e9 in scm_call_n (proc=3D, argv=3D, nargs=3D1) at vm.c:1608 > #21 0x00007ffff7eb2457 in scm_primitive_eval (exp=3D) at e= val.c:671 > #22 0x00007ffff7eeb239 in scm_primitive_load (filename=3Dfilename@entry= =3D"/tmp/guix-build-guix-data-service-0.0.1-29.4a1088c.drv-0/source/tests/j= obs-load-new-guix-revision.scm") at load.c:131 Thoughts? Ludo=E2=80=99.