From: Christopher L. <chr...@we...> - 2006-09-07 08:41:37
|
Hello, I've just encountered what seems to be a 2 GB file size limit on SBCL x86/linux, that doesn't appear on x86-64/linux. I can't find a word about it in the documentation or newsgroups. Opening a file larger than 2 GB fails (snippet below) and writing past the limit leads to instant death! The FS is Reiser, which doesn't otherwise have any problems with large files. Inspecting the code in code/fd-stream.lisp, it looks as if Linux is reporting the file non-existant - could it be that a deprecated interface is used or something like that? Can anyone confirm this or is there even a patch available? Cheers, Chris chris@suse100lamp:~> ls -l ... -rw-r--r-- 1 chris users 2097152000 2006-09-07 10:40 test1.dat -rw-r--r-- 1 chris users 4244635647 2006-09-07 10:00 test2.dat ... * (open "test1.dat") #<SB-SYS:FD-STREAM for "file /home/chris/test1.dat" {49E73A09}> * (close *) T * (open "test2.dat") debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD "initial thread" {4A237091}>: error opening #P"/home/chris/test2.dat": Datei oder Verzeichnis nicht gefunden Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level. (SB-IMPL::SIMPLE-FILE-PERROR "error opening ~S" #P"/home/chris/test2.dat" 2) 0] backtrace 0: (SB-IMPL::SIMPLE-FILE-PERROR "error opening ~S" #P"/home/chris/test2.dat" 2) 1: (OPEN "test2.dat") |