openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Crash

Open iplayfast opened this issue 6 months ago • 3 comments

openhuman 11:48:17:INF:log [startup] platform: arch=x86_64 os=linux os_version=n/a log.target="openhuman" log.module_path="openhuman" log.file="src/lib.rs" log.line=1312 11:48:17:INF:log [cef-profile] configured CEF cache user=local path=/home/chris/.openhuman/users/local/cef log.target="openhuman::cef_profile" log.module_path="openhuman::cef_profile" log.file="src/cef_profile.rs" log.line=302 11:48:17:INF:log [fake-camera] reusing cached mascot Y4M path=/home/chris/.openhuman/cache/fake_camera/mascot-640x480-7bef83a14018aa57.y4m log.target="openhuman::fake_camera" log.module_path="openhuman::fake_camera" log.file="src/fake_camera/mod.rs" log.line=50 11:48:17:INF:log [cef-startup] fake-camera y4m path=/home/chris/.openhuman/cache/fake_camera/mascot-640x480-7bef83a14018aa57.y4m log.target="openhuman" log.module_path="openhuman" log.file="src/lib.rs" log.line=1452 Gtk-Message: 11:48:17.415: Failed to load module "xapp-gtk3-module"

DevTools listening on ws://127.0.0.1:19222/devtools/browser/14fd54c3-43a0-4771-8a5e-3d965347a350 data directory is not yet implemented [755892:755892:0515/114817.517710:ERROR:base/memory/shared_memory_switch.cc:289] Failed global descriptor lookup: 7 11:48:17:INF:log [webview_apis] server listening on 127.0.0.1:43393 (OS-assigned ephemeral) log.target="openhuman::webview_apis::server" log.module_path="openhuman::webview_apis::server" log.file="src/webview_apis/server.rs" log.line=76 11:48:17:INF:log [webview_apis] bridge ready on port 43393 log.target="openhuman" log.module_path="openhuman" log.file="src/lib.rs" log.line=1590 11:48:17:INF:log [tray] deferring tray setup to RunEvent::Ready log.target="openhuman" log.module_path="openhuman" log.file="src/lib.rs" log.line=1850 11:48:17:INF:log [app] RunEvent::Ready — GTK initialized, setting up tray log.target="openhuman" log.module_path="openhuman" log.file="src/lib.rs" log.line=2191 11:48:17:WRN:log [tray] skipping tray setup on linux: tray menu creation still panics inside GTK during packaged runs log.target="openhuman" log.module_path="openhuman" log.file="src/lib.rs" log.line=952 [755831:755871:0515/114817.619644:ERROR:crypto/nss_util.cc:256] Error initializing NSS with a persistent database (sql:/home/chris/.pki/nssdb): /tmp/.mount_openhremp8270100765463228128/shared/lib/libm.so.6: version `GLIBC_2.38' not found (required by /usr/lib/x86_64-linux-gnu/libsqlite3.so.0) [755831:755871:0515/114817.619684:ERROR:crypto/nss_util.cc:144] Error initializing NSS without a persistent database: NSS error code: -5925 [755831:755871:0515/114817.619691:FATAL:crypto/nss_util.cc:146] nss_error=-5925, os_error=0 [755892:755918:0515/114818.149114:ERROR:net/socket/ssl_client_socket_impl.cc:924] handshake failed; returned -1, SSL error code 1, net_error -3 [755892:755918:0515/114818.149211:ERROR:net/socket/ssl_client_socket_impl.cc:924] handshake failed; returned -1, SSL error code 1, net_error -3 [755892:755918:0515/114818.149544:ERROR:net/socket/ssl_client_socket_impl.cc:924] handshake failed; returned -1, SSL error code 1, net_error -3

Use a concise sentence-case title that describes the broken behavior. Do not add Bug or bracket prefixes to the title.

Summary

Looks like you are building the app with libraries that are showing their age, and not including all the libraries needed for these old decrepit libraries.

Crash on startup

Problem

What happened vs what you expected, impact, and steps to reproduce (ordered, minimal). Include version / platform (app version, OS, desktop vs dev) if known.

Solution (optional)

Suspected cause, workaround, or proposed fix. Skip if unknown.

Acceptance criteria

  • [ ] Repro gone — Bug no longer reproduces on the stated environment (or root cause documented if intentional).
  • [ ] Regression safety — Unit, integration, or E2E coverage added or updated if this should not come back.
  • [ ] Diff coverage ≥ 80% — the fix PR meets the changed-lines coverage gate (Vitest + cargo-llvm-cov, enforced by .github/workflows/coverage.yml).
  • [ ] … — Other verify-before-close items.

Related

Links to issues, PRs, logs, or prior discussion.

iplayfast avatar May 15 '26 15:05 iplayfast

This is the same NSS + sharun/lib4bin packaging issue on Linux. Detailed root cause and analysis here: https://github.com/tinyhumansai/openhuman/issues/2001#issuecomment-4472667853

aliasocracy avatar May 17 '26 22:05 aliasocracy

Shared root cause with #2001 (per @alias8818's analysis there). Status of the fix chain as of 4384cd1a:

Layer PR Coverage State
L1 #1996 Excludes bundled libc family (libc.so, libm.so, libpthread.so, …) — kills the libm.so.6: version GLIBC_2.38 not found crash in this report merged
L2 #2032 Excludes bundled NSS family (libnssutil3.so etc.) — same root, kills NSSUTIL_3.108 not found variant merged
L3 #2097 (blocks on tauri-cef#16) Keeps ld-linux from being stripped by L2's sweep + recurses into nested shared/lib/<arch>/ mirrors Merged
L4 #2096 Silent XSetErrorHandler for the _NET_WM_STATE_KEEP_ABOVE BadWindow exit on XWayland Merged

Important caveat: between #2032 merging and #2097 landing, the exclude sweep also drops ld-linux-x86-64.so.2, so the AppImage off current main fails to bootstrap with Interpreter not found! before chromium init. Retesting today would surface a different crash than the one in this report, not the fix. Waiting for #2097 + #2096 is the right move.

@iplayfast — please retest on the first nightly cut after #2097 and #2096 merge. That build should resolve both the GLIBC mismatch (already in main) and the XWayland BadWindow symptom in the original log. Will leave this open until the chain lands.

oxoxDev avatar May 19 '26 11:05 oxoxDev

@ElioNeto this issue you mentioned has already been taken care of.

YellowSnnowmann avatar May 26 '26 07:05 YellowSnnowmann