List Info

Thread: GNU Smalltalk 2.95e always copy gst.im




GNU Smalltalk 2.95e always copy gst.im
country flaguser name
France
2007-10-21 09:28:21
Hello,

I've just noticed that GNU Smalltalk 2.95e always try to
copy the
Smalltalk image to the directory it was launched from.

For instance:
memachine:~$ ls gst.im
ls: gst.im: No such file or directory
memachine:~$ gst
GNU Smalltalk ready

st> ^D
memachine:~$ ls gst.im
gst.im
memachine:~$ cd /
memachine:/$ gst
"Global garbage collection... done"
gst: Couldn't open file //gst.im
GNU Smalltalk ready

st>

Is this intended? GNU Smalltalk 2.3.6 does not exhibit this
behavior.

Thanks,

Thomas




_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Re: GNU Smalltalk 2.95e always copy gst.im
country flaguser name
France
2007-10-21 09:36:42
LE DIMANCHE 21 OCTOBRE 2007 à 16:28 +0200, THOMAS GIRARD A
éCRIT :
> I'VE JUST NOTICED THAT GNU SMALLTALK 2.95E ALWAYS TRY
TO COPY THE
> SMALLTALK IMAGE TO THE DIRECTORY IT WAS LAUNCHED FROM.

WELL, JUST AFTER SENDING THIS EMAIL I'VE TRIED AGAIN USING
EMBEDDED
LIBSIGSEGV, STATICALLY LINKED AGAINST GST, AND THE IMAGE IS
NOT COPIED.

THE GST EXHIBITING THIS STRANGE BEHAVIOR IS DYNAMICALLY
LINKED AGAINST
DEBIAN'S LIBSIGSEGV.

DOES THAT SOUND FAMILIAR?

THANKS,

THOMAS




_______________________________________________
HELP-SMALLTALK MAILING LIST
HELP-SMALLTALKGNU.ORG
HTTP://LISTS.GNU.ORG/MAILMAN/LISTINFO/HELP-SMALLTALK

Re: GNU Smalltalk 2.95e always copy gst.im
country flaguser name
Italy
2007-11-11 04:28:20
I am not sure if it is the same bug, but the unexplainable
behavior in 
your message disappeared if I changed the timestamp
comparisons to also 
look at the nanosecond field.  It might be just a race
condition that is 
more frequent with the system libsigsegv (possibly because
there is less 
time between the installation of kernel files and the
image?? I don't know).

You can try this patch, which I tested on ppc-apple-darwin
and 
i686-linux (Debian, both with/without system libsigsegv).

Paolo

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

  
Re: GNU Smalltalk 2.95e always copy gst.im
country flaguser name
France
2007-11-11 13:25:51
Hello Paolo,

On Sun, Nov 11, 2007 at 11:28:20AM +0100, Paolo Bonzini
wrote:
> I am not sure if it is the same bug, but the
unexplainable behavior in 
> your message disappeared if I changed the timestamp
comparisons to also 
> look at the nanosecond field.  It might be just a race
condition that is 
> more frequent with the system libsigsegv (possibly
because there is less 
> time between the installation of kernel files and the
image?? I don't know).
> 
> You can try this patch, which I tested on
ppc-apple-darwin and 
> i686-linux (Debian, both with/without system
libsigsegv).

I've just tried your patch on GNU Smalltalk 2.95e and it
works, thanks!

Regards,

Thomas


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )