You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
let sentry_shutdown: sentry::Shutdown = {
sentry::set_hook(None,None);letmut options = sentry::Options::new();
options.set_dsn("https://3cba4d15f7224ad98ffd1c4dfcc90ef8@o491589.ingest.sentry.io/5557394");
options.set_environment(if config::IS_DEBUG{"debug"}else{"release"});
options.set_release(config::VERSION);// TODO: this crashes on macOS
options.init().expect("Failed to initialise Sentry")};
The program SIGABRTs on the last line with the following message:
test(36049,0x1075c8dc0) malloc: *** error for object 0x7f83a0605270: pointer being freed was not allocated
test(36049,0x1075c8dc0) malloc: *** set a breakpoint in malloc_error_break to debug
[1] 36049 abort ./target/debug/test
Hi,
Interestingly a new project with the latest version doesn't crash, but it still does on my main project. It seems to come from one of my modules (as in, the error is still from within crashpad but it only occurs if I add a mod declaration).
That module does include V8 so I wonder if somehow there's some UB hidden in there that interacts with crashpad.
Describe the bug
When running:
The program SIGABRTs on the last line with the following message:
The error seems to be coming from crashpad at:
in
sentry_backend_crashpad.cpp
.It works fine on Linux.
Environment:
The text was updated successfully, but these errors were encountered: