From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Bergstra Newsgroups: gmane.lisp.guile.bugs Subject: Re: simple-format causes segfault? Date: Sun, 7 May 2006 14:15:19 -0400 Message-ID: <20060507181518.GB9700@aphex.iro.umontreal.ca> References: <20060506033853.GB26686@aphex.iro.umontreal.ca> <877j4yrb8y.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147025739 13458 80.91.229.2 (7 May 2006 18:15:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 May 2006 18:15:39 +0000 (UTC) Cc: bug-guile@gnu.org, James Bergstra Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun May 07 20:15:35 2006 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fcnn3-0003TE-TP for guile-bugs@m.gmane.org; Sun, 07 May 2006 20:15:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fcnn3-0003Tt-9D for guile-bugs@m.gmane.org; Sun, 07 May 2006 14:15:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fcnmz-0003TP-IK for bug-guile@gnu.org; Sun, 07 May 2006 14:15:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fcnmx-0003Sr-Vi for bug-guile@gnu.org; Sun, 07 May 2006 14:15:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fcnmx-0003So-RH for bug-guile@gnu.org; Sun, 07 May 2006 14:15:27 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fcnnc-0006KE-Tz for bug-guile@gnu.org; Sun, 07 May 2006 14:16:09 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id DD6EA2CF5ED; Sun, 7 May 2006 14:15:26 -0400 (EDT) Original-Received: from aphex.iro.umontreal.ca (aphex.iro.umontreal.ca [132.204.26.139]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C0C3B445C; Sun, 7 May 2006 14:15:19 -0400 (EDT) Original-Received: by aphex.iro.umontreal.ca (Postfix, from userid 31705) id A20766D6E3; Sun, 7 May 2006 14:15:19 -0400 (EDT) Original-To: Neil Jerram Content-Disposition: inline In-Reply-To: <877j4yrb8y.fsf@ossau.uklinux.net> User-Agent: Mutt/1.4.2.1i X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: bergstrj@iro.umontreal.ca X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3236 Archived-At: > To begin with, please just post the code and any input that it needs > to repro the problem. That should be enough if the problem is not > specific to your environment. If it isn't enough, we can move onto > cores later. Thank you for your reply. Unfortunately, my program is not easy to send. I've spent an hour just now trying to distill a simple test case with no luck. Almost any change I make to the program seems to cause it not to segfault. For example: - replacing an open file with current-input-port - moving the script to a different folder (perhaps to a sufficiently short path?) - moving code from a (load)'ed file into the script itself One bit of evidence to maybe keep in mind as you continue to improve guile is that sometimes it ran perfectly, sometimes it segfaulted, and sometimes it aborted with this message: ERROR: In procedure simple-format: ERROR: Wrong type argument in position 1: # I was very surprised that some of these actions had an effect on the behaviour of my script. Since this problem has such a simple workaround (use display instead of simple-format), I don't want to explore these mysteries any longer. I'm baffled and I'm giving up :( I've posted the cores on my website: http://www-etud.iro.umontreal.ca/~bergstrj/guile-cores/ -- James Bergstra http://www-etud.iro.umontreal.ca/~bergstrj _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile