FS#15550 - [openjdk6] segfaults (possibly only on graphical applications)

Attached to Project: Arch Linux
Opened by Evangelos Foutras (foutrelis) - Friday, 17 July 2009, 22:34 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 August 2009, 20:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I first noticed this while trying to run frostwire; it would immediately segfault and exit. Same thing happens with jbidwatcher. Error logs are attached.

Additional info:
* package version(s)

- openjdk6 1.5-4

Steps to reproduce:

- Try running frostwire or jbidwatcher with openjdk6.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 04 August 2009, 20:44 GMT
Reason for closing:  Fixed
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 17 July 2009, 22:43 GMT
  • Field changed: Summary (openjdk6 segfaults (possibly only on graphical applications) → [openjdk6] segfaults (possibly only on graphical applications))
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Andreas Radke (AndyRTR)
Yes, know bug with the new jpeg-7. Can use jre from [community] for now.

j sun.awt.image.JPEGImageDecoder.initIDs(Ljava/lang/Class;)V+0
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 19 July 2009, 03:16 GMT
Any sample test case is apreciated to reproduce this bug. I will research in these days about this, maybe can fix them.
Comment by Alex Merry (pippin) - Sunday, 19 July 2009, 11:43 GMT
Starting kolmafia-13.4.jar from http://kolmafia.sourceforge.net/ causes the segfault every time
Comment by Henning Garus (garns) - Sunday, 19 July 2009, 13:09 GMT
IcedTea has hardcoded references to libjpeg.so.62 in icedtea6-1.5/patches/icedtea-libraries.patch. After changing these to libjpeg.so.7 and recompiling openjdk6 the aforementioned programs start without segfaulting.

I have attached a patch and a test case.

I will report this upstream.
Comment by Henning Garus (garns) - Sunday, 19 July 2009, 13:31 GMT
Ok just stumbled upon this bug report:

http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=367


Andy, I can start the software from interactive brokers after changing the patch file, I am running i686 though.
Comment by Andreas Radke (AndyRTR) - Monday, 27 July 2009, 17:35 GMT
I applied the patch and the affected website and your test file both fail on i686+x86_64.
Comment by marcin (mpsi) - Wednesday, 29 July 2009, 13:28 GMT
I had the same problem with CGoban3 (www.gokgs.com), and I was able to solve it simply by creating a symlink /usr/lib/libjpeg.so.62 -> libjpeg.so.7.0.0
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 31 July 2009, 06:55 GMT
The patch from Hennings works for me (Thanks!), with the testcase. And with another testcase that also display images. (The scaled at 100% is correct not blur)

Loading...