Squeak the development environment does not protect a developer from doing something dangerous. It probably won&#39;t ever, but maybe a file based Smalltalk like GNU does.<br><br>Smalltalk become: nil <br><br>is but one of a many ways to destroy your image (not saying that&#39;s what you did, just something dangerous to do).<br>
<br>By your definition of stable, Squeak would protect you from trashing your image. That&#39;s not how images work. I&#39;ve also used VisualWorks and IBM VisualAge and they were both super-stable for deployment but similarly easy to crash (well, not nearly as easy to crash as Squeak, but still...).<br>
<br>Squeak applications can be very stable. I&#39;ve had swikis run for months and months in the 2.x and early 3.x days on WinNT (this was many moons ago). Frankly, NT was more likely to tank than Squeak. Those images weren&#39;t safe from me if I was doing something dangerous, but the users couldn&#39;t do much harm just using the wiki.<br>
<br>I don&#39;t run anything on Squeak right now that has a long uptime (since even my web apps are suspended when I close my laptop), but I suspend and resume all the time on my deployed images (not development images) and they just keep on running. These are in Seaside.<br>
<br>The good news is your code isn&#39;t lost. You can roll it back from a clean image from the .changes file. This is handy, but it is even better to use something like Monticello.<br><br>Images are great for jump starting (loading a distro with useful tools) and great for returning right where you left off, but they aren&#39;t a substitute for version control. Images are really hard to repair once they&#39;ve gone bad. I certainly don&#39;t know how and I&#39;ve been doing Smalltalk since 95.<br>
<br><div class="gmail_quote">On Fri, Jan 9, 2009 at 6:39 PM, Cameron Sanders <span dir="ltr">&lt;<a href="mailto:csanders.personal@functional-analyst.com">csanders.personal@functional-analyst.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">I thought the Pharo base image (3.10 with a few fonts &amp;
Balloon3d added) running on Windows was looking pretty stable<font color="blue"><span style="color: blue;"> (compared to other images)</span></font>. But after an hour
of editing code<font color="blue"><span style="color: blue;"> on a Vista machine </span></font>--an hour since the last
save—Squeak has abandoned me. It is unresponsive. Trying both control and
alt in combination with '.', 'l' (lower case L),
'c', does nothing apparently useful.<font color="blue"><span style="color: blue;"></span></font></span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">The process stack reported by Vista
shows it to be incurring page-faults like mad. [OK, that has subsided while I
typed this email.] My machine has 4 GB of RAM, I am running two instances of
internet-explorer, and I have turned off the Windows search-indexing service. I
know Vista has a guess-the-next-program
pre-loader that could be a little overzealous in displacing programs from
RAM… but still… it seems like this 101MB program shouldn't
generate any page faults when the other two leading memory pigs are using less
than double that much virtual memory. Vista's
Resource Monitor claims I am using only 43% of physical memory. The page-fault
count for Squeak.exe doubled while I typed this message.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">When I click the Squeak icon on the window frame of the
running copy (upper left on Windows), I do see the menu for VM Preferences. It
shows me the menu and allows me to invoke actions. It will allow me to toggle
the "Show output console" on and off. The output console shows me
changes to memory (as I have that option checked). I can use my mouse wheel to
scroll this console. Control-'.' and Control-c (and lower case L)
in this console do not change anything. </span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">After mucking around in the console area, I am now getting
"WARNING: event buffer overflow" just moving my mouse around in
squeak. After turning the console off, the pointer is now invisible except when
you click. It appears that the overall squeak window is repainting itself
properly.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">-- Help me debug it</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">I have an interest in building a commercial application in
Squeak. The FAQs says squeak is stable. Given the active community of
developers (including The Great Ones), I imagine that it is stable, and that I
am just doing something dumb… repeatedly. However, for Squeak to be
adopted more broadly, it can't go zombie on users, even when the user
does something dumb. That's an absolute.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">What is the longest uptime a squeak image has ever endured
(while doing something useful)? Which version was that and on what platform?</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">So I am willing to work to help make squeak more robust, but
as a complete newbie with it, I need much guidance. So right now, with this
hung-up image, what should I do? Should I attach to it with gdb? And if so,
then what? [If the internal process control is working, I won't be able
to make heads or tales out of it from gdb, right?] &nbsp;Or can I launch
another squeak and send it a signal in some way [is it listening?]? What is
most useful in this case?</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">[Is there a way in Windows/Vista to signal an app so as to
force a core dump?]</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Thanks in advance,</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Cam</span></font><font face="Arial"><span style="font-family: Arial;"></span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">PS: I want to emphasize that I do not care about the code
lost in this particular instance (it was tutorial code), instead I am looking
for a stable free development environment… and I'm willing to help
make one.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
__________ Information from ESET Smart Security, version of virus signature
database 3755 (20090109) __________<br>
<br>
The message was checked by ESET Smart Security.<br>
<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a></span></font></p>

</div>

</div>


<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br>