You are not logged in.

#1 2024-03-29 02:14:53

critter
Member
Registered: 2012-05-01
Posts: 13

eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

After upgrade webkit2gtk to version 2.44.0-1 eclipse IDE constantly crashing with messages like
Problematic frame: # C [libwebkit2gtk-4.0.so.37+ 0x10c239b]
downgrade webkit2gtk to 2.42.5-2 removes problem

Offline

#2 2024-03-29 08:20:51

seth
Member
Registered: 2012-09-03
Posts: 54,177

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

You did update the eclipse AUR package?
Are you facing https://aur.archlinux.org/packages/ecli … ent-963497 ?

Offline

#3 2024-03-29 11:30:34

critter
Member
Registered: 2012-05-01
Posts: 13

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

Our development team don't use OS packages for java, tomcat, eclipse etc. For example, current eclipse version is taken from here https://download.eclipse.org/eclipse/do … _64.tar.gz

Offline

#4 2024-03-29 11:36:20

seth
Member
Registered: 2012-09-03
Posts: 54,177

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

There're build from end of february?
https://download.eclipse.org/eclipse/do … 402290520/

Offline

#5 2024-03-29 13:04:54

critter
Member
Registered: 2012-05-01
Posts: 13

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

> There're build from end of february?
Thanks a lot! So, it's time to switch to 4.31 version. I will check, if 4.31 works with webkit2gtk 2.44.0-1

Offline

#6 2024-03-30 03:30:09

critter
Member
Registered: 2012-05-01
Posts: 13

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

After switching to eclipse 4.31 problem with webkit2gtk 2.44.0-1 remains the same

(Eclipse:2732): Gdk-CRITICAL **: 06:19:16.820: gdk_window_create_gl_context: assertion 'GDK_IS_WINDOW (window)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000717f38ec239b, pid=2732, tid=2733
#
# JRE version: OpenJDK Runtime Environment Zulu17.48+15-CA (17.0.10+7) (build 17.0.10+7-LTS)
# Java VM: OpenJDK 64-Bit Server VM Zulu17.48+15-CA (17.0.10+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libwebkit2gtk-4.0.so.37+0x10c239b]
#
...
# The crash happened outside the Java Virtual Machine in native code.

Offline

#7 2024-03-30 07:29:00

seth
Member
Registered: 2012-09-03
Posts: 54,177

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

You'll have to downgrade webkit and wait for a new upstream build, try your luck w/ building eclipse yourself or you could move the old versions of /usr/lib/libjavascriptcoregtk-4.0.so.18.24.x and /usr/lib/libwebkit2gtk-4.0.so.37.68.x somewhere into the eclipse path and LD_PRELOAD them for eclipse.

Offline

#8 2024-03-30 22:18:50

critter
Member
Registered: 2012-05-01
Posts: 13

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

> You'll have to downgrade webkit
Thanks! As I wrote in the first message, downgrade webkit to 2.42.5-2 resolve problem

Offline

#9 2024-03-31 14:30:25

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

critter wrote:

> You'll have to downgrade webkit
Thanks! As I wrote in the first message, downgrade webkit to 2.42.5-2 resolve problem

Are you sure about that?
For me it just moved the problem from autocompletion to tooltip-on-hover, and aggravated it.
Meaning that while with latest webkit2gtk the Eclipse (STS, actually) crash occurs at the moment you issue a ctrl+spacebar, with 2.42.5-2 version it happens when after hovering over a symbol, you put the pointer on one of its package's branches shown in the tooltip, pulling down with it whole gnome-shell.
Only real workaround I found at the moment is to launch the IDE with X11 backend.

Offline

#10 2024-03-31 14:51:57

seth
Member
Registered: 2012-09-03
Posts: 54,177

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

If gnome-shell crashes that's a gnome-shell bug, not an eclipse bug.
Wild guess, replace adwaita-cursors w/ vanilla-dmz-aa (it's the same theme, just not broken)

Offline

#11 2024-03-31 16:16:12

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

I don't know how that can be related, considering that AFAIK it happens only in Eclipse.
Anyway I tried your suggestion with no luck. This is still the interesting part of eclipse crash report

Stack: [0x000072b301700000,0x000072b301800000],  sp=0x000072b3017fcec0,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libwebkit2gtk-4.1.so.0+0x10c646b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 14808  org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Z)Z (0 bytes) @ 0x000072b2f14c96e1 [0x000072b2f14c96a0+0x0000000000000041]
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+54
j  org.eclipse.jface.internal.text.html.BrowserInformationControl.setVisible(Z)V+58
j  org.eclipse.jface.text.AbstractInformationControlManager.showInformationControl(Lorg/eclipse/swt/graphics/Rectangle;)V+5
j  org.eclipse.jface.text.TextViewerHoverManager.showInformationControl(Lorg/eclipse/swt/graphics/Rectangle;)V+21
j  org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(Lorg/eclipse/swt/graphics/Rectangle;Ljava/lang/Object;)V+344
j  org.eclipse.jface.text.AbstractInformationControlManager.presentInformation()V+70
j  org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation()V+64
j  org.eclipse.jface.text.TextViewerHoverManager.doPresentInformation()V+1
j  org.eclipse.jface.text.TextViewerHoverManager.lambda$3(Lorg/eclipse/swt/custom/StyledText;)V+8
j  org.eclipse.jface.text.TextViewerHoverManager$$Lambda$1757+0x0000000100f35ff0.run()V+8
J 18512 c2 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x000072b2f17db450 [0x000072b2f17db080+0x00000000000003d0]
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V+564
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Lorg/eclipse/e4/ui/model/application/MApplicationElement;Lorg/eclipse/e4/core/contexts/IEclipseContext;)Ljava/lang/Object;+57
j  org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(Lorg/eclipse/e4/ui/model/application/MApplicationElement;)V+20
j  org.eclipse.ui.internal.Workbench.lambda$3(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;[I)V+392
j  org.eclipse.ui.internal.Workbench$$Lambda$284+0x00000001002cee20.run()V+12
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+16
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+113
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+138
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+85
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+79
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+99
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+132
v  ~StubRoutines::call_stub
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@17.0.10
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+133 java.base@17.0.10
j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@17.0.10
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@17.0.10
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+202
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+159
j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j  org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub

and here the thread dumping for gnome-shell

mar 31 18:03:39 ThinkArch kernel: gnome-shell[12001]: segfault at fffffffeff1c0240 ip 00007937abb68d72 sp 00007ffcf38eb728 error 5 in libgobject-2.0.so.0.8000.0[7937abb3c000+36000] likely on CPU 1 >
mar 31 18:03:39 ThinkArch kernel: Code: 47 48 8b 07 48 85 c0 74 3f 48 8b 00 48 3d fc 03 00 00 77 2c 48 8d 15 dd 63 02 00 48 c1 e8 02 48 8b 04 c2 31 d2 48 85 c0 74 0f <0f> b6 50 14 48 39 74 d0 48 0f>
mar 31 18:03:39 ThinkArch systemd[1]: Started Process Core Dump (PID 16270/UID 0).
mar 31 18:03:40 ThinkArch rtkit-daemon[622]: Supervising 9 threads of 7 processes of 1 users.
mar 31 18:03:40 ThinkArch rtkit-daemon[622]: Successfully made thread 16272 of process 16263 owned by '1000' RT at priority 5.
mar 31 18:03:40 ThinkArch rtkit-daemon[622]: Supervising 10 threads of 8 processes of 1 users.
mar 31 18:03:40 ThinkArch rtkit-daemon[622]: Supervising 10 threads of 8 processes of 1 users.
mar 31 18:03:40 ThinkArch rtkit-daemon[622]: Successfully made thread 16282 of process 16263 owned by '1000' RT at priority 5.
mar 31 18:03:40 ThinkArch rtkit-daemon[622]: Supervising 11 threads of 8 processes of 1 users.
mar 31 18:04:01 ThinkArch systemd-coredump[16277]: [?] Process 12001 (gnome-shell) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 12001:
                                                   #0  0x00007937abb68d72 g_type_check_instance_is_fundamentally_a (libgobject-2.0.so.0 + 0x38d72)
                                                   #1  0x00007937abb4db07 g_object_ref (libgobject-2.0.so.0 + 0x1db07)
                                                   #2  0x00007937aaf76e87 n/a (libmutter-14.so.0 + 0x176e87)
                                                   #3  0x00007937aaf6b80f n/a (libmutter-14.so.0 + 0x16b80f)
                                                   #4  0x00007937aa411596 n/a (libffi.so.8 + 0x7596)
                                                   #5  0x00007937aa40e00e n/a (libffi.so.8 + 0x400e)
                                                   #6  0x00007937aa410bd3 ffi_call (libffi.so.8 + 0x6bd3)
                                                   #7  0x00007937aa1f8ada n/a (libwayland-server.so.0 + 0x8ada)
                                                   #8  0x00007937aa1fd180 n/a (libwayland-server.so.0 + 0xd180)
                                                   #9  0x00007937aa1fbae2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbae2)
                                                   #10 0x00007937aaf4efcd n/a (libmutter-14.so.0 + 0x14efcd)
                                                   #11 0x00007937ab540199 n/a (libglib-2.0.so.0 + 0x5a199)
                                                   #12 0x00007937ab59f3bf n/a (libglib-2.0.so.0 + 0xb93bf)
                                                   #13 0x00007937ab540dc7 g_main_loop_run (libglib-2.0.so.0 + 0x5adc7)
                                                   #14 0x00007937aaeca00b meta_context_run_main_loop (libmutter-14.so.0 + 0xca00b)
                                                   #15 0x00007937aa411596 n/a (libffi.so.8 + 0x7596)
                                                   #16 0x00007937aa40e00e n/a (libffi.so.8 + 0x400e)
                                                   #17 0x00007937aa410bd3 ffi_call (libffi.so.8 + 0x6bd3)
                                                   #18 0x00007937ab3c9fe1 n/a (libgjs.so.0 + 0x4bfe1)
                                                   #19 0x00007937ab3ca688 n/a (libgjs.so.0 + 0x4c688)
                                                   #20 0x00007937a99652da n/a (libmozjs-115.so + 0x15652da)
                                                   #21 0x00007937a95d8b01 n/a (libmozjs-115.so + 0x11d8b01)
                                                   #22 0x00007937a95d3ec5 n/a (libmozjs-115.so + 0x11d3ec5)
                                                   #23 0x00007937a9aba1b1 _ZN2JS4CallEP9JSContextNS_6HandleINS_5ValueEEES4_RKNS_16HandleValueArrayENS_13MutableHandleIS3_EE (libmozjs-115.so + 0x16ba>
                                                   #24 0x00007937ab400f02 n/a (libgjs.so.0 + 0x82f02)
                                                   #25 0x00007937ab40917f gjs_context_eval_module (libgjs.so.0 + 0x8b17f)
                                                   #26 0x00007937ab409481 gjs_context_eval_module_file (libgjs.so.0 + 0x8b481)
                                                   #27 0x00005a9db6fd757f n/a (gnome-shell + 0x257f)
                                                   #28 0x00007937aac43cd0 n/a (libc.so.6 + 0x25cd0)
                                                   #29 0x00007937aac43d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                   #30 0x00005a9db6fd79e5 n/a (gnome-shell + 0x29e5)
 

Offline

#12 2024-03-31 16:24:40

seth
Member
Registered: 2012-09-03
Posts: 54,177

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

The adwaita theme got broken but that will only be exposed by clients that are trying to use "legacy" cursor names (or what gnome deems so)

libwebkit2gtk-4.1.so isn't part of https://archlinux.org/packages/extra/x86_64/webkit2gtk/ - you're using https://archlinux.org/packages/extra/x8 … t2gtk-4.1/ ?

Offline

#13 2024-03-31 16:32:03

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

Yes, and I was sure that was needed by eclipse.
Instead is the other way around: eclipse works with mainstream version, while -4.1 is needed by

Richiesto da              : devhelp  evolution  evolution-data-server  freerdp  gnome-notes  lutris  sushi  yelp

Offline

#14 2024-03-31 16:34:27

seth
Member
Registered: 2012-09-03
Posts: 54,177

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

Put the mainstream lib into the elicpse path (/opt, I guess?) and either LD_PREOLAD it or extend the LD_LIBRARY_PATH for elipse.
The OP likely still applies.

Offline

#15 2024-03-31 16:38:58

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

Well at that point I'll just stick with X11 backend for eclipse and wait for updates on the libs.
I still can't get why official Gnome apps rely on old version of core libraries, tho.

Offline

#16 2024-04-14 10:54:44

4javier
Member
From: Italia
Registered: 2010-12-01
Posts: 115

Re: eclipse IDE periodically crushed with webkit2gtk 2.44.0-1

Issue still present with webkit2gtk 2.44.1, even if its changelog was mentioning some bugfix about web view and other crashes source.

Offline

Board footer

Powered by FluxBB