Repository: vscode
Issue: SIGSEGV base::AtExitManager::ProcessCallbacksNow()
Labels: bug,freeze-slow-crash-leak,linux,electron

Extracted from https://github.com/microsoft/vscode/issues/186540#issuecomment-2078096793

```
Operating system: Linux
                  6.8.7 -lqx2-1-lqx #1 ZEN SMP PREEMPT Mon, 22 Apr 2024 02:21:15 +0000 x86_64
CPU: amd64
     family 25 model 97 stepping 2
     32 CPUs

GPU: UNKNOWN

Crash reason:  SIGSEGV /0x00000080
Crash address: 0x0
Process uptime: 4 seconds

Thread 0 (crashed)
 0  code-insiders!base::AtExitManager::ProcessCallbacksNow() [callback.h : 154 + 0x0]
    rax = 0x00000e340019c200   rdx = 0x0000000000000012
    rcx = 0x0000000000000029   rbx = 0x00007ffe00bb3c58
    rsi = 0x0000000000000001   rdi = 0x00000e3401010101
    rbp = 0x00007ffe00bb3cb0   rsp = 0x00007ffe00bb3c50
     r8 = 0x0000000000000000    r9 = 0x0000000000000001
    r10 = 0x0000000000000001   r11 = 0x0000000000000001
    r12 = 0x000000000000002a   r13 = 0x0000000000000000
    r14 = 0x00007ffe00bb3c60   r15 = 0xaaaaaaaaaaaaaaaa
    rip = 0x00005a0baaf681f2
    Found by: given as instruction pointer in context
 1  code-insiders!base::AtExitManager::~AtExitManager() [at_exit.cc : 45 + 0x5]
    rbx = 0x0000102c0023eee0   rbp = 0x00007ffe00bb3ce0
    rsp = 0x00007ffe00bb3cc0   r12 = 0x00005a0ba6d94321
    r13 = 0x00007ffe00bb3df0   r14 = 0x0000102c0023eee0
    r15 = 0x00007ffe00bb3cf0   rip = 0x00005a0baaf67ffa
    Found by: call frame info
 2  code-insiders!content::ContentMainRunnerImpl::Shutdown() [unique_ptr.h : 68 + 0x8]
    rbx = 0x0000102c002b6530   rbp = 0x00007ffe00bb3d30
    rsp = 0x00007ffe00bb3cf0   r12 = 0x00005a0ba6d94321
    r13 = 0x00007ffe00bb3df0   r14 = 0x0000102c0023eee0
    r15 = 0x00007ffe00bb3cf0   rip = 0x00005a0ba7ef89c2
    Found by: call frame info
 3  code-insiders!content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) [content_main.cc : 336 + 0x8]
    rbx = 0x0000102c002b6530   rbp = 0x00007ffe00bb3f90
    rsp = 0x00007ffe00bb3d40   r12 = 0x0000000000000000
    r13 = 0x00007ffe00bb3df0   r14 = 0x0000000000000000
    r15 = 0x00007ffe00bb3e21   rip = 0x00005a0ba7ef5c48
    Found by: call frame info
 4  code-insiders!content::ContentMain(content::ContentMainParams) [content_main.cc : 346 + 0x8]
    rbx = 0x00007ffe00bb4010   rbp = 0x00007ffe00bb4000
    rsp = 0x00007ffe00bb3fa0   r12 = 0x00007ffe00bb3fc8
    r13 = 0x00007ffe00bb4240   r14 = 0x00007ffe00bb3fc0
    r15 = 0x00007ffe00bb3fa8   rip = 0x00005a0ba7ef5d46
    Found by: call frame info
 5  code-insiders!main [electron_main_linux.cc : 45 + 0x8]
    rbx = 0x00007ffe00bb41f8   rbp = 0x00007ffe00bb40e0
    rsp = 0x00007ffe00bb4010   r12 = 0x00007ffe00bb4040
    r13 = 0x00007ffe00bb4240   r14 = 0x00007ffe00bb4010
    r15 = 0x00007ffe00bb4070   rip = 0x00005a0ba7be81d9
    Found by: call frame info
 6  libc.so.6 + 0x25fd0
    rbx = 0x00007ffe00bb41f8   rbp = 0x0000000000000008
    rsp = 0x00007ffe00bb40f0   r12 = 0x0000000000000000
    r13 = 0x00007ffe00bb4240   r14 = 0x0000000000000000
    r15 = 0x000073a211c2b000   rip = 0x000073a20fc25fd0
    Found by: call frame info
 7  ld-linux-x86-64.so.2 + 0x39000
    rsp = 0x00007ffe00bb4140   rip = 0x000073a211c2b000
    Found by: stack scanning
 8  libLLVM-17.so + 0x4a00000
    rsp = 0x00007ffe00bb4158   rip = 0x000073a200000000
    Found by: stack scanning
 9  libc.so.6 + 0x2608a
    rsp = 0x00007ffe00bb4190   rip = 0x000073a20fc2608a
    Found by: stack scanning
10  code-insiders!_start + 0x2a
    rsp = 0x00007ffe00bb41e0   rip = 0x00005a0ba77f202a
    Found by: stack scanning
11  0x7ffe00bb41e8
    rsp = 0x00007ffe00bb41e8   rip = 0x00007ffe00bb41e8
    Found by: call frame info
```