Bug: AppImage and .deb crash on startup (missing Rust symbol)
Description
The application fails to start both as an AppImage and when installed via .deb.
When launched from terminal, it throws a runtime error related to a missing Rust symbol:
Failed to lookup symbol 'frb_get_rust_content_hash'
When launched via GUI, the app exits immediately without any visible error.
Steps to Reproduce
1. AppImage
chmod +x OxiCloud-linux-x86_64.AppImage # set executable
./OxiCloud-linux-x86_64.AppImage # start app
2. .deb package
sudo apt install ./OxiCloud-linux-amd64.deb # install
oxicloud # start app
Expected Behavior
Application should start normally.
Actual Behavior
- Terminal: crash with Rust symbol lookup error
- GUI: silent crash (instant exit)
Error Logs
AppImage and .deb install
Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'frb_get_rust_content_hash':
/tmp/.mount_.../liboxicloud_core.so: undefined symbol: frb_get_rust_content_hash
Additional Context
Error suggests a mismatch between:
- Flutter bindings (flutter_rust_bridge)
- Compiled Rust library (
liboxicloud_core.so)
The symbol frb_get_rust_content_hash is expected but not present in the shared library.
Attempted Fix: Manual Build
Rust build
cd rust
cargo build --release
Build succeeds.
Flutter setup
flutter pub get
flutter_rust_bridge_codegen generate
Flutter build
flutter build linux --release
Fails with:
error: 'app_indicator_new' is deprecated [-Werror]
Environment
| Component |
Version |
| OS |
Debian GNU/Linux 13 (trixie) |
| Kernel |
6.12.73+deb13-amd64 |
| Arch |
x86_64 |
| rustc |
1.94.0 |
| cargo |
1.94.0 |
| cmake |
3.31.6 |
| ninja |
1.12.1 |
| Dart |
3.11.3 |
| Flutter |
3.41.5 |
| DevTools |
2.54.2 |
flutter doctor -v
[✓] Flutter (3.41.5)
[✓] Android toolchain
[✓] Chrome
[✓] Linux toolchain
[✓] Connected device
[✓] Network resources
No issues found!
Notes
- Issue reproducible on clean Debian 13 system
- Happens consistently with both distribution formats
- Manual build currently blocked by unrelated Flutter plugin warning treated as error
Bug: AppImage and .deb crash on startup (missing Rust symbol)
Description
The application fails to start both as an AppImage and when installed via
.deb.When launched from terminal, it throws a runtime error related to a missing Rust symbol:
When launched via GUI, the app exits immediately without any visible error.
Steps to Reproduce
1. AppImage
2. .deb package
Expected Behavior
Application should start normally.
Actual Behavior
Error Logs
AppImage and .deb install
Additional Context
Error suggests a mismatch between:
liboxicloud_core.so)The symbol
frb_get_rust_content_hashis expected but not present in the shared library.Attempted Fix: Manual Build
Rust build
cd rust cargo build --releaseBuild succeeds.
Flutter setup
Flutter build
Fails with:
Environment
flutter doctor -vNotes