Sarrus1 / sourcepawn-studio

VSCode extension for SourcePawn scripting
https://sarrus1.github.io/sourcepawn-studio/
MIT License
140 stars 22 forks source link

attempt to subtract with overflow #318

Closed Sarrus1 closed 1 year ago

Sarrus1 commented 1 year ago
Report Version: 104

Application Specific Information:
attempt to subtract with overflow

Thread 0 Crashed:
0   sourcepawn_lsp.exe              0x7ff7d63d03f9      std::sys_common::backtrace::__rust_end_short_backtrace<T> (backtrace.rs:150)
1   sourcepawn_lsp.exe              0x7ff7d63d2670      std::panicking::begin_panic_handler (panicking.rs:579)
2   core                            0x7ff7d642f125      core::panicking::panic_fmt (panicking.rs:64)
3   core                            0x7ff7d642f1dc      core::panicking::panic (panicking.rs:114)
4   sourcepawn_lsp.exe              0x7ff7d5ef3278      sourcepawn_lsp::providers::semantic_tokens::builder::SemanticTokensBuilder::push (builder.rs:73)
5   sourcepawn_lsp.exe              0x7ff7d5ef07d5      sourcepawn_lsp::providers::semantic_tokens::builder::SemanticTokensBuilder::build_enum (build_enum.rs:24)
6   sourcepawn_lsp.exe              0x7ff7d5d47165      sourcepawn_lsp::providers::semantic_tokens::provide_semantic_tokens (semantic_tokens.rs:46)
7   sourcepawn_lsp.exe              0x7ff7d5ca9d90      core::ops::function::FnOnce::call_once (function.rs:250)
8   sourcepawn_lsp.exe              0x7ff7d5f0531f      sourcepawn_lsp::server::requests::impl$0::handle_feature_request::closure$0 (requests.rs:85)
9   sourcepawn_lsp.exe              0x7ff7d5da43bd      sourcepawn_lsp::server::impl$0::spawn::closure$0 (mod.rs:163)
10  sourcepawn_lsp.exe              0x7ff7d5da2015      threadpool::impl$0::call_box (lib.rs:95)
11  sourcepawn_lsp.exe              0x7ff7d5f8d2b9      threadpool::spawn_in_pool::closure$0 (lib.rs:769)
12  sourcepawn_lsp.exe              0x7ff7d5f92cee      [inlined] std::sys_common::backtrace::__rust_begin_short_backtrace<T> (backtrace.rs:134)
13  sourcepawn_lsp.exe              0x7ff7d5f92cee      std::sys_common::backtrace::__rust_begin_short_backtrace<T> (backtrace.rs:134)
14  sourcepawn_lsp.exe              0x7ff7d5f9142e      std::thread::impl$0::spawn_unchecked_::closure$1::closure$0<T> (mod.rs:560)
15  sourcepawn_lsp.exe              0x7ff7d5f940ae      core::panic::unwind_safe::impl$23::call_once<T> (unwind_safe.rs:271)
16  sourcepawn_lsp.exe              0x7ff7d5f9f9f8      std::panicking::try::do_call<T> (panicking.rs:487)
17  sourcepawn_lsp.exe              0x7ff7d5fa0463      core::option::impl$6::default<T>
18  sourcepawn_lsp.exe              0x7ff7d5f9f8ea      std::panicking::try<T> (panicking.rs:451)
19  sourcepawn_lsp.exe              0x7ff7d5f9429e      std::panic::catch_unwind<T> (panic.rs:140)
20  sourcepawn_lsp.exe              0x7ff7d5f912b4      std::thread::impl$0::spawn_unchecked_::closure$1<T> (mod.rs:559)
21  sourcepawn_lsp.exe              0x7ff7d5f8aebe      core::ops::function::FnOnce::call_once<T> (function.rs:250)
22  sourcepawn_lsp.exe              0x7ff7d63df10c      [inlined] alloc::boxed::impl$45::call_once (boxed.rs:1987)
23  sourcepawn_lsp.exe              0x7ff7d63df10c      [inlined] alloc::boxed::impl$45::call_once (boxed.rs:1987)
24  sourcepawn_lsp.exe              0x7ff7d63df10c      std::sys::windows::thread::impl$0::new::thread_start (thread.rs:56)
25  KERNEL32.DLL                    0x7ff9d2ea7033      BaseThreadInitThunk
26  ntdll.dll                       0x7ff9d36a2650      RtlUserThreadStart