Skip to content

[JavaException] could not initialize logging: JavaException #1782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LunarN0v4 opened this issue May 28, 2025 · 2 comments
Open

[JavaException] could not initialize logging: JavaException #1782

LunarN0v4 opened this issue May 28, 2025 · 2 comments

Comments

@LunarN0v4
Copy link

RUST_BACKTRACE=full signal-cli:

thread '<unnamed>' panicked at rust/bridge/jni/impl/src/logging.rs:166:56:
could not initialize logging: JavaException
stack backtrace:
   0:     0x74c7b299e65a - <unknown>
   1:     0x74c7b2334163 - <unknown>
   2:     0x74c7b299b7f3 - <unknown>
   3:     0x74c7b299e4b2 - <unknown>
   4:     0x74c7b299f518 - <unknown>
   5:     0x74c7b299f37e - <unknown>
   6:     0x74c7b299fad7 - <unknown>
   7:     0x74c7b299f97a - <unknown>
   8:     0x74c7b299eb09 - <unknown>
   9:     0x74c7b299f61c - <unknown>
  10:     0x74c7b2292420 - <unknown>
  11:     0x74c7b2292826 - <unknown>
  12:     0x74c7b277bf17 - Java_org_signal_libsignal_internal_Native_Logger_1Initialize
  13:     0x74c81fc6bac0 - <unknown>
fatal error: could not initialize logging: JavaException

java --version:

openjdk 21.0.7 2025-04-15 LTS
OpenJDK Runtime Environment Temurin-21.0.7+6 (build 21.0.7+6-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.7+6 (build 21.0.7+6-LTS, mixed mode, sharing)
@AsamK
Copy link
Owner

AsamK commented May 28, 2025

@LunarN0v4
Copy link
Author

Crashing in libsignal-client: https://github.com/signalapp/libsignal/blob/main/rust/bridge/jni/impl/src/logging.rs#L166

would like to mention, this happens specifically when running signal-cli with subprocess.exec provided by bun.sh
i retrieved the java --version from there as well, so i know it cant be the java version (unless im missing something)
this might also be a bun issue, and if that is the case, ill forward this issue to their repo, but i want to start here just incase it is a signal-cli/libsignal issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants