From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frithjof Newsgroups: gmane.lisp.guile.bugs Subject: 'Segmentation fault' in example program Date: Tue, 09 May 2006 20:37:49 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1147199852 22672 80.91.229.2 (9 May 2006 18:37:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 May 2006 18:37:32 +0000 (UTC) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue May 09 20:37:29 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 1FdX57-0003dB-TC for guile-bugs@m.gmane.org; Tue, 09 May 2006 20:37:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdX57-0002vu-Cr for guile-bugs@m.gmane.org; Tue, 09 May 2006 14:37:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdX55-0002vo-5D for bug-guile@gnu.org; Tue, 09 May 2006 14:37:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdX51-0002v1-Ew for bug-guile@gnu.org; Tue, 09 May 2006 14:37:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdX51-0002uy-Bt for bug-guile@gnu.org; Tue, 09 May 2006 14:37:07 -0400 Original-Received: from [141.35.1.24] (helo=fsuj28a.rz.uni-jena.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FdX68-00027S-5C for bug-guile@gnu.org; Tue, 09 May 2006 14:38:16 -0400 Original-Received: from schnapphans.rz.uni-jena.de (schnapphans.rz.uni-jena.de [141.35.1.29]) by fsuj28a.rz.uni-jena.de (8.12.11/8.12.11) with SMTP id k49Ib4YL023737 for ; Tue, 9 May 2006 20:37:04 +0200 Original-Received: from lc08.rz.uni-jena.de(141.35.1.23) by schnapphans.rz.uni-jena.de via smtp id 01f2_73a05dca_df8a_11da_849e_001143376fda; Tue, 09 May 2006 20:34:29 +0200 Original-Received: from frithjof.familie (p54B85348.dip.t-dialin.net [84.184.83.72]) by lc08.rz.uni-jena.de (8.12.8/8.12.8) with ESMTP id k49Ib3pN016184 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 9 May 2006 20:37:03 +0200 Original-Received: from frithjof (helo=frithjof.familie) by frithjof.familie with local-esmtp (Exim 4.50) id 1FdX5h-0001EI-2X for bug-guile@gnu.org; Tue, 09 May 2006 20:37:49 +0200 Original-To: bug-guile@gnu.org X-Mailer: MH-E 7.82; nmh 1.1; GNU Emacs 21.4.1 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:3240 Archived-At: Hey, when trying to compile the example from chapter "2.3.3 Linking Guile into Programms" in the Reference Manual with gcc 3.3.5 I get the following: gcc -o simple-guile simple-guile.c -lguile -pthread \ -Wl,-rpath,/usr/local/lib (gdb) run Starting program: /home/frithjof/krams/guile/simple-guile [Thread debugging using libthread_db enabled] [New Thread 1076640096 (LWP 3660)] [New Thread 1087372208 (LWP 3663)] guile> (* 3 3) 9 guile> (version) "1.8.0" guile> (my-hostname) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076640096 (LWP 3660)] 0x40180363 in strlen () from /lib/tls/libc.so.6 (gdb) Is my system just not set up correctly or is this a bug in Guile or one in the example? Yours, Frithjof _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile