unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Jeff Sparkes <jsparkes@gmail.com>
Cc: bug-guile@gnu.org
Subject: Re: guile 2.0.1 crash compiling gnome startup code
Date: Fri, 20 May 2011 17:18:48 +0200	[thread overview]
Message-ID: <m3fwo9v1rb.fsf@unquote.localdomain> (raw)
In-Reply-To: <yf3t7h9xpcdf.fsf@gmail.com> (Jeff Sparkes's message of "Wed, 11 May 2011 09:58:52 -0400")

Hi Jeff,

On Wed 11 May 2011 15:58, Jeff Sparkes <jsparkes@gmail.com> writes:

> [jsparkes ~]$ gdb guile core
> GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/local/bin/guile...done.
> [New Thread 8947]
>
> warning: Can't read pathname for load map: Input/output error.
> Reading symbols from /usr/local/lib/libguile-2.0.so.22...done.
> Loaded symbols for /usr/local/lib/libguile-2.0.so.22
> Reading symbols from /lib/i386-linux-gnu/libcrypt.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libcrypt.so.1
> Reading symbols from /lib/i386-linux-gnu/libm.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libm.so.6
> Reading symbols from /lib/i386-linux-gnu/libpthread.so.0...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libpthread.so.0
> Reading symbols from /lib/i386-linux-gnu/libc.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libc.so.6
> Reading symbols from /usr/local/lib/libgc.so.1...done.
> Loaded symbols for /usr/local/lib/libgc.so.1
> Reading symbols from /usr/lib/libffi.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libffi.so.5
> Reading symbols from /lib/i386-linux-gnu/librt.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/librt.so.1
> Reading symbols from /usr/lib/libunistring.so.0...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libunistring.so.0
> Reading symbols from /usr/lib/libgmp.so.3...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libgmp.so.3
> Reading symbols from /usr/lib/libltdl.so.7...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libltdl.so.7
> Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /lib/i386-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libdl.so.2
> Reading symbols from /lib/i386-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libgcc_s.so.1
> Reading symbols from /usr/lib/i386-linux-gnu/gconv/ISO8859-1.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/i386-linux-gnu/gconv/ISO8859-1.so
> Reading symbols from /usr/local/lib/libguile-gnome-gobject-2.so.0...done.
> Loaded symbols for /usr/local/lib/libguile-gnome-gobject-2.so.0
> Reading symbols from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
> Reading symbols from /usr/lib/i386-linux-gnu/libgthread-2.0.so.0...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
> Reading symbols from /lib/i386-linux-gnu/libglib-2.0.so.0...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libglib-2.0.so.0
> Reading symbols from /usr/lib/libguile.so.17...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libguile.so.17

^^^ Ding ding ding!  We have a winner! ;-)

> Reading symbols from /lib/i386-linux-gnu/libpcre.so.3...(no debugging symbols found)...done.
> Loaded symbols for /lib/i386-linux-gnu/libpcre.so.3
> Core was generated by `guile /home/jsparkes/toolbar.scm'.
> Program terminated with signal 11, Segmentation fault.
> #0  scm_cell () at /usr/include/libguile/inline.h:127
> 127	      *freelist = SCM_FREE_CELL_CDR (*freelist);

Indeed this is guile 1.8 code, which obviously won't work in the same
image as Guile 2.0 code.

The solution is to compile guile-gnome against Guile 2.0.

Regards,

Andy
-- 
http://wingolog.org/



      reply	other threads:[~2011-05-20 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 13:58 guile 2.0.1 crash compiling gnome startup code Jeff Sparkes
2011-05-20 15:18 ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3fwo9v1rb.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=bug-guile@gnu.org \
    --cc=jsparkes@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).