why not working JEB on Ubuntu 23.04

461 views
Skip to first unread message

Ruffalo

unread,
Jun 17, 2023, 10:44:39 AM6/17/23
to JEB Decompiler
[I] JEB 4.19.0.202208250333 (jeb-pro-floating) is starting...
[I] Current directory: /home/test
[I] Base directory: /home/test/jeb-pro-floating-4/jeb-pro-floating-4
[I] System: Linux 6.2.0-23-generic (amd64) ko_KR
[I] Java: Ubuntu 11.0.19
[I] Memory Usage: 54.0M used (163.0M free, 1.9G max)
SWT WebKitGDBus: error creating DBus server (GUnixSocketAddress) no such directory
SWT WebKit: error initializing DBus server, dBusServer == 0

(JEB:2721): GLib-GIO-CRITICAL **: 23:41:22.740: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7c9c43eb86, pid=2721, tid=2722
#
# JRE version: OpenJDK Runtime Environment (11.0.19+7) (build 11.0.19+7-post-Ubuntu-0ubuntu123.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.19+7-post-Ubuntu-0ubuntu123.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libswt-gtk-4944r26.so+0x3eb86]  Java_org_eclipse_swt_internal_C_strlen+0xf
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/test/core.2721)
#
# An error report file with more information is saved as:
# /home/test/hs_err_pid2721.log
Compiled method (nm)    6907 1583     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f7cb417c510,0x00007f7cb417c8b8] = 936
 relocation     [0x00007f7cb417c688,0x00007f7cb417c6b8] = 48
 main code      [0x00007f7cb417c6c0,0x00007f7cb417c8b0] = 496
 oops           [0x00007f7cb417c8b0,0x00007f7cb417c8b8] = 8
Compiled method (nm)    6907 1583     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f7cb417c510,0x00007f7cb417c8b8] = 936
 relocation     [0x00007f7cb417c688,0x00007f7cb417c6b8] = 48
 main code      [0x00007f7cb417c6c0,0x00007f7cb417c8b0] = 496
 oops           [0x00007f7cb417c8b0,0x00007f7cb417c8b8] = 8
Compiled method (nm)    6911 1583     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f7cb417c510,0x00007f7cb417c8b8] = 936
 relocation     [0x00007f7cb417c688,0x00007f7cb417c6b8] = 48
 main code      [0x00007f7cb417c6c0,0x00007f7cb417c8b0] = 496
 oops           [0x00007f7cb417c8b0,0x00007f7cb417c8b8] = 8
[thread 2785 also had an error]
#
# If you would like to submit a bug report, please visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./jeb-pro-floating-4/jeb-pro-floating-4/jeb_linux.sh: line 75:  2721 stop(core dump) "$JAVA" $JVMOPT -jar "$BASEDIR/bin/app/jebc.jar" "$@"

And my jdk version 
```
openjdk 11.0.19 2023-04-18
```

What happen? and how to use JEB on Ubuntu 23.04.

Nicolas Falliere

unread,
Jun 17, 2023, 11:48:31 AM6/17/23
to Ruffalo, JEB Decompiler
I will be looking into it, see if JEB 4.32 can run on Ubuntu 23.

Thank you.

Best regards,
--
Nicolas Falliere (ni...@pnfsoftware.com)
JEB Decompiler, Founder and Architect


--
You received this message because you are subscribed to the Google Groups "JEB Decompiler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jeb-decompile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jeb-decompiler/25adc7fe-4810-4140-8266-f4afeb0dab33n%40googlegroups.com.

Nicolas Falliere

unread,
Jun 20, 2023, 12:03:05 AM6/20/23
to Ruffalo, JEB Decompiler
Indeed, JEB 4 does not seem to be working on Ubuntu 23 and the latest version of GTK.

Could you try the following, with a JDK 17:
- open https://www.pnfsoftware.com/external/ui427/
- download the newest jface.jar and swt.jar that matches your system (x86_64 build, located in the lin64 folder).
- drop them in your JEB/bin/app/ folder (overwrite the existing files)
- start JEB (with a JDK 17)

Best regards,
--
Nicolas Falliere (ni...@pnfsoftware.com)
JEB Decompiler, Founder and Architect

Ruffalo

unread,
Jun 20, 2023, 12:56:31 AM6/20/23
to JEB Decompiler

Unfortunately, it still doesn't work.
2023년 6월 20일 화요일 오후 1시 3분 5초 UTC+9에 ni...@pnfsoftware.com님이 작성:

Nicolas Falliere

unread,
Jun 22, 2023, 4:29:00 PM6/22/23
to Ruffalo, JEB Decompiler
It looks like the problem is related to the webkit binder used by SWT to render HTML  pages.

When starting JEB, the Tips of the day page is displayed by default, hence triggering the problem.

Here is a hack to go around it:
- in your JEB install folder, open (or create) the file: bin/jeb-client.cfg
- add the following line:
.ui.DialogPersistenceData = TipOfTheDayDialog=doNotShow%3Dtrue
- start JEB (it should work, tested on a vanilla Ubuntu 23 install)

However, keep in mind that the html renderer is used in many areas of the program! During your usage, whenever you happen to use a widget that makes use of it, the program will crash.
A proper work-around will be put in place in the next update.

Best regards,
--
Nicolas Falliere (ni...@pnfsoftware.com)
JEB Decompiler, Founder and Architect

Ruffalo

unread,
Jun 25, 2023, 10:06:59 PM6/25/23
to JEB Decompiler
BIG THANKS
It is working !

Hava a good day.

2023년 6월 23일 금요일 오전 5시 29분 0초 UTC+9에 ni...@pnfsoftware.com님이 작성:
Reply all
Reply to author
Forward
0 new messages