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

error::QhError<'a>::into_static doctest fails #11

Closed
Tracked by #5
LucaCiucci opened this issue Jan 30, 2025 · 0 comments · Fixed by #18
Closed
Tracked by #5

error::QhError<'a>::into_static doctest fails #11

LucaCiucci opened this issue Jan 30, 2025 · 0 comments · Fixed by #18
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@LucaCiucci
Copy link
Owner

This was first observed in #10 checks failure. It is not clear to me why this did not happen before.

Possibly related issue: rust-lang/rfcs#2625

stderr:

thread 'main' panicked at core\src\panicking.rs:227:5:
panic in a function that cannot unwind
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/std\src\panicking.rs:665
   1: core::panicking::panic_nounwind_fmt::runtime
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/core\src\panicking.rs:115
   2: core::panicking::panic_nounwind_fmt
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/core\src\panicking.rs:125
   3: core::panicking::panic_nounwind
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/core\src\panicking.rs:227
   4: core::panicking::panic_cannot_unwind
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/core\src\panicking.rs:319
   5: qhull::error::impl$2::try_on_raw::cb<qhull::error::impl$2::try_on_raw::closure_env$0<tuple$<>,qhull::impl$0::compute::closure_env$0> >
             at .\src\error.rs:177
   6: _CxxFrameHandler3
   7: is_exception_typeof
   8: _C_specific_handler
   9: is_exception_typeof
  10: _CxxFrameHandler3
  11: _chkstk
  12: RtlUnwindEx
  13: RtlUnwind
  14: _report_gsfailure
  15: qh_errexit
             at .\qhull-sys\qhull\src\libqhull_r\user_r.c:282
  16: qh_maxsimplex
             at .\qhull-sys\qhull\src\libqhull_r\geom2_r.c:1285
  17: qh_initialvertices
             at .\qhull-sys\qhull\src\libqhull_r\poly2_r.c:2426
  18: qh_initbuild
             at .\qhull-sys\qhull\src\libqhull_r\poly2_r.c:2178
  19: qh_qhull
             at .\qhull-sys\qhull\src\libqhull_r\libqhull_r.c:67
  20: qhull::impl$0::compute::closure$0
             at .\src\lib.rs:43
  21: qhull::error::impl$2::try_on_raw::closure$0<tuple$<>,qhull::impl$0::compute::closure_env$0>
             at .\src\error.rs:205
  22: qhull::error::impl$2::try_on_raw::cb<qhull::error::impl$2::try_on_raw::closure_env$0<tuple$<>,qhull::impl$0::compute::closure_env$0> >
             at .\src\error.rs:191
  23: qhull_sys__try_on_qh
             at .\qhull-sys\src\error_handling.c:50
  24: qhull::error::QhError::try_on_raw<tuple$<>,qhull::impl$0::compute::closure_env$0>
             at .\src\error.rs:208
  25: qhull::Qh::try_on_qh<tuple$<>,qhull::impl$0::compute::closure_env$0>
             at .\src\lib.rs:162
  26: qhull::Qh::compute
             at .\src\lib.rs:43
  27: std::rt::lang_start
  28: std::rt::lang_start
  29: std::rt::lang_start
  30: std::rt::lang_start
  31: std::rt::lang_start
  32: std::rt::lang_start
  33: std::rt::lang_start_internal::closure$1
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/std\src\rt.rs:174
  34: std::panicking::try::do_call
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/std\src\panicking.rs:557
  35: std::panicking::try
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/std\src\panicking.rs:520
  36: std::panic::catch_unwind
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/std\src\panic.rs:358
  37: std::rt::lang_start_internal
             at /rustc/b3f75cc872cfd306860c3ad76a239e719015f855\library/std\src\rt.rs:174
  38: std::rt::lang_start
  39: main
  40: invoke_main
             at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
  41: __scrt_common_main_seh
             at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
  42: BaseThreadInitThunk
  43: RtlUserThreadStart
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread caused non-unwinding panic. aborting.



failures:
    src\error.rs - error::QhError<'a>::into_static (line 92)
@LucaCiucci LucaCiucci added bug Something isn't working help wanted Extra attention is needed labels Jan 30, 2025
This was referenced Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant