[ENH] File primitive SUnit (another version)

David T. Lewis lewis at mail.msen.com
Fri Nov 23 15:32:41 UTC 2001


On Fri, Nov 23, 2001 at 01:08:22AM -0800, John M McIntosh wrote:
> Ok, I've done a little bit of revision. Windows users are welcome to 
> kick the tires.
> 
> Note it still will delete directories that start with 'A' and 32 A's. 
> Yes yes I should change that, maybe the next version. Yes you need 
> 2GB or so of free disk space to run this.
> 
> Now it should run to completion on the macintosh.
> For Unix machines it should complain about files that get deleted 
> while open (testFileCreate and testFileDelete), and I *think* it 
> should complain about truncate not working correctly!
> For Windows machines I have no idea what happens.
> Note the change set is in UUENCODE format versus binhex allowing 
> windows users the ability to read it (I *think*)

Hmm... evidently the Unix VM has no signal handler for SIGXFSZ. The
VM does a nice clean exit() when you run the large file write part of
the test!

Under gdb, it looks like this:

lewis at dtlewis:/home/lewis/squeak/squeak3.2a > gdb ./squeak
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux-gnu"...
(gdb) set args -memory 30m squeak.image
(gdb) r
Starting program: /home/lewis/squeak/squeak3.2a/./squeak -memory 30m squeak.image

Program received signal SIGXFSZ, File size limit exceeded.
0x401b6504 in __libc_write () from /lib/libc.so.6
(gdb)                            





More information about the Squeak-dev mailing list