Bug 193880

Summary: rssowl fails to start
Product: [Fedora] Fedora Reporter: Anthony Green <green>
Component: rssowlAssignee: Tom Tromey <tromey>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: ben, extras-qa, jakub, overholt, patrickm, tromey
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rssowl-1.2.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-01 23:59:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 187071    

Description Anthony Green 2006-06-02 15:55:19 UTC
Description of problem:
A recent change in either gcc or eclipse broke rssowl.  We get the following
stack trace now...

Exception in thread "main" org.eclipse.swt.SWTException: i/o error
(java.util.zip.ZipException: Deflated stream ends early.)
   at org.eclipse.swt.SWT.error(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at org.eclipse.swt.SWT.error(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.internal.image.GIFFileFormat.readID(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.internal.image.GIFFileFormat.getExtensions(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.internal.image.GIFFileFormat.loadFromByteStream(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.internal.image.FileFormat.loadFromStream(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.internal.image.FileFormat.load(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.graphics.ImageLoader.load(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.graphics.ImageDataLoader.load(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.graphics.ImageData.<init>(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at
org.eclipse.swt.graphics.Image.<init>(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   at net.sourceforge.rssowl.util.shop.PaintShop.loadImage(rssowl.jar.so)
   at net.sourceforge.rssowl.util.shop.PaintShop.loadImage(rssowl.jar.so)
   at net.sourceforge.rssowl.util.shop.PaintShop.initIcons(rssowl.jar.so)
   at net.sourceforge.rssowl.controller.GUI.startUp(rssowl.jar.so)
   at net.sourceforge.rssowl.controller.GUI.<init>(rssowl.jar.so)
   at net.sourceforge.rssowl.controller.RSSOwlLoader.<init>(rssowl.jar.so)
   at net.sourceforge.rssowl.controller.RSSOwlLoader.main(rssowl.jar.so)
Caused by: java.util.zip.ZipException: Deflated stream ends early.
   at java.util.zip.InflaterInputStream.fill(libgcj.so.7)
   at java.util.zip.InflaterInputStream.read(libgcj.so.7)
   at java.util.zip.InflaterInputStream.read(libgcj.so.7)
   at java.io.FilterInputStream.read(libgcj.so.7)
   at java.util.jar.JarFile$EntryInputStream.read(libgcj.so.7)
   at
org.eclipse.swt.internal.image.LEDataInputStream.read(org.eclipse.swt.gtk.linux.x86_3.1.1.jar.so)
   ...16 more

Version-Release number of selected component (if applicable):

libgcj-4.1.1-1.fc5
libswt3-gtk2-3.1.2-1jpp_15fc
rssowl-1.2.1-2.fc5

How reproducible:
Always

Steps to Reproduce:
1. start rssowl
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Anthony Green 2006-06-02 15:58:56 UTC
mjw suggests that it's related to GCC bug 27271.  I've added that as an external
bugzilla reference for now.

Comment 2 Ben Konrath 2006-06-02 16:13:23 UTC
I just tested rssowl with the recently updated GCJ (gcc-java-4.1.1-1.fc5) and
the previous version of Eclipse (eclipse-rcp-3.1.2-1jpp_13fc). I get the same
error so I think it's a GCJ problem.

Comment 3 Tom Tromey 2006-07-11 22:01:41 UTC
I'm looking at this.


Comment 4 Tom Tromey 2006-07-12 16:38:17 UTC
I checked in a fix to the gcc svn 4.1 branch.
It is revision 115377.

Jakub, I CCd you on this since it would be nice to have this patch
put in an FC5 update.


Comment 5 Anthony Green 2006-08-27 03:34:58 UTC
Jakub: will libgcj ever be updated in FC5?  If not, I should look into removing
rssowl from FC5 extras.


Comment 6 Anthony Green 2006-09-01 23:59:34 UTC
tromey suggested the obvious work around (use an uncompressed jar file!), and
RSSOwl in FC5 Extras is working again.