Bug 527420 - Swing program crashes with X errors
Summary: Swing program crashes with X errors
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: 11
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Rodney Russ
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-06 10:59 UTC by Simon Andrews
Modified: 2010-06-28 14:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-28 14:55:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Final fatal X error (587 bytes, text/plain)
2009-10-06 10:59 UTC, Simon Andrews
no flags Details
Non fatal java errors generated just before the crash (187.21 KB, text/plain)
2009-10-06 11:00 UTC, Simon Andrews
no flags Details
Hotspot crash log (54.23 KB, text/plain)
2009-10-07 10:16 UTC, Simon Andrews
no flags Details

Description Simon Andrews 2009-10-06 10:59:34 UTC
Created attachment 363810 [details]
Final fatal X error

Description of problem:

A swing based application we wrote has recently started crashing with X errors.


Version-Release number of selected component (if applicable):
java-1.6.0-openjdk-1.6.0.0-29.b16.fc11.x86_64
xorg-x11-server-Xorg-1.6.4-0.1.fc11.x86_64
xorg-x11-drv-nouveau-0.0.12-40.20090528git0c17b87.fc11.x86_64

How reproducible:
Takes a variable amount of time to happen, but always happens within an hour or so of use.

Steps to Reproduce:
1. Run complex swing application
  
Actual results:
X errors.  Some reported by java initially (non-fatal), then a fatal GDK error.

Additional info:
This program has been running fine on F11 for ages, so something has changed recently to trigger this.  Both openjdk and xorg have been updated recently so it's not immediately clear to me which one is the likely culprit.

I'll attach the java and X errors I see.

Comment 1 Simon Andrews 2009-10-06 11:00:57 UTC
Created attachment 363812 [details]
Non fatal java errors generated just before the crash

Comment 2 Simon Andrews 2009-10-06 15:31:11 UTC
I've now confirmed that this bug is present using either the nouveau or nv drivers.  It also still happens if I use the OpenGL based drawing routines (appending -Dsun.java2d.opengl=true to the launch command).

Comment 3 Simon Andrews 2009-10-07 10:15:35 UTC
I tried downgrading java to the originally installed version and downgrading the X server to the original fedora version.  I've no idea what changed along the way but I now get a consistent hotspot crash when opening a large file, which is reproducible even when I re-upgrade everything to the latest versions.

I'll attached the hotspot crash log.

Comment 4 Simon Andrews 2009-10-07 10:16:20 UTC
Created attachment 363945 [details]
Hotspot crash log

Comment 5 Simon Andrews 2009-10-07 10:42:55 UTC
I installed the sun jre-6u15-linux-amd64.rpm JRE and screen updates in my program are now running about 100X faster than under the openJDK JRE and the crashes and X errors have all gone.

I'm happy to do further debugging on the OpenJDK to get this resolved though as I'd prefer to use the native fedora JRE.

Comment 6 Bug Zapper 2010-04-28 10:43:06 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Bug Zapper 2010-06-28 14:55:59 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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