GanttProject crashs all the time on my MAC

Is it the contents of the Terminal after the crash?

Nope, when i engaged the command, ganttproject launched but he haven’t crash

So, I want to see what is printed to the Terminal after crash.

I restart the terminal after a crash, and I see “fatal error” in the log:

The default interactive shell is now zsh.

To update your account to use zsh, please run chsh -s /bin/zsh.

For more details, please visit Use zsh as the default shell on your Mac - Apple Support.

MacBook-Pro-de-FHE:~ fhe$ /Applications/GanttProject.app/Contents/MacOS/GanttProject

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$getVersionLayerStoreDirs$5

PRÉCIS: Path plugins is not absolute. We’ll try resolving it relative to user.dir=/Applications/GanttProject.app/Contents/app

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime build

PRÉCIS: We will run with the following plugins:

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin org.ganttproject.chart.pert-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/org.ganttproject.chart.pert/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.impex.msproject2-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.impex.msproject2/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.app.localization-3.2.3220 at /Applications/GanttProject.app/Contents/app/plugins/update-3220/biz.ganttproject.app.localization/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin org.ganttproject.impex.htmlpdf-3.2.3210 at /Applications/GanttProject.app/Contents/app/plugins/update-3210/org.ganttproject.impex.htmlpdf/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.impex.ical-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.impex.ical/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin net.sourceforge.ganttproject-3.2.3220 at /Applications/GanttProject.app/Contents/app/plugins/update-3220/ganttproject/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.app.libs-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.app.libs/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.core-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.core/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.Runner run

PRÉCIS: Command line args: []

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.Runner run

PRÉCIS: Launching application=net.sourceforge.ganttproject.GanttProject

A fatal error has been detected by the Java Runtime Environment:

Internal Error (safepoint.cpp:919), pid=28223, tid=73739

fatal error: Illegal threadstate encountered: 4

JRE version: OpenJDK Runtime Environment (11.0.13+8) (build 11.0.13+8-LTS)

Java VM: OpenJDK 64-Bit Server VM (11.0.13+8-LTS, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)

No core dump will be written. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

An error report file with more information is saved as:

/Users/fhe/hs_err_pid28223.log

If you would like to submit a bug report, please visit:

BellSoft Liberica JDK Support | BellSoft Java

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

Abort trap: 6

MacBook-Pro-de-FHE:~ fhe$ The default interactive shell is now zsh.

-bash: The: command not found

MacBook-Pro-de-FHE:~ fhe$ To update your account to use zsh, please run chsh -s /bin/zsh.

Changing shell for fhe.

Password for fhe:

roject.app/Contents/app/plugins/update-3220/ganttproject/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.app.libs-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.app.libs/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.core-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.core/plugin.xml

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.Runner run

PRÉCIS: Command line args: []

mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.Runner run

PRÉCIS: Launching application=net.sourceforge.ganttproject.GanttProject

chsh: Credentials could not be verified, username or password is invalid. Credentials could not be verified, username or password is invalid.

-bash: To: command not found

MacBook-Pro-de-FHE:~ fhe$ roject.app/Contents/app/plugins/update-3220/ganttproject/plugin.xml

-bash: roject.app/Contents/app/plugins/update-3220/ganttproject/plugin.xml: No such file or directory

MacBook-Pro-de-FHE:~ fhe$ mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

-bash: mars: command not found

MacBook-Pro-de-FHE:~ fhe$ PRÉCIS: Plugin biz.ganttproject.app.libs-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.app.libs/plugin.xml

-bash: PRÉCIS:: command not found

MacBook-Pro-de-FHE:~ fhe$ mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

-bash: mars: command not found

MacBook-Pro-de-FHE:~ fhe$ PRÉCIS: Plugin biz.ganttproject.core-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.core/plugin.xml

-bash: PRÉCIS:: command not found

MacBook-Pro-de-FHE:~ fhe$ mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.Runner run

-bash: mars: command not found

MacBook-Pro-de-FHE:~ fhe$ PRÉCIS: Command line args: []

-bash: PRÉCIS:: command not found

MacBook-Pro-de-FHE:~ fhe$ mars 03, 2022 3:00:59 PM com.bardsoftware.eclipsito.runtime.Runner run

-bash: mars: command not found

MacBook-Pro-de-FHE:~ fhe$ PRÉCIS: Launching application=net.sourceforge.ganttproject.GanttProject

-bash: PRÉCIS:: command not found

MacBook-Pro-de-FHE:~ fhe$ /Applications/GanttProject.app/Contents/MacOS/GanttProject

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$getVersionLayerStoreDirs$5

PRÉCIS: Path plugins is not absolute. We’ll try resolving it relative to user.dir=/Applications/GanttProject.app/Contents/app

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime build

PRÉCIS: We will run with the following plugins:

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin org.ganttproject.chart.pert-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/org.ganttproject.chart.pert/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.impex.msproject2-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.impex.msproject2/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.app.localization-3.2.3220 at /Applications/GanttProject.app/Contents/app/plugins/update-3220/biz.ganttproject.app.localization/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin org.ganttproject.impex.htmlpdf-3.2.3210 at /Applications/GanttProject.app/Contents/app/plugins/update-3210/org.ganttproject.impex.htmlpdf/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.impex.ical-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.impex.ical/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin net.sourceforge.ganttproject-3.2.3220 at /Applications/GanttProject.app/Contents/app/plugins/update-3220/ganttproject/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.app.libs-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.app.libs/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3

PRÉCIS: Plugin biz.ganttproject.core-3.2.3200 at /Applications/GanttProject.app/Contents/app/plugins/base/biz.ganttproject.core/plugin.xml

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.Runner run

PRÉCIS: Command line args: []

mars 03, 2022 3:02:00 PM com.bardsoftware.eclipsito.runtime.Runner run

PRÉCIS: Launching application=net.sourceforge.ganttproject.GanttProject

Can you please post the contents of this file?

hs_err_pid28223.txt (88,0 Ko)

Good morning - I have this same issue, but don’t see a resolution here.
Is there an older version we can fall back to while this problem is resolved ?

Thanks
Chuck Mosher

All versions are available from https://github.com/bardsoftware/ganttproject/releases

Thanks for the file, it helped.
It seems that it is a bug in Java Runtime, which was fixed just recently.

https://youtrack.jetbrains.com/issue/JBR-4128
https://bugs.openjdk.java.net/browse/JDK-8275723

I will build a GanttProject distro with the updated Java Runtime a little bit later. This will hopefully fix the issue.

Okay, I thank you.
So I just wait and check news version of ganttproject.

thank you for you help

Hello,

Just for my information, do you know when the bug can be fixed ? I just installed the new version, and he crashes 5 times per minutes.

thank you

Hello,

I’m apology to insist, but it’s very frustrating, I’m test GanttProject for install with your Cloud version in my company, but we work a half with Mac. And since 1 month, we haven’t work on GanttProject.

if i donwgrade my version of GanttProject,do i resolve problemes?

Thank you

GanttProject 3.0/3.1 use older versions of Java Runtime, so there is a chance that the bug is not there.
However, you can try using ZIP distro. You need to install the latest Java 11 Runtime manually (download it from here Download OpenJDK builds of Liberica JDK, Java 8, 11, 17 | BellSoft Java, choose “Full JRE” option, and install) and download our ZIP distro.

See some instructions here: Installing from ZIP · bardsoftware/ganttproject Wiki · GitHub

Can you please test this package? It is bundled with the latest Java 11 Runtime which hopefully includes the bugfix.

https://storage.googleapis.com/dl.ganttproject.biz/ganttproject-3.2.3230/ganttproject-3.2.3230.dmg

I was facing the same problem in my Mac M1. Now I can confirm that it is fixed with 3.2.3230.

Many thanks,
Serdar

Thanks huge for this fix. I thought it was something on my end, as it was my first install on a Mac in years. I too can confirm that the insta-crashing issue I had is now fixed with the 3.2.3230

Hi, I am facing the same problem in my Mac Intel. I have the version 3.2.3241. I haven’t tried 3.2.3230. Do I have stick using the version 3230 in Mac?

Thanks!

GanttProject 3.2.3240 uses the same Java Runtime as 3230.

It keeps crashing on my MAC. This is the log of a crash:

GanttProject 3.2.3241
Settings file:
	location: /Users/ferran/.ganttproject
	size:8107
	is readable: true
java.class.path: /Applications/GanttProject.app/Contents/app:/Applications/GanttProject.app/Contents/app/eclipsito.jar
java.home: /Applications/GanttProject.app/Contents/runtime/Contents/Home
java.ext.dirs: null
java.io.tmpdir: /var/folders/h3/08zv37j90hlgkr0hxp49l1vh0000gn/T/
java.runtime.version: 11.0.13+8-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 11.0.13+8-LTS
os.arch: x86_64
os.name: Mac OS X
os.version: 12.4
sun.java.command: com.bardsoftware.eclipsito.Launch --verbosity 4 --version-dirs plugins:~/.ganttproject.d/updates --app net.sourceforge.ganttproject.GanttProject
user.country: ES
user.dir: /Applications/GanttProject.app/Contents/app
user.home: /Users/ferran
user.language: ca
user.timezone: Europe/Madrid

Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
de juny 01, 2022 4:28:08 P. M. biz.ganttproject.LoggerImpl debug
FINE: Creating main frame...
de juny 01, 2022 4:28:08 P. M. biz.ganttproject.LoggerImpl debug
FINE: 1. loading look'n'feels
de juny 01, 2022 4:28:08 P. M. biz.ganttproject.LoggerImpl debug
FINE: 2. loading options
de juny 01, 2022 4:28:09 P. M. biz.ganttproject.LoggerImpl debug
FINE: 3. creating menus...
de juny 01, 2022 4:28:09 P. M. biz.ganttproject.LoggerImpl debug
FINE: 4. creating views...
de juny 01, 2022 4:28:09 P. M. biz.ganttproject.LoggerImpl debug
FINE: 5. calculating size and packing...
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
de juny 01, 2022 4:28:10 P. M. biz.ganttproject.LoggerImpl debug
FINE: 6. changing language ...
de juny 01, 2022 4:28:10 P. M. biz.ganttproject.LoggerImpl debug
FINE: 7. first attempt to restore bounds
de juny 01, 2022 4:28:10 P. M. biz.ganttproject.LoggerImpl debug
FINE: 8. finalizing...
de juny 01, 2022 4:28:11 P. M. net.sourceforge.ganttproject.GPLogger log
INFO: Deleting old auto-save files
de juny 01, 2022 4:28:25 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: TaskReady(task=tasca_3435)
de juny 01, 2022 4:28:25 P. M. biz.ganttproject.LoggerImpl debug
FINE: State IDLE => TASK_READY
de juny 01, 2022 4:28:25 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: TreeItemReady(treeItem=TreeItem [ value: tasca_3435 ])
de juny 01, 2022 4:28:25 P. M. biz.ganttproject.LoggerImpl debug
FINE: State TASK_READY => EDIT_STARTING
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=3267)
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: State EDIT_STARTING => IDLE
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=null)
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=null)
biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=3267)
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=3267)
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: State EDIT_STARTING => IDLE
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: State EDIT_STARTING => IDLE
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=null)
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=null)
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=null)
de juny 01, 2022 4:28:27 P. M. biz.ganttproject.LoggerImpl debug
FINE: Incoming message: EditingCompleted(task=null)

Do you find why Ganttproject is crashing?

Thanks!

It appears that you’re using an older distro of GanttProject which was updated to 3241 using the Update Channel. This won’t update the Java Runtime, and you’re still using one which has the issues. You need to download the latest GanttProject distro.