[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-2.0.0 build error on OS X 10.6.6
From: |
Michael Ellis |
Subject: |
Re: guile-2.0.0 build error on OS X 10.6.6 |
Date: |
Mon, 21 Feb 2011 12:48:25 -0500 |
On Mon, Feb 21, 2011 at 12:34 PM, Michael Ellis
<address@hidden> wrote:
> On Mon, Feb 21, 2011 at 12:26 PM, Hans Aberg <address@hidden> wrote:
>>> FWIW I had some previous troubles with guile 1.8 and readline that
>>> turned out to be a 64 vs 32 bit issue. As I recall, re-installing
>>> readline from a tarball instead of from MacPorts cured that. Any
>>> thoughts as to whether this might be related?
>>
>> I used readline-6.1, and I do not try to link against any MacPorts stuff.
>
> I installed readline 6.2 from tarball just now and the build
> completed. That's the good news. The bad news is that guile is
> segfaulting on bootup and it looks like readline is the culprit.
>
> michael-elliss-macbook:guile-2.0.0 mellis$ gdb guile
> ---------- <snip> --------------
> (gdb) run
> Starting program: /usr/local/bin/guile
> Reading symbols for shared libraries .++++++++...... done
> Reading symbols for shared libraries ... done
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0x0000000001a2ce98
> 0x00007fff819267f0 in strncmp ()
> (gdb) bt
> #0 0x00007fff819267f0 in strncmp ()
> #1 0x00000001019fe684 in init_bouncing_parens [inlined] () at
> /Users/mellis/Downloads/guile-2.0.0/guile-readline/readline.c:445
> #2 0x00000001019fe684 in scm_init_readline () at readline.c:575
> ---------- <snip> --------------
> #28 0x0000000100043df7 in scm_boot_guile (argc=<value temporarily
> unavailable, due to optimizations>, argv=<value temporarily
> unavailable, due to optimizations>, main_func=<value temporarily
> unavailable, due to optimizations>, closure=<value temporarily
> unavailable, due to optimizations>) at init.c:329
> #29 0x0000000100000ed2 in main (argc=<value temporarily unavailable,
> due to optimizations>, argv=<value temporarily unavailable, due to
> optimizations>) at guile.c:70
> (gdb)
>
Commenting out readline in my .guile avoids the segfault.
- guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/20
- Re: guile-2.0.0 build error on OS X 10.6.6, Andy Wingo, 2011/02/20
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/20
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/20
- Re: guile-2.0.0 build error on OS X 10.6.6, Hans Aberg, 2011/02/20
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Hans Aberg, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Hans Aberg, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6,
Michael Ellis <=
- Re: guile-2.0.0 build error on OS X 10.6.6, Hans Aberg, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Hans Aberg, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Hans Aberg, 2011/02/21
- Re: guile-2.0.0 build error on OS X 10.6.6, Michael Ellis, 2011/02/22