Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323107 - swt crashes java vm
Summary: swt crashes java vm
Status: CLOSED DUPLICATE of bug 322222
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 04:26 EDT by Hans Meier CLA
Modified: 2010-08-19 05:10 EDT (History)
1 user (show)

See Also:


Attachments
minimal code to reproduce problem (1.01 KB, text/plain)
2010-08-19 04:29 EDT, Hans Meier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***