Eclipse crashes in libpango (karmic)

Bug #531376 reported by Ben Klein
66
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
Karmic
Invalid
Undecided
Unassigned
eclipse (Ubuntu)
Fix Released
Medium
none
Karmic
Fix Released
Medium
Niels Thykier

Bug Description

Binary package hint: eclipse

After I export a JAR file, Eclipse crashes. The following was printed on the terminal:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x003ff856, pid=6979, tid=3078817472
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Distribution: Ubuntu 9.10, package 6b16-1.6.1-3ubuntu1
# Problematic frame:
# C [libpango-1.0.so.0+0x23856] pango_layout_new+0x36
#
# An error report file with more information is saved as:
# /home/ben/hs_err_pid6979.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

ProblemType: Bug
Architecture: i386
Date: Wed Mar 3 09:24:00 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl nvidia
Package: eclipse 3.5.1+repack~1-0ubuntu3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: eclipse
Uname: Linux 2.6.31-19-generic i686

Revision history for this message
Ben Klein (kleinb1) wrote :
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

This bug has been fixed in Lucid (the coming release of Ubuntu), however Karmic (9.0) has been frozen for quite a while, so I am not certain I can do much about it in Karmic; I will have ask my co-maintainer the possibility of back-porting eclipse 3.5.2 to karmic.

~Niels

tags: added: karmic
Changed in eclipse (Ubuntu):
status: New → Confirmed
summary: - Eclipse crashes after exporting a JAR
+ Eclipse crashes in libpango (karmic)
Revision history for this message
Benjamin Drung (bdrung) wrote :

Small typo: karmic is 9.10. :)

We can't backport 3.5.2. First it will need backporting of around 10 dependencies and second dpkg-source 3.0 (quilt) is not supported in karmic. If we want to fix it in karmic, we need to cherry-pick the fix.

Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu Karmic):
status: New → Confirmed
importance: Undecided → Medium
Changed in eclipse (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Niels Thykier (niels-thykier) wrote : Re: [Bug 531376] Re: Eclipse crashes in libpango (karmic)

Benjamin Drung wrote:
> Small typo: karmic is 9.10. :)
>
> We can't backport 3.5.2. First it will need backporting of around 10
> dependencies and second dpkg-source 3.0 (quilt) is not supported in
> karmic. If we want to fix it in karmic, we need to cherry-pick the fix.
>

Right, I will cherry pick it then. I am reopening this and using it as a
tracker for the progress.

~Niels

 status inprogress
 assignee niels-thykier

Changed in eclipse (Ubuntu):
assignee: nobody → Niels Thykier (niels-thykier)
status: Fix Released → In Progress
Revision history for this message
Niels Thykier (niels-thykier) wrote : Right, is open for Karmic (so closing for Lucid)

Ah, had not seen this was open for Karmic as well. Reclosing for Lucid.

~Niels

 status fixreleased
 assignee none

Changed in eclipse (Ubuntu):
assignee: Niels Thykier (niels-thykier) → none (none)
status: In Progress → Fix Released
Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu Karmic):
assignee: nobody → Niels Thykier (niels-thykier)
status: Confirmed → In Progress
Changed in ubuntu:
status: New → Invalid
Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Benjamin Drung (bdrung) wrote :

eclipse (3.5.1+repack~1-0ubuntu4) karmic-proposed; urgency=low

  * Backported patch from upstream to fix libpango crashes. (LP: #531376)
  * Backported fix for ClassCastException in the "Quick Assistant".
    [quick-ass-cce.patch]
  * Backported fix for ClassCastException in the jdt compiler.
  * Backported fix for Out-Of-Memory issues during searches.
    [indexing-oom.patch]
  * Backported fix for behavior difference between javac and jdt
  * Backported fix for slow content assists [java-proposal-hangs.patch].
  * Backported patch to correct issue in the jdt compiler with generics
  * Backported patch to speed-up source looks up.
    [speedup-source-lookup.patch]
  * Backported fix to prevent eclipse from hiding errors.
    [prevent-error-hiding.patch]
  * Backported fix for a concurrency issue in JDT's preview calculation.
  * Backported update site injection.

 -- Niels Thykier <email address hidden> Sat, 27 Mar 2010 23:21:55 +0100

Changed in eclipse (Ubuntu Karmic):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

This upload changes quite a bit more than just fixing this bug, but does not link to corresponding bug reports. Can you please reupload with just one focused patch for this bug, or alternatively reupload with adding the bug references to the other bugs, and preparing the other bugs for SRUs? (Please note that you should _not_ open new bugs; if a bug hasn't been reported already for a particular issue, it's not worth SRUing).

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, sorry, mislooked.

tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted eclipse into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.5.1+repack~1-0ubuntu4

---------------
eclipse (3.5.1+repack~1-0ubuntu4) karmic-proposed; urgency=low

  * Backported patch from upstream to fix libpango crashes. (LP: #531376)
  * Backported update site injection. (LP: #460944)
 -- Niels Thykier <email address hidden> Sat, 27 Mar 2010 23:21:55 +0100

Changed in eclipse (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Huygens (huygens-25) wrote :

Did you push the correction upstream? Because i'm using Eclipse Helios 3.6.1 from Eclipse web site and I still encounter the problem. I'm using Ubuntu 10.04 with latest updates and Sun Java 6 from the repo.

Revision history for this message
Huygens (huygens-25) wrote :

OK, sorry about my previous comment, discard it please.
I did a full clean and build and it is working. I probably had some part compiled by an earlier release of Eclipse which was not corrected.
So now that everything is clean, I don't reproduce the problem.

Revision history for this message
Huygens (huygens-25) wrote :

I have Eclipse 3.5.2-2ubuntu4.2 installed on Ubuntu 10.04 LTS with SUN Java 6.22-0ubuntu1~10.04 both are from Lucid repositories.

When I do a full clean and build of my application, it starts and is working. Then if I make a small code modification and restart the application (there is Eclipse autobuild) I get again the Pango problem...
Pango:ERROR:/build/buildd/pango1.0-1.28.0/pango/pango-layout.c:3739:pango_layout_check_lines: assertion failed: (!layout->log_attrs)

This does not seems to be properly corrected.

Note, I get also the problem with the Eclipse Helios 3.6 version from Eclipse web site. Same behaviour. After a full clean and build, it is working. But a tiny change, build and launch breaks it again.

So I have to reopen this bug report. It is not corrected in Eclipse for Lucid 3.5.2-2 neither in the upstream Eclipse 3.6.

tags: added: lucid
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

@Huygens you are experiencing another issue, please file a new report instead. Thanks in advance.

Revision history for this message
Huygens (huygens-25) wrote :

OK, thanks Jean-Baptiste

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.