Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311492 - Eclipse crash using colorer
Summary: Eclipse crash using colorer
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Scott Kovatch CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 04:01 EDT by Jeremy CLA
Modified: 2020-01-25 06:08 EST (History)
4 users (show)

See Also:


Attachments
Crash Log (67.13 KB, application/octet-stream)
2010-05-04 08:24 EDT, Jeremy CLA
no flags Details
crash log (76.08 KB, text/plain)
2010-05-04 12:40 EDT, Scott Kovatch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy CLA 2010-05-04 04:01:01 EDT
Hi guys,

I try to install colorer, the new version is just released.
I'm using Cocoa 32bit (no 64bit version of colorer), but when i run it my eclipse just crash!
I asked the colorer developper, he don't have a mac to investigate in it.

Since i'm not an expert in java,maybe you can help me.

Here's the trace of the crash.
Thanks

Jeremy

Process:         eclipse [27229]
Path:            /Users/jeremy/Downloads/eclipse 2/Eclipse.app/Contents/MacOS/eclipse
Identifier:      org.eclipse.eclipse
Version:         3.5 (3.5)
Code Type:       X86 (Native)
Parent Process:  launchd [175]

Date/Time:       2010-05-04 09:37:12.882 +0200
OS Version:      Mac OS X 10.6.3 (10D573)
Report Version:  6

Interval Since Last Report:          614771 sec
Crashes Since Last Report:           21
Per-App Interval Since Last Report:  389178 sec
Per-App Crashes Since Last Report:   18
Anonymous UUID:                      793A7357-1BD6-4991-B29E-74BE26B378A3

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000bc3ec740
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:

Java information:
 Exception type: Bus Error (0xa) at pc=0x3fa1f8f8

 Java VM: Java HotSpot(TM) Client VM (14.3-b01-101 mixed mode macosx-x86)

Current thread (0x13000c00):  JavaThread "main" [_thread_in_native, id=-1610115872, stack(0xbf800000,0xc0000000)]
Stack: [0xbf800000,0xc0000000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.eclipse.swt.internal.cocoa.OS.objc_msgSend(III)I
j  org.eclipse.swt.internal.cocoa.NSMenu.removeItem(Lorg/eclipse/swt/internal/cocoa/NSMenuItem;)V+19
j  org.eclipse.swt.widgets.Menu.destroyItem(Lorg/eclipse/swt/widgets/MenuItem;)V+142
j  org.eclipse.swt.widgets.MenuItem.destroyWidget()V+5
j  org.eclipse.swt.widgets.Widget.release(Z)V+75
j  org.eclipse.swt.widgets.Widget.dispose()V+23
j  org.eclipse.jface.action.MenuManager.update(ZZ)V+170
j  org.eclipse.jface.action.MenuManager.update(Z)V+3
j  org.eclipse.ui.internal.WorkbenchWindow.updateActionBars()V+20
j  org.eclipse.ui.internal.WorkbenchWindow.largeUpdateEnd()V+15
j  org.eclipse.ui.internal.Workbench.largeUpdateEnd()V+39
j  org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+34
j  org.eclipse.ui.internal.WorkbenchPage.access$11(Lorg/eclipse/ui/internal/WorkbenchPage;Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+8
j  org.eclipse.ui.internal.WorkbenchPage$10.run()V+29
j  org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/widgets/Display;Ljava/lang/Runnable;)V+116
j  org.eclipse.ui.internal.WorkbenchPage.openEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZILorg/eclipse/ui/IMemento;)Lorg/eclipse/ui/IEditorPart;+59
j  org.eclipse.ui.internal.WorkbenchPage.openEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;ZI)Lorg/eclipse/ui/IEditorPart;+7
j  org.eclipse.ui.internal.WorkbenchPage.openEditor(Lorg/eclipse/ui/IEditorInput;Ljava/lang/String;Z)Lorg/eclipse/ui/IEditorPart;+5
j  org.eclipse.ui.ide.IDE.openEditor(Lorg/eclipse/ui/IWorkbenchPage;Lorg/eclipse/core/resources/IFile;ZZ)Lorg/eclipse/ui/IEditorPart;+36
j  org.eclipse.ui.ide.IDE.openEditor(Lorg/eclipse/ui/IWorkbenchPage;Lorg/eclipse/core/resources/IFile;Z)Lorg/eclipse/ui/IEditorPart;+4
j  org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(Lorg/eclipse/core/resources/IFile;Z)Lorg/eclipse/ui/IEditorPart;+27
j  org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(Ljava/lang/Object;Z)Lorg/eclipse/ui/IEditorPart;+12
j  org.eclipse.jdt.ui.actions.OpenAction.run([Ljava/lang/Object;)V+59
j  org.eclipse.jdt.ui.actions.OpenAction.run(Lorg/eclipse/jface/viewers/IStructuredSelection;)V+16
j  org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(Lorg/eclipse/jface/viewers/ISelection;)V+12
j  org.eclipse.jdt.ui.actions.SelectionDispatchAction.run()V+5
j  org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(Lorg/eclipse/jface/viewers/ISelection;Z)V+22
j  org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(Lorg/eclipse/jface/viewers/ISelection;Z)V+9
j  org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(Lorg/eclipse/jface/viewers/OpenEvent;)V+25
j  org.eclipse.jface.viewers.StructuredViewer$2.run()V+8
J  org.eclipse.core.runtime.SafeRunner.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V
j  org.eclipse.ui.internal.JFaceUtil$1.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+1
j  org.eclipse.jface.util.SafeRunnable.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+4
j  org.eclipse.jface.viewers.StructuredViewer.fireOpen(Lorg/eclipse/jface/viewers/OpenEvent;)V+32
j  org.eclipse.jface.viewers.StructuredViewer.handleOpen(Lorg/eclipse/swt/events/SelectionEvent;)V+31
j  org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Lorg/eclipse/swt/events/SelectionEvent;)V+5
j  org.eclipse.jface.util.OpenStrategy.fireOpenEvent(Lorg/eclipse/swt/events/SelectionEvent;)V+38
j  org.eclipse.jface.util.OpenStrategy.access$2(Lorg/eclipse/jface/util/OpenStrategy;Lorg/eclipse/swt/events/SelectionEvent;)V+2
j  org.eclipse.jface.util.OpenStrategy$1.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+37
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
J  org.eclipse.swt.widgets.Display.sendEvent(Lorg/eclipse/swt/widgets/EventTable;Lorg/eclipse/swt/widgets/Event;)V
J  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V
j  org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;)V+4
j  org.eclipse.swt.widgets.Widget.notifyListeners(ILorg/eclipse/swt/widgets/Event;)V+19
j  org.eclipse.swt.widgets.Display.runDeferredEvents()Z+96
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+125
j  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9
j  org.eclipse.ui.internal.Workbench.runUI()I+446
j  org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j  org.eclipse.ui.internal.Workbench$5.run()V+55
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+99
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
v  ~StubRoutines::call_stub
Comment 1 Remy Suen CLA 2010-05-04 06:07:03 EDT
I suggest trying with Eclipse 3.6M7.
http://download.eclipse.org/eclipse/downloads/
Comment 2 Jeremy CLA 2010-05-04 08:00:56 EDT
It don't change any things, still crashes...

(In reply to comment #1)
> I suggest trying with Eclipse 3.6M7.
> http://download.eclipse.org/eclipse/downloads/
Comment 3 Remy Suen CLA 2010-05-04 08:04:59 EDT
(In reply to comment #2)
> It don't change any things, still crashes...

So it doesn't crash. But then once you install this "colorer" plug-in it'll crash?
Comment 4 Jeremy CLA 2010-05-04 08:11:11 EDT
I mean, eclipse work great whatever the version, or plugin install or not.
But if i open a file using colorer (it's a kind of editor under eclipse), my eclipse shutdown immediately and i got an error that i've shown below.
Comment 5 Remy Suen CLA 2010-05-04 08:15:25 EDT
Can you please attach the crash logs from 3.6?
Comment 6 Jeremy CLA 2010-05-04 08:24:32 EDT
Created attachment 166942 [details]
Crash Log

Here are the crash log from the 3.6M7 cocoa 32bits
Comment 7 Remy Suen CLA 2010-05-04 08:30:07 EDT
(In reply to comment #6)
> Created an attachment (id=166942) [details]
> Crash Log

That file still says 3.5 in the version section at the top, oddly enough.
Comment 8 Jeremy CLA 2010-05-04 08:46:10 EDT
The file says 3.5 but the version i run is the 3.6M7 (Helios), i don't why it says 3.5!
I'm trinyg to bug with the carbon version ;)


(In reply to comment #7)
> (In reply to comment #6)
> > Created an attachment (id=166942) [details] [details]
> > Crash Log
> 
> That file still says 3.5 in the version section at the top, oddly enough.
Comment 9 Felipe Heidrich CLA 2010-05-04 10:09:00 EDT
I'm not familiar with this 'colorer editor', do you mean java editor ?
Please explain.
Comment 10 Jeremy CLA 2010-05-04 10:20:50 EDT
Colorer is a editor under eclipse that have a very good syntax higlighting.
I mean, i'm woking in perl, and the editor include in EPIC is very bad in syntax highlight.

You can test it in eclipse using the software update and this link: http://colorer.sf.net/eclipsecolorer

I ask for the guy that developp this plugin, but it don't have a Mac, so he can't debug for the MacOs...

Hope you can help me.

thanks
Jeremy

(In reply to comment #9)
> I'm not familiar with this 'colorer editor', do you mean java editor ?
> Please explain.
Comment 11 Scott Kovatch CLA 2010-05-04 12:31:35 EDT
(In reply to comment #7)
> (In reply to comment #6)
> > Created an attachment (id=166942) [details] [details]
> > Crash Log
> 
> That file still says 3.5 in the version section at the top, oddly enough.

The version info in the Info.plist for 3.6 is wrong -- it still has 3.5 hardcoded into it. I just filed a bug about that this morning with Platform-UI.

The crash log shows:

Thread 6 Crashed:  Java: VM Thread
0   libnet_sf_colorer.jnilib      	0x424488fe dlfree + 332
1   libclient.dylib               	0x12669791 JVM_MonitorNotify + 2145
2   libclient.dylib               	0x126527ac JVM_NewArray + 55660
3   libclient.dylib               	0x1266692d JVM_Socket + 349
4   libclient.dylib               	0x126338ec JVM_Write + 16972
5   libclient.dylib               	0x126327e7 JVM_Write + 12615

which is in the JNI library for the plugin. That doesn't match up with the crash in the description, though. I'll try it and see what happens.
Comment 12 Scott Kovatch CLA 2010-05-04 12:40:00 EDT
Created attachment 166986 [details]
crash log

I get this crash when selecting Colorer -> Generate HTML file (right-click on a file in the source tree.)

This is definitely us. Looks like a read from/write to null.
Comment 13 Scott Kovatch CLA 2010-05-12 17:24:07 EDT
No longer an RC1 target. After further investigation, I think this is a problem in the native library for the plugin. I have found it to be crashy in other respects.
Comment 14 Eclipse Webmaster CLA 2019-09-06 16:13:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.