Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bus Error when running SBCL on Mac
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim McKeaveney  
View profile  
 More options Dec 16 2008, 10:55 pm
From: "Tim McKeaveney" <macoovac...@gmail.com>
Date: Wed, 17 Dec 2008 12:55:09 +0900
Local: Tues, Dec 16 2008 10:55 pm
Subject: [Sbcl-devel] Bus Error when running SBCL on Mac
Downloaded latest binary dist. (1.0.23) to:
/Users/tmck/lisp/SBCL/

Run check by:
$ sh run-sbcl.sh
(running SBCL from: .)
run-sbcl.sh: line 35:   489 Bus error
SBCL_HOME="$BASE"/contrib "$BASE"/src/runtime/sbcl --core
"$BASE"/output/sbcl.core "$@"

I'm running Mac OS X 10.4.11, Intel Core 2 Duo.
I don't have admin priveleges, so I'm trying to run it in my home
directory first.

Anything I've missed?

Regards,
   Timbo

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikodemus Siivola  
View profile  
 More options Dec 17 2008, 9:18 am
From: "Nikodemus Siivola" <nikode...@random-state.net>
Date: Wed, 17 Dec 2008 16:18:45 +0200
Local: Wed, Dec 17 2008 9:18 am
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac

On Wed, Dec 17, 2008 at 5:55 AM, Tim McKeaveney <macoovac...@gmail.com> wrote:
> Downloaded latest binary dist. (1.0.23) to:
> /Users/tmck/lisp/SBCL/

> Run check by:
> $ sh run-sbcl.sh
> (running SBCL from: .)
> run-sbcl.sh: line 35:   489 Bus error
> SBCL_HOME="$BASE"/contrib "$BASE"/src/runtime/sbcl --core
> "$BASE"/output/sbcl.core "$@"

> I'm running Mac OS X 10.4.11, Intel Core 2 Duo.

What does

  src/runtime/sbcl --core output/sbcl.core

do when in the SBCL directory?

Exactly which package did you download? Both

  http://prdownloads.sourceforge.net/sbcl/sbcl-1.0.23-x86-darwin-binary...
  http://prdownloads.sourceforge.net/sbcl/sbcl-1.0.23-x86-64-darwin-bin...

work for me on 10.5.5 using run-sbcl.sh. I can try on a 10.4 box later today.

Cheers,

 -- Nikodemus

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Mastenbrook  
View profile  
 More options Dec 17 2008, 10:05 am
From: Brian Mastenbrook <br...@mastenbrook.net>
Date: Wed, 17 Dec 2008 09:05:10 -0600
Local: Wed, Dec 17 2008 10:05 am
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac
On Dec 17, 2008, at 8:18 AM, Nikodemus Siivola wrote:

> What does

>  src/runtime/sbcl --core output/sbcl.core

> do when in the SBCL directory?

> Exactly which package did you download? Both

>  http://prdownloads.sourceforge.net/sbcl/sbcl-1.0.23-x86-darwin-binary...
>  http://prdownloads.sourceforge.net/sbcl/sbcl-1.0.23-x86-64-darwin-bin...

> work for me on 10.5.5 using run-sbcl.sh. I can try on a 10.4 box  
> later today.

Several users have reported trouble running binaries built under  
Leopard on Tiger systems. I no longer have any 10.4 machines, so I'd  
appreciate any clues you could find.
--
Brian Mastenbrook
br...@mastenbrook.net
http://brian.mastenbrook.net/

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikodemus Siivola  
View profile  
 More options Dec 17 2008, 10:48 am
From: "Nikodemus Siivola" <nikode...@random-state.net>
Date: Wed, 17 Dec 2008 17:48:34 +0200
Local: Wed, Dec 17 2008 10:48 am
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac
On Wed, Dec 17, 2008 at 5:05 PM, Brian Mastenbrook

<br...@mastenbrook.net> wrote:
> Several users have reported trouble running binaries built under Leopard on
> Tiger systems.

Right, but I wasn't aware of any issues post 1.0.21.12.

> I no longer have any 10.4 machines, so I'd appreciate any
> clues you could find.

Will do. If nothing else, I can at least provide a 10.4 compatible binary.

Cheers,

 -- Nikodemus

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Froyd  
View profile  
 More options Dec 17 2008, 11:16 am
From: "Nathan Froyd" <froy...@gmail.com>
Date: Wed, 17 Dec 2008 11:16:44 -0500
Local: Wed, Dec 17 2008 11:16 am
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac
On Wed, Dec 17, 2008 at 9:18 AM, Nikodemus Siivola

I can confirm that the 1.0.23 binary packages fall over on a 10.4 box.

-Nathan

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Froyd  
View profile  
 More options Dec 17 2008, 11:19 am
From: "Nathan Froyd" <froy...@gmail.com>
Date: Wed, 17 Dec 2008 11:19:44 -0500
Local: Wed, Dec 17 2008 11:19 am
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac

On Wed, Dec 17, 2008 at 11:16 AM, Nathan Froyd <froy...@gmail.com> wrote:
> I can confirm that the 1.0.23 binary packages fall over on a 10.4 box.

GDB says:

(gdb) handle SIGUSR1 pass nostop
Signal        Stop      Print   Pass to program Description
SIGUSR1       No        Yes     Yes             User defined signal 1
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program:
/Users/froydnj/testing/sbcl-1.0.23-x86-darwin/src/runtime/sbcl --core
output/sbcl.core

Program received signal SIGUSR1, User defined signal 1.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x9010c802 in _malloc_initialize ()
(gdb) where
#0  0x9010c802 in _malloc_initialize ()
#1  0x900028d7 in malloc ()
#2  0x000097a8 in successful_malloc ()
#3  0x000097db in copied_string ()
#4  0x0000c75e in os_get_runtime_executable_path ()
#5  0x000099c4 in main ()
(gdb)

-Nathan

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikodemus Siivola  
View profile  
 More options Dec 17 2008, 11:45 am
From: "Nikodemus Siivola" <nikode...@random-state.net>
Date: Wed, 17 Dec 2008 18:45:14 +0200
Local: Wed, Dec 17 2008 11:45 am
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac

On Wed, Dec 17, 2008 at 6:16 PM, Nathan Froyd <froy...@gmail.com> wrote:
> I can confirm that the 1.0.23 binary packages fall over on a 10.4 box.

Does this one work (build on Leopard)?

  http://random-state.net/tmp/sbcl-1.0.23.46.tiger-binary.tar.gz

The difference is putting the -mmacosx-version-min=10.4 to LINKFLAGS as well.

ndex: src/runtime/Config.x86-darwin
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/runtime/Config.x86-darwin,v
retrieving revision 1.6
diff -u -r1.6 Config.x86-darwin
--- src/runtime/Config.x86-darwin       9 Oct 2008 00:36:09 -0000       1.6
+++ src/runtime/Config.x86-darwin       17 Dec 2008 16:43:23 -0000
@@ -10,6 +10,7 @@
 # files for more information.

 CFLAGS = -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.4
+LINKFLAGS += -mmacosx-version-min=10.4
 OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c
darwin-dlshim.c darwin-langinfo.c
 OS_LIBS = -lSystem -lc -ldl
 ifdef LISP_FEATURE_SB_THREAD

Cheers,

 -- Nikodemus

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Froyd  
View profile  
 More options Dec 17 2008, 12:09 pm
From: "Nathan Froyd" <froy...@gmail.com>
Date: Wed, 17 Dec 2008 12:09:24 -0500
Local: Wed, Dec 17 2008 12:09 pm
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac
On Wed, Dec 17, 2008 at 11:45 AM, Nikodemus Siivola

<nikode...@random-state.net> wrote:
> On Wed, Dec 17, 2008 at 6:16 PM, Nathan Froyd <froy...@gmail.com> wrote:

>> I can confirm that the 1.0.23 binary packages fall over on a 10.4 box.

> Does this one work (build on Leopard)?

>  http://random-state.net/tmp/sbcl-1.0.23.46.tiger-binary.tar.gz

> The difference is putting the -mmacosx-version-min=10.4 to LINKFLAGS as well.

Yes, that works much better.

-Nathan

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikodemus Siivola  
View profile  
 More options Dec 17 2008, 12:13 pm
From: "Nikodemus Siivola" <nikode...@random-state.net>
Date: Wed, 17 Dec 2008 19:13:27 +0200
Local: Wed, Dec 17 2008 12:13 pm
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac

On Wed, Dec 17, 2008 at 7:09 PM, Nathan Froyd <froy...@gmail.com> wrote:
> On Wed, Dec 17, 2008 at 11:45 AM, Nikodemus Siivola
> <nikode...@random-state.net> wrote:
>> On Wed, Dec 17, 2008 at 6:16 PM, Nathan Froyd <froy...@gmail.com> wrote:

>>> I can confirm that the 1.0.23 binary packages fall over on a 10.4 box.

>> Does this one work (build on Leopard)?

>>  http://random-state.net/tmp/sbcl-1.0.23.46.tiger-binary.tar.gz

>> The difference is putting the -mmacosx-version-min=10.4 to LINKFLAGS as well.

> Yes, that works much better.

Committed as 1.0.23.47.

Cheers,

 -- Nikodemus

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Mastenbrook  
View profile  
 More options Dec 17 2008, 4:27 pm
From: Brian Mastenbrook <br...@mastenbrook.net>
Date: Wed, 17 Dec 2008 15:27:05 -0600
Local: Wed, Dec 17 2008 4:27 pm
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac

On Dec 17, 2008, at 11:13 AM, Nikodemus Siivola wrote:

Thanks Nikodemus! Somehow I did not realize that what was in CFLAGS  
wasn't passed to the linker, and thought it was working because I did  
not see any more _open$UNIX2003 symbols in the output from nm.
--
Brian Mastenbrook
br...@mastenbrook.net
http://brian.mastenbrook.net/

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim McKeaveney  
View profile  
 More options Dec 17 2008, 10:32 pm
From: "Tim McKeaveney" <macoovac...@gmail.com>
Date: Thu, 18 Dec 2008 12:32:18 +0900
Local: Wed, Dec 17 2008 10:32 pm
Subject: Re: [Sbcl-devel] Bus Error when running SBCL on Mac
Thanks all.

http://random-state.net/tmp/sbcl-1.0.23.46.tiger-binary.tar.gz.  seems to work.

Timbo

--------------------------------------------------------------------------- ---
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitm...
_______________________________________________
Sbcl-devel mailing list
Sbcl-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »