Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-11-27 Thread Samuel Thibault
tony mancill, on Fri 27 Nov 2015 08:20:12 -0800, wrote:
> There is a problem with JabRef that could be the same root cause.  There
> is a discussion including stack traces (wherein the AWT-EventQueue-1
> thread looks suspicious) available here:
> 
> https://github.com/JabRef/jabref/issues/393

JabRef is using threads, so the same reasoning applies: unless
XInitThreads is called by awt, it will not be thread-safe, and thus any
kind of funky thing may happen.

Samuel

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-11-27 Thread tony mancill
There is a problem with JabRef that could be the same root cause.  There
is a discussion including stack traces (wherein the AWT-EventQueue-1
thread looks suspicious) available here:

https://github.com/JabRef/jabref/issues/393



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-11-20 Thread Samuel Thibault
Hello,

Please have a look at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797595

Commenting the line in /etc/java-8-openjdk/accessibility.properties may
help with X11 issues, but I believe the ground issue is that the openjdk
awt toolkit doesn't tell X11 that it is using threads, and thus all
kinds of race conditions can happen within libxcb etc. just because
freemind happens to be using threads.

Samuel

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-11-20 Thread Vincent Smeets
Thank you Samuel,

that did solve my problem.
After commenting out the line in the file accessibility.properties as you
described, freemind starts without any problems.

Regards,
Vincent Smeets

2015-11-20 14:08 GMT+01:00 Samuel Thibault :

> Hello,
>
> Please have a look at
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797595
>
> Commenting the line in /etc/java-8-openjdk/accessibility.properties may
> help with X11 issues, but I believe the ground issue is that the openjdk
> awt toolkit doesn't tell X11 that it is using threads, and thus all
> kinds of race conditions can happen within libxcb etc. just because
> freemind happens to be using threads.
>
> Samuel
>
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-11-01 Thread Vincent Smeets
Hallo,

further investigation shows that it's probably not a problem of freemind,
but of OpenJDK or X11 or something else.

OpenJDK-7 gives sometimes problems too. Sometimes I also see an error
message like:
Xlib:  extension "XInputExtension" missing on display ":0".
although the command xdpyinfo shows that the extension XInputExtension is
available in :0.

I have attached a stack trace of the time where all the threads are waiting
for something and the application hangs.

I don't think that this is a freemind problem. You can close this bug and I
will further investigate the problem and open a new one for the correct
package

Thanks,
Vincent


2015-11-01 3:52 GMT+01:00 tony mancill :

> On 10/22/2015 10:12 AM, Vincent Smeets wrote:
> > Package: freemind
> > Version: 0.9.0+dfsg2-1
> > Severity: normal
> >
> > I have installed OpenJDK-7 and OpenJDK-8.
> > Freemind is starting normally with OpenJDK-7 but hangs in the splash
> > screen when started with OpenJDK-8.
>
> Hi Vincent,
>
> I'm also running testing + OpenJDK-8 and am not seeing any problem with
> startup.  Can you try starting freemind with some additional debugging
> and sharing the output?  For example:
>
> > $ DEBUG=1 /usr/bin/freemind
> > [debug] /usr/bin/freemind: Found JAVA_HOME =
> '/usr/lib/jvm/java-8-openjdk-amd64'
> > [debug] /usr/bin/freemind: Found JAVA_CMD =
> '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'
> > DEBUG:   Freemind parameters are ''.
> > DEBUG:   Linux boson 4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27)
> x86_64 GNU/Linux
> > No LSB modules are available.
> > DEBUG:   Distributor ID:  Debian
> > Description:  Debian GNU/Linux testing (stretch)
> > Release:  testing
> > Codename: stretch
> > DEBUG:   The following DEB packages are installed:
> > ii  freemind0.9.0+dfsg2-1  all
> Java Program for creating and viewing Mindmaps
> > ii  freemind-doc0.9.0+dfsg2-1  all
> Documentation for FreeMind
> > DEBUG:   Link '/usr/bin/freemind' resolved to
> '/usr/share/freemind/freemind.sh'.
> > DEBUG:   Freemind Directory is '/usr/share/freemind'.
> > DEBUG:   Calling: '/usr/lib/jvm/java-8-openjdk-amd64/bin/java
> -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D
> -Dfreemind.base.dir=/usr/share/freemind -cp
> ::/usr/share/freemind/lib/freemind.jar:/usr/share/java/SimplyHTML.jar:/usr/share/java/gnu-regexp.jar:/usr/share/java/jibx-run-1.1.6a.jar:/usr/share/java/xpp3.jar:/usr/share/freemind/lib/bindings.jar:/usr/share/java/forms.jar:/usr/share/freemind
> freemind.main.FreeMindStarter  '.
> > Checking Java Version...
>
> Thank you,
> tony
>
>


8744.stack
Description: Binary data
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-11-01 Thread tony mancill
On 11/01/2015 02:20 AM, Vincent Smeets wrote:

> further investigation shows that it's probably not a problem of
> freemind, but of OpenJDK or X11 or something else.

Hi Vincent,

Thank you for looking into it again.  We can leave the bug open and then
reassign it once we determine the root cause.  It may help others who
are encountering the same issue.

Cheers,
tony



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-10-31 Thread tony mancill
On 10/22/2015 10:12 AM, Vincent Smeets wrote:
> Package: freemind
> Version: 0.9.0+dfsg2-1
> Severity: normal
> 
> I have installed OpenJDK-7 and OpenJDK-8.
> Freemind is starting normally with OpenJDK-7 but hangs in the splash
> screen when started with OpenJDK-8.

Hi Vincent,

I'm also running testing + OpenJDK-8 and am not seeing any problem with
startup.  Can you try starting freemind with some additional debugging
and sharing the output?  For example:

> $ DEBUG=1 /usr/bin/freemind 
> [debug] /usr/bin/freemind: Found JAVA_HOME = 
> '/usr/lib/jvm/java-8-openjdk-amd64'
> [debug] /usr/bin/freemind: Found JAVA_CMD = 
> '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'
> DEBUG:   Freemind parameters are ''.
> DEBUG:   Linux boson 4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27) x86_64 
> GNU/Linux
> No LSB modules are available.
> DEBUG:   Distributor ID:  Debian
> Description:  Debian GNU/Linux testing (stretch)
> Release:  testing
> Codename: stretch
> DEBUG:   The following DEB packages are installed:
> ii  freemind0.9.0+dfsg2-1  allJava 
> Program for creating and viewing Mindmaps
> ii  freemind-doc0.9.0+dfsg2-1  all
> Documentation for FreeMind
> DEBUG:   Link '/usr/bin/freemind' resolved to 
> '/usr/share/freemind/freemind.sh'.
> DEBUG:   Freemind Directory is '/usr/share/freemind'.
> DEBUG:   Calling: '/usr/lib/jvm/java-8-openjdk-amd64/bin/java 
> -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D 
> -Dfreemind.base.dir=/usr/share/freemind -cp 
> ::/usr/share/freemind/lib/freemind.jar:/usr/share/java/SimplyHTML.jar:/usr/share/java/gnu-regexp.jar:/usr/share/java/jibx-run-1.1.6a.jar:/usr/share/java/xpp3.jar:/usr/share/freemind/lib/bindings.jar:/usr/share/java/forms.jar:/usr/share/freemind
>  freemind.main.FreeMindStarter  '.
> Checking Java Version...

Thank you,
tony



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#802701: freemind: Freemind doesn't start with OpenJDK-8

2015-10-22 Thread Vincent Smeets
Package: freemind
Version: 0.9.0+dfsg2-1
Severity: normal

Hallo,

I have installed OpenJDK-7 and OpenJDK-8.
Freemind is starting normally with OpenJDK-7 but hangs in the splash
screen when started with OpenJDK-8.

When I start freemind without any settings
  $ freemind
it will use OpenJDK-8 (from java-wrapper) and doesn't start completely.
The spalsh screen will appear as an gray rectangle but with no image in
it. The application will hang at that point. A ^C or kill -TERM doesn't
work I can only recover by a kill -KILL to the JVM.
The command:
  $ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 freemind
gives the same behaviour.

In contrast to that, the command:
  $ JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 freemind
works normally and starts the application in a normal way.

Regards,
Vincent

-- Package-specific info:
[debug] /usr/bin/freemind: Found JAVA_HOME = '/usr/lib/jvm/java-8-openjdk-amd64'
[debug] /usr/bin/freemind: Found JAVA_CMD = 
'/usr/lib/jvm/java-8-openjdk-amd64/bin/java'
DEBUG:   Freemind parameters are ''.
DEBUG:   Linux PC-Vincent 4.2.0-1-amd64 #1 SMP Debian 4.2.3-2 (2015-10-14) 
x86_64 GNU/Linux
No LSB modules are available.
DEBUG:   Distributor ID:Debian
Description:Debian GNU/Linux testing (stretch)
Release:testing
Codename:   stretch
DEBUG:   The following DEB packages are installed:
ii  freemind0.9.0+dfsg2-1  allJava 
Program for creating and viewing Mindmaps
DEBUG:   Link '/usr/bin/freemind' resolved to '/usr/share/freemind/freemind.sh'.
DEBUG:   Freemind Directory is '/usr/share/freemind'.
DEBUG:   Calling: '/usr/lib/jvm/java-8-openjdk-amd64/bin/java 
-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D 
-Dfreemind.base.dir=/usr/share/freemind -cp 
::/usr/share/freemind/lib/freemind.jar:/usr/share/java/SimplyHTML.jar:/usr/share/java/gnu-regexp.jar:/usr/share/java/jibx-run-1.1.6a.jar:/usr/share/java/xpp3.jar:/usr/share/freemind/lib/bindings.jar:/usr/share/java/forms.jar:/usr/share/freemind
 freemind.main.FreeMindStarter  '.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freemind depends on:
ii  default-jre 2:1.7-52
ii  libjgoodies-forms-java  1.6.0-4
ii  libjibx1.1-java 1.1.6a-4
ii  simplyhtml  0.16.08-1

Versions of packages freemind recommends:
pn  freemind-doc   
ii  java-wrappers  0.1.28
ii  xdg-utils  1.1.1-1

Versions of packages freemind suggests:
pn  freemind-browser 
pn  freemind-plugins-help
pn  freemind-plugins-script  
pn  freemind-plugins-svg 

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.