The GitHub Actions job "mainline-only" on tvm-ffi.git/main has failed.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
d063f470b4973bda02da85b7d7e61b8de927acd0 / Tianqi Chen 
<[email protected]>
[FFI][FIX] Backtrace: refresh DbgHelp modules, tolerate bad 
TVM_TRACEBACK_LIMIT, match object_is_not_callable exactly (#763)

Four small fixes from the follow-up report on #727:

- `backtrace_win.cc`: `SymRefreshModuleList` before `StackWalk64`. The
session is created once, so a DLL loaded after the first backtrace was
unknown to DbgHelp; `StackWalk64` needs its unwind tables, so the trace
truncated at that frame.
- `backtrace_win.cc`: the explicit caller frame goes through
`ShouldExcludeFrame`, as `backtrace.cc` already does.
- `backtrace_utils.h`: `TVM_TRACEBACK_LIMIT` parsed with `strtol`,
default on invalid input. `std::stoi` threw inside the error reporter
and terminated the process.
- `backtrace_utils.h`: full-identifier match for
`object_is_not_callable`; the 11-character prefix also matched other
`object_is_n...` symbols.

No behaviour change for valid inputs.

Report URL: https://github.com/apache/tvm-ffi/actions/runs/34174852061

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to