Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: AW: st: replace-all can crash do-file


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: AW: st: replace-all can crash do-file
Date   Sun, 16 May 2010 10:34:54 +0200

<>

Truth be told, I thought that one could end the process for the do-file
editor in the Windows Task Manager separately from the main process. I
remember overhearing a conversation which said that Stata, the Viewer and
the do-file editor are separate processes. But when I try to kill the
endless loop that this thread is about, Stata itself also goes down. So I
have to eat my words on this not being a crash...


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Mark Nichols
Sent: Sonntag, 16. Mai 2010 05:03
To: statalist@hsphsun2.harvard.edu
Subject: Re: AW: st: replace-all can crash do-file

Since when is endless loop not considered a crash.  This is silly.

Mark


On Sat, May 15, 2010 at 3:48 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
> <>
> Yes, in this case I get an endless loop as well. I would still insist it
is not a crash, as Stata looks busy to me instead of shutting down without
prior warning. Am I correct that [GSW] does not describe the tickboxes in
the "replace" dialog box, but merely mentions its existence? Is there
another entry for it anywhere else? I could not find one...
>
> HTH
> Martin
>
> -original message-
> Subject: RE: AW: st: replace-all can crash do-file
> From: "Kieran McCaul" <Kieran.McCaul@uwa.edu.au>
> Date: 16-05-2010 00:25
>
> ...
>
> The only way I can get Stata to crash with Martin's example, is if I check
the "Regular expression" box in the Replace window and leave the others
unchecked.  If I do that, then Stata will hang and clicking in the Replace
window gives me the "not responding" message and the option of closing down
Stata.
>
> Now, given that I don't have a regular expression in either the Find or
Replace text, I wouldn't expect this to do anything, but I wouldn't expect
it to cause Stata to crash either.
>
>
>
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss
> Sent: Saturday, 15 May 2010 8:59 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: AW: AW: st: replace-all can crash do-file
>
>
> <>
>
> " My guess is that this is a Stata for Windows-specific problem."
>
>
> Not so sure: I tried the example in
> http://www.stata.com/statalist/archive/2010-05/msg00801.html on a windows
> machine, and nothing untoward happened to me there. So more information
from
> those who have suffered from this problem is required, including (but not
> limited to) the output of the -update- command.
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Kit Baum
> Gesendet: Samstag, 15. Mai 2010 14:50
> An: statalist@hsphsun2.harvard.edu
> Betreff: re: AW: st: replace-all can crash do-file
>
> <>
> My guess is that this is a Stata for Windows-specific problem. The do-file
> editor in Windows has a number of bells and whistles not present in other
> versions of Stata. The "find" dialog in Mac OS X do-file editor has a
> 'replace all' button, but it behaves as expected in a do-file containing
> multiple instances of, e.g., hh.
>
> Kit
>
> Kit Baum   |   Boston College Economics & DIW Berlin   |
> http://ideas.repec.org/e/pba1.html
>                              An Introduction to Stata Programming  |
> http://www.stata-press.com/books/isp.html
>   An Introduction to Modern Econometrics Using Stata  |
> http://www.stata-press.com/books/imeus.html
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index