MCPcopy Create free account
hub / github.com/PostHog/duckgres / TriggerCThreadSegfault

Function TriggerCThreadSegfault

internal/crashhandler/triggers.go:34–36  ·  view source on GitHub ↗

TriggerCThreadSegfault crashes with SIGSEGV on a thread created by C code (never returns).

()

Source from the content-addressed store, hash-verified

32// TriggerCThreadSegfault crashes with SIGSEGV on a thread created by C code
33// (never returns).
34func TriggerCThreadSegfault() {
35 C.duckgres_crashtrigger_c_thread()
36}
37
38// TriggerCgoCallSegfault crashes with SIGSEGV inside a cgo call (never
39// returns).

Callers 1

TestMainFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMainFunction · 0.68