make-thread on 64bit causes segfault

Maurice <[email protected]> Sun, 9 Jan 2005 02:06:47 +0100
Newsgroups gmane.lisp.librep
Message-ID <[email protected]>
Hi,

rep compiled for x86_64 gives me a segmentation fault when calling the
function 'make-thread'. My system is an AMD 64 Athlon processor using
debian-amd64 as the operating system.

I tried the latest cvs-version:

  user> (require 'rep.threads)
  t
  user> (make-thread (lambda ()))
  
  Program received signal SIGSEGV, Segmentation fault.
  0x0000002a95d5cce3 in memcpy () from /lib/libc.so.6
  (gdb) bt
  #0  0x0000002a95d5cce3 in memcpy () from /lib/libc.so.6
  #1  0x0000002a95689015 in save_stack (c=0x5450c0) at continuations.c:492
  #2  0x0000002a956896f9 in primitive_call_cc (
      callback=0x2a95689d00 <inner_make_thread>, data=0x545040, c=0x5450c0)
      at continuations.c:735
  #3  0x0000002a95689e0d in ensure_default_thread () at continuations.c:1016
  #4  0x0000002a95689e82 in make_thread (thunk=5507320, name=5525696, 
      suspended=0) at continuations.c:1037
  ...


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt