From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Abou Samra Newsgroups: gmane.comp.gnu.lilypond.devel,gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Mysterious crash in BDWGC on Windows Date: Sun, 19 Jun 2022 21:30:18 +0200 Message-ID: <922fa43a-882d-b763-3b8b-4a440f02cb04@abou-samra.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36944"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: lilypond-devel To: guile-devel@gnu.org, guile-user@gnu.org Original-X-From: lilypond-devel-bounces+gnu-lilypond-devel=m.gmane-mx.org@gnu.org Sun Jun 19 21:30:55 2022 Return-path: Envelope-to: gnu-lilypond-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 1o30dK-0009Ot-8E for gnu-lilypond-devel@m.gmane-mx.org; Sun, 19 Jun 2022 21:30:54 +0200 Original-Received: from localhost ([::1]:35072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o30dH-0007Y5-1V for gnu-lilypond-devel@m.gmane-mx.org; Sun, 19 Jun 2022 15:30:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o30cs-0007XE-CR; Sun, 19 Jun 2022 15:30:26 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.130]:47927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o30cp-00043K-9H; Sun, 19 Jun 2022 15:30:25 -0400 Original-Received: from [192.168.1.44] ([82.65.251.18]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.168]) with ESMTPSA (Nemesis) id 1Mzyi6-1noDbJ0nnq-00x0e0; Sun, 19 Jun 2022 21:30:19 +0200 Content-Language: en-US X-Provags-ID: V03:K1:v15iceHIw4idLFZc46Mf41eUDdl1ZspnyMo8UrfYlPXl85XvNge WVNgeKXquqWHY8XXkSRwhryfQ4tBLdG28MLWuu1V3fKORts0Oup73wrePo6pDVR3VWc7GAM ju4fHX/ifbGO3eL62B7nmDezpyizAHSvZpHzrNv9vsuE1cfr04nuxWNI/AkyAFY74nwyXEi 1zm3gsRJhz/nsiUENTYFQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:SBnQsYyvjUY=:NVF35GPOKdJgd7RwArL5+6 TR2KEZvqanNdQjBg1LvyfEjGkrP5SPAcFogjekD4x9A/2gj0HSAGQ0slTkwNPyAJytDwCtcTY lEUVgIl0q5+jUedQgbX7/QH1TozIgXMuyP0569Q9MJR+TrSMKvCtE/RnQwXh3JJsgAZ1tHEO5 SN0TVdzU8KaVdbtYhNGhge3BUXHjLLvlBWWzRg6rPKFPZiGq9D10kiM92VD8j/C3vhxlb2zeu D0pYRCuWoi6z/PDiCmIQBzDQPYFSn8bUFOAap4WKC4A12tClgf36Sv66b6NwFfgZIG0qClInq AZ2xrFQWlHRdZDoxZiwUPRuuVyycyKStcr4fO/2GBFAegIT5OvNoRF7YPDzJL+31UdPC/EVb+ sq2P1zhHft6lyvrjcI18AVHDgyNN31Hhdb7/nFOYE53LPu4Alzvng3GSDfPUBd7YiTdkn1PUC QOeBP3TsLx4+oQ49IFkToUmn0FGTrpyN92xbyUVkcU8GWExn4ULS/4SQh9MHXOv1tEIy0LiBF BfjV5b530XQVaCLEImOm5wO3YN2FKO/PdCYejmZZ28JcYsUXRdC2n8E4xDVJkDr0Fma3fPn+q 1rZtePVgEOoaT98MOaJ9IeJesDg8adnLFUvWyx1b24/1BS1IhDDtcia+SETgdVJRf53ecmMli FiygICrlDLaXkl1qyaoWbVq7hqIJNOTY3N8hz6/bYWG47Xifo8dIVn40/V1W0Kk8sNTzEyJ71 dCKEzBvB1DaKZvNghXm7fCm9dnDSUrH0hKgBUA== Received-SPF: none client-ip=212.227.126.130; envelope-from=jean@abou-samra.fr; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: lilypond-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions on LilyPond development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lilypond-devel-bounces+gnu-lilypond-devel=m.gmane-mx.org@gnu.org Original-Sender: "lilypond-devel" Xref: news.gmane.io gmane.comp.gnu.lilypond.devel:79905 gmane.lisp.guile.devel:21223 gmane.lisp.guile.user:18314 Archived-At: Hi Guilers, Sorry about the double post on guile-devel and guile-user, I wasn't sure which one was more appropriate for this. In LilyPond, we're getting random crashes on Windows builds, with Guile 2.2 [*]. These are builds are done by cross-compilation to MinGW. Tracker issue: https://gitlab.com/lilypond/lilypond/-/issues/6361 Example backtrace (trimmed): Thread 1 received signal SIGSEGV, Segmentation fault. GC_mark_from (mark_stack_top=0x24956eb0ae0, mark_stack=0x24956eb0000, mark_stack_limit=0x24956ec0000) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/mark.c:816 816 /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/mark.c: No such file or directory. (gdb) backtrace #0 GC_mark_from (mark_stack_top=0x24956eb0ae0, mark_stack=0x24956eb0000, mark_stack_limit=0x24956ec0000) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/mark.c:816 #1 0x00007ff6c2950338 in GC_mark_some (cold_gc_frame=0x7b439fba10 "\006") at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/mark.c:321 #2 0x00007ff6c2947a25 in GC_stopped_mark (stop_func=stop_func@entry=0x7ff6c29478b0 ) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/alloc.c:880 #3 0x00007ff6c2948abb in GC_try_to_collect_inner (stop_func=stop_func@entry=0x7ff6c29478b0 ) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/alloc.c:626 #4 0x00007ff6c2948d58 in GC_try_to_collect_inner (stop_func=0x7ff6c29478b0 ) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/alloc.c:577 #5 GC_try_to_collect_general (stop_func=stop_func@entry=0x0, force_unmap=force_unmap@entry=0) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/alloc.c:1298 #6 0x00007ff6c294918d in GC_gcollect () at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/gc-8.2.0/alloc.c:1323 #7 0x00007ff6c2896b69 in scm_i_gc (what=) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/guile-2.2.7/libguile/gc.c:266 #8 scm_gc () at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/guile-2.2.7/libguile/gc.c:255 #9 0x00007ff6c290788f in vm_regular_engine (thread=0x0, vp=0x2495b083f30, registers=0x24956ec0000, resume=1016) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/guile-2.2.7/libguile/vm-engine.c:786 #10 0x00007ff6c2909c9b in scm_call_n (proc=0x249590a3d40, argv=argv@entry=0x7b439fbe78, nargs=nargs@entry=1) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/guile-2.2.7/libguile/vm.c:1260 #11 0x00007ff6c288ee19 in scm_call_1 (proc=, arg1=) at /home/jean/repos/lilypond/release/binaries/mingw/dependencies/src/guile-2.2.7/libguile/eval.c:485 #12 0x00007ff6c2836e0a in Method_instance::operator() (this=) at /home/jean/repos/lilypond/release/binaries/mingw/lilypond/lilypond-2.23.10/lily/include/callback.hh:212 #13 Translator_group::precomputed_translator_foreach (idx=STOP_TRANSLATION_TIMESTEP, this=0x2495d75bb90) at /home/jean/repos/lilypond/release/binaries/mingw/lilypond/lilypond-2.23.10/lily/translator-group.cc:267 As a further data point, the bug only reproduces with address space layout randomization enabled. Do you have any idea what might be causing this? At LilyPond, we're totally lost on what could provoke such an internal crash in BDWGC. Do you have successful experience with using Guile 2.2 on Windows? Did you see this kind of thing before? In short, does it ring a bell? Thanks, Jean [*] I quickly tried checking if they reproduced with Guile 3 but got a boot failure and didn't dig deeper. See the issue.