Skip to content
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

Stack overflow when installing game #94

Open
topas-rec opened this issue Oct 20, 2022 · 2 comments
Open

Stack overflow when installing game #94

topas-rec opened this issue Oct 20, 2022 · 2 comments

Comments

@topas-rec
Copy link

I get a stack overflow (know that from message in terminal) and the launcher crashes when I install the game.
The downloads of the game start and after a minute or so with quiet some download progress the launcher application crashes.
There are plenty files downloaded.

I used sciter in version 4.4.8.19 to work around #93

@topas-rec
Copy link
Author

I use arch linux

@topas-rec
Copy link
Author

topas-rec commented Oct 21, 2022

Terminal output
[tobiasb@tobias-pc Launcher]$ export PATH=$PATH:~/DATA/Games/renegade-X/src/sciter-js-sdk/bin/linux/x64/
[tobiasb@tobias-pc Launcher]$ ./run.sh 
    Updating crates.io index
    Updating git repository `https://github.com/SonnyX/RenegadeX-patcher-lib`
    Updating git repository `https://github.com/SonnyX/rust-runas`
    Updating git repository `https://github.com/SonnyX/unzip-rs`
    Updating git repository `https://github.com/SonnyX/xdelta-decoder-rust.git`
    Updating futures v0.3.24 -> v0.3.25
    Updating futures-channel v0.3.24 -> v0.3.25
    Updating futures-core v0.3.24 -> v0.3.25
    Updating futures-executor v0.3.24 -> v0.3.25
    Updating futures-io v0.3.24 -> v0.3.25
    Updating futures-macro v0.3.24 -> v0.3.25
    Updating futures-sink v0.3.24 -> v0.3.25
    Updating futures-task v0.3.24 -> v0.3.25
    Updating futures-util v0.3.24 -> v0.3.25
    Updating getrandom v0.2.7 -> v0.2.8
    Updating syn v1.0.102 -> v1.0.103
  Downloaded futures-util v0.3.25
  Downloaded futures-executor v0.3.25
  Downloaded futures-macro v0.3.25
  Downloaded futures-io v0.3.25
  Downloaded futures v0.3.25
  Downloaded futures-core v0.3.25
  Downloaded futures-channel v0.3.25
  Downloaded syn v1.0.103
  Downloaded getrandom v0.2.8
  Downloaded futures-task v0.3.25
  Downloaded futures-sink v0.3.25
  Downloaded 11 crates (578.8 KB) in 1.09s
   Compiling syn v1.0.103
   Compiling futures-core v0.3.25
   Compiling futures-sink v0.3.25
   Compiling futures-channel v0.3.25
   Compiling futures-task v0.3.25
   Compiling futures-util v0.3.25
   Compiling futures-io v0.3.25
   Compiling getrandom v0.2.8
   Compiling renegade-x-launcher v0.9.36 (/home/tobiasb/DATA/Games/renegade-X/src/Launcher/backend)
   Compiling ahash v0.7.6
   Compiling rand_core v0.6.4
   Compiling hashbrown v0.12.3
   Compiling password-hash v0.4.2
   Compiling rand_chacha v0.3.1
   Compiling pbkdf2 v0.11.0
   Compiling rand v0.8.5
   Compiling indexmap v1.9.1
   Compiling ordered-multimap v0.4.3
   Compiling zip v0.6.3
   Compiling rust-ini v0.18.0
   Compiling unzip v1.0.1 (https://github.com/SonnyX/unzip-rs#65e00fff)
   Compiling tokio-macros v1.8.0
   Compiling futures-macro v0.3.25
   Compiling openssl-macros v0.1.0
   Compiling thiserror-impl v1.0.37
   Compiling async-trait v0.1.58
   Compiling openssl v0.10.42
   Compiling tokio v1.21.2
   Compiling thiserror v1.0.37
   Compiling single-instance v0.3.3
   Compiling flexi_logger v0.24.0
   Compiling native-tls v0.2.10
   Compiling futures-executor v0.3.25
   Compiling tokio-util v0.7.4
   Compiling async-compression v0.3.15
   Compiling tokio-util v0.6.10
   Compiling tokio-native-tls v0.3.0
   Compiling futures v0.3.25
   Compiling h2 v0.3.14
   Compiling hyper v0.14.20
   Compiling hyper-tls v0.5.0
   Compiling download-async v0.10.8
   Compiling renegadex_patcher v0.9.6 (https://github.com/SonnyX/RenegadeX-patcher-lib#8a3e9154)
warning: unused variable: `error`
  --> src/handler.rs:45:47
   |
45 |   fn check_update(&self, done: sciter::Value, error: sciter::Value) -> Result<(), Error> {
   |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `callback_done`
   --> src/handler.rs:240:32
    |
240 |   fn remove_unversioned(&self, callback_done: sciter::Value, error: sciter::Value) {
    |                                ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback_done`

warning: unused variable: `error`
   --> src/handler.rs:240:62
    |
240 |   fn remove_unversioned(&self, callback_done: sciter::Value, error: sciter::Value) {
    |                                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`

warning: `renegade-x-launcher` (bin "renegade-x-launcher") generated 3 warnings
    Finished dev [unoptimized + debuginfo] target(s) in 38.90s
     Running `backend/target/debug/renegade-x-launcher`
Log is written to /home/tobiasb/.config/Renegade X/logs/renegade-x-launcher_rCURRENT.log

(renegade-x-launcher:43039): Gtk-WARNING **: 08:02:08.289: gtk_window_set_titlebar() called on a realized window

thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
./run.sh: line 5: 43039 Aborted                 (core dumped) cargo run --manifest-path backend/Cargo.toml

Log file attached
renegade-x-launcher_r00009.log

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

1 participant