Statalist


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

Re: st: Snow Leopard breaks Stata file util commands


From   Harland Austin <hdaustin@bellsouth.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Snow Leopard breaks Stata file util commands
Date   Mon, 31 Aug 2009 10:45:49 -0400

I have the same problem as Nikos with Snow Leopard and I am running StataSE 10.1. In my case, the operating system informs me that "StataSE quit unexpectedly" and the shell command aborts. However, as with Nikos' problem, the operating system does not crash.

Thanks,
Harland


On Aug 31, 2009, at 9:30 AM, Nikos Askitas wrote:

I used all synonyms. I have Fink and MacPorts but this is not relevant. I do need Fink to go out to the OS. It could not be the path because it is the same with stata-se and StataSE. It does not depend on the command. Doing "shell random_string" where random_string is non-empty produces the error. If it is empty it works properly by saying "I need an os command". As soon as it gets one though and actually tries to fork and execute it fails. The failure comes
before the command is tried as "random string" proves.
I will give the link a shot.

Which command are you running to shell out to the OS?
-winexec ls-  ?
-!ls -  ?
-shell ls-  ?

This could very well be an issue with the Stata - Snow Leopard interaction since it works with interactive mode but not in batch mode, but it might be a problem with your computer's $PATH order, $SHELL, or bash_profile. I don't have 10.6 on my machine yet to test this, but I am curious about whether this is some problem with your $PATH order...take a look in terminal. Have you installed MacPorts or Fink previously (during the upgrade/migration/install you may have removed/moved something that affected a dynamically linked library that it relies on)?


What happens if you run -!/bin/ls- or -shell "/bin/ls"- ( instead of just -!ls- or -shell ls-)? If this is your issue, you can either change your PATH so that /bin and /sbin are ahead of /opt/ local/bin and /opt/local/sbin or throw out all of your fink or macports install. If this is not the issue, I'd be interested to see some from Stata respond--I've had success in contacting their tech support directly when it's this kind of issue ( http://www.stata.com/support/tech-support/ ).


Best,

Eric


__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebooth@ppri.tamu.edu
Office: +979.845.6754


On Aug 31, 2009, at 5:58 AM, Nikos Askitas wrote:

I have recently installed Snow Leopard (Mac OS 10.6) on my Macbook Pro (newly purchased) and now "shell, ls, dir" etc do not work in StataSE 10.

To be more precise everything is just fine in command line stata but they break in GUI stata. MacOS pops up the debugger with a post mordem the most interesting
part of which (and probably the root of the problem is):
......
Application Specific Information:
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
abort() called
......

It should be noted that stata GUI stata does not really crash. This indicates that the message above describes the situation: GUI stata is threading without an exec before and this is no longer allowed in Mac OS 10.6. This crashes the thread but not the application.

Large parts of my code relies on the stata file utils and hence is not working any more. Chances are stata 11 has the same issues. If anybody from stata is listening a quick fix would be greatly
appreciated.

*
*   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/


--
-------------------------------------------------
Dr. Nikos Askitas

Head of IDSC & IZA CTO

IZA - Forschungsinstitut zur Zukunft der Arbeit GmbH
IZA - Institute for the Study of Labor
P.O. Box 7240, 53072 Bonn, Germany
Schaumburg-Lippe-Str. 5-9, 53113 Bonn, Germany
Phone: +49 (228) 3894-525; Fax: +49 (228) 3894-510
E-Mail: askitas@iza.org, Info: http://www.iza.org/home/askitas
Web: http://www.iza.org
Registered Office Bonn, District Court of Bonn, HRB 7745
Represented by: Prof. Dr. Klaus F. Zimmermann (Director)
-------------------------------------------------

*
*   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   |   What's new   |   Site index