FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 724 : Processing hangs on startup (Mac OS X 10.4.11)
Last modified: 2008-06-11 08:34
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
WONTFIX -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
ollyf
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Preferences File as requested
text/plain
2008-02-13 10:13
8.89 KB
Preferences File from ~/Library/Processing/preferences.txt
text/plain
2008-02-14 01:45
3.22 KB
Description
: Opened: 2008-02-13 06:34
Originally, Processing and Mobile Processing ran on my system - Macbook OS
X with Tiger. Absolutely no problems.
Yesterday, Processing wouldn't start-up properly - I load it and it bounces
in the dock then stops bouncing (as expected) but the app itself doesn't
load a default sketch, it just hangs.
The only thing that show it is open is simply that it says the app name on
the task bar at the top left of the screen (until I click away in to
another app, then when I click back to Processing, it seems to have hung
and keeps the name of whatever the last app I used in the task bar). (This
exact same problem applies to Mobile Processing also)
Could it be a Java problem?
Is there any further information I can provide?
I have tried uninstalling (including using AppZapper to wipe the system of
Processing completely) and reinstalling.
Any help much appreciated!
Additional Comment
#1 From fry 2008-02-13 07:24
have you read this section of the reference?
http://processing.org/reference/troubleshooting/index.html#wontstart
please check that info first, then we can move from there.
Additional Comment
#2 From ollyf 2008-02-13 07:38
Yes, I neglected to mention it, the first thing I did was check the support
forums (thoroughly) and then went over that link. Everything was fine, no
errors on the console.
(also, thanks for the quick reply!)
Please note: I did also install the Arduino drivers two days ago. Could
this have had an affect? To the best of my knowledge, it's been
uninstalled from my system now. I noticed a couple of times, when I ran
the Arduino development environment, it also launched Processing.
Processing, Mobile Processing and the Arduino development software all do
not work (same symptoms for all).
(In reply to
comment #1
)
>
>
>
> Additional
Comment #1
From
>
> fry
> 2008-02-13 07:24
>
> <!--
> addReplyLink(1); //-->[reply]
>
>
>
>
> have you read this section of the reference?
>
http://processing.org/reference/troubleshooting/index.html#wontstart
>
> please check that info first, then we can move from there.
>
>
Additional Comment
#3 From fry 2008-02-13 07:49
you sure there's nothing in the console? if you get an app that just won't
launch like that, in most cases you'll see a big stack trace in the console.
arduino is somewhat likely to break things, though let's assume it's not
that for now.
a couple more things to try:
1) rename Documents/Processing/prefences.txt to something else, and
restart. it may just load up.
2) do #1, and rename your sketchbook folder too (rename the folder so p5
can't find it)
3) do #1, but also move any libraries you've installed into
processing/libraries before launching.
if removing the prefs file does it, then please add the prefs file here so
i can take a look at how things broke.
another possibility is that you've been playing with font book and removed
monaco or another default font. however, that should produce a stack trace
in the console.
Additional Comment
#4 From ollyf 2008-02-13 10:13
edit
]
Preferences File as requested
This is the Preferences file from Applications/Processing/lib as requested
Additional Comment
#5 From ollyf 2008-02-13 10:17
You can see in the post above, I've attached the preferences file. Please
note, you requested the file from Documents/Processing/prefences.txt -
there was no file at that specific location. The preferences file was
located at Applications/Processing 0135/lib (I'm assuming that this is the
file you meant for me to rename).
About the console: Strangely, there's nothing in the console. At all.
(I'm loading the console, then running Processing, absolutely nothing comes
up at all when I run Processing.)
I went through each step of the process you recommended, Processing still
hung on launch.
I also checked the Monaco font in Font Book, it seems to be active and
absolutely fine (no corruption).
Also, if it helps, I have the preferences.txt from the Arduino dev folder.
Let me know if that would also help.
Additional Comment
#6 From fry 2008-02-13 10:24
sorry, that should be ~/Library/Processing/preferences.txt that needs to be
renamed. be sure to fix the name of the lib/preferences.txt file before you
run, otherwise that will not work at all.
also try opening a terminal window, and type "java -version" to see what
you get.
Additional Comment
#7 From ollyf 2008-02-14 01:45
edit
]
Preferences File from ~/Library/Processing/preferences.txt
- For Java - Version I get the following:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)
- I renamed the preferences file from ~/Library/Processing/preferences.txt and
then correctly named the original file whose name I changed. I then ran
Processing but encountered the same problem as described before.
(In reply to
comment #6
)
>
>
>
> Additional
Comment #6
From
> fry
> 2008-02-13 10:24
>
> <!--
> addReplyLink(6); //-->[reply]
>
>
>
>
> sorry, that should be ~/Library/Processing/preferences.txt that needs
to be
> renamed. be sure to fix the name of the lib/preferences.txt file before you
> run, otherwise that will not work at all.
>
> also try opening a terminal window, and type "java -version" to see what
> you get.
>
>
Additional Comment
#8 From ollyf 2008-02-14 06:45
I've just tried running Neo Office on my system (the Java-based Open Office
Mac port).
The exact same thing happens as with opening Processing, Arduino and Mobile
Processing. This leads me to believe that it must be a Java-related
problem. I'm not sure, of course, but I think this could be the case.
Web-based Java apps work (I tested Yahoo's multiplayer java-based pool game
and it seemed to work).
Could this be something to do with a recent update on OS X? What are your
thoughts?
Additional Comment
#9 From fry 2008-02-14 11:53
k, sounds like you need to reinstall java. perhaps try reinstalling this:
http://www.apple.com/support/downloads/javaformacosx104release6.html
and see if the last install just didn't "take" properly.
of course, as with all things on osx, you might just try fixing permissions
first, using disk utility.
Additional Comment
#10 From capnmax 2008-05-09 14:32
Did anyone figure this out? I'm having the same issue. Processing hangs on startup, nothing
in the console, Java version 1.5.0_13-121
This is on a MacBook Pro with 10.4.11 Installed
>
>
>
> Additional
Comment #9
From
> fry
> 2008-02-14 11:53
>
> <!--
> addReplyLink(9); //-->[reply]
>
>
>
>
> k, sounds like you need to reinstall java. perhaps try reinstalling this:
>
http://www.apple.com/support/downloads/javaformacosx104release6.html
> and see if the last install just didn't "take" properly.
>
> of course, as with all things on osx, you might just try fixing permissions
> first, using disk utility.
>
>
Additional Comment
#11 From ollyf 2008-05-11 11:14
It's still not sorted for me. I think it's actually a Java problem, as opposed to just
Processing. I'm considering either upgrading to Leopard or just re-installing Tiger. Any
change with you? Did you solve it?
(In reply to
comment #10
)
>
>
>
> Additional
Comment #10
From
> capnmax
> 2008-05-09 14:32
>
> <!--
> addReplyLink(10); //-->[reply]
>
>
>
>
> Did anyone figure this out? I'm having the same issue. Processing hangs on startup,
nothing
> in the console, Java version 1.5.0_13-121
>
> This is on a MacBook Pro with 10.4.11 Installed
>
> >
> >
> >
> > Additional
Comment #9
From
> > fry
> > 2008-02-14 11:53
> >
> > <!--
> > addReplyLink(9); //-->[reply]
> >
> >
> >
> >
> > k, sounds like you need to reinstall java. perhaps try reinstalling this:
> >
http://www.apple.com/support/downloads/javaformacosx104release6.html
> > and see if the last install just didn't "take" properly.
> >
> > of course, as with all things on osx, you might just try fixing permissions
> > first, using disk utility.
> >
> >
>
>
Additional Comment
#12 From ollyf 2008-05-11 11:27
Also, I'm wondering if you did the following things (which I did):
- Did you at any point install the Arduino software?
- Have you set-up Processing to work with Bluetooth?
- Do you use Neo Office?
I'm just trying to find some commonality between our computers in order to identify possible
causes of this problem.
(In reply to
comment #10
)
>
>
>
> Additional
Comment #10
From
>
> capnmax
> 2008-05-09 14:32
>
> <!--
> addReplyLink(10); //-->[reply]
>
>
>
>
> Did anyone figure this out? I'm having the same issue. Processing hangs on startup,
nothing
> in the console, Java version 1.5.0_13-121
>
> This is on a MacBook Pro with 10.4.11 Installed
>
> >
> >
> >
> > Additional
Comment #9
From
> > fry
> > 2008-02-14 11:53
> >
> > <!--
> > addReplyLink(9); //-->[reply]
> >
> >
> >
> >
> > k, sounds like you need to reinstall java. perhaps try reinstalling this:
> >
http://www.apple.com/support/downloads/javaformacosx104release6.html
> > and see if the last install just didn't "take" properly.
> >
> > of course, as with all things on osx, you might just try fixing permissions
> > first, using disk utility.
> >
> >
>
>
Additional Comment
#13 From ollyf 2008-06-05 01:37
I have upgraded to Processing 1.39.
Processing now opens but when I run my code (and I'm just testing Hello World here), I get
this:
Target VM failed to initialize:
com.sun.jdi.connect.VMStartException: VM initialization failed for:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -
Djava.library.path=:/Volumes/processing-0139/Processing 0139/Processing
0139.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLaunc
her.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/li
b/java -cp /tmp/build1158.tmp:/Volumes/processing-0139/Processing 0139/Processing
0139.app/Contents/Resources/Java/pde.jar:lib/core.jar:/Volumes/processing-0139/Processing
0139/Processing 0139.app/Contents/Resources/Java/antlr.jar:/Volumes/processing-
0139/Processing 0139/Processing
0139.app/Contents/Resources/Java/registry.jar:/Volumes/processing-0139/Processing
0139/Processing
0139.app/Contents/Resources/Java/quaqua.jar:/System/Library/Java:/System/Library/Frame
works/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar -Xdebug -
Xrunjdwp:transport=dt_socket,address=3.1.59.10.in-addr.arpa:49164,suspend=y
processing.core.PApplet --editor-location=327,22 --external --display=1 --sketch-
path=/Users/ollyfarshi/Documents/Processing/testsketch Temporary_3887_8336
at
com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:174)
at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:114)
at
com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:217)
at processing.app.debug.Runner.launch(Runner.java:334)
at processing.app.debug.Runner.launch(Runner.java:122)
at processing.app.Editor$40.run(Editor.java:1150)
at java.lang.Thread.run(Thread.java:613)
Exception in thread "Thread-5" java.lang.Error: VM initialization failed for:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -
Djava.library.path=:/Volumes/processing-0139/Processing 0139/Processing
0139.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLaunc
her.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/li
b/java -cp /tmp/build1158.tmp:/Volumes/processing-0139/Processing 0139/Processing
0139.app/Contents/Resources/Java/pde.jar:lib/core.jar:/Volumes/processing-0139/Processing
0139/Processing 0139.app/Contents/Resources/Java/antlr.jar:/Volumes/processing-
0139/Processing 0139/Processing
0139.app/Contents/Resources/Java/registry.jar:/Volumes/processing-0139/Processing
0139/Processing
0139.app/Contents/Resources/Java/quaqua.jar:/System/Library/Java:/System/Library/Frame
works/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar -Xdebug -
Xrunjdwp:transport=dt_socket,address=3.1.59.10.in-addr.arpa:49164,suspend=y
processing.core.PApplet --editor-location=327,22 --external --display=1 --sketch-
path=/Users/ollyfarshi/Documents/Processing/testsketch Temporary_3887_8336
at processing.app.debug.Runner.launch(Runner.java:344)
at processing.app.debug.Runner.launch(Runner.java:122)
at processing.app.Editor$40.run(Editor.java:1150)
at java.lang.Thread.run(Thread.java:613)
(In reply to
comment #9
)
>
>
>
> Additional
Comment #9
From
> fry
> 2008-02-14 11:53
>
> <!--
> addReplyLink(9); //-->[reply]
>
>
>
>
> k, sounds like you need to reinstall java. perhaps try reinstalling this:
>
http://www.apple.com/support/downloads/javaformacosx104release6.html
> and see if the last install just didn't "take" properly.
>
> of course, as with all things on osx, you might just try fixing permissions
> first, using disk utility.
>
>
Additional Comment
#14 From fry 2008-06-05 04:55
the "target vm failed to initialize" problem is totally different from this
particular bug, and is described in revisions.txt. as stated next to the
download link **please read it**
Additional Comment
#15 From fry 2008-06-11 08:34
closing bug since this appears to be Java-installation related, not
Processing related.