Skip to content

SIGSEGV on Ubuntu 24 (g_type_check_instance_is_fundamentally) #2274

@AdrianOltean

Description

@AdrianOltean

Describe the bug
We (NXP) have the MCUXpresso IDE that is Eclipse (CDT) based and recently noticed that random seg faults occur when using Ubuntu 24. These occur also on Ubuntu 22 but quite rarely compared to Ubuntu 24. See the attached crash dumps and the actual configuration. Most of the crash dumps occur in: # C [libgobject-2.0.so.0+0x3cd61] g_type_check_instance_is_fundamentally_a+0x11 but we've occasionally seen # C [libcairo.so.2+0x6b0a4] cairo_region_num_rectangles+0x4 appears as well.

configuration.txt
hs_err_pid20973.log
hs_err_pid22226.log

To Reproduce
Crash occurs randomly when interacting with tree-based views.

Expected behavior
IDE must not crash.

Screenshots
N/A.

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc).
  • Ubuntu 24
  • GTK lib v3.24.41 & v4.14.2 installed in Ubuntu 24.
  1. JRE/JDK version
  • OpenJDK 64-Bit Server VM Temurin-17.0.9+9

Version since
Eclipse or SWT version since when the behavior is seen [e.g. 4.23]

  • Eclipse IDE v2023.12, v4.30 platform,

Workaround (or) Additional context
Forcing the use of GTK4 seems to help but maybe it's just luck, given that even usage of GTK3 triggers random seg faults...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions