Package Details: apachedirectorystudio 2.0.0.v20210717.17-0

Git Clone URL: https://aur.archlinux.org/apachedirectorystudio.git (read-only, click to copy)
Package Base: apachedirectorystudio
Description: Eclipse based LDAP browser and directory client
Upstream URL: https://directory.apache.org/studio/
Keywords: LDAP openldap
Licenses: Apache
Submitter: None
Maintainer: zokker13
Last Packager: zokker13
Votes: 85
Popularity: 0.85
First Submitted: 2009-02-13 21:06 (UTC)
Last Updated: 2022-04-19 16:15 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

too commented on 2023-09-01 08:33 (UTC) (edited on 2023-09-01 08:36 (UTC) by too)

I confirm exact error reported by cbueche. Core dump backtrace shows the following (looks like symbols for apache ds are not available):

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fcf17a8e8a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fcf17a3e668 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fcf17a264b8 in __GI_abort () at abort.c:79
#4  0x00007fcf16851054 in os::die() () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#5  0x00007fcf17537d0d in VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#6  0x00007fcf1753871f in VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#7  0x00007fcf17538752 in VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#8  0x00007fcf173d15d9 in JVM_handle_linux_signal () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#9  0x00007fcd166fc024 in  () at /usr/lib/libjavascriptcoregtk-4.0.so.18
#10 0x00007fcf17a3e710 in <signal handler called> () at /usr/lib/libc.so.6
#11 0x00007fcd82c36f48 in Java_org_eclipse_swt_internal_C_strlen () at /home/too/.eclipse/1591715926_linux_gtk_x86_64/configuration/org.eclipse.osgi/392/0/.cp/libswt-gtk-4940r23.so
#12 0x00007fcf010d21e4 in  ()
#13 0x00007fcf165fa788 in  ()
#14 0x00007fcf00630bdd in  ()
#15 0x00007fcf0061fb10 in  ()
#16 0x0000000000000000 in  ()

Stack trace suggests WebKitGTK might be at fault but it is just a guess:

       Message: Process 617987 (java) of user 1000 dumped core.

                Stack trace of thread 617988:
                #0  0x00007fcf17a8e83c n/a (libc.so.6 + 0x8e83c)
                #1  0x00007fcf17a3e668 raise (libc.so.6 + 0x3e668)
                #2  0x00007fcf17a264b8 abort (libc.so.6 + 0x264b8)
                #3  0x00007fcf16851054 n/a (libjvm.so + 0x251054)
                #4  0x00007fcf17537d0d n/a (libjvm.so + 0xf37d0d)
                #5  0x00007fcf1753871f n/a (libjvm.so + 0xf3871f)
                #6  0x00007fcf17538752 n/a (libjvm.so + 0xf38752)
                #7  0x00007fcf173d15d9 JVM_handle_linux_signal (libjvm.so + 0xdd15d9)
                #8  0x00007fcd166fc024 n/a (libjavascriptcoregtk-4.0.so.18 + 0x10fc024)
                #9  0x00007fcf17a3e710 n/a (libc.so.6 + 0x3e710)
                #10 0x00007fcd82c36f48 Java_org_eclipse_swt_internal_C_strlen (/home/too/.eclipse/1591715926_linux_gtk_x86_64/configuration/org.eclipse.osgi/392/0/.cp/libswt-gtk-4940r23.so + 0x36f48)
                #11 0x00007fcf010d21e4 n/a (n/a + 0x0)
                #12 0x00007fcf00620352 n/a (n/a + 0x0)
                #13 0x00007fcf00620397 n/a (n/a + 0x0)
                #14 0x00007fcf00617cc9 n/a (n/a + 0x0)
                #15 0x00007fcf16e47942 n/a (libjvm.so + 0x847942)
                #16 0x00007fcf16ee5044 n/a (libjvm.so + 0x8e5044)
                #17 0x00007fcf16ee7875 n/a (libjvm.so + 0x8e7875)
                #18 0x00007fcd82c37665 callback (/home/too/.eclipse/1591715926_linux_gtk_x86_64/configuration/org.eclipse.osgi/392/0/.cp/libswt-gtk-4940r23.so + 0x37665)
                #19 0x00007fcd82c3b059 fn53_2 (/home/too/.eclipse/1591715926_linux_gtk_x86_64/configuration/org.eclipse.osgi/392/0/.cp/libswt-gtk-4940r23.so + 0x3b059)
                #20 0x00007fcecd95c6c0 g_closure_invoke (libgobject-2.0.so.0 + 0x146c0)
                #21 0x00007fcecd98a938 n/a (libgobject-2.0.so.0 + 0x42938)
                #22 0x00007fcecd97baa7 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33aa7)
                #23 0x00007fcecd97bd34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
                #24 0x00007fcd1780508a n/a (libwebkit2gtk-4.0.so.37 + 0xa0508a)
                #25 0x00007fcd177ef1d3 n/a (libwebkit2gtk-4.0.so.37 + 0x9ef1d3)
                #26 0x00007fcd177f0bb3 n/a (libwebkit2gtk-4.0.so.37 + 0x9f0bb3)
                #27 0x00007fcd177f10c7 n/a (libwebkit2gtk-4.0.so.37 + 0x9f10c7)
                #28 0x00007fcd177a1fb4 n/a (libwebkit2gtk-4.0.so.37 + 0x9a1fb4)
                #29 0x00007fcd17879051 n/a (libwebkit2gtk-4.0.so.37 + 0xa79051)
                #30 0x00007fcd17879545 n/a (libwebkit2gtk-4.0.so.37 + 0xa79545)
                #31 0x00007fcd17879a93 webkit_web_view_run_javascript (libwebkit2gtk-4.0.so.37 + 0xa79a93)
                #32 0x00007fcd81a068bd Java_org_eclipse_swt_internal_webkit_WebKitGTK_webkit_1web_1view_1run_1javascript (/home/too/.eclipse/1591715926_linux_gtk_x86_64/configuration/org.eclipse.osgi/392/0/.cp/libswt-webkit-gtk-4940r23.so + 0x68bd)
                #33 0x00007fcf0062453a n/a (n/a + 0x0)
                #34 0x00007fcf0062023e n/a (n/a + 0x0)
                #35 0x00007fcf00620397 n/a (n/a + 0x0)
                #36 0x00007fcf00620352 n/a (n/a + 0x0)
                #37 0x00007fcf0062023e n/a (n/a + 0x0)
                #38 0x00007fcf00620352 n/a (n/a + 0x0)
                #39 0x00007fcf0062023e n/a (n/a + 0x0)
                #40 0x00007fcf0062023e n/a (n/a + 0x0)
                #41 0x00007fcf012396a8 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

Can it be that OpenJDK/apacheds was built against an older WebKitGTK?

cbueche commented on 2023-04-24 09:30 (UTC) (edited on 2023-04-24 09:31 (UTC) by cbueche)

Hi, I cannot start ADS, it crashes on me, I tried several Java versions. Error is

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f9838a36f48, pid=16986, tid=16987
#
# JRE version: OpenJDK Runtime Environment (11.0.19+7) (build 11.0.19+7)
# Java VM: OpenJDK 64-Bit Server VM (11.0.19+7, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libswt-gtk-4940r23.so+0x36f48]  Java_org_eclipse_swt_internal_C_strlen+0xf

I tried export GDK_BACKEND=x11, same issue. I can provide (huge) log files if that helps.

Hints welcome; thx, Charles

dronotte commented on 2022-11-01 12:24 (UTC) (edited on 2022-11-01 12:24 (UTC) by dronotte)

After updating system ran into a problem with truststore while connecting to ldap server

Error while opening connection
 - problem accessing trust store
java.lang.RuntimeException: problem accessing trust store
    at org.apache.directory.ldap.client.api.LdapConnectionConfig.setDefaultTrustManager(LdapConnectionConfig.java:143)
    at org.apache.directory.ldap.client.api.LdapConnectionConfig.<init>(LdapConnectionConfig.java:121)
    at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doConnect(DirectoryApiConnectionWrapper.java:158)
    at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.connect(DirectoryApiConnectionWrapper.java:144)
    at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:111)
    at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:109)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.security.KeyStoreException: problem accessing trust store
    at java.base/sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:73)
    at java.base/javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:278)
    at org.apache.directory.ldap.client.api.LdapConnectionConfig.setDefaultTrustManager(LdapConnectionConfig.java:137)
    ... 6 more
Caused by: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.
    at java.base/sun.security.util.DerInputStream.getLength(DerInputStream.java:602)
    at java.base/sun.security.util.DerValue.init(DerValue.java:411)
    at java.base/sun.security.util.DerValue.<init>(DerValue.java:352)
    at java.base/sun.security.util.DerValue.<init>(DerValue.java:365)
    at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1973)
    at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:222)
    at java.base/java.security.KeyStore.load(KeyStore.java:1479)
    at java.base/sun.security.ssl.TrustStoreManager$TrustAnchorManager.loadKeyStore(TrustStoreManager.java:365)
    at java.base/sun.security.ssl.TrustStoreManager$TrustAnchorManager.getTrustedCerts(TrustStoreManager.java:313)
    at java.base/sun.security.ssl.TrustStoreManager.getTrustedCerts(TrustStoreManager.java:55)
    at java.base/sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:49)
    ... 8 more

problem accessing trust store

zokker13 commented on 2022-04-19 16:15 (UTC)

You know what? You are right. I removed it, enjoy!

luntik2012 commented on 2022-04-19 08:13 (UTC) (edited on 2022-04-19 08:14 (UTC) by luntik2012)

why don't you remove upper version limit? it's a constant problem of this package

theo024 commented on 2021-10-13 16:55 (UTC)

The jre-openjdk package now provides a Java 17 runtime, following @stefseel comment, the current version of Apache Directory Studio is compatible with it. Could you modify the java-runtime dependency accordingly? Thanks

zokker13 commented on 2021-08-14 12:18 (UTC)

Okay, I've updated to M17 and allow Java16. I hope this resolves the issues! Thanks for leeting me know @stefseel and @kawasakai. Much appreciated.

stefseel commented on 2021-08-10 17:21 (UTC)

The modification logs bug with Java 16+ is fixed in 2.0.0.v20210717-M17, this was also tested with the upcoming Java 17.

kawasakai commented on 2021-08-10 14:26 (UTC) (edited on 2021-08-10 14:27 (UTC) by kawasakai)

I had to update, because my modification logs stopped working, I changed

depends=('java-runtime>=11' 'java-runtime<=16' 'python' 'libsecret')
pkgver=2.0.0.v20210717.17

and updated pkgsums, seems to work fine.

Vain commented on 2021-06-17 12:36 (UTC)

Needs another Java version bump. Appears to work with jre-openjdk-16.0.1.