Search notes:

/wsl-capture-crash

/wsl-capture-crash is (by default?) mentioned in the kernel parameter kernel.core_pattern:
$ sysctl kernel.core_pattern
kernel.core_pattern = |/wsl-capture-crash %t %E %p %s
This executable is visible when opening a «debug shell»:
C:\> wsl --debug-shell
Welcome to CBL-Mariner 2.0.20240609 (x86_64) - Kernel 6.1.21.2-microsoft-standard-WSL2+ (hvc1)
DESKTOP-2E3UO35 login: root (automatic login)

root@tq84-host [ ~ ]# /wsl-capture-crash
Usage: /wsl-capture-crash<time> <executable> <pid> <signal>
/wsl-capture-crash is a symbolic link to /init:
root@tq84host [ ~ ]# ls -l /wsl-capture-crash
lrwxrwxrwx 1 root root 5 Jan 28 00:37 /wsl-capture-crash -> /init

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/Linux/fh...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1759612434, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/wsl-capture-crash(47): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51