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