Gephi 0.7 Alpha crashes at launch - Mac OS 10.5

Discussion of development versions only
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
taclab
Posts:4
Joined:10 Feb 2010 11:19
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Gephi 0.7 Alpha crashes at launch - Mac OS 10.5

Post by taclab » 11 Feb 2010 10:47

hi!

Gephi 0.7 Alpha does not start on my computer. I have an Mac Os X 10.5.8 and GeForce 8600M GT.
I already switch between java 5 and java 6 (see screenshot).

My java -version:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)

Any ideas ?

Thanks,

Mehdi
Attachments
Picture 2.jpg

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Gephi 0.7 Alpha crashes at launch - Mac OS 10.5

Post by mbastian » 12 Feb 2010 10:44

Hi Mehdi,

Your Mac is recent and has a good graphic card so that should'nt be a problem

Do you see the splash screen ?

If you go to Utilities>Console, is there some java crash report that concern gephi ?

In the directory you launched the application (usually in /Applications/), is a .log file generated ?

taclab
Posts:4
Joined:10 Feb 2010 11:19
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Gephi 0.7 Alpha crashes at launch - Mac OS 10.5

Post by taclab » 12 Feb 2010 13:19

Thanks Mathieu!

My crash log:

Code: Select all

Feb 12 13:17:21 alfred ReportCrash[1875]: Formulating crash report for process java[1874]

Feb 12 13:17:21 alfred ReportCrash[1875]: Saved crashreport to /Users/alfred/Library/Logs/CrashReporter/java_2010-02-12-131721_alfred.crash using uid: 501 gid: 20, euid: 501 egid: 20

Feb 12 13:17:21 alfred [0x0-0x9f09f].gephi-0.7-alpha[1784]: /Applications/gephi-0.7-alpha.app/Contents/MacOS/../Resources/gephidesktop/bin/../platform11/lib/nbexec: line 516:  1874 Segmentation fault      "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java" -Djdk.home="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home" -classpath "/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/boot.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/org-openide-modules.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/org-openide-util.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/locale/org-openide-util_ja.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/locale/org-openide-util_pt_BR.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/locale/org-openide-util_zh_CN.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/dt.jar" -Dnetbeans.system_http_proxy="DIRECT" -Dnetbeans.system_http_non_proxy_hosts="" -Dnetbeans.dirs="/Applications/gephi-0.7-alpha.app/Contents/MacOS/../Resources/gephidesktop/bin/../gephidesktop:" -Dnetbeans.home="/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11" '-Dcom.apple.mrj.application.apple.menu.about.name=gephidesktop' '-Xdock:name=gephidesktop' '-Xdock:icon=/Applications/gephi-0.7-alpha.app/Contents/MacOS/../Resources/gephidesktop/bin/../../gephidesktop.icns' '-Xms1000m' '-Xmx1500m' '-Dsun.java2d.noddraw=true' '-Dsun.awt.noerasebackground=true' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/Users/alfred/Library/Application Support/gephidesktop/dev/var/log/heapdump.hprof" org.netbeans.Main --userdir "/Users/alfred/Library/Application Support/gephidesktop/dev" "--branding" "gephidesktop"

Feb 12 13:17:21 alfred com.apple.launchd[143] ([0x0-0x9f09f].gephi-0.7-alpha[1784]): Exited with exit code: 139

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Gephi 0.7 Alpha crashes at launch - Mac OS 10.5

Post by mbastian » 12 Feb 2010 15:25

You seems to have set maximum Java memory to 1500mo ('-Xmx1500m'). That is too much and cause JVM not be able to start. Unfortunately, this happens without notifying the user.

Java 32-bit has its limit around 1500, so set '-Xmx1400m' and it should work. I guess that you have 2Gb of memory.

taclab
Posts:4
Joined:10 Feb 2010 11:19
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Gephi 0.7 Alpha crashes at launch - Mac OS 10.5

Post by taclab » 15 Feb 2010 15:58

Thanks for reply

Yes, I have 2Gb ram.

I just upgraded to java 1.6 :
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)

And I changed memory value : 512m, 1024m, 1400m. nothing! I don't see splash screan.
:|

Crash Log:

Code: Select all

Feb 15 15:42:01 alfred ReportCrash[2325]: Formulating crash report for process java[2324]
Feb 15 15:42:01 alfred ReportCrash[2325]: Saved crashreport to /Users/alfred/Library/Logs/CrashReporter/java_2010-02-15-154201_alfred.crash using uid: 501 gid: 20, euid: 501 egid: 20
Feb 15 15:42:01 alfred [0x0-0x7b07b].gephi-0.7-alpha[2234]: /Applications/gephi-0.7-alpha.app/Contents/MacOS/../Resources/gephidesktop/bin/../platform11/lib/nbexec: line 516:  2324 Segmentation fault      "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java" -Djdk.home="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home" -classpath "/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/boot.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/org-openide-modules.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/org-openide-util.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/locale/org-openide-util_ja.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/locale/org-openide-util_pt_BR.jar:/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11/lib/locale/org-openide-util_zh_CN.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/dt.jar" -Dnetbeans.system_http_proxy="DIRECT" -Dnetbeans.system_http_non_proxy_hosts="" -Dnetbeans.dirs="/Applications/gephi-0.7-alpha.app/Contents/MacOS/../Resources/gephidesktop/bin/../gephidesktop:" -Dnetbeans.home="/Applications/gephi-0.7-alpha.app/Contents/Resources/gephidesktop/platform11" '-Dcom.apple.mrj.application.apple.menu.about.name=gephidesktop' '-Xdock:name=gephidesktop' '-Xdock:icon=/Applications/gephi-0.7-alpha.app/Contents/MacOS/../Resources/gephidesktop/bin/../../gephidesktop.icns' '-Xms512m' '-Xmx1024m' '-Dsun.java2d.noddraw=true' '-Dsun.awt.noerasebackground=true' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/Users/alfred/Library/Application Support/gephidesktop/dev/var/log/heapdump.hprof" org.netbeans.Main --userdir "/Users/alfred/Library/Application Support/gephidesktop/dev" "--branding" "gephidesktop"
Feb 15 15:42:01 alfred com.apple.launchd[142] ([0x0-0x7b07b].gephi-0.7-alpha[2234]): Exited with exit code: 139

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable