#581 eclipse galileo crashes

open
nobody
Core (65)
5
2010-01-09
2010-01-09
No

Hi EPIC-Team,

eclipse galileo crashes on changing a perl module with the following output:

-----------------------------------------
OUTPUT
-----------------------------------------

-----------------------------------------
-----------------------------------------
OUTPUT
-----------------------------------------
Bareword "NConf::Logger" not allowed while "strict subs" in use at - line 61.
- had compilation errors.

-----------------------------------------
-----------------------------------------
OUTPUT
-----------------------------------------
Bareword "NConf::Logger" not allowed while "strict subs" in use at - line 61.
- had compilation errors.

-----------------------------------------
-----------------------------------------
OUTPUT
-----------------------------------------
syntax error at - line 61, near "-;"
- had compilation errors.

-----------------------------------------
-----------------------------------------
OUTPUT
-----------------------------------------
syntax error at - line 61, near "->;"
- had compilation errors.

-----------------------------------------
Exception in thread "AutoAssist Delay" org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.StringIndexOutOfBo
undsException: String index out of range: 0)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:195)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.showAssist(ContentAssistant.java:365)
at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.run(ContentAssistant.java:277)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:558)
at org.epic.perleditor.templates.perl.SubroutineProposal.getImage(SubroutineProposal.java:168)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.handleSetData(CompletionProposalPopup.java:837)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$24(CompletionProposalPopup.java:817)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$3.handleEvent(CompletionProposalPopup.java:583)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)
at org.eclipse.swt.widgets.Table.checkData(Table.java:286)
at org.eclipse.swt.widgets.Table.cellDataProc(Table.java:223)
at org.eclipse.swt.widgets.Display.cellDataProc(Display.java:707)
at org.eclipse.swt.internal.gtk.OS._gtk_tree_view_column_cell_set_cell_data(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_tree_view_column_cell_set_cell_data(OS.java:11079)
at org.eclipse.swt.widgets.Table.getItemHeight(Table.java:1518)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.getMinimalHeight(CompletionProposalPopup.java:682)
at org.eclipse.jface.text.contentassist.ContentAssistant$LayoutManager.computeBoundsBelowAbove(ContentAssistant.java:681)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.getLocation(CompletionProposalPopup.java:1139)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.setProposals(CompletionProposalPopup.java:1124)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:1088)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:499)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:482)
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:376)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00007f651f65cf7a, pid=21588, tid=140073334322928
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_19-b02 mixed mode)
# Problematic frame:
# C [libpango-1.0.so.0+0x24f7a] pango_layout_new+0x2a
#
# An error report file with more information is saved as hs_err_pid21588.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

Tested with EPIC-stable (0.5.46) / testing (0.6.35) behavior is the same.
Checked with Sun Java 1.5, Sun Java 1.6 and OpenJDK 1.6 on Ubuntu 9.10 x86_64.
With Ganymede it's working without a problem.

Reproduce this issue:
-------------------------------------------
Create a new module with the following content:

If I try to get a instance of the Logger (add "->" to NConf::Logger) Eclispe crashes!
You'll get NConf here http://sourceforge.net/projects/nconf/files/

package NConf::TestXY;

use strict;
use warnings;
use NConf;
use NConf::Logger;

my $logger;

sub new {
my $that = shift;
my $class = ref( $that ) || $that;

my $attributes = shift;

my $self = { };

bless($self, $class);

$logger = NConf::Logger;

return $self;
}

1;

Discussion

  • Jan Ploski

    Jan Ploski - 2010-04-04

    Definitely not an EPIC bug. It might be related to the version of libpango in your system. AFAIK, 64 bit JVM + Eclipse is generally less stable than 32 bit.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks