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

Assertion error #2

Open
TomDotBat opened this issue Jan 14, 2025 · 1 comment
Open

Assertion error #2

TomDotBat opened this issue Jan 14, 2025 · 1 comment

Comments

@TomDotBat
Copy link

The following error is sometimes raised as a result of using file.AsyncAppend:

thread 'gm_async_write' panicked at 'assertion failed: (*self.data.get()).is_none()', /rustc/75d9a0ae210dcd078b3985e3550b59064e6603bc/library/std/src/sync/mpsc/oneshot.rs:89:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Environment details:

Protocol version 24
Exe version 2024.10.29 (garrysmod)
Exe build: 14:29:14 Dec  9 2024 (9529) (4000)
GMod version 2024.12.09, branch: unknown
Linux 32bit Dedicated Server
@TomDotBat
Copy link
Author

After further testing this actually results in a crash:

thread 'gm_async_write' panicked at 'called `Result::unwrap()` on an `Err` value: PoisonError { .. }', /github/home/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/tokio-1.11.0/src/runtime/blocking/pool.rs:274:86
stack backtrace:
   0: 0xebb25d65 - <unknown>
   1: 0xebaef398 - <unknown>
   2: 0xebb23091 - <unknown>
   3: 0xebb28422 - <unknown>
   4: 0xebb28182 - <unknown>
   5: 0xebb28b20 - <unknown>
   6: 0xebb2887f - <unknown>
   7: 0xebb26282 - <unknown>
   8: 0xebb28563 - <unknown>
   9: 0xebaea9a5 - <unknown>
  10: 0xebaeaa42 - <unknown>
  11: 0xebb45a49 - <unknown>
  12: 0xebb449dc - <unknown>
  13: 0xebb46239 - <unknown>
  14: 0xebb438b3 - <unknown>
  15: 0xebb355ac - <unknown>
  16: 0xebb2c6a4 - <unknown>
  17: 0xf41af47d - <unknown>
  18: 0xf4248546 - __clone
  19:        0x0 - <unknown>
thread 'gm_async_write' panicked at 'assertion failed: (*n).value.is_none()', /rustc/75d9a0ae210dcd078b3985e3550b59064e6603bc/library/std/src/sync/mpsc/spsc_queue.rs:130:13
stack backtrace:
   0: 0xebb25d65 - <unknown>
   1: 0xebaef398 - <unknown>
   2: 0xebb23091 - <unknown>
   3: 0xebb28422 - <unknown>

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