From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Re: segfault in CVS HEAD Date: Sat, 26 Jun 2004 10:26:33 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <16605.13113.738344.184179@localhost.localdomain> References: <16587.29122.106192.358092@localhost.localdomain> <16587.29243.149983.991579@localhost.localdomain> <16587.33549.810826.520050@localhost.localdomain> <40D53991.7050905@dirk-herrmanns-seiten.de> <16597.63220.612936.312103@localhost.localdomain> <16600.38698.72971.988610@localhost.localdomain> <40DD116E.8030701@dirk-herrmanns-seiten.de> Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1088238455 8105 80.91.224.253 (26 Jun 2004 08:27:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Jun 2004 08:27:35 +0000 (UTC) Cc: jantien@xs4all.nl, guile-devel@gnu.org, Marius Vollmer Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 26 10:27:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Be8Wy-0007Ew-00 for ; Sat, 26 Jun 2004 10:27:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Be8YT-0005nl-CZ for guile-devel@m.gmane.org; Sat, 26 Jun 2004 04:28:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Be8Y6-0005iW-VA for guile-devel@gnu.org; Sat, 26 Jun 2004 04:28:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Be8Y6-0005iC-6U for guile-devel@gnu.org; Sat, 26 Jun 2004 04:28:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Be8Y5-0005i7-Qf for guile-devel@gnu.org; Sat, 26 Jun 2004 04:28:33 -0400 Original-Received: from [213.84.26.127] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Be8WD-00033P-QX for guile-devel@gnu.org; Sat, 26 Jun 2004 04:26:38 -0400 Original-Received: from localhost.localdomain.byrd.xs4all.nl (byrd [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id i5Q8QXKT004763; Sat, 26 Jun 2004 10:26:33 +0200 Original-To: Dirk Herrmann In-Reply-To: <40DD116E.8030701@dirk-herrmanns-seiten.de> X-Mailer: VM 7.14 under Emacs 21.3.1 X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-MailScanner-From: hanwen@xs4all.nl X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 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.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3819 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3819 dirk@dirk-herrmanns-seiten.de writes: > Han-Wen Nienhuys wrote: > > >unfortunately, your fix was not completely successful: > > > Sorry, but I don't have sufficient information yet. Could you provide a > simple test case that allows to reproduce the problem? If that is not > possible, I could probably also do with a stack backtrace together with > the printout of the expression and environment at the uppermost call to > an unmemoization function. > > Sorry for the inconvenience, > Dirk I don't have time now to isolate a failure case. The best I can do is: get lilypond-2.3.5 (go to lilypond.org), compile it, remove comments (the %{ and %} ) from input/regression/lily-in-scheme.ly and do lily/out/lilypond-bin -V input/regression/lily-in-scheme.ly this will produce a similar crash. (gdb) down #3 0x4002ecd4 in scm_unmemocopy (forms=0x404ded30, env=0x404fe798) at eval.c:2401 2401 const SCM um_forms = unmemoize_exprs (forms, env); (gdb) ps forms (#@let* (failed (#@quote) handler (#@lambda (key arg) #@lambda (set! failed (cons arg failed)))) (#> (#@lambda (f) (#> (#@quote . ly-file-failed) (#@lambda () (#> #@1+0)) #@1-0)) #@2+0) (if (pair? failed) (begin (display (string-append *** Failed files: (string-join failed) )) (exit 1)) (exit 0))) $3 = void (gdb) ps env (((files) (input/regression/lily-in-scheme.ly)) #) $4 = void (gdb) bt #0 unmemoize_expression (expr=0x21c, env=0x404) at eval.c:549 #1 0x4002c2f8 in unmemoize_exprs (exprs=0x404deb88, env=0x404fe798) at eval.c:597 #2 0x4002c2f8 in unmemoize_exprs (exprs=0x404ded30, env=0x404fe798) at eval.c:597 #3 0x4002ecd4 in scm_unmemocopy (forms=0x404ded30, env=0x404fe798) at eval.c:2401 #4 0x40025174 in scm_unmemoize (m=0x21c) at debug.c:282 #5 0x40021d23 in display_frame (frame=0x405fd220, nfield=2, indentation=1, sport=0x405fd2c0, port=0x402d41d8, pstate=0x82b1680) at backtrace.c:621 #6 0x40022023 in display_backtrace_body (a=0xbfffd860) at backtrace.c:728 #7 0x4006ec5d in scm_internal_catch (tag=0x104, body=0x40021dc4 , body_data=0xbfffd860, handler=0x40021324 , handler_data=0xbfffd858) at throw.c:172 #8 0x4002220b in scm_display_backtrace (stack=0x0, port=0x404, first=0x0, depth=0x0) at backtrace.c:758 #9 0x4006f11e in handler_message (handler_data=0x0, tag=0x824c8a0, args=0x405fd360) at throw.c:401 #10 0x4006f1a0 in scm_handle_by_message (handler_data=0x0, tag=0x824c8a0, args=0x405fd360) at throw.c:452 #11 0x4006f3fc in scm_ithrow (key=0x824c8a0, args=0x405fd360, noreturn=1) at throw.c:597 #12 0x4002afc1 in scm_error (key=0x824c8a0, subr=0x0, message=0x404
, args=0x405fd388, rest=0x4) at error.c:71 > -- Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel