Bug 3112 - Freemind crash on startup
Summary: Freemind crash on startup
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: andré blais
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 1362
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-19 17:01 CEST by Marianne Lombard
Modified: 2011-11-22 16:35 CET (History)
1 user (show)

See Also:
Source RPM: glibc
CVE:
Status comment:


Attachments

Description Marianne Lombard 2011-10-19 17:01:58 CEST
I've install freemind via the package (urpmi freemind) but the software crash when I launch it 

[mlombard@J7M66Q1 ~]$ freemind 
Checking Java Version...
java.io.FileNotFoundException: /home/mlombard/.freemind/auto.properties (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:137)
	at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:136)
	at freemind.main.FreeMindStarter.main(FreeMindStarter.java:56)
Panic! Error while loading default properties.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fbe2f6b8670, pid=5097, tid=140454818096912
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.10.2
# Distribution: Mageia 1, package fedora-14.b22.5.1.mga1-x86_64
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x13670]  _dl_x86_64_save_sse+0x30
#
# An error report file with more information is saved as:
# /home/mlombard/hs_err_pid5097.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Abandon


the file /home/mlombard/.freemind/auto.properties doesn't exist, I suppose it's the problem but I don't know what to put in it (creating an empty file don't solve the issue)
Samuel Verschelde 2011-10-19 17:09:40 CEST

CC: (none) => stormi
Assignee: bugsquad => andre999mga

Comment 1 Samuel Verschelde 2011-10-19 17:11:09 CEST
Could be related to bug #1362
Comment 2 andré blais 2011-10-20 06:35:27 CEST
allons ...

I'm assuming that you are installing freemind 0.90, the latest version.

First thing to try is unistall and reinstall freemind.  Just to eliminate the possibility that freemind didn't install properly.
I suspect that the missing file
 ~/.freemind/auto.properties
 is only created when freemind runs successfully, to store temporary settings and any changes to the defaults.
(That is essentially the content of my file.)

Upstream says that -- at least with older versions of freemind -- there have been problems with openjdk/icedtea jvm, and recommends using the sun version.
I haven't had problems starting the 32-bit version of freemind with the openjdk jvm, but the problem could lie with the 64-bit version.

So please try the correction suggested upstream :
1) Install the sun version of Java. (java-1.6.0-sun in the repos)
Don't uninstall the openjdk version for now, as some functions of Libreoffice don't work properly with the sun version.  (If you use Libreoffice.)

2) create the file ~/.freemind/freemindrc, and put these 2 lines in it :

export PATH=/usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre:$PATH
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-sun-1.6.0.26

This will cause freemind to access the sun jvm instead of the system default.

Please report back - hopefully Freemind will start :)

If not, fixes coming for the bug 1362 (mentioned in comment 1), which seems to affect only 64-bit systems, may solve your problem.
andré blais 2011-10-25 08:14:17 CEST

Keywords: (none) => NEEDINFO

Comment 3 Marianne Lombard 2011-11-01 09:31:28 CET
Adding the freemindrc file don't solve the crash 

I'm waiting the glibc update.
Comment 4 andré blais 2011-11-01 11:27:12 CET
Right.  From my trace on another freemind bug, it doesn't seem that freemind uses anything that isn't in the current version of the openjdk/icedtea jvm.
(I've disabled freemindrc on my system.)

Hopefully the coming glibc update will solve your problem.

Keywords: NEEDINFO => (none)
Status: NEW => ASSIGNED

Comment 5 andré blais 2011-11-01 11:37:22 CET
A comment in bug 1362 suggested, with both the openjdk/icedtea and sun jvm installed, to use

$ update-alternatives --config java

to select the sun version, which worked for them.
Could you try that ?

Depends on: (none) => 1362

Comment 6 Manuel Hiebel 2011-11-22 11:45:33 CET
Glib was pushed in updates, can you test ?

Keywords: (none) => NEEDINFO

Comment 7 Marianne Lombard 2011-11-22 13:27:19 CET
Freemind work fine with the glibc present in update
Comment 8 Manuel Hiebel 2011-11-22 16:22:18 CET
Ok thanks for the replay, closing

Keywords: NEEDINFO => (none)
Status: ASSIGNED => NEW
Source RPM: freemind => glibc

Comment 9 Manuel Hiebel 2011-11-22 16:35:58 CET
oups

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.