SIGSEGV error in OpenJDK

Bug #477615 reported by Steven Sroka
This bug report is a duplicate of:  Bug #531376: Eclipse crashes in libpango (karmic). Edit Remove
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

In my user folder I found this log file that I have attached. I'm just passing the information along.

Here is what is written in the header:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fce093c3687, pid=4113, tid=140523800013072
#
# JRE version: 6.0-b16
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Distribution: Ubuntu karmic (development branch), package 6b16-1.6.1-1ubuntu3
# Problematic frame:
# C [libpangoft2-1.0.so.0+0x17687]
#
# 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.
#

Revision history for this message
Steven Sroka (lin-unix) wrote :
Narcissus (narcissus)
affects: ubuntu → openjdk-6 (Ubuntu)
C de-Avillez (hggdh2)
tags: added: usability
Narcissus (narcissus)
summary: - Java/eclipse error
+ SIGSEGV error in OpenJDK
C de-Avillez (hggdh2)
tags: removed: usability
Revision history for this message
Andrew Cowie (afcowie) wrote :

I'm getting this from java-gnome programs (using GTK and Pango directly, nothing to do with AWT or Swing) as well as underneath Eclipse (which has its own SWT binding of Pango, so ditto). So I'm not sure it's a openjdk bug. In fact, I'm seriously doubting it.

AfC

Revision history for this message
Lachezar Dobrev (lachezar) wrote :

Not OpenJDK specific.
I am using Eclipse 3.5 with Sun JDK 1.6 on amd64 and getting the same error.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb76489e687, pid=2714, tid=140425706845936
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.2-b01 mixed mode linux-amd64 )
# Problematic frame:
# C [libpangoft2-1.0.so.0+0x17687]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Stack: [0x00007fff38a90000,0x00007fff38b90000], sp=0x00007fff38b8c8c0, free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libpangoft2-1.0.so.0+0x17687]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._pango_layout_get_line_count(J)I+0
j org.eclipse.swt.internal.gtk.OS.pango_layout_get_line_count(J)I+8
j org.eclipse.swt.graphics.TextLayout.getLineMetrics(I)Lorg/eclipse/swt/graphics/FontMetrics;+12
j org.eclipse.swt.custom.StyledTextRenderer.setFont(Lorg/eclipse/swt/graphics/Font;I)V+180
j org.eclipse.swt.custom.StyledText.setFont(Lorg/eclipse/swt/graphics/Font;)V+29

Revision history for this message
Richard Huddleston (rhuddusa) wrote :

I'm seeing this in eclipse-3.5.2 too

Linux box05 2.6.32-02063209-generic #02063209 SMP Wed Feb 24 10:09:53 UTC 2010 x86_64 GNU/Linux

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._pango_layout_get_line_count(J)I+0
j org.eclipse.swt.internal.gtk.OS.pango_layout_get_line_count(J)I+8
j org.eclipse.swt.graphics.TextLayout.getLineMetrics(I)Lorg/eclipse/swt/graphics/FontMetrics;+12
j org.eclipse.swt.custom.StyledTextRenderer.setFont(Lorg/eclipse/swt/graphics/Font;I)V+180
j org.eclipse.swt.custom.StyledText.setFont(Lorg/eclipse/swt/graphics/Font;)V+29
j org.tigris.subversion.subclipse.ui.comments.CommitCommentArea$TextBox.<init>(Lorg/tigris/subversion/subclipse/ui/comments/CommitCommentArea;Lorg/eclipse/swt/widgets/Composite;Ljava/lang/String;Ljava/lang/String;)V+206
j org.tigris.subversion.subclipse.ui.comments.CommitCommentArea.createArea(Lorg/eclipse/swt/widgets/Composite;)Lorg/eclipse/swt/widgets/Control;+93
j org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizardFinishPage.createControl(Lorg/eclipse/swt/widgets/Composite;)V+161
j org.eclipse.jface.wizard.Wizard.createPageControls(Lorg/eclipse/swt/widgets/Composite;)V+21
j org.eclipse.jface.wizard.WizardDialog.createPageControls()V+8
j org.eclipse.jface.wizard.WizardDialog.setWizard(Lorg/eclipse/jface/wizard/IWizard;)V+61
j org.eclipse.jface.wizard.WizardDialog.updateForPage(Lorg/eclipse/jface/wizard/IWizardPage;)V+20
j org.eclipse.jface.wizard.WizardDialog.access$2(Lorg/eclipse/jface/wizard/WizardDialog;Lorg/eclipse/jface/wizard/IWizardPage;)V+2
j org.eclipse.jface.wizard.WizardDialog$5.run()V+8
j org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116
j org.eclipse.jface.wizard.WizardDialog.showPage(Lorg/eclipse/jface/wizard/IWizardPage;)V+80
j org.eclipse.jface.wizard.WizardDialog.nextPressed()V+17
j org.eclipse.jface.wizard.WizardDialog.buttonPressed(I)V+47
j org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+17
j org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+1003
J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25
j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)V+23
j org.eclipse.jface.window.Window.open()I+49
j org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.openWizard(Lorg/eclipse/swt/widgets/Shell;Lorg/eclipse/jface/wizard/IWizard;)V+11
j org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.shareProjects(Lorg/eclipse/swt/widgets/Shell;[Lorg/eclipse/core/resources/IProject;)V+93
j org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V+27
j org.eclipse.team.internal.ui.actions.TeamAction$3.run()V+11
j org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116

Revision history for this message
Robin Stocker (nibor) wrote :

Also seen with Eclipse 3.5.2:

Linux hiatt 2.6.31-18-generic #55-Ubuntu SMP Fri Jan 8 14:54:52 UTC 2010 x86_64 GNU/Linux

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._pango_layout_get_line_count(J)I+0
j org.eclipse.swt.internal.gtk.OS.pango_layout_get_line_count(J)I+8
j org.eclipse.swt.graphics.TextLayout.getLineMetrics(I)Lorg/eclipse/swt/graphics/FontMetrics;+12
j org.eclipse.swt.custom.StyledTextRenderer.setFont(Lorg/eclipse/swt/graphics/Font;I)V+180
j org.eclipse.swt.custom.StyledText.setFont(Lorg/eclipse/swt/graphics/Font;)V+29
j org.eclipse.ui.texteditor.AbstractTextEditor.setFont(Lorg/eclipse/jface/text/source/ISourceViewer;Lorg/eclipse/swt/graphics/Font;)V+160
j org.eclipse.ui.texteditor.AbstractTextEditor.initializeViewerFont(Lorg/eclipse/jface/text/source/ISourceViewer;)V+126
j org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+188
j org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+70
j org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(Lorg/eclipse/swt/widgets/Composite;)V+2
...

Revision history for this message
Matthias Klose (doko) wrote :

this is a local eclipse copy. please recheck with eclipse in ubuntu lucid

affects: openjdk-6 (Ubuntu) → eclipse (Ubuntu)
Changed in eclipse (Ubuntu):
status: New → Incomplete
Revision history for this message
arno_b (arno.b) wrote :

I have the same problem using eclipse from repo on karmic: either or crash as provided in this report, or this error message:
Pango:ERROR:/build/buildd/pango1.0-1.26.0/pango/pango-layout.c:3736:pango_layout_check_lines: assertion failed: (!layout->log_attrs)

I use jdk-sun so the problem does not come from java but libpango I think.

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

Hi

Yes, Karmic is known to be broken (see LP: #531376); however eclipse in
Lucid (3.5.2-2) should be fixed

~Niels

Revision history for this message
Robin Stocker (nibor) wrote :

Are you sure this is a duplicate of #531376? Because it mentions that the problem is fixed in Eclipse 3.5.2 but the problem of this bug still occurs in 3.5.2. The stack trace is also different. And the referenced Eclipse bug report there mentions that the bug only occurs with assistive technologies turned on, but I have it set to off and the bug occurs.

Revision history for this message
David Judd (david-a-judd) wrote :

I'm seeing this in Eclipse 3.5.2 (build ID 20100218-1602) on Lucid. In fact, it started occurring after I did an upgrade to Lucid.

I've attached an example JVM crash log. It happens when Content Assist is opened, some of the time (seems to be consistent based on what's being auto-completed, always succeeds or always crashes, but I don't see a pattern).

Revision history for this message
David Judd (david-a-judd) wrote :

Downgrading libcairo2 from 1.8.8.10 to 1.8.8.2 fixed the problem, as per https://bugs.eclipse.org/bugs/show_bug.cgi?id=309718

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.