Sarrus1 / sourcepawn-studio

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

called `Option::unwrap()` on a `None` value #315

Closed Sarrus1 closed 1 year ago

Sarrus1 commented 1 year ago
OS Version: windows 10.0.22000 (None)
Report Version: 104

Application Specific Information:
called `Option::unwrap()` on a `None` value

Thread 0 Crashed:
0   sourcepawn_lsp.exe              0x7ff705ead93b      [inlined] backtrace::backtrace::dbghelp::trace (dbghelp.rs:101)
1   sourcepawn_lsp.exe              0x7ff705ead93b      [inlined] backtrace::backtrace::trace_unsynchronized (mod.rs:66)
2   sourcepawn_lsp.exe              0x7ff705ead93b      backtrace::backtrace::trace<T> (mod.rs:53)
3   sourcepawn_lsp.exe              0x7ff705eacb58      [inlined] backtrace::capture::Backtrace::create (capture.rs:176)
4   sourcepawn_lsp.exe              0x7ff705eacb58      backtrace::capture::Backtrace::new (capture.rs:140)
5   sourcepawn_lsp.exe              0x7ff705ea323e      sentry_backtrace::current_stacktrace (lib.rs:26)
6   sourcepawn_lsp.exe              0x7ff705e8bf9b      sentry_panic::PanicIntegration::event_from_panic_info (lib.rs:128)
7   sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] sentry_panic::panic_handler::closure$0 (lib.rs:36)
8   sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] sentry_core::api::with_integration::closure$0::closure$0 (api.rs:237)
9   sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] sentry_core::hub::Hub::with_integration (hub.rs:83)
10  sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] sentry_core::api::with_integration::closure$0 (api.rs:237)
11  sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] sentry_core::hub::impl$0::with_active::closure$0 (hub.rs:59)
12  sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] sentry_core::hub_impl::impl$3::with::closure$0
13  sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] std::thread::local::LocalKey<T>::try_with (local.rs:270)
14  sourcepawn_lsp.exe              0x7ff705e8c976      [inlined] std::thread::local::LocalKey<T>::with (local.rs:246)
15  sourcepawn_lsp.exe              0x7ff705e8c976      sentry_core::hub::Hub::with<T> (hub_impl.rs:149)
16  sourcepawn_lsp.exe              0x7ff705e8bd33      [inlined] sentry_core::hub::Hub::with_active (hub.rs:57)
17  sourcepawn_lsp.exe              0x7ff705e8bd33      [inlined] sentry_core::api::with_integration (api.rs:237)
18  sourcepawn_lsp.exe              0x7ff705e8bd33      [inlined] sentry_panic::panic_handler (lib.rs:35)
19  sourcepawn_lsp.exe              0x7ff705e8bd33      sentry_panic::impl$1::setup::closure$0::closure$0 (lib.rs:69)
20  sourcepawn_lsp.exe              0x7ff70635d74f      [inlined] alloc::boxed::impl$49::call (boxed.rs:1999)
21  sourcepawn_lsp.exe              0x7ff70635d74f      std::panicking::rust_panic_with_hook (panicking.rs:709)
22  sourcepawn_lsp.exe              0x7ff70635d499      std::panicking::begin_panic_handler::closure$0 (panicking.rs:595)
23  sourcepawn_lsp.exe              0x7ff70635b168      std::sys_common::backtrace::__rust_end_short_backtrace<T> (backtrace.rs:151)
24  sourcepawn_lsp.exe              0x7ff70635d1df      std::panicking::begin_panic_handler (panicking.rs:593)
25  <unknown>                       0x7ff7063be655      tree_sitter_sourcepawn
26  <unknown>                       0x7ff7063be702      tree_sitter_sourcepawn
27  sourcepawn_lsp.exe              0x7ff706126b9e      [inlined] enum2$<T>::unwrap (option.rs:935)
28  sourcepawn_lsp.exe              0x7ff706126b9e      sourcepawn_lsp::providers::completion::provide_completions (completion.rs:78)
29  sourcepawn_lsp.exe              0x7ff70607065f      [inlined] core::ops::function::FnOnce::call_once (function.rs:250)
30  sourcepawn_lsp.exe              0x7ff70607065f      [inlined] sourcepawn_lsp::server::requests::impl$0::handle_feature_request::closure$0 (requests.rs:85)
31  sourcepawn_lsp.exe              0x7ff70607065f      [inlined] sourcepawn_lsp::server::impl$0::spawn::closure$0 (mod.rs:174)
32  sourcepawn_lsp.exe              0x7ff70607065f      threadpool::impl$0::call_box<T> (lib.rs:95)
33  sourcepawn_lsp.exe              0x7ff70620fae9      [inlined] threadpool::spawn_in_pool::closure$0 (lib.rs:769)
34  sourcepawn_lsp.exe              0x7ff70620fae9      std::sys_common::backtrace::__rust_begin_short_backtrace<T> (backtrace.rs:135)
35  sourcepawn_lsp.exe              0x7ff70620f388      [inlined] std::thread::impl$0::spawn_unchecked_::closure$1::closure$0 (mod.rs:529)
36  sourcepawn_lsp.exe              0x7ff70620f388      [inlined] core::panic::unwind_safe::impl$23::call_once (unwind_safe.rs:271)
37  sourcepawn_lsp.exe              0x7ff70620f388      [inlined] std::panicking::try::do_call (panicking.rs:500)
38  sourcepawn_lsp.exe              0x7ff70620f388      [inlined] std::panicking::try (panicking.rs:464)
39  sourcepawn_lsp.exe              0x7ff70620f388      [inlined] std::panic::catch_unwind (panic.rs:142)
40  sourcepawn_lsp.exe              0x7ff70620f388      [inlined] std::thread::impl$0::spawn_unchecked_::closure$1 (mod.rs:528)
41  sourcepawn_lsp.exe              0x7ff70620f388      core::ops::function::FnOnce::call_once<T> (function.rs:250)
42  sourcepawn_lsp.exe              0x7ff70636a73b      [inlined] alloc::boxed::impl$47::call_once (boxed.rs:1985)
43  sourcepawn_lsp.exe              0x7ff70636a73b      [inlined] alloc::boxed::impl$47::call_once (boxed.rs:1985)
44  sourcepawn_lsp.exe              0x7ff70636a73b      std::sys::windows::thread::impl$0::new::thread_start (thread.rs:57)
45  KERNEL32.DLL                    0x7ffaa361559f      BaseThreadInitThunk
46  ntdll.dll                       0x7ffaa3ac485a      RtlUserThreadStart