Bug 570905 - JVM crashes when Combo widget is disposed when its value changes
Summary: JVM crashes when Combo widget is disposed when its value changes
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.19   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-04 06:56 EST by Paweł Rogaszewski CLA
Modified: 2021-02-04 07:00 EST (History)
1 user (show)

See Also:


Attachments
Java log crash (66.98 KB, application/octet-stream)
2021-02-04 06:56 EST, Paweł Rogaszewski CLA
no flags Details
Example program (3.68 KB, application/octet-stream)
2021-02-04 06:57 EST, Paweł Rogaszewski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Rogaszewski CLA 2021-02-04 06:56:37 EST
Created attachment 285443 [details]
Java log crash

I encounter a problem in SWT Combo widget. When I change the value in the Drop-down list and at the same time I'm trying to dispose Combo widget and create it again in random cases JVM crashes with the following message in the console:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbe3d23f68, pid=21100, tid=4188
#
# JRE version: OpenJDK Runtime Environment (14.0.1+7) (build 14.0.1+7)
# Java VM: OpenJDK 64-Bit Server VM (14.0.1+7, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [COMCTL32.dll+0x23f68]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\progasze\eclipse-workspaces\workspace-test\test.generic.window\hs_err_pid21100.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

I also added the generated log file in the attachment as well as an example simple program that should reproduce this problem.
Comment 1 Paweł Rogaszewski CLA 2021-02-04 06:57:45 EST
Created attachment 285444 [details]
Example program