Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime
Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime [message #643222] Mon, 06 December 2010 01:50 Go to next message
Mark Hoffmann is currently offline Mark Hoffmann
Messages: 102
Registered: July 2009
Location: Jena
Senior Member
Hi all,

I use nebula CollapsibleButtons in an view and CDateTime in a wizard. The view with the collapsible buttons is always visible. If I start the wizard with the CDateTime widget from a menu, the JVM crashes. When I remove the view from my RCP the wizard starts as expected without crash.

Under Windows XP the snippet works without crash.

I further included an snippet, based on the CollapsibleButtonsSnippet1. The produces the problem at my machine:

I use Linux 64bit GTK Helios SR1 and the CollapsibleButton, CWT and CDateTime from CVS HEAD.

I attached an excerpt from the log. Should I raise a bug? If yes, for which component?
I further included an snippet, based on the CollapsibleButtonsSnippet1. The produces the problem at my machine.

Regards,
Mark

SNIPPET:
import java.util.Date;

import org.eclipse.nebula.widgets.cdatetime.CDT;
import org.eclipse.nebula.widgets.cdatetime.CDateTime;
import org.eclipse.nebula.widgets.collapsiblebuttons.CollapsibleButtons;
import org.eclipse.nebula.widgets.collapsiblebuttons.IColorManager;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.program.Program;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

/**
 * @author Nicolas Richeton (nicolas.richeton@gmail.com)
 */

public class CollapsibleButtonsSnippet1 {

	public static void main(String[] args) {
		Display display = new Display();

		Image itemImage24 = new Image(display, Program
				.findProgram("jpg").getImageData().scaledTo(24, 24)); //$NON-NLS-1$
		Image itemImage16 = new Image(display, Program
				.findProgram("jpg").getImageData().scaledTo(16, 16)); //$NON-NLS-1$

		Shell shell = new Shell(display);
		shell.setSize(400, 400);
		shell.setLayout(new FillLayout(SWT.VERTICAL));
		Composite c = new Composite(shell, SWT.NONE);
		c.setLayout(new FillLayout(SWT.VERTICAL));
		CDateTime beginTime = new CDateTime(c, CDT.BORDER | CDT.DROP_DOWN | CDT.TIME_SHORT | CDT.CLOCK_24_HOUR);
		beginTime.setSelection(new Date());

		Composite inner = new Composite(shell, SWT.NONE);
		GridLayout gl = new GridLayout(1, true);
		gl.marginBottom = 0;
		gl.marginHeight = 0;
		gl.marginWidth = 0;
		gl.marginHeight = 0;
		inner.setLayout(gl);

		CollapsibleButtons collapsibleButtons = new CollapsibleButtons(inner,
				SWT.NONE, IColorManager.SKIN_OFFICE_2007);
		collapsibleButtons.setLayoutData(new GridData(GridData.GRAB_VERTICAL
				| GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_END));

		for (int i = 0; i < 5; i++) {
			collapsibleButtons.addButton("Button "+i, "Tooltip "+i, itemImage24,
					itemImage16);
		}
		
		shell.open();
		
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}

		display.dispose();
		itemImage16.dispose();
		itemImage24.dispose();
	}
}

LOG:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f4fcc2ee1e0, pid=2404, tid=139980690405136
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 )
# Problematic frame:
# C
#
# 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.
#

--------------- T H R E A D ---------------

Current thread (0x00000000420cc800): JavaThread "main"

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xffffffff908ccba0

Registers:
RAX=0x00007f4fcc2ee1e0, RBX=0xffffffff908ccba0, RCX=0xfffffffffff449a0, RDX=0x0000000000000002
RSP=0x00007f4fcb536b78, RBP=0x00007f4fcb536bb0, RSI=0xffffffff908ccba0, RDI=0x00007f4fcb536bb0
R8 =0x0000000000000010, R9 =0x0000000000000c80, R10=0x00007f4fc75abc5b, R11=0x00007f4fcbe27610
R12=0x00007f4fcb536bb0, R13=0x0000000000000010, R14=0x00007f4fcb536c88, R15=0x00000000420cc800
RIP=0x00007f4fcc2ee1e0, EFL=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000005
TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f4fcb536b78)
0x00007f4fcb536b78: 00007f4fcc2ec852 00007f4fcb536c68
0x00007f4fcb536b88: 00007f4fcb536bb0 00007f4fcb536c88
0x00007f4fcb536b98: 00000000420cc9c8 00007f4f98272408
0x00007f4fcb536ba8: 00007f4f89b3dc17 00000000420cd1b0
0x00007f4fcb536bb8: 00000000420cd1b0 00007f4f98272408
0x00007f4fcb536bc8: 00007f4fcb536c48 00000000420cc800
0x00007f4fcb536bd8: 00007f4fc75abc88 00007f4fcb536c00
0x00007f4fcb536be8: 00000000420cc800 00000000420cd1d0
0x00007f4fcb536bf8: 00000000420cd1d8 00000000420cc800
0x00007f4fcb536c08: 00007f4fcb536c08 0000000000000000
0x00007f4fcb536c18: 00007f4fcb536c88 00007f4f98284970
0x00007f4fcb536c28: 0000000000000000 00007f4f98272408
0x00007f4fcb536c38: 0000000000000000 00007f4fcb536c68
0x00007f4fcb536c48: 00007f4fcb536cd0 00007f4fc75a0a42
0x00007f4fcb536c58: 00007f4f98284728 00007f4fc75a8f18
0x00007f4fcb536c68: 0000000000000010 0000000000000010
0x00007f4fcb536c78: ffffffff908ccba0 00007f4fbcbca958
0x00007f4fcb536c88: 00007f4fbcbca958 00007f4fcb536c90
0x00007f4fcb536c98: 00007f4f99711311 00007f4fcb536dd8
0x00007f4fcb536ca8: 00007f4f99804928 0000000000000000
0x00007f4fcb536cb8: 00007f4f99711960 00007f4fcb536c68
0x00007f4fcb536cc8: 00007f4fcb536dc0 00007f4fcb536e20
0x00007f4fcb536cd8: 00007f4fc75a0a42 0000000000000000
0x00007f4fcb536ce8: 0000000000000000 0000000000000000
0x00007f4fcb536cf8: 0000000000000000 0000000000000000
0x00007f4fcb536d08: 0000000000000000 0000000000000000
0x00007f4fcb536d18: 0000000000000000 0000000000000000
0x00007f4fcb536d28: 0000000000000000 0000000000000000
0x00007f4fcb536d38: 0000000000000000 0000000000000000
0x00007f4fcb536d48: 0000000000000000 0000000000000000
0x00007f4fcb536d58: 0000000000000000 00000000908ccba0
0x00007f4fcb536d68: 00007f4fbcbca958 0000000000000000

Instructions: (pc=0x00007f4fcc2ee1e0)
0x00007f4fcc2ee1d0: 6f 48 83 c6 08 eb 9b 66 0f 1f 84 00 00 00 00 00
0x00007f4fcc2ee1e0: 48 8b 06 48 83 c2 06 48 83 ee 30 48 83 ef 38 e9

Stack: , sp=0x00007f4fcb536b78, free space=3ee0000000000000018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS.memmove(Lorg/eclipse/swt/int ernal/gtk/GtkBorder;JJ)V+0
j org.eclipse.swt.internal.theme.ButtonDrawData.draw(Lorg/ecli pse/swt/internal/theme/Theme;Lorg/eclipse/swt/graphics/GC;Lo rg/eclipse/swt/graphics/Rectangle;)V+817
j org.eclipse.swt.internal.theme.Theme.drawBackground(Lorg/ecl ipse/swt/graphics/GC;Lorg/eclipse/swt/graphics/Rectangle;Lor g/eclipse/swt/internal/theme/DrawData;)V+43
j org.eclipse.nebula.cwt.v.VButtonPainter.paintBackground(Lorg /eclipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Even t;)V+244
j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/ swt/widgets/Event;)V+272
j org.eclipse.nebula.cwt.v.VPanelPainter.paintContent(Lorg/ecl ipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Event;)V +27
j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/ swt/widgets/Event;)V+316
j org.eclipse.nebula.cwt.v.VPanel$1.handleEvent(Lorg/eclipse/s wt/widgets/Event;)V+52
J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw t/widgets/Event;)V
j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi dgets/Event;)V+25
j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w idgets/Event;Z)V+73
j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w idgets/Event;)V+4
j org.eclipse.swt.widgets.Control.gtk_expose_event(JJ)J+192
j org.eclipse.swt.widgets.Composite.gtk_expose_event(JJ)J+42
j org.eclipse.swt.widgets.Canvas.gtk_expose_event(JJ)J+51
j org.eclipse.swt.widgets.Widget.windowProc(JJJ)J+392
j org.eclipse.swt.widgets.Control.windowProc(JJJ)J+223
j org.eclipse.swt.widgets.Display.windowProc(JJJ)J+20
v ~StubRoutines::call_stub
j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
v ~StubRoutines::call_stub
j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ )Z+0
j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ) Z+9
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/sw t/widgets/Shell;)V+23
j org.eclipse.jface.window.Window.open()I+49
j de.sim.phcl.ui.organizer.handlers.OpenOrganizerWizardHandler .execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/la ng/Object;+71
j org.eclipse.ui.internal.handlers.HandlerProxy.execute(Lorg/e clipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+33
j org.eclipse.core.commands.Command.executeWithChecks(Lorg/ecl ipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+115
j org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +21
j org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/ecli pse/swt/widgets/Event;)Ljava/lang/Object;+6
j org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg /eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
j org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(Lorg/eclipse/swt/widgets/Event;)V+79
j org.eclipse.ui.menus.CommandContributionItem.access$19(Lorg/ eclipse/ui/menus/CommandContributionItem;Lorg/eclipse/swt/wi dgets/Event;)V+2
j org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(L org/eclipse/swt/widgets/Event;)V+51
J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw t/widgets/Event;)V
j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi dgets/Event;)V+25
j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/ jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widge ts/Display;)V+9
j org.eclipse.ui.internal.Workbench.runUI()I+555
j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/i nternal/Workbench;)I+1
j org.eclipse.ui.internal.Workbench$7.run()V+55
j org.eclipse.core.databinding.observable.Realm.runWithDefault (Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/R unnable;)V+12
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg /eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/Wor kbenchAdvisor;)I+18
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse /swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAd visor;)I+2
j de.sim.phcl.test.application.Application.start(Lorg/eclipse/ equinox/app/IApplicationContext;)Ljava/lang/Object;+12
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/la ng/Object;)Ljava/lang/Object;+149
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(
0x00007f4f905fc800 JavaThread "Worker-0"
0x00007f4f902f4000 JavaThread " - Idle Thread" daemon
0x00007f4f90307000 JavaThread " - Main Queue Handler" daemon
0x00007f4f902dd800 JavaThread "Bundle File Closer" daemon
0x00000000427d7000 JavaThread "Worker-JM"
0x0000000042f78000 JavaThread "Framework Event Dispatcher" daemon
0x00007f4f90373000 JavaThread "Start Level Event Dispatcher" daemon
0x00007f4f901d7000 JavaThread "State Data Manager" daemon
0x00007f4f9022a000 JavaThread "OSGi Console"
0x000000004215c000 JavaThread "Low Memory Detector" daemon
0x0000000042159800 JavaThread "CompilerThread1" daemon
0x0000000042157000 JavaThread "CompilerThread0" daemon
0x0000000042154800 JavaThread "Signal Dispatcher" daemon
0x0000000042135800 JavaThread "Finalizer" daemon
0x000000004212e000 JavaThread "Reference Handler" daemon
=>0x00000000420cc800 JavaThread "main"

Other Threads:
0x0000000042129800 VMThread
0x0000000042167000 WatcherThread [id=2421]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 23616K, used 5464K [0x00007f4fbcaf0000, 0x00007f4fbf280000, 0x00007f4fc7590000)
eden space 18112K, 6% used [0x00007f4fbcaf0000,0x00007f4fbcc0e080,0x00007f4fbdca0000)
from space 5504K, 78% used [0x00007f4fbdca0000,0x00007f4fbe0d8030,0x00007f4fbe200000)
to space 5760K, 0% used [0x00007f4fbece0000,0x00007f4fbece0000,0x00007f4fbf280000)
PSOldGen total 27328K, used 6185K [0x00007f4fa7590000, 0x00007f4fa9040000, 0x00007f4fbcaf0000)
object space 27328K, 22% used [0x00007f4fa7590000,0x00007f4fa7b9a490,0x00007f4fa9040000)
PSPermGen total 35456K, used 35286K [0x00007f4f97590000, 0x00007f4f99830000, 0x00007f4fa7590000)
object space 35456K, 99% used [0x00007f4f97590000,0x00007f4f998058d8,0x00007f4f99830000)

[Updated on: Mon, 06 December 2010 03:32]

Report message to a moderator

Re: Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime [message #664605 is a reply to message #643222] Mon, 11 April 2011 06:49 Go to previous messageGo to next message
Liviu-Marian Negrila is currently offline Liviu-Marian Negrila
Messages: 53
Registered: July 2009
Member
Hello Mark,

I have similar problems - did you find a fix?

Thanks,
Liviu

On 06/12/10 08:51, Mark Hoffmann wrote:
> Hi all,
>
> I use nebula CollapsibleButtons in an view and CDateTime in a wizard.
> The view with the collapsible buttons is always visible. If I start the
> wizard with the CDateTime widget from a menu, the JVM crashes. When I
> remove the view from my RCP the wizard starts as expected without crash.
>
> I use Linux 64bit GTK Helios SR1 and the CollapsibleButton, CWT and
> CDateTime from CVS HEAD.
>
> I attached an excerp from the log. Should I raise a bug? If yes, for
> which component?
> Regards, Mark
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f4fcc2ee1e0, pid=2404, tid=139980690405136
> #
> # JRE version: 6.0_22-b04
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode
> linux-amd64 )
> # Problematic frame:
> # C #
> # 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.
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x00000000420cc800): JavaThread "main"
> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
> si_addr=0xffffffff908ccba0
>
> Registers:
> RAX=0x00007f4fcc2ee1e0, RBX=0xffffffff908ccba0, RCX=0xfffffffffff449a0,
> RDX=0x0000000000000002
> RSP=0x00007f4fcb536b78, RBP=0x00007f4fcb536bb0, RSI=0xffffffff908ccba0,
> RDI=0x00007f4fcb536bb0
> R8 =0x0000000000000010, R9 =0x0000000000000c80, R10=0x00007f4fc75abc5b,
> R11=0x00007f4fcbe27610
> R12=0x00007f4fcb536bb0, R13=0x0000000000000010, R14=0x00007f4fcb536c88,
> R15=0x00000000420cc800
> RIP=0x00007f4fcc2ee1e0, EFL=0x0000000000010202,
> CSGSFS=0x0000000000000033, ERR=0x0000000000000005
> TRAPNO=0x000000000000000e
>
> Top of Stack: (sp=0x00007f4fcb536b78)
> 0x00007f4fcb536b78: 00007f4fcc2ec852 00007f4fcb536c68
> 0x00007f4fcb536b88: 00007f4fcb536bb0 00007f4fcb536c88
> 0x00007f4fcb536b98: 00000000420cc9c8 00007f4f98272408
> 0x00007f4fcb536ba8: 00007f4f89b3dc17 00000000420cd1b0
> 0x00007f4fcb536bb8: 00000000420cd1b0 00007f4f98272408
> 0x00007f4fcb536bc8: 00007f4fcb536c48 00000000420cc800
> 0x00007f4fcb536bd8: 00007f4fc75abc88 00007f4fcb536c00
> 0x00007f4fcb536be8: 00000000420cc800 00000000420cd1d0
> 0x00007f4fcb536bf8: 00000000420cd1d8 00000000420cc800
> 0x00007f4fcb536c08: 00007f4fcb536c08 0000000000000000
> 0x00007f4fcb536c18: 00007f4fcb536c88 00007f4f98284970
> 0x00007f4fcb536c28: 0000000000000000 00007f4f98272408
> 0x00007f4fcb536c38: 0000000000000000 00007f4fcb536c68
> 0x00007f4fcb536c48: 00007f4fcb536cd0 00007f4fc75a0a42
> 0x00007f4fcb536c58: 00007f4f98284728 00007f4fc75a8f18
> 0x00007f4fcb536c68: 0000000000000010 0000000000000010
> 0x00007f4fcb536c78: ffffffff908ccba0 00007f4fbcbca958
> 0x00007f4fcb536c88: 00007f4fbcbca958 00007f4fcb536c90
> 0x00007f4fcb536c98: 00007f4f99711311 00007f4fcb536dd8
> 0x00007f4fcb536ca8: 00007f4f99804928 0000000000000000
> 0x00007f4fcb536cb8: 00007f4f99711960 00007f4fcb536c68
> 0x00007f4fcb536cc8: 00007f4fcb536dc0 00007f4fcb536e20
> 0x00007f4fcb536cd8: 00007f4fc75a0a42 0000000000000000
> 0x00007f4fcb536ce8: 0000000000000000 0000000000000000
> 0x00007f4fcb536cf8: 0000000000000000 0000000000000000
> 0x00007f4fcb536d08: 0000000000000000 0000000000000000
> 0x00007f4fcb536d18: 0000000000000000 0000000000000000
> 0x00007f4fcb536d28: 0000000000000000 0000000000000000
> 0x00007f4fcb536d38: 0000000000000000 0000000000000000
> 0x00007f4fcb536d48: 0000000000000000 0000000000000000
> 0x00007f4fcb536d58: 0000000000000000 00000000908ccba0
> 0x00007f4fcb536d68: 00007f4fbcbca958 0000000000000000
> Instructions: (pc=0x00007f4fcc2ee1e0)
> 0x00007f4fcc2ee1d0: 6f 48 83 c6 08 eb 9b 66 0f 1f 84 00 00 00 00 00
> 0x00007f4fcc2ee1e0: 48 8b 06 48 83 c2 06 48 83 ee 30 48 83 ef 38 e9
> Stack: , sp=0x00007f4fcb536b78, free space=3ee0000000000000018k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> C
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j org.eclipse.swt.internal.gtk.OS.memmove(Lorg/eclipse/swt/int
> ernal/gtk/GtkBorder;JJ)V+0
> j org.eclipse.swt.internal.theme.ButtonDrawData.draw(Lorg/ecli
> pse/swt/internal/theme/Theme;Lorg/eclipse/swt/graphics/GC;Lo
> rg/eclipse/swt/graphics/Rectangle;)V+817
> j org.eclipse.swt.internal.theme.Theme.drawBackground(Lorg/ecl
> ipse/swt/graphics/GC;Lorg/eclipse/swt/graphics/Rectangle;Lor
> g/eclipse/swt/internal/theme/DrawData;)V+43
> j org.eclipse.nebula.cwt.v.VButtonPainter.paintBackground(Lorg
> /eclipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Even t;)V+244
> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
> swt/widgets/Event;)V+272
> j org.eclipse.nebula.cwt.v.VPanelPainter.paintContent(Lorg/ecl
> ipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Event;)V +27
> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
> swt/widgets/Event;)V+316
> j org.eclipse.nebula.cwt.v.VPanel$1.handleEvent(Lorg/eclipse/s
> wt/widgets/Event;)V+52
> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
> t/widgets/Event;)V
> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
> dgets/Event;)V+25
> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
> idgets/Event;Z)V+73
> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
> idgets/Event;)V+4
> j org.eclipse.swt.widgets.Control.gtk_expose_event(JJ)J+192
> j org.eclipse.swt.widgets.Composite.gtk_expose_event(JJ)J+42
> j org.eclipse.swt.widgets.Canvas.gtk_expose_event(JJ)J+51
> j org.eclipse.swt.widgets.Widget.windowProc(JJJ)J+392
> j org.eclipse.swt.widgets.Control.windowProc(JJJ)J+223
> j org.eclipse.swt.widgets.Display.windowProc(JJJ)J+20
> v ~StubRoutines::call_stub
> j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
> j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
> j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
> v ~StubRoutines::call_stub
> j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ )Z+0
> j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ) Z+9
> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
> j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/sw
> t/widgets/Shell;)V+23
> j org.eclipse.jface.window.Window.open()I+49
> j de.sim.phcl.ui.organizer.handlers.OpenOrganizerWizardHandler
> .execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/la ng/Object;+71
> j org.eclipse.ui.internal.handlers.HandlerProxy.execute(Lorg/e
> clipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+33
> j org.eclipse.core.commands.Command.executeWithChecks(Lorg/ecl
> ipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+115
> j org.eclipse.core.commands.ParameterizedCommand.executeWithCh
> ecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +21
> j org.eclipse.ui.internal.handlers.HandlerService.executeComma
> nd(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/ecli
> pse/swt/widgets/Event;)Ljava/lang/Object;+6
> j org.eclipse.ui.internal.handlers.SlaveHandlerService.execute
> Command(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg
> /eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
> j org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel
> ection(Lorg/eclipse/swt/widgets/Event;)V+79
> j org.eclipse.ui.menus.CommandContributionItem.access$19(Lorg/
> eclipse/ui/menus/CommandContributionItem;Lorg/eclipse/swt/wi
> dgets/Event;)V+2
> j org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(L
> org/eclipse/swt/widgets/Event;)V+51
> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
> t/widgets/Event;)V
> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
> dgets/Event;)V+25
> j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
> j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/
> jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widge
> ts/Display;)V+9
> j org.eclipse.ui.internal.Workbench.runUI()I+555
> j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/i
> nternal/Workbench;)I+1
> j org.eclipse.ui.internal.Workbench$7.run()V+55
> j org.eclipse.core.databinding.observable.Realm.runWithDefault
> (Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/R unnable;)V+12
> j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg
> /eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/Wor
> kbenchAdvisor;)I+18
> j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse
> /swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAd visor;)I+2
> j de.sim.phcl.test.application.Application.start(Lorg/eclipse/
> equinox/app/IApplicationContext;)Ljava/lang/Object;+12
> 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/la
> ng/Object;)Ljava/lang/Object;+149
> j org.eclipse.core.runtime.adaptor.EclipseStarter.run(
> 0x00007f4f905fc800 JavaThread "Worker-0" 0x00007f4f902f4000 JavaThread "
> - Idle Thread" daemon 0x00007f4f90307000 JavaThread " - Main Queue
> Handler" daemon 0x00007f4f902dd800 JavaThread "Bundle File Closer"
> daemon 0x00000000427d7000 JavaThread "Worker-JM" 0x0000000042f78000
> JavaThread "Framework Event Dispatcher" daemon 0x00007f4f90373000
> JavaThread "Start Level Event Dispatcher" daemon 0x00007f4f901d7000
> JavaThread "State Data Manager" daemon 0x00007f4f9022a000 JavaThread
> "OSGi Console" 0x000000004215c000 JavaThread "Low Memory Detector"
> daemon 0x0000000042159800 JavaThread "CompilerThread1" daemon
> 0x0000000042157000 JavaThread "CompilerThread0" daemon
> 0x0000000042154800 JavaThread "Signal Dispatcher" daemon
> 0x0000000042135800 JavaThread "Finalizer" daemon 0x000000004212e000
> JavaThread "Reference Handler" daemon =>0x00000000420cc800 JavaThread
> "main"
> Other Threads:
> 0x0000000042129800 VMThread 0x0000000042167000 WatcherThread [id=2421]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
> PSYoungGen total 23616K, used 5464K [0x00007f4fbcaf0000,
> 0x00007f4fbf280000, 0x00007f4fc7590000)
> eden space 18112K, 6% used
> [0x00007f4fbcaf0000,0x00007f4fbcc0e080,0x00007f4fbdca0000)
> from space 5504K, 78% used
> [0x00007f4fbdca0000,0x00007f4fbe0d8030,0x00007f4fbe200000)
> to space 5760K, 0% used
> [0x00007f4fbece0000,0x00007f4fbece0000,0x00007f4fbf280000)
> PSOldGen total 27328K, used 6185K [0x00007f4fa7590000,
> 0x00007f4fa9040000, 0x00007f4fbcaf0000)
> object space 27328K, 22% used
> [0x00007f4fa7590000,0x00007f4fa7b9a490,0x00007f4fa9040000)
> PSPermGen total 35456K, used 35286K [0x00007f4f97590000,
> 0x00007f4f99830000, 0x00007f4fa7590000)
> object space 35456K, 99% used
> [0x00007f4f97590000,0x00007f4f998058d8,0x00007f4f99830000)
Re: Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime [message #664606 is a reply to message #664605] Mon, 11 April 2011 06:51 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5281
Registered: July 2009
Senior Member
The problem is that CDatetime is using internal SWT-API and so we won't
get a fix from SWT for this problem :-(

Tom

Am 11.04.11 12:49, schrieb Liviu Negrila:
> Hello Mark,
>
> I have similar problems - did you find a fix?
>
> Thanks,
> Liviu
>
> On 06/12/10 08:51, Mark Hoffmann wrote:
>> Hi all,
>>
>> I use nebula CollapsibleButtons in an view and CDateTime in a wizard.
>> The view with the collapsible buttons is always visible. If I start the
>> wizard with the CDateTime widget from a menu, the JVM crashes. When I
>> remove the view from my RCP the wizard starts as expected without crash.
>>
>> I use Linux 64bit GTK Helios SR1 and the CollapsibleButton, CWT and
>> CDateTime from CVS HEAD.
>>
>> I attached an excerp from the log. Should I raise a bug? If yes, for
>> which component?
>> Regards, Mark
>>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> # SIGSEGV (0xb) at pc=0x00007f4fcc2ee1e0, pid=2404, tid=139980690405136
>> #
>> # JRE version: 6.0_22-b04
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode
>> linux-amd64 )
>> # Problematic frame:
>> # C #
>> # 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.
>> #
>>
>> --------------- T H R E A D ---------------
>>
>> Current thread (0x00000000420cc800): JavaThread "main"
>> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
>> si_addr=0xffffffff908ccba0
>>
>> Registers:
>> RAX=0x00007f4fcc2ee1e0, RBX=0xffffffff908ccba0, RCX=0xfffffffffff449a0,
>> RDX=0x0000000000000002
>> RSP=0x00007f4fcb536b78, RBP=0x00007f4fcb536bb0, RSI=0xffffffff908ccba0,
>> RDI=0x00007f4fcb536bb0
>> R8 =0x0000000000000010, R9 =0x0000000000000c80, R10=0x00007f4fc75abc5b,
>> R11=0x00007f4fcbe27610
>> R12=0x00007f4fcb536bb0, R13=0x0000000000000010, R14=0x00007f4fcb536c88,
>> R15=0x00000000420cc800
>> RIP=0x00007f4fcc2ee1e0, EFL=0x0000000000010202,
>> CSGSFS=0x0000000000000033, ERR=0x0000000000000005
>> TRAPNO=0x000000000000000e
>>
>> Top of Stack: (sp=0x00007f4fcb536b78)
>> 0x00007f4fcb536b78: 00007f4fcc2ec852 00007f4fcb536c68
>> 0x00007f4fcb536b88: 00007f4fcb536bb0 00007f4fcb536c88
>> 0x00007f4fcb536b98: 00000000420cc9c8 00007f4f98272408
>> 0x00007f4fcb536ba8: 00007f4f89b3dc17 00000000420cd1b0
>> 0x00007f4fcb536bb8: 00000000420cd1b0 00007f4f98272408
>> 0x00007f4fcb536bc8: 00007f4fcb536c48 00000000420cc800
>> 0x00007f4fcb536bd8: 00007f4fc75abc88 00007f4fcb536c00
>> 0x00007f4fcb536be8: 00000000420cc800 00000000420cd1d0
>> 0x00007f4fcb536bf8: 00000000420cd1d8 00000000420cc800
>> 0x00007f4fcb536c08: 00007f4fcb536c08 0000000000000000
>> 0x00007f4fcb536c18: 00007f4fcb536c88 00007f4f98284970
>> 0x00007f4fcb536c28: 0000000000000000 00007f4f98272408
>> 0x00007f4fcb536c38: 0000000000000000 00007f4fcb536c68
>> 0x00007f4fcb536c48: 00007f4fcb536cd0 00007f4fc75a0a42
>> 0x00007f4fcb536c58: 00007f4f98284728 00007f4fc75a8f18
>> 0x00007f4fcb536c68: 0000000000000010 0000000000000010
>> 0x00007f4fcb536c78: ffffffff908ccba0 00007f4fbcbca958
>> 0x00007f4fcb536c88: 00007f4fbcbca958 00007f4fcb536c90
>> 0x00007f4fcb536c98: 00007f4f99711311 00007f4fcb536dd8
>> 0x00007f4fcb536ca8: 00007f4f99804928 0000000000000000
>> 0x00007f4fcb536cb8: 00007f4f99711960 00007f4fcb536c68
>> 0x00007f4fcb536cc8: 00007f4fcb536dc0 00007f4fcb536e20
>> 0x00007f4fcb536cd8: 00007f4fc75a0a42 0000000000000000
>> 0x00007f4fcb536ce8: 0000000000000000 0000000000000000
>> 0x00007f4fcb536cf8: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d08: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d18: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d28: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d38: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d48: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d58: 0000000000000000 00000000908ccba0
>> 0x00007f4fcb536d68: 00007f4fbcbca958 0000000000000000
>> Instructions: (pc=0x00007f4fcc2ee1e0)
>> 0x00007f4fcc2ee1d0: 6f 48 83 c6 08 eb 9b 66 0f 1f 84 00 00 00 00 00
>> 0x00007f4fcc2ee1e0: 48 8b 06 48 83 c2 06 48 83 ee 30 48 83 ef 38 e9
>> Stack: , sp=0x00007f4fcb536b78, free space=3ee0000000000000018k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>> C=native code)
>> C
>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>> j org.eclipse.swt.internal.gtk.OS.memmove(Lorg/eclipse/swt/int
>> ernal/gtk/GtkBorder;JJ)V+0
>> j org.eclipse.swt.internal.theme.ButtonDrawData.draw(Lorg/ecli
>> pse/swt/internal/theme/Theme;Lorg/eclipse/swt/graphics/GC;Lo
>> rg/eclipse/swt/graphics/Rectangle;)V+817
>> j org.eclipse.swt.internal.theme.Theme.drawBackground(Lorg/ecl
>> ipse/swt/graphics/GC;Lorg/eclipse/swt/graphics/Rectangle;Lor
>> g/eclipse/swt/internal/theme/DrawData;)V+43
>> j org.eclipse.nebula.cwt.v.VButtonPainter.paintBackground(Lorg
>> /eclipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Even t;)V+244
>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>> swt/widgets/Event;)V+272
>> j org.eclipse.nebula.cwt.v.VPanelPainter.paintContent(Lorg/ecl
>> ipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Event;)V +27
>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>> swt/widgets/Event;)V+316
>> j org.eclipse.nebula.cwt.v.VPanel$1.handleEvent(Lorg/eclipse/s
>> wt/widgets/Event;)V+52
>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>> t/widgets/Event;)V
>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>> dgets/Event;)V+25
>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>> idgets/Event;Z)V+73
>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>> idgets/Event;)V+4
>> j org.eclipse.swt.widgets.Control.gtk_expose_event(JJ)J+192
>> j org.eclipse.swt.widgets.Composite.gtk_expose_event(JJ)J+42
>> j org.eclipse.swt.widgets.Canvas.gtk_expose_event(JJ)J+51
>> j org.eclipse.swt.widgets.Widget.windowProc(JJJ)J+392
>> j org.eclipse.swt.widgets.Control.windowProc(JJJ)J+223
>> j org.eclipse.swt.widgets.Display.windowProc(JJJ)J+20
>> v ~StubRoutines::call_stub
>> j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
>> j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
>> j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
>> v ~StubRoutines::call_stub
>> j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ )Z+0
>> j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ) Z+9
>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
>> j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/sw
>> t/widgets/Shell;)V+23
>> j org.eclipse.jface.window.Window.open()I+49
>> j de.sim.phcl.ui.organizer.handlers.OpenOrganizerWizardHandler
>> .execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/la
>> ng/Object;+71
>> j org.eclipse.ui.internal.handlers.HandlerProxy.execute(Lorg/e
>> clipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+33
>> j org.eclipse.core.commands.Command.executeWithChecks(Lorg/ecl
>> ipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+115
>> j org.eclipse.core.commands.ParameterizedCommand.executeWithCh
>> ecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +21
>> j org.eclipse.ui.internal.handlers.HandlerService.executeComma
>> nd(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/ecli
>> pse/swt/widgets/Event;)Ljava/lang/Object;+6
>> j org.eclipse.ui.internal.handlers.SlaveHandlerService.execute
>> Command(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg
>> /eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
>> j org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel
>> ection(Lorg/eclipse/swt/widgets/Event;)V+79
>> j org.eclipse.ui.menus.CommandContributionItem.access$19(Lorg/
>> eclipse/ui/menus/CommandContributionItem;Lorg/eclipse/swt/wi
>> dgets/Event;)V+2
>> j org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(L
>> org/eclipse/swt/widgets/Event;)V+51
>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>> t/widgets/Event;)V
>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>> dgets/Event;)V+25
>> j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
>> j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/
>> jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widge
>> ts/Display;)V+9
>> j org.eclipse.ui.internal.Workbench.runUI()I+555
>> j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/i
>> nternal/Workbench;)I+1
>> j org.eclipse.ui.internal.Workbench$7.run()V+55
>> j org.eclipse.core.databinding.observable.Realm.runWithDefault
>> (Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/R
>> unnable;)V+12
>> j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg
>> /eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/Wor
>> kbenchAdvisor;)I+18
>> j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse
>> /swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAd visor;)I+2
>> j de.sim.phcl.test.application.Application.start(Lorg/eclipse/
>> equinox/app/IApplicationContext;)Ljava/lang/Object;+12
>> 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/la
>> ng/Object;)Ljava/lang/Object;+149
>> j org.eclipse.core.runtime.adaptor.EclipseStarter.run(
>> 0x00007f4f905fc800 JavaThread "Worker-0" 0x00007f4f902f4000 JavaThread "
>> - Idle Thread" daemon 0x00007f4f90307000 JavaThread " - Main Queue
>> Handler" daemon 0x00007f4f902dd800 JavaThread "Bundle File Closer"
>> daemon 0x00000000427d7000 JavaThread "Worker-JM" 0x0000000042f78000
>> JavaThread "Framework Event Dispatcher" daemon 0x00007f4f90373000
>> JavaThread "Start Level Event Dispatcher" daemon 0x00007f4f901d7000
>> JavaThread "State Data Manager" daemon 0x00007f4f9022a000 JavaThread
>> "OSGi Console" 0x000000004215c000 JavaThread "Low Memory Detector"
>> daemon 0x0000000042159800 JavaThread "CompilerThread1" daemon
>> 0x0000000042157000 JavaThread "CompilerThread0" daemon
>> 0x0000000042154800 JavaThread "Signal Dispatcher" daemon
>> 0x0000000042135800 JavaThread "Finalizer" daemon 0x000000004212e000
>> JavaThread "Reference Handler" daemon =>0x00000000420cc800 JavaThread
>> "main"
>> Other Threads:
>> 0x0000000042129800 VMThread 0x0000000042167000 WatcherThread [id=2421]
>>
>> VM state:not at safepoint (normal execution)
>>
>> VM Mutex/Monitor currently owned by a thread: None
>>
>> Heap
>> PSYoungGen total 23616K, used 5464K [0x00007f4fbcaf0000,
>> 0x00007f4fbf280000, 0x00007f4fc7590000)
>> eden space 18112K, 6% used
>> [0x00007f4fbcaf0000,0x00007f4fbcc0e080,0x00007f4fbdca0000)
>> from space 5504K, 78% used
>> [0x00007f4fbdca0000,0x00007f4fbe0d8030,0x00007f4fbe200000)
>> to space 5760K, 0% used
>> [0x00007f4fbece0000,0x00007f4fbece0000,0x00007f4fbf280000)
>> PSOldGen total 27328K, used 6185K [0x00007f4fa7590000,
>> 0x00007f4fa9040000, 0x00007f4fbcaf0000)
>> object space 27328K, 22% used
>> [0x00007f4fa7590000,0x00007f4fa7b9a490,0x00007f4fa9040000)
>> PSPermGen total 35456K, used 35286K [0x00007f4f97590000,
>> 0x00007f4f99830000, 0x00007f4fa7590000)
>> object space 35456K, 99% used
>> [0x00007f4f97590000,0x00007f4f998058d8,0x00007f4f99830000)
>
Re: Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime [message #664607 is a reply to message #664605] Mon, 11 April 2011 06:58 Go to previous messageGo to next message
Liviu-Marian Negrila is currently offline Liviu-Marian Negrila
Messages: 53
Registered: July 2009
Member
Just disabled the Compiz Window Manager and it works.



On 11/04/11 13:49, Liviu Negrila wrote:
> Hello Mark,
>
> I have similar problems - did you find a fix?
>
> Thanks,
> Liviu
>
> On 06/12/10 08:51, Mark Hoffmann wrote:
>> Hi all,
>>
>> I use nebula CollapsibleButtons in an view and CDateTime in a wizard.
>> The view with the collapsible buttons is always visible. If I start the
>> wizard with the CDateTime widget from a menu, the JVM crashes. When I
>> remove the view from my RCP the wizard starts as expected without crash.
>>
>> I use Linux 64bit GTK Helios SR1 and the CollapsibleButton, CWT and
>> CDateTime from CVS HEAD.
>>
>> I attached an excerp from the log. Should I raise a bug? If yes, for
>> which component?
>> Regards, Mark
>>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> # SIGSEGV (0xb) at pc=0x00007f4fcc2ee1e0, pid=2404, tid=139980690405136
>> #
>> # JRE version: 6.0_22-b04
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode
>> linux-amd64 )
>> # Problematic frame:
>> # C #
>> # 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.
>> #
>>
>> --------------- T H R E A D ---------------
>>
>> Current thread (0x00000000420cc800): JavaThread "main"
>> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
>> si_addr=0xffffffff908ccba0
>>
>> Registers:
>> RAX=0x00007f4fcc2ee1e0, RBX=0xffffffff908ccba0, RCX=0xfffffffffff449a0,
>> RDX=0x0000000000000002
>> RSP=0x00007f4fcb536b78, RBP=0x00007f4fcb536bb0, RSI=0xffffffff908ccba0,
>> RDI=0x00007f4fcb536bb0
>> R8 =0x0000000000000010, R9 =0x0000000000000c80, R10=0x00007f4fc75abc5b,
>> R11=0x00007f4fcbe27610
>> R12=0x00007f4fcb536bb0, R13=0x0000000000000010, R14=0x00007f4fcb536c88,
>> R15=0x00000000420cc800
>> RIP=0x00007f4fcc2ee1e0, EFL=0x0000000000010202,
>> CSGSFS=0x0000000000000033, ERR=0x0000000000000005
>> TRAPNO=0x000000000000000e
>>
>> Top of Stack: (sp=0x00007f4fcb536b78)
>> 0x00007f4fcb536b78: 00007f4fcc2ec852 00007f4fcb536c68
>> 0x00007f4fcb536b88: 00007f4fcb536bb0 00007f4fcb536c88
>> 0x00007f4fcb536b98: 00000000420cc9c8 00007f4f98272408
>> 0x00007f4fcb536ba8: 00007f4f89b3dc17 00000000420cd1b0
>> 0x00007f4fcb536bb8: 00000000420cd1b0 00007f4f98272408
>> 0x00007f4fcb536bc8: 00007f4fcb536c48 00000000420cc800
>> 0x00007f4fcb536bd8: 00007f4fc75abc88 00007f4fcb536c00
>> 0x00007f4fcb536be8: 00000000420cc800 00000000420cd1d0
>> 0x00007f4fcb536bf8: 00000000420cd1d8 00000000420cc800
>> 0x00007f4fcb536c08: 00007f4fcb536c08 0000000000000000
>> 0x00007f4fcb536c18: 00007f4fcb536c88 00007f4f98284970
>> 0x00007f4fcb536c28: 0000000000000000 00007f4f98272408
>> 0x00007f4fcb536c38: 0000000000000000 00007f4fcb536c68
>> 0x00007f4fcb536c48: 00007f4fcb536cd0 00007f4fc75a0a42
>> 0x00007f4fcb536c58: 00007f4f98284728 00007f4fc75a8f18
>> 0x00007f4fcb536c68: 0000000000000010 0000000000000010
>> 0x00007f4fcb536c78: ffffffff908ccba0 00007f4fbcbca958
>> 0x00007f4fcb536c88: 00007f4fbcbca958 00007f4fcb536c90
>> 0x00007f4fcb536c98: 00007f4f99711311 00007f4fcb536dd8
>> 0x00007f4fcb536ca8: 00007f4f99804928 0000000000000000
>> 0x00007f4fcb536cb8: 00007f4f99711960 00007f4fcb536c68
>> 0x00007f4fcb536cc8: 00007f4fcb536dc0 00007f4fcb536e20
>> 0x00007f4fcb536cd8: 00007f4fc75a0a42 0000000000000000
>> 0x00007f4fcb536ce8: 0000000000000000 0000000000000000
>> 0x00007f4fcb536cf8: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d08: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d18: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d28: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d38: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d48: 0000000000000000 0000000000000000
>> 0x00007f4fcb536d58: 0000000000000000 00000000908ccba0
>> 0x00007f4fcb536d68: 00007f4fbcbca958 0000000000000000
>> Instructions: (pc=0x00007f4fcc2ee1e0)
>> 0x00007f4fcc2ee1d0: 6f 48 83 c6 08 eb 9b 66 0f 1f 84 00 00 00 00 00
>> 0x00007f4fcc2ee1e0: 48 8b 06 48 83 c2 06 48 83 ee 30 48 83 ef 38 e9
>> Stack: , sp=0x00007f4fcb536b78, free space=3ee0000000000000018k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>> C=native code)
>> C
>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>> j org.eclipse.swt.internal.gtk.OS.memmove(Lorg/eclipse/swt/int
>> ernal/gtk/GtkBorder;JJ)V+0
>> j org.eclipse.swt.internal.theme.ButtonDrawData.draw(Lorg/ecli
>> pse/swt/internal/theme/Theme;Lorg/eclipse/swt/graphics/GC;Lo
>> rg/eclipse/swt/graphics/Rectangle;)V+817
>> j org.eclipse.swt.internal.theme.Theme.drawBackground(Lorg/ecl
>> ipse/swt/graphics/GC;Lorg/eclipse/swt/graphics/Rectangle;Lor
>> g/eclipse/swt/internal/theme/DrawData;)V+43
>> j org.eclipse.nebula.cwt.v.VButtonPainter.paintBackground(Lorg
>> /eclipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Even t;)V+244
>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>> swt/widgets/Event;)V+272
>> j org.eclipse.nebula.cwt.v.VPanelPainter.paintContent(Lorg/ecl
>> ipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Event;)V +27
>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>> swt/widgets/Event;)V+316
>> j org.eclipse.nebula.cwt.v.VPanel$1.handleEvent(Lorg/eclipse/s
>> wt/widgets/Event;)V+52
>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>> t/widgets/Event;)V
>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>> dgets/Event;)V+25
>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>> idgets/Event;Z)V+73
>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>> idgets/Event;)V+4
>> j org.eclipse.swt.widgets.Control.gtk_expose_event(JJ)J+192
>> j org.eclipse.swt.widgets.Composite.gtk_expose_event(JJ)J+42
>> j org.eclipse.swt.widgets.Canvas.gtk_expose_event(JJ)J+51
>> j org.eclipse.swt.widgets.Widget.windowProc(JJJ)J+392
>> j org.eclipse.swt.widgets.Control.windowProc(JJJ)J+223
>> j org.eclipse.swt.widgets.Display.windowProc(JJJ)J+20
>> v ~StubRoutines::call_stub
>> j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
>> j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
>> j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
>> v ~StubRoutines::call_stub
>> j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ )Z+0
>> j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ) Z+9
>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
>> j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/sw
>> t/widgets/Shell;)V+23
>> j org.eclipse.jface.window.Window.open()I+49
>> j de.sim.phcl.ui.organizer.handlers.OpenOrganizerWizardHandler
>> .execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/la
>> ng/Object;+71
>> j org.eclipse.ui.internal.handlers.HandlerProxy.execute(Lorg/e
>> clipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+33
>> j org.eclipse.core.commands.Command.executeWithChecks(Lorg/ecl
>> ipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+115
>> j org.eclipse.core.commands.ParameterizedCommand.executeWithCh
>> ecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +21
>> j org.eclipse.ui.internal.handlers.HandlerService.executeComma
>> nd(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/ecli
>> pse/swt/widgets/Event;)Ljava/lang/Object;+6
>> j org.eclipse.ui.internal.handlers.SlaveHandlerService.execute
>> Command(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg
>> /eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
>> j org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel
>> ection(Lorg/eclipse/swt/widgets/Event;)V+79
>> j org.eclipse.ui.menus.CommandContributionItem.access$19(Lorg/
>> eclipse/ui/menus/CommandContributionItem;Lorg/eclipse/swt/wi
>> dgets/Event;)V+2
>> j org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(L
>> org/eclipse/swt/widgets/Event;)V+51
>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>> t/widgets/Event;)V
>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>> dgets/Event;)V+25
>> j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
>> j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/
>> jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widge
>> ts/Display;)V+9
>> j org.eclipse.ui.internal.Workbench.runUI()I+555
>> j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/i
>> nternal/Workbench;)I+1
>> j org.eclipse.ui.internal.Workbench$7.run()V+55
>> j org.eclipse.core.databinding.observable.Realm.runWithDefault
>> (Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/R
>> unnable;)V+12
>> j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg
>> /eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/Wor
>> kbenchAdvisor;)I+18
>> j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse
>> /swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAd visor;)I+2
>> j de.sim.phcl.test.application.Application.start(Lorg/eclipse/
>> equinox/app/IApplicationContext;)Ljava/lang/Object;+12
>> 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/la
>> ng/Object;)Ljava/lang/Object;+149
>> j org.eclipse.core.runtime.adaptor.EclipseStarter.run(
>> 0x00007f4f905fc800 JavaThread "Worker-0" 0x00007f4f902f4000 JavaThread "
>> - Idle Thread" daemon 0x00007f4f90307000 JavaThread " - Main Queue
>> Handler" daemon 0x00007f4f902dd800 JavaThread "Bundle File Closer"
>> daemon 0x00000000427d7000 JavaThread "Worker-JM" 0x0000000042f78000
>> JavaThread "Framework Event Dispatcher" daemon 0x00007f4f90373000
>> JavaThread "Start Level Event Dispatcher" daemon 0x00007f4f901d7000
>> JavaThread "State Data Manager" daemon 0x00007f4f9022a000 JavaThread
>> "OSGi Console" 0x000000004215c000 JavaThread "Low Memory Detector"
>> daemon 0x0000000042159800 JavaThread "CompilerThread1" daemon
>> 0x0000000042157000 JavaThread "CompilerThread0" daemon
>> 0x0000000042154800 JavaThread "Signal Dispatcher" daemon
>> 0x0000000042135800 JavaThread "Finalizer" daemon 0x000000004212e000
>> JavaThread "Reference Handler" daemon =>0x00000000420cc800 JavaThread
>> "main"
>> Other Threads:
>> 0x0000000042129800 VMThread 0x0000000042167000 WatcherThread [id=2421]
>>
>> VM state:not at safepoint (normal execution)
>>
>> VM Mutex/Monitor currently owned by a thread: None
>>
>> Heap
>> PSYoungGen total 23616K, used 5464K [0x00007f4fbcaf0000,
>> 0x00007f4fbf280000, 0x00007f4fc7590000)
>> eden space 18112K, 6% used
>> [0x00007f4fbcaf0000,0x00007f4fbcc0e080,0x00007f4fbdca0000)
>> from space 5504K, 78% used
>> [0x00007f4fbdca0000,0x00007f4fbe0d8030,0x00007f4fbe200000)
>> to space 5760K, 0% used
>> [0x00007f4fbece0000,0x00007f4fbece0000,0x00007f4fbf280000)
>> PSOldGen total 27328K, used 6185K [0x00007f4fa7590000,
>> 0x00007f4fa9040000, 0x00007f4fbcaf0000)
>> object space 27328K, 22% used
>> [0x00007f4fa7590000,0x00007f4fa7b9a490,0x00007f4fa9040000)
>> PSPermGen total 35456K, used 35286K [0x00007f4f97590000,
>> 0x00007f4f99830000, 0x00007f4fa7590000)
>> object space 35456K, 99% used
>> [0x00007f4f97590000,0x00007f4f998058d8,0x00007f4f99830000)
>
Re: Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime [message #664608 is a reply to message #664606] Mon, 11 April 2011 07:10 Go to previous messageGo to next message
Liviu-Marian Negrila is currently offline Liviu-Marian Negrila
Messages: 53
Registered: July 2009
Member
Disabling the Compiz Window Manager might not be the solution.

I launched the app like 15 times and only 3 times it worked. Weird.

It dies when I put the mouse over the small png that I need to click to
be able to select the date with a CDT.DROP_DOWN style.

Any known workarounds?

Thanks
Liviu

On 11/04/11 13:51, Tom Schindl wrote:
> The problem is that CDatetime is using internal SWT-API and so we won't
> get a fix from SWT for this problem :-(
>
> Tom
>
> Am 11.04.11 12:49, schrieb Liviu Negrila:
>> Hello Mark,
>>
>> I have similar problems - did you find a fix?
>>
>> Thanks,
>> Liviu
>>
>> On 06/12/10 08:51, Mark Hoffmann wrote:
>>> Hi all,
>>>
>>> I use nebula CollapsibleButtons in an view and CDateTime in a wizard.
>>> The view with the collapsible buttons is always visible. If I start the
>>> wizard with the CDateTime widget from a menu, the JVM crashes. When I
>>> remove the view from my RCP the wizard starts as expected without crash.
>>>
>>> I use Linux 64bit GTK Helios SR1 and the CollapsibleButton, CWT and
>>> CDateTime from CVS HEAD.
>>>
>>> I attached an excerp from the log. Should I raise a bug? If yes, for
>>> which component?
>>> Regards, Mark
>>>
>>> #
>>> # A fatal error has been detected by the Java Runtime Environment:
>>> #
>>> # SIGSEGV (0xb) at pc=0x00007f4fcc2ee1e0, pid=2404, tid=139980690405136
>>> #
>>> # JRE version: 6.0_22-b04
>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode
>>> linux-amd64 )
>>> # Problematic frame:
>>> # C #
>>> # 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.
>>> #
>>>
>>> --------------- T H R E A D ---------------
>>>
>>> Current thread (0x00000000420cc800): JavaThread "main"
>>> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
>>> si_addr=0xffffffff908ccba0
>>>
>>> Registers:
>>> RAX=0x00007f4fcc2ee1e0, RBX=0xffffffff908ccba0, RCX=0xfffffffffff449a0,
>>> RDX=0x0000000000000002
>>> RSP=0x00007f4fcb536b78, RBP=0x00007f4fcb536bb0, RSI=0xffffffff908ccba0,
>>> RDI=0x00007f4fcb536bb0
>>> R8 =0x0000000000000010, R9 =0x0000000000000c80, R10=0x00007f4fc75abc5b,
>>> R11=0x00007f4fcbe27610
>>> R12=0x00007f4fcb536bb0, R13=0x0000000000000010, R14=0x00007f4fcb536c88,
>>> R15=0x00000000420cc800
>>> RIP=0x00007f4fcc2ee1e0, EFL=0x0000000000010202,
>>> CSGSFS=0x0000000000000033, ERR=0x0000000000000005
>>> TRAPNO=0x000000000000000e
>>>
>>> Top of Stack: (sp=0x00007f4fcb536b78)
>>> 0x00007f4fcb536b78: 00007f4fcc2ec852 00007f4fcb536c68
>>> 0x00007f4fcb536b88: 00007f4fcb536bb0 00007f4fcb536c88
>>> 0x00007f4fcb536b98: 00000000420cc9c8 00007f4f98272408
>>> 0x00007f4fcb536ba8: 00007f4f89b3dc17 00000000420cd1b0
>>> 0x00007f4fcb536bb8: 00000000420cd1b0 00007f4f98272408
>>> 0x00007f4fcb536bc8: 00007f4fcb536c48 00000000420cc800
>>> 0x00007f4fcb536bd8: 00007f4fc75abc88 00007f4fcb536c00
>>> 0x00007f4fcb536be8: 00000000420cc800 00000000420cd1d0
>>> 0x00007f4fcb536bf8: 00000000420cd1d8 00000000420cc800
>>> 0x00007f4fcb536c08: 00007f4fcb536c08 0000000000000000
>>> 0x00007f4fcb536c18: 00007f4fcb536c88 00007f4f98284970
>>> 0x00007f4fcb536c28: 0000000000000000 00007f4f98272408
>>> 0x00007f4fcb536c38: 0000000000000000 00007f4fcb536c68
>>> 0x00007f4fcb536c48: 00007f4fcb536cd0 00007f4fc75a0a42
>>> 0x00007f4fcb536c58: 00007f4f98284728 00007f4fc75a8f18
>>> 0x00007f4fcb536c68: 0000000000000010 0000000000000010
>>> 0x00007f4fcb536c78: ffffffff908ccba0 00007f4fbcbca958
>>> 0x00007f4fcb536c88: 00007f4fbcbca958 00007f4fcb536c90
>>> 0x00007f4fcb536c98: 00007f4f99711311 00007f4fcb536dd8
>>> 0x00007f4fcb536ca8: 00007f4f99804928 0000000000000000
>>> 0x00007f4fcb536cb8: 00007f4f99711960 00007f4fcb536c68
>>> 0x00007f4fcb536cc8: 00007f4fcb536dc0 00007f4fcb536e20
>>> 0x00007f4fcb536cd8: 00007f4fc75a0a42 0000000000000000
>>> 0x00007f4fcb536ce8: 0000000000000000 0000000000000000
>>> 0x00007f4fcb536cf8: 0000000000000000 0000000000000000
>>> 0x00007f4fcb536d08: 0000000000000000 0000000000000000
>>> 0x00007f4fcb536d18: 0000000000000000 0000000000000000
>>> 0x00007f4fcb536d28: 0000000000000000 0000000000000000
>>> 0x00007f4fcb536d38: 0000000000000000 0000000000000000
>>> 0x00007f4fcb536d48: 0000000000000000 0000000000000000
>>> 0x00007f4fcb536d58: 0000000000000000 00000000908ccba0
>>> 0x00007f4fcb536d68: 00007f4fbcbca958 0000000000000000
>>> Instructions: (pc=0x00007f4fcc2ee1e0)
>>> 0x00007f4fcc2ee1d0: 6f 48 83 c6 08 eb 9b 66 0f 1f 84 00 00 00 00 00
>>> 0x00007f4fcc2ee1e0: 48 8b 06 48 83 c2 06 48 83 ee 30 48 83 ef 38 e9
>>> Stack: , sp=0x00007f4fcb536b78, free space=3ee0000000000000018k
>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>> C=native code)
>>> C
>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>> j org.eclipse.swt.internal.gtk.OS.memmove(Lorg/eclipse/swt/int
>>> ernal/gtk/GtkBorder;JJ)V+0
>>> j org.eclipse.swt.internal.theme.ButtonDrawData.draw(Lorg/ecli
>>> pse/swt/internal/theme/Theme;Lorg/eclipse/swt/graphics/GC;Lo
>>> rg/eclipse/swt/graphics/Rectangle;)V+817
>>> j org.eclipse.swt.internal.theme.Theme.drawBackground(Lorg/ecl
>>> ipse/swt/graphics/GC;Lorg/eclipse/swt/graphics/Rectangle;Lor
>>> g/eclipse/swt/internal/theme/DrawData;)V+43
>>> j org.eclipse.nebula.cwt.v.VButtonPainter.paintBackground(Lorg
>>> /eclipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Even t;)V+244
>>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>>> swt/widgets/Event;)V+272
>>> j org.eclipse.nebula.cwt.v.VPanelPainter.paintContent(Lorg/ecl
>>> ipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Event;)V +27
>>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>>> swt/widgets/Event;)V+316
>>> j org.eclipse.nebula.cwt.v.VPanel$1.handleEvent(Lorg/eclipse/s
>>> wt/widgets/Event;)V+52
>>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>>> t/widgets/Event;)V
>>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>>> dgets/Event;)V+25
>>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>>> idgets/Event;Z)V+73
>>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>>> idgets/Event;)V+4
>>> j org.eclipse.swt.widgets.Control.gtk_expose_event(JJ)J+192
>>> j org.eclipse.swt.widgets.Composite.gtk_expose_event(JJ)J+42
>>> j org.eclipse.swt.widgets.Canvas.gtk_expose_event(JJ)J+51
>>> j org.eclipse.swt.widgets.Widget.windowProc(JJJ)J+392
>>> j org.eclipse.swt.widgets.Control.windowProc(JJJ)J+223
>>> j org.eclipse.swt.widgets.Display.windowProc(JJJ)J+20
>>> v ~StubRoutines::call_stub
>>> j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
>>> j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
>>> j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
>>> v ~StubRoutines::call_stub
>>> j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ )Z+0
>>> j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ) Z+9
>>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
>>> j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/sw
>>> t/widgets/Shell;)V+23
>>> j org.eclipse.jface.window.Window.open()I+49
>>> j de.sim.phcl.ui.organizer.handlers.OpenOrganizerWizardHandler
>>> .execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/la
>>> ng/Object;+71
>>> j org.eclipse.ui.internal.handlers.HandlerProxy.execute(Lorg/e
>>> clipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+33
>>> j org.eclipse.core.commands.Command.executeWithChecks(Lorg/ecl
>>> ipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+115
>>> j org.eclipse.core.commands.ParameterizedCommand.executeWithCh
>>> ecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +21
>>> j org.eclipse.ui.internal.handlers.HandlerService.executeComma
>>> nd(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/ecli
>>> pse/swt/widgets/Event;)Ljava/lang/Object;+6
>>> j org.eclipse.ui.internal.handlers.SlaveHandlerService.execute
>>> Command(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg
>>> /eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
>>> j org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel
>>> ection(Lorg/eclipse/swt/widgets/Event;)V+79
>>> j org.eclipse.ui.menus.CommandContributionItem.access$19(Lorg/
>>> eclipse/ui/menus/CommandContributionItem;Lorg/eclipse/swt/wi
>>> dgets/Event;)V+2
>>> j org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(L
>>> org/eclipse/swt/widgets/Event;)V+51
>>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>>> t/widgets/Event;)V
>>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>>> dgets/Event;)V+25
>>> j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
>>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
>>> j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/
>>> jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widge
>>> ts/Display;)V+9
>>> j org.eclipse.ui.internal.Workbench.runUI()I+555
>>> j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/i
>>> nternal/Workbench;)I+1
>>> j org.eclipse.ui.internal.Workbench$7.run()V+55
>>> j org.eclipse.core.databinding.observable.Realm.runWithDefault
>>> (Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/R
>>> unnable;)V+12
>>> j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg
>>> /eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/Wor
>>> kbenchAdvisor;)I+18
>>> j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse
>>> /swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAd visor;)I+2
>>> j de.sim.phcl.test.application.Application.start(Lorg/eclipse/
>>> equinox/app/IApplicationContext;)Ljava/lang/Object;+12
>>> 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/la
>>> ng/Object;)Ljava/lang/Object;+149
>>> j org.eclipse.core.runtime.adaptor.EclipseStarter.run(
>>> 0x00007f4f905fc800 JavaThread "Worker-0" 0x00007f4f902f4000 JavaThread "
>>> - Idle Thread" daemon 0x00007f4f90307000 JavaThread " - Main Queue
>>> Handler" daemon 0x00007f4f902dd800 JavaThread "Bundle File Closer"
>>> daemon 0x00000000427d7000 JavaThread "Worker-JM" 0x0000000042f78000
>>> JavaThread "Framework Event Dispatcher" daemon 0x00007f4f90373000
>>> JavaThread "Start Level Event Dispatcher" daemon 0x00007f4f901d7000
>>> JavaThread "State Data Manager" daemon 0x00007f4f9022a000 JavaThread
>>> "OSGi Console" 0x000000004215c000 JavaThread "Low Memory Detector"
>>> daemon 0x0000000042159800 JavaThread "CompilerThread1" daemon
>>> 0x0000000042157000 JavaThread "CompilerThread0" daemon
>>> 0x0000000042154800 JavaThread "Signal Dispatcher" daemon
>>> 0x0000000042135800 JavaThread "Finalizer" daemon 0x000000004212e000
>>> JavaThread "Reference Handler" daemon =>0x00000000420cc800 JavaThread
>>> "main"
>>> Other Threads:
>>> 0x0000000042129800 VMThread 0x0000000042167000 WatcherThread [id=2421]
>>>
>>> VM state:not at safepoint (normal execution)
>>>
>>> VM Mutex/Monitor currently owned by a thread: None
>>>
>>> Heap
>>> PSYoungGen total 23616K, used 5464K [0x00007f4fbcaf0000,
>>> 0x00007f4fbf280000, 0x00007f4fc7590000)
>>> eden space 18112K, 6% used
>>> [0x00007f4fbcaf0000,0x00007f4fbcc0e080,0x00007f4fbdca0000)
>>> from space 5504K, 78% used
>>> [0x00007f4fbdca0000,0x00007f4fbe0d8030,0x00007f4fbe200000)
>>> to space 5760K, 0% used
>>> [0x00007f4fbece0000,0x00007f4fbece0000,0x00007f4fbf280000)
>>> PSOldGen total 27328K, used 6185K [0x00007f4fa7590000,
>>> 0x00007f4fa9040000, 0x00007f4fbcaf0000)
>>> object space 27328K, 22% used
>>> [0x00007f4fa7590000,0x00007f4fa7b9a490,0x00007f4fa9040000)
>>> PSPermGen total 35456K, used 35286K [0x00007f4f97590000,
>>> 0x00007f4f99830000, 0x00007f4fa7590000)
>>> object space 35456K, 99% used
>>> [0x00007f4f97590000,0x00007f4f998058d8,0x00007f4f99830000)
>>
>
Re: Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime [message #664611 is a reply to message #664608] Mon, 11 April 2011 07:21 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5281
Registered: July 2009
Senior Member
Well one would need to patch CDateTime and/or CWT sources to NOT use
SWT-Internals who are unsupported or even better make SWT invest
resources into the Themeing API (though I doubt this will happen anytime
soon).

The problem we are having is that CDateTime/CWT does not have any
maintainers :-(

Tom

Am 11.04.11 13:10, schrieb Liviu Negrila:
> Disabling the Compiz Window Manager might not be the solution.
>
> I launched the app like 15 times and only 3 times it worked. Weird.
>
> It dies when I put the mouse over the small png that I need to click to
> be able to select the date with a CDT.DROP_DOWN style.
>
> Any known workarounds?
>
> Thanks
> Liviu
>
> On 11/04/11 13:51, Tom Schindl wrote:
>> The problem is that CDatetime is using internal SWT-API and so we won't
>> get a fix from SWT for this problem :-(
>>
>> Tom
>>
>> Am 11.04.11 12:49, schrieb Liviu Negrila:
>>> Hello Mark,
>>>
>>> I have similar problems - did you find a fix?
>>>
>>> Thanks,
>>> Liviu
>>>
>>> On 06/12/10 08:51, Mark Hoffmann wrote:
>>>> Hi all,
>>>>
>>>> I use nebula CollapsibleButtons in an view and CDateTime in a wizard.
>>>> The view with the collapsible buttons is always visible. If I start the
>>>> wizard with the CDateTime widget from a menu, the JVM crashes. When I
>>>> remove the view from my RCP the wizard starts as expected without
>>>> crash.
>>>>
>>>> I use Linux 64bit GTK Helios SR1 and the CollapsibleButton, CWT and
>>>> CDateTime from CVS HEAD.
>>>>
>>>> I attached an excerp from the log. Should I raise a bug? If yes, for
>>>> which component?
>>>> Regards, Mark
>>>>
>>>> #
>>>> # A fatal error has been detected by the Java Runtime Environment:
>>>> #
>>>> # SIGSEGV (0xb) at pc=0x00007f4fcc2ee1e0, pid=2404, tid=139980690405136
>>>> #
>>>> # JRE version: 6.0_22-b04
>>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode
>>>> linux-amd64 )
>>>> # Problematic frame:
>>>> # C #
>>>> # 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.
>>>> #
>>>>
>>>> --------------- T H R E A D ---------------
>>>>
>>>> Current thread (0x00000000420cc800): JavaThread "main"
>>>> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
>>>> si_addr=0xffffffff908ccba0
>>>>
>>>> Registers:
>>>> RAX=0x00007f4fcc2ee1e0, RBX=0xffffffff908ccba0, RCX=0xfffffffffff449a0,
>>>> RDX=0x0000000000000002
>>>> RSP=0x00007f4fcb536b78, RBP=0x00007f4fcb536bb0, RSI=0xffffffff908ccba0,
>>>> RDI=0x00007f4fcb536bb0
>>>> R8 =0x0000000000000010, R9 =0x0000000000000c80, R10=0x00007f4fc75abc5b,
>>>> R11=0x00007f4fcbe27610
>>>> R12=0x00007f4fcb536bb0, R13=0x0000000000000010, R14=0x00007f4fcb536c88,
>>>> R15=0x00000000420cc800
>>>> RIP=0x00007f4fcc2ee1e0, EFL=0x0000000000010202,
>>>> CSGSFS=0x0000000000000033, ERR=0x0000000000000005
>>>> TRAPNO=0x000000000000000e
>>>>
>>>> Top of Stack: (sp=0x00007f4fcb536b78)
>>>> 0x00007f4fcb536b78: 00007f4fcc2ec852 00007f4fcb536c68
>>>> 0x00007f4fcb536b88: 00007f4fcb536bb0 00007f4fcb536c88
>>>> 0x00007f4fcb536b98: 00000000420cc9c8 00007f4f98272408
>>>> 0x00007f4fcb536ba8: 00007f4f89b3dc17 00000000420cd1b0
>>>> 0x00007f4fcb536bb8: 00000000420cd1b0 00007f4f98272408
>>>> 0x00007f4fcb536bc8: 00007f4fcb536c48 00000000420cc800
>>>> 0x00007f4fcb536bd8: 00007f4fc75abc88 00007f4fcb536c00
>>>> 0x00007f4fcb536be8: 00000000420cc800 00000000420cd1d0
>>>> 0x00007f4fcb536bf8: 00000000420cd1d8 00000000420cc800
>>>> 0x00007f4fcb536c08: 00007f4fcb536c08 0000000000000000
>>>> 0x00007f4fcb536c18: 00007f4fcb536c88 00007f4f98284970
>>>> 0x00007f4fcb536c28: 0000000000000000 00007f4f98272408
>>>> 0x00007f4fcb536c38: 0000000000000000 00007f4fcb536c68
>>>> 0x00007f4fcb536c48: 00007f4fcb536cd0 00007f4fc75a0a42
>>>> 0x00007f4fcb536c58: 00007f4f98284728 00007f4fc75a8f18
>>>> 0x00007f4fcb536c68: 0000000000000010 0000000000000010
>>>> 0x00007f4fcb536c78: ffffffff908ccba0 00007f4fbcbca958
>>>> 0x00007f4fcb536c88: 00007f4fbcbca958 00007f4fcb536c90
>>>> 0x00007f4fcb536c98: 00007f4f99711311 00007f4fcb536dd8
>>>> 0x00007f4fcb536ca8: 00007f4f99804928 0000000000000000
>>>> 0x00007f4fcb536cb8: 00007f4f99711960 00007f4fcb536c68
>>>> 0x00007f4fcb536cc8: 00007f4fcb536dc0 00007f4fcb536e20
>>>> 0x00007f4fcb536cd8: 00007f4fc75a0a42 0000000000000000
>>>> 0x00007f4fcb536ce8: 0000000000000000 0000000000000000
>>>> 0x00007f4fcb536cf8: 0000000000000000 0000000000000000
>>>> 0x00007f4fcb536d08: 0000000000000000 0000000000000000
>>>> 0x00007f4fcb536d18: 0000000000000000 0000000000000000
>>>> 0x00007f4fcb536d28: 0000000000000000 0000000000000000
>>>> 0x00007f4fcb536d38: 0000000000000000 0000000000000000
>>>> 0x00007f4fcb536d48: 0000000000000000 0000000000000000
>>>> 0x00007f4fcb536d58: 0000000000000000 00000000908ccba0
>>>> 0x00007f4fcb536d68: 00007f4fbcbca958 0000000000000000
>>>> Instructions: (pc=0x00007f4fcc2ee1e0)
>>>> 0x00007f4fcc2ee1d0: 6f 48 83 c6 08 eb 9b 66 0f 1f 84 00 00 00 00 00
>>>> 0x00007f4fcc2ee1e0: 48 8b 06 48 83 c2 06 48 83 ee 30 48 83 ef 38 e9
>>>> Stack: , sp=0x00007f4fcb536b78, free space=3ee0000000000000018k
>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>> C=native code)
>>>> C
>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>> j org.eclipse.swt.internal.gtk.OS.memmove(Lorg/eclipse/swt/int
>>>> ernal/gtk/GtkBorder;JJ)V+0
>>>> j org.eclipse.swt.internal.theme.ButtonDrawData.draw(Lorg/ecli
>>>> pse/swt/internal/theme/Theme;Lorg/eclipse/swt/graphics/GC;Lo
>>>> rg/eclipse/swt/graphics/Rectangle;)V+817
>>>> j org.eclipse.swt.internal.theme.Theme.drawBackground(Lorg/ecl
>>>> ipse/swt/graphics/GC;Lorg/eclipse/swt/graphics/Rectangle;Lor
>>>> g/eclipse/swt/internal/theme/DrawData;)V+43
>>>> j org.eclipse.nebula.cwt.v.VButtonPainter.paintBackground(Lorg
>>>> /eclipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Even t;)V+244
>>>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>>>> swt/widgets/Event;)V+272
>>>> j org.eclipse.nebula.cwt.v.VPanelPainter.paintContent(Lorg/ecl
>>>> ipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Event;)V +27
>>>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>>>> swt/widgets/Event;)V+316
>>>> j org.eclipse.nebula.cwt.v.VPanel$1.handleEvent(Lorg/eclipse/s
>>>> wt/widgets/Event;)V+52
>>>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>>>> t/widgets/Event;)V
>>>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>>>> dgets/Event;)V+25
>>>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>>>> idgets/Event;Z)V+73
>>>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>>>> idgets/Event;)V+4
>>>> j org.eclipse.swt.widgets.Control.gtk_expose_event(JJ)J+192
>>>> j org.eclipse.swt.widgets.Composite.gtk_expose_event(JJ)J+42
>>>> j org.eclipse.swt.widgets.Canvas.gtk_expose_event(JJ)J+51
>>>> j org.eclipse.swt.widgets.Widget.windowProc(JJJ)J+392
>>>> j org.eclipse.swt.widgets.Control.windowProc(JJJ)J+223
>>>> j org.eclipse.swt.widgets.Display.windowProc(JJJ)J+20
>>>> v ~StubRoutines::call_stub
>>>> j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
>>>> j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
>>>> j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
>>>> v ~StubRoutines::call_stub
>>>> j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ )Z+0
>>>> j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ) Z+9
>>>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
>>>> j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/sw
>>>> t/widgets/Shell;)V+23
>>>> j org.eclipse.jface.window.Window.open()I+49
>>>> j de.sim.phcl.ui.organizer.handlers.OpenOrganizerWizardHandler
>>>> .execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/la
>>>> ng/Object;+71
>>>> j org.eclipse.ui.internal.handlers.HandlerProxy.execute(Lorg/e
>>>> clipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+33
>>>> j org.eclipse.core.commands.Command.executeWithChecks(Lorg/ecl
>>>> ipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+115
>>>> j org.eclipse.core.commands.ParameterizedCommand.executeWithCh
>>>> ecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +21
>>>> j org.eclipse.ui.internal.handlers.HandlerService.executeComma
>>>> nd(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/ecli
>>>> pse/swt/widgets/Event;)Ljava/lang/Object;+6
>>>> j org.eclipse.ui.internal.handlers.SlaveHandlerService.execute
>>>> Command(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg
>>>> /eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
>>>> j org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel
>>>> ection(Lorg/eclipse/swt/widgets/Event;)V+79
>>>> j org.eclipse.ui.menus.CommandContributionItem.access$19(Lorg/
>>>> eclipse/ui/menus/CommandContributionItem;Lorg/eclipse/swt/wi
>>>> dgets/Event;)V+2
>>>> j org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(L
>>>> org/eclipse/swt/widgets/Event;)V+51
>>>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>>>> t/widgets/Event;)V
>>>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>>>> dgets/Event;)V+25
>>>> j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
>>>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
>>>> j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/
>>>> jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widge
>>>> ts/Display;)V+9
>>>> j org.eclipse.ui.internal.Workbench.runUI()I+555
>>>> j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/i
>>>> nternal/Workbench;)I+1
>>>> j org.eclipse.ui.internal.Workbench$7.run()V+55
>>>> j org.eclipse.core.databinding.observable.Realm.runWithDefault
>>>> (Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/R
>>>> unnable;)V+12
>>>> j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg
>>>> /eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/Wor
>>>> kbenchAdvisor;)I+18
>>>> j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse
>>>> /swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAd visor;)I+2
>>>> j de.sim.phcl.test.application.Application.start(Lorg/eclipse/
>>>> equinox/app/IApplicationContext;)Ljava/lang/Object;+12
>>>> 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/la
>>>> ng/Object;)Ljava/lang/Object;+149
>>>> j org.eclipse.core.runtime.adaptor.EclipseStarter.run(
>>>> 0x00007f4f905fc800 JavaThread "Worker-0" 0x00007f4f902f4000
>>>> JavaThread "
>>>> - Idle Thread" daemon 0x00007f4f90307000 JavaThread " - Main Queue
>>>> Handler" daemon 0x00007f4f902dd800 JavaThread "Bundle File Closer"
>>>> daemon 0x00000000427d7000 JavaThread "Worker-JM" 0x0000000042f78000
>>>> JavaThread "Framework Event Dispatcher" daemon 0x00007f4f90373000
>>>> JavaThread "Start Level Event Dispatcher" daemon 0x00007f4f901d7000
>>>> JavaThread "State Data Manager" daemon 0x00007f4f9022a000 JavaThread
>>>> "OSGi Console" 0x000000004215c000 JavaThread "Low Memory Detector"
>>>> daemon 0x0000000042159800 JavaThread "CompilerThread1" daemon
>>>> 0x0000000042157000 JavaThread "CompilerThread0" daemon
>>>> 0x0000000042154800 JavaThread "Signal Dispatcher" daemon
>>>> 0x0000000042135800 JavaThread "Finalizer" daemon 0x000000004212e000
>>>> JavaThread "Reference Handler" daemon =>0x00000000420cc800 JavaThread
>>>> "main"
>>>> Other Threads:
>>>> 0x0000000042129800 VMThread 0x0000000042167000 WatcherThread [id=2421]
>>>>
>>>> VM state:not at safepoint (normal execution)
>>>>
>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>
>>>> Heap
>>>> PSYoungGen total 23616K, used 5464K [0x00007f4fbcaf0000,
>>>> 0x00007f4fbf280000, 0x00007f4fc7590000)
>>>> eden space 18112K, 6% used
>>>> [0x00007f4fbcaf0000,0x00007f4fbcc0e080,0x00007f4fbdca0000)
>>>> from space 5504K, 78% used
>>>> [0x00007f4fbdca0000,0x00007f4fbe0d8030,0x00007f4fbe200000)
>>>> to space 5760K, 0% used
>>>> [0x00007f4fbece0000,0x00007f4fbece0000,0x00007f4fbf280000)
>>>> PSOldGen total 27328K, used 6185K [0x00007f4fa7590000,
>>>> 0x00007f4fa9040000, 0x00007f4fbcaf0000)
>>>> object space 27328K, 22% used
>>>> [0x00007f4fa7590000,0x00007f4fa7b9a490,0x00007f4fa9040000)
>>>> PSPermGen total 35456K, used 35286K [0x00007f4f97590000,
>>>> 0x00007f4f99830000, 0x00007f4fa7590000)
>>>> object space 35456K, 99% used
>>>> [0x00007f4f97590000,0x00007f4f998058d8,0x00007f4f99830000)
>>>
>>
>
Re: Linux Ubuntu JVM Crash using CollapsibleButtons and CDateTime [message #664719 is a reply to message #664611] Mon, 11 April 2011 13:05 Go to previous message
Liviu-Marian Negrila is currently offline Liviu-Marian Negrila
Messages: 53
Registered: July 2009
Member
50 points for sheer dumb luck; 2 things I did and it works:

1. In BaseCombo
I forced the button to use the same Painter for gtk as with the win32 in
the method createButton(int) by adding '|| gtk':

if(win32 || gtk ) {
button.setPainter(new VButtonPainter() {
---- unchanged ----
});


2. In org.eclipse.nebula.cwt.v.VButtonPainter

I commented out the lines involving the themes for 'else' :

if(e.gc.getAlpha() == 255) {
Theme theme = new Theme(e.display);
theme.drawBackground(e.gc, button.bounds, data);
theme.dispose();
} else {
// Bug 260624 - ButtonDrawData#draw does not respect alpha setting
Image img = new Image(e.display, new Rectangle(0, 0,
button.bounds.width, button.bounds.height));
GC gc = new GC(img);
// Theme theme = new Theme(e.display);
// theme.drawBackground(gc, img.getBounds(), data);
e.gc.drawImage(img, button.bounds.x, button.bounds.y);
// theme.dispose();
gc.dispose();
img.dispose();
}

PS: I also had the animation on drop_down show(false) deactivated - an
earlier bug on Vista that kept hiding the menubar when the drop-down was
shown.

Probably a very ugly hack - but beats rewriting the CDateTime for now.
For me at least.

Should I expect apocaliptic behaviour for the theme not being used?

Thanks
Liviu

On 11/04/11 14:21, Tom Schindl wrote:
> Well one would need to patch CDateTime and/or CWT sources to NOT use
> SWT-Internals who are unsupported or even better make SWT invest
> resources into the Themeing API (though I doubt this will happen anytime
> soon).
>
> The problem we are having is that CDateTime/CWT does not have any
> maintainers :-(
>
> Tom
>
> Am 11.04.11 13:10, schrieb Liviu Negrila:
>> Disabling the Compiz Window Manager might not be the solution.
>>
>> I launched the app like 15 times and only 3 times it worked. Weird.
>>
>> It dies when I put the mouse over the small png that I need to click to
>> be able to select the date with a CDT.DROP_DOWN style.
>>
>> Any known workarounds?
>>
>> Thanks
>> Liviu
>>
>> On 11/04/11 13:51, Tom Schindl wrote:
>>> The problem is that CDatetime is using internal SWT-API and so we won't
>>> get a fix from SWT for this problem :-(
>>>
>>> Tom
>>>
>>> Am 11.04.11 12:49, schrieb Liviu Negrila:
>>>> Hello Mark,
>>>>
>>>> I have similar problems - did you find a fix?
>>>>
>>>> Thanks,
>>>> Liviu
>>>>
>>>> On 06/12/10 08:51, Mark Hoffmann wrote:
>>>>> Hi all,
>>>>>
>>>>> I use nebula CollapsibleButtons in an view and CDateTime in a wizard.
>>>>> The view with the collapsible buttons is always visible. If I start the
>>>>> wizard with the CDateTime widget from a menu, the JVM crashes. When I
>>>>> remove the view from my RCP the wizard starts as expected without
>>>>> crash.
>>>>>
>>>>> I use Linux 64bit GTK Helios SR1 and the CollapsibleButton, CWT and
>>>>> CDateTime from CVS HEAD.
>>>>>
>>>>> I attached an excerp from the log. Should I raise a bug? If yes, for
>>>>> which component?
>>>>> Regards, Mark
>>>>>
>>>>> #
>>>>> # A fatal error has been detected by the Java Runtime Environment:
>>>>> #
>>>>> # SIGSEGV (0xb) at pc=0x00007f4fcc2ee1e0, pid=2404, tid=139980690405136
>>>>> #
>>>>> # JRE version: 6.0_22-b04
>>>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode
>>>>> linux-amd64 )
>>>>> # Problematic frame:
>>>>> # C #
>>>>> # 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.
>>>>> #
>>>>>
>>>>> --------------- T H R E A D ---------------
>>>>>
>>>>> Current thread (0x00000000420cc800): JavaThread "main"
>>>>> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
>>>>> si_addr=0xffffffff908ccba0
>>>>>
>>>>> Registers:
>>>>> RAX=0x00007f4fcc2ee1e0, RBX=0xffffffff908ccba0, RCX=0xfffffffffff449a0,
>>>>> RDX=0x0000000000000002
>>>>> RSP=0x00007f4fcb536b78, RBP=0x00007f4fcb536bb0, RSI=0xffffffff908ccba0,
>>>>> RDI=0x00007f4fcb536bb0
>>>>> R8 =0x0000000000000010, R9 =0x0000000000000c80, R10=0x00007f4fc75abc5b,
>>>>> R11=0x00007f4fcbe27610
>>>>> R12=0x00007f4fcb536bb0, R13=0x0000000000000010, R14=0x00007f4fcb536c88,
>>>>> R15=0x00000000420cc800
>>>>> RIP=0x00007f4fcc2ee1e0, EFL=0x0000000000010202,
>>>>> CSGSFS=0x0000000000000033, ERR=0x0000000000000005
>>>>> TRAPNO=0x000000000000000e
>>>>>
>>>>> Top of Stack: (sp=0x00007f4fcb536b78)
>>>>> 0x00007f4fcb536b78: 00007f4fcc2ec852 00007f4fcb536c68
>>>>> 0x00007f4fcb536b88: 00007f4fcb536bb0 00007f4fcb536c88
>>>>> 0x00007f4fcb536b98: 00000000420cc9c8 00007f4f98272408
>>>>> 0x00007f4fcb536ba8: 00007f4f89b3dc17 00000000420cd1b0
>>>>> 0x00007f4fcb536bb8: 00000000420cd1b0 00007f4f98272408
>>>>> 0x00007f4fcb536bc8: 00007f4fcb536c48 00000000420cc800
>>>>> 0x00007f4fcb536bd8: 00007f4fc75abc88 00007f4fcb536c00
>>>>> 0x00007f4fcb536be8: 00000000420cc800 00000000420cd1d0
>>>>> 0x00007f4fcb536bf8: 00000000420cd1d8 00000000420cc800
>>>>> 0x00007f4fcb536c08: 00007f4fcb536c08 0000000000000000
>>>>> 0x00007f4fcb536c18: 00007f4fcb536c88 00007f4f98284970
>>>>> 0x00007f4fcb536c28: 0000000000000000 00007f4f98272408
>>>>> 0x00007f4fcb536c38: 0000000000000000 00007f4fcb536c68
>>>>> 0x00007f4fcb536c48: 00007f4fcb536cd0 00007f4fc75a0a42
>>>>> 0x00007f4fcb536c58: 00007f4f98284728 00007f4fc75a8f18
>>>>> 0x00007f4fcb536c68: 0000000000000010 0000000000000010
>>>>> 0x00007f4fcb536c78: ffffffff908ccba0 00007f4fbcbca958
>>>>> 0x00007f4fcb536c88: 00007f4fbcbca958 00007f4fcb536c90
>>>>> 0x00007f4fcb536c98: 00007f4f99711311 00007f4fcb536dd8
>>>>> 0x00007f4fcb536ca8: 00007f4f99804928 0000000000000000
>>>>> 0x00007f4fcb536cb8: 00007f4f99711960 00007f4fcb536c68
>>>>> 0x00007f4fcb536cc8: 00007f4fcb536dc0 00007f4fcb536e20
>>>>> 0x00007f4fcb536cd8: 00007f4fc75a0a42 0000000000000000
>>>>> 0x00007f4fcb536ce8: 0000000000000000 0000000000000000
>>>>> 0x00007f4fcb536cf8: 0000000000000000 0000000000000000
>>>>> 0x00007f4fcb536d08: 0000000000000000 0000000000000000
>>>>> 0x00007f4fcb536d18: 0000000000000000 0000000000000000
>>>>> 0x00007f4fcb536d28: 0000000000000000 0000000000000000
>>>>> 0x00007f4fcb536d38: 0000000000000000 0000000000000000
>>>>> 0x00007f4fcb536d48: 0000000000000000 0000000000000000
>>>>> 0x00007f4fcb536d58: 0000000000000000 00000000908ccba0
>>>>> 0x00007f4fcb536d68: 00007f4fbcbca958 0000000000000000
>>>>> Instructions: (pc=0x00007f4fcc2ee1e0)
>>>>> 0x00007f4fcc2ee1d0: 6f 48 83 c6 08 eb 9b 66 0f 1f 84 00 00 00 00 00
>>>>> 0x00007f4fcc2ee1e0: 48 8b 06 48 83 c2 06 48 83 ee 30 48 83 ef 38 e9
>>>>> Stack: , sp=0x00007f4fcb536b78, free space=3ee0000000000000018k
>>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>>>> C=native code)
>>>>> C
>>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>>> j org.eclipse.swt.internal.gtk.OS.memmove(Lorg/eclipse/swt/int
>>>>> ernal/gtk/GtkBorder;JJ)V+0
>>>>> j org.eclipse.swt.internal.theme.ButtonDrawData.draw(Lorg/ecli
>>>>> pse/swt/internal/theme/Theme;Lorg/eclipse/swt/graphics/GC;Lo
>>>>> rg/eclipse/swt/graphics/Rectangle;)V+817
>>>>> j org.eclipse.swt.internal.theme.Theme.drawBackground(Lorg/ecl
>>>>> ipse/swt/graphics/GC;Lorg/eclipse/swt/graphics/Rectangle;Lor
>>>>> g/eclipse/swt/internal/theme/DrawData;)V+43
>>>>> j org.eclipse.nebula.cwt.v.VButtonPainter.paintBackground(Lorg
>>>>> /eclipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Even t;)V+244
>>>>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>>>>> swt/widgets/Event;)V+272
>>>>> j org.eclipse.nebula.cwt.v.VPanelPainter.paintContent(Lorg/ecl
>>>>> ipse/nebula/cwt/v/VControl;Lorg/eclipse/swt/widgets/Event;)V +27
>>>>> j org.eclipse.nebula.cwt.v.VControl.paintControl(Lorg/eclipse/
>>>>> swt/widgets/Event;)V+316
>>>>> j org.eclipse.nebula.cwt.v.VPanel$1.handleEvent(Lorg/eclipse/s
>>>>> wt/widgets/Event;)V+52
>>>>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>>>>> t/widgets/Event;)V
>>>>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>>>>> dgets/Event;)V+25
>>>>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>>>>> idgets/Event;Z)V+73
>>>>> j org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/w
>>>>> idgets/Event;)V+4
>>>>> j org.eclipse.swt.widgets.Control.gtk_expose_event(JJ)J+192
>>>>> j org.eclipse.swt.widgets.Composite.gtk_expose_event(JJ)J+42
>>>>> j org.eclipse.swt.widgets.Canvas.gtk_expose_event(JJ)J+51
>>>>> j org.eclipse.swt.widgets.Widget.windowProc(JJJ)J+392
>>>>> j org.eclipse.swt.widgets.Control.windowProc(JJJ)J+223
>>>>> j org.eclipse.swt.widgets.Display.windowProc(JJJ)J+20
>>>>> v ~StubRoutines::call_stub
>>>>> j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
>>>>> j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
>>>>> j org.eclipse.swt.widgets.Display.eventProc(JJ)J+132
>>>>> v ~StubRoutines::call_stub
>>>>> j org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ )Z+0
>>>>> j org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(JZ) Z+9
>>>>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33
>>>>> j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/sw
>>>>> t/widgets/Shell;)V+23
>>>>> j org.eclipse.jface.window.Window.open()I+49
>>>>> j de.sim.phcl.ui.organizer.handlers.OpenOrganizerWizardHandler
>>>>> .execute(Lorg/eclipse/core/commands/ExecutionEvent;)Ljava/la
>>>>> ng/Object;+71
>>>>> j org.eclipse.ui.internal.handlers.HandlerProxy.execute(Lorg/e
>>>>> clipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+33
>>>>> j org.eclipse.core.commands.Command.executeWithChecks(Lorg/ecl
>>>>> ipse/core/commands/ExecutionEvent;)Ljava/lang/Object;+115
>>>>> j org.eclipse.core.commands.ParameterizedCommand.executeWithCh
>>>>> ecks(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +21
>>>>> j org.eclipse.ui.internal.handlers.HandlerService.executeComma
>>>>> nd(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg/ecli
>>>>> pse/swt/widgets/Event;)Ljava/lang/Object;+6
>>>>> j org.eclipse.ui.internal.handlers.SlaveHandlerService.execute
>>>>> Command(Lorg/eclipse/core/commands/ParameterizedCommand;Lorg
>>>>> /eclipse/swt/widgets/Event;)Ljava/lang/Object;+6
>>>>> j org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel
>>>>> ection(Lorg/eclipse/swt/widgets/Event;)V+79
>>>>> j org.eclipse.ui.menus.CommandContributionItem.access$19(Lorg/
>>>>> eclipse/ui/menus/CommandContributionItem;Lorg/eclipse/swt/wi
>>>>> dgets/Event;)V+2
>>>>> j org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(L
>>>>> org/eclipse/swt/widgets/Event;)V+51
>>>>> J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/sw
>>>>> t/widgets/Event;)V
>>>>> j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/wi
>>>>> dgets/Event;)V+25
>>>>> j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
>>>>> j org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
>>>>> j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/
>>>>> jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widge
>>>>> ts/Display;)V+9
>>>>> j org.eclipse.ui.internal.Workbench.runUI()I+555
>>>>> j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/i
>>>>> nternal/Workbench;)I+1
>>>>> j org.eclipse.ui.internal.Workbench$7.run()V+55
>>>>> j org.eclipse.core.databinding.observable.Realm.runWithDefault
>>>>> (Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/R
>>>>> unnable;)V+12
>>>>> j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg
>>>>> /eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/Wor
>>>>> kbenchAdvisor;)I+18
>>>>> j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse
>>>>> /swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAd visor;)I+2
>>>>> j de.sim.phcl.test.application.Application.start(Lorg/eclipse/
>>>>> equinox/app/IApplicationContext;)Ljava/lang/Object;+12
>>>>> 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/la
>>>>> ng/Object;)Ljava/lang/Object;+149
>>>>> j org.eclipse.core.runtime.adaptor.EclipseStarter.run(
>>>>> 0x00007f4f905fc800 JavaThread "Worker-0" 0x00007f4f902f4000
>>>>> JavaThread "
>>>>> - Idle Thread" daemon 0x00007f4f90307000 JavaThread " - Main Queue
>>>>> Handler" daemon 0x00007f4f902dd800 JavaThread "Bundle File Closer"
>>>>> daemon 0x00000000427d7000 JavaThread "Worker-JM" 0x0000000042f78000
>>>>> JavaThread "Framework Event Dispatcher" daemon 0x00007f4f90373000
>>>>> JavaThread "Start Level Event Dispatcher" daemon 0x00007f4f901d7000
>>>>> JavaThread "State Data Manager" daemon 0x00007f4f9022a000 JavaThread
>>>>> "OSGi Console" 0x000000004215c000 JavaThread "Low Memory Detector"
>>>>> daemon 0x0000000042159800 JavaThread "CompilerThread1" daemon
>>>>> 0x0000000042157000 JavaThread "CompilerThread0" daemon
>>>>> 0x0000000042154800 JavaThread "Signal Dispatcher" daemon
>>>>> 0x0000000042135800 JavaThread "Finalizer" daemon 0x000000004212e000
>>>>> JavaThread "Reference Handler" daemon =>0x00000000420cc800 JavaThread
>>>>> "main"
>>>>> Other Threads:
>>>>> 0x0000000042129800 VMThread 0x0000000042167000 WatcherThread [id=2421]
>>>>>
>>>>> VM state:not at safepoint (normal execution)
>>>>>
>>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>>
>>>>> Heap
>>>>> PSYoungGen total 23616K, used 5464K [0x00007f4fbcaf0000,
>>>>> 0x00007f4fbf280000, 0x00007f4fc7590000)
>>>>> eden space 18112K, 6% used
>>>>> [0x00007f4fbcaf0000,0x00007f4fbcc0e080,0x00007f4fbdca0000)
>>>>> from space 5504K, 78% used
>>>>> [0x00007f4fbdca0000,0x00007f4fbe0d8030,0x00007f4fbe200000)
>>>>> to space 5760K, 0% used
>>>>> [0x00007f4fbece0000,0x00007f4fbece0000,0x00007f4fbf280000)
>>>>> PSOldGen total 27328K, used 6185K [0x00007f4fa7590000,
>>>>> 0x00007f4fa9040000, 0x00007f4fbcaf0000)
>>>>> object space 27328K, 22% used
>>>>> [0x00007f4fa7590000,0x00007f4fa7b9a490,0x00007f4fa9040000)
>>>>> PSPermGen total 35456K, used 35286K [0x00007f4f97590000,
>>>>> 0x00007f4f99830000, 0x00007f4fa7590000)
>>>>> object space 35456K, 99% used
>>>>> [0x00007f4f97590000,0x00007f4f998058d8,0x00007f4f99830000)
>>>>
>>>
>>
>
Previous Topic:[collapsibleButtons] won't expand / collapse
Next Topic:[Lost] Gallery Examples.jar
Goto Forum:
  


Current Time: Fri Aug 22 00:16:42 EDT 2014

Powered by FUDForum. Page generated in 0.02340 seconds