[CM] CLM-4/SBCL on OS X PPC
Geoff Lee
g.lee at ed.ac.uk
Wed Oct 28 05:47:17 PDT 2009
Greetings,
I have an instrument which works fine on most combinations of CL and
CLM on OS X and Windows.
Specifically it works fine on Intel machines with the following
combination
OS X 10.5.8 / sbcl 1.0.30 / clm-4
On PPC however (with SBCL 1.0.29: the newest I could get to compile
cleanly) gives the following warning when I try to use this instrument
with (with-sound):
WARNING:
attempting to load a string into run without knowing current
endianess...
Followed by the backtrace below [1]:
Unfortunately I don't know much about lisp or clm, and I didn't write
the instrument in question. I'm trying to get CLM working on OS X 10.5
PPC and i386 for our labs and would appreciate any insight into why
clm doesn't seem to know the current endianness, or indeed whether
that's likely to be related to the memory fault error.
The instrument definitely worked with clm-3/sbcl on OS X 10.4/ppc and
intel.
I have tried (pushnew :big-endian *features*), but am pretty much in
the dark here.
Any insights much appreciated. If there is a different lisp which is
known to work well with clm-4 on 10.5 PPC, I'm happy to use that. I've
tried CCL, but it gives much more numerous errors.
Many TIA,
-geoff
1.
Backtrace:
0: (SB-SYS:MEMORY-FAULT-ERROR)
1: ("foreign function: call_into_lisp")
2: (|clm_zeroexpand12| #.(SB-SYS:INT-SAP #X12651008) 22133 #.(SB-
SYS:INT-SAP #X12650008) 225)
3: (ZEROEXPAND1 "/Users/uoesupport/Desktop/medward/feelin-beg.wav"
1)[:EXTERNAL]
4: ((LAMBDA ()))
5: (SB-INT:SIMPLE-EVAL-IN-LEXENV (WITH-SOUND (:STATISTICS T :SCALED-
TO 0.99 :CHANNELS 2 ...) (ZEROEXPAND1 "/Users/uoesupport/Desktop/
medward/feelin-beg.wav" 1 :STRETCH 1 :MIN-FREQ ...)) #<NULL-LEXENV>)
6: (SWANK::EVAL-REGION ..)
Locals:
SB-DEBUG::ARG-0 = "(with-sound (:statistics t :scaled-to .
99 :channels 2\n :srate..
7: ((LAMBDA ()))
8: (SWANK::TRACK-PACKAGE #<CLOSURE (LAMBDA #) {12A2D1BD}>)
9: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME REPL evaluation
request." #<CLOSURE (LAMBDA #) {12A2D18D}>)
10: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA #)
{12A2D17D}>)
11: (SWANK::REPL-EVAL ..)
12: (SB-INT:SIMPLE-EVAL-IN-LEXENV ..)
13: (SWANK::EVAL-FOR-EMACS ..)
14: (SWANK::PROCESS-REQUESTS T)
15: ((LAMBDA ()))
16: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION
SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA #) {12A2D075}>)
17: (SWANK::CALL-WITH-BINDINGS ..)
18: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {11FD0DA9}>
#<CLOSURE (LAMBDA #) {12A2D075}>)
19: (SWANK::HANDLE-REQUESTS #<SWANK::CONNECTION {11FD0DA9}> T)
20: ((LABELS SWANK-BACKEND::RUN) 8)
21: (SB-IMPL::SUB-SUB-SERVE-EVENT NIL NIL)
22: (SB-IMPL::SUB-SERVE-EVENT NIL NIL NIL)
23: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL)
24: (SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "standard
input" {11FD05B1}>)
25: (SB-IMPL::INPUT-CHAR/UTF-8 #<SB-SYS:FD-STREAM for "standard
input" {11FD05B1}> NIL #:EOF-OBJECT)
26: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {11FD05B1}>
NIL #:EOF-OBJECT #<unused argument>)
27: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000CD09}>
NIL #:EOF-OBJECT #<unused argument>)
28: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL
SB-SYS:*STDIN* {1000CD09}> NIL (NIL) T)
29: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL
SB-SYS:*STDIN* {1000CD09}> NIL (NIL) NIL)
30: (READ #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000CD09}> NIL
(NIL) NIL)
31: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL SB-
SYS:*STDIN* {1000CD09}> #<unavailable argument>)
32: (SB-IMPL::REPL-FUN NIL)
33: ((LAMBDA ()))
34: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {11FD0675}
>)
35: (SB-IMPL::TOPLEVEL-REPL NIL)
36: (SB-IMPL::TOPLEVEL-INIT)
37: ((LABELS SB-IMPL::RESTART-LISP))
______________________________________
Geoff Lee <G.Lee at ed.ac.uk>
Computing Support
School of Arts, Culture and Environment
University of Edinburgh
20 Chambers St,
Edinburgh, Scotland,
EH1 1JZ
Tel: +44 (0)131 650 2341
______________________________________
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the Cmdist
mailing list