scsh-users
[Top] [All Lists]

Random bugs

To: scsh@martigny.ai.mit.edu
Subject: Random bugs
From: shivers@ai.mit.edu (Olin Shivers)
Date: 04 Apr 1997 15:00:52 -0500
Organization: Artificial Intelligence Lab, MIT
Reply-to: shivers@ai.mit.edu
1. Alan's user-info bug

   Looks to me like the fix is to change cig. Which I hate doing -- cig
   is gruesome code. I will look into it.

2. scsh seemed to ignore a keyboard generated SIGINT during a (sleep 30).

   Yes. This has already been fixed in the next release (I wrote my
   own sleep function using select(), instead of using the system sleep().

3. From: ortmann@VNET.IBM.COM (Daniel Ortmann)
   (note: this could be due merely to my own 'newbie' user ignorance.) 
   (run ("/bin/ls -l /proc/curproc/file")) appears to fail on FreeBSD with...

   This is your own newbie user ignorance. Your basic problem is that there
   is no executable file in your $PATH named
        "/bin/ls -l /proc/curproc/file"
   ...but there is one named
        "/bin/ls"

   Perhaps you meant to say
       (run ("/bin/ls" "-l" "/proc/curproc/file"))
   or, equivalently,
       (run (/bin/ls -l /proc/curproc/file))

   Get it?

4. From: Leif Nixon <nixon@softlab.se>
   Date and time strangeness in scsh 0.4/SunOS 4.3.1_U1/SunOS 5.5

   I cannot replicate your bug, Leif. I would appreciate it if you could track
   this down a little bit for me. One good way to do this is to (1)
   print out and read through scsh/time1.c, (2) run scsh from gdb as
   follows
       gdb scshvm
       <Set break points at the entry to the functions in time1.c>
       run -o ./scshvm -i scsh/scsh.image       <Or whatever is right for you>
       (time (date))                            <Trigger the bug>
       <single-step through the time1.c funs in gdb>


Thank you all for the reports. This is a *great* time to get them in, as
I'm in the middle of trying to kick out a new release.

Leif, if you find out anything useful, please let me know ASAP -- we may be
able to get the fix in before the release.
        -Olin

<Prev in Thread] Current Thread [Next in Thread>