Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm trying to compile and run some very simple C and C++ code in Lion. Compilation works fine. Running the executable leads to the 'spinning beach ball of death.' Force-quitting out of Terminal works, but I cannot reopen Terminal, and have to restart.

This works fine on my Ubuntu box. Any ideas would certainly be appreciated.

Update: The source and executables were stored on a remotely mounted Ubuntu box. Trying to run a Mac-compiled executable stored on this remote server led to the beach ball.

share|improve this question

closed as too localized by patrix Apr 15 '13 at 11:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Please post the source of a program that hangs up Terminal. I have a rough idea about what may be happening but need to see source to confirm. I'm compiling and running hideously complex code under Lion, so I doubt the problem is with the compiler. –  Kyle Jones Feb 6 '12 at 5:36
    
Yeah, I should have posted the source, but the problem is the Ubuntu server the code and executable are stored on. Just found out the executable is fine if it is compiled and run on my own hard drive. Something to do with the difference between file systems? I hadn't thought about this. –  Peter Becich Feb 6 '12 at 23:11
    
If this is something you can replicate, it might be interesting to see why it happens. Reboot, run only terminal, run this program. Is that alone sufficient to hang the Mac or is the spinning ball only for terminal app? –  bmike Jun 25 '12 at 11:50
    
where are the executables compiled on? OSX or Ubuntu? I ask because Ubuntu compiled executables might not like being run in OSX... –  user1256923 Jun 25 '12 at 13:33
    
I could compile fine with either OS, and did not mix up the executable with the OS that compiled it. The source and executables, though, were stored on an Ubuntu box that I had remotely mounted on the Mac. Running this executable from the remote mount led to the spinning ball. –  Peter Becich Jun 25 '12 at 18:34
show 2 more comments

Browse other questions tagged or ask your own question.