Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323107

Summary: swt crashes java vm
Product: [Eclipse Project] Platform Reporter: Hans Meier <eclipseBugs>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: pinnamur
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
minimal code to reproduce problem none

Description Hans Meier CLA 2010-08-19 04:26:58 EDT
Overview:
while menu is processing SWT.show event, if at least one menu item was created, and then an runtime exception is thrown - jvm crashes in swt native code.

Steps to Reproduce:
minimal example is attached - you must run application and open it's main menu.

both latest openjdk vm and latest sun vm were tested.
I tested swt builds 3.650 (latest stable) and 3.703 (latest dev build) - both builds crash vm


crash report summary is

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb3ccdc86, pid=28498, tid=3068337008
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  [libpango-1.0.so.0+0x23c86]  pango_layout_new+0x36
Comment 1 Hans Meier CLA 2010-08-19 04:29:19 EDT
Created attachment 176968 [details]
minimal code to reproduce problem
Comment 2 Praveen CLA 2010-08-19 05:10:01 EDT
Please check with the latest build (after 20100813).

*** This bug has been marked as a duplicate of bug 322222 ***