Package: snac2 Severity: important Version: 2.11-1 Hi,
snac2 ran good and stable — until I posted https://chaos.social/@xtaran/109492069158090893 Since then my instance at https://c3pio.deuxchevaux.org/snac keeps segfaulting every few seconds: $ while sleep 1; do snac httpd ~/data ; done 01:28:38 httpd start 127.0.0.1:8001 snac/2.11 01:28:38 queue thread start Segmentation fault (core dumped) 01:28:52 httpd start 127.0.0.1:8001 snac/2.11 01:28:52 queue thread start Segmentation fault (core dumped) 01:29:03 httpd start 127.0.0.1:8001 snac/2.11 01:29:03 queue thread start Segmentation fault (core dumped) 01:29:14 httpd start 127.0.0.1:8001 snac/2.11 01:29:14 queue thread start Segmentation fault (core dumped) 01:29:31 httpd start 127.0.0.1:8001 snac/2.11 01:29:31 queue thread start 01:29:35 [xtaran] activitypub_get_handler serving /xtaran/p/1670718053.073591 200 01:29:36 [xtaran] activitypub_get_handler serving /xtaran 200 Segmentation fault (core dumped) 01:29:37 httpd start 127.0.0.1:8001 snac/2.11 01:29:37 queue thread start Segmentation fault (core dumped) 01:29:40 httpd start 127.0.0.1:8001 snac/2.11 01:29:40 queue thread start 01:29:40 [xtaran] activitypub_get_handler serving /xtaran/followers 200 Segmentation fault (core dumped) 01:29:52 httpd start 127.0.0.1:8001 snac/2.11 01:29:52 queue thread start Segmentation fault (core dumped) 01:30:01 httpd start 127.0.0.1:8001 snac/2.11 01:30:01 queue thread start Segmentation fault (core dumped) 01:30:05 httpd start 127.0.0.1:8001 snac/2.11 01:30:05 queue thread start Segmentation fault (core dumped) 01:30:15 httpd start 127.0.0.1:8001 snac/2.11 01:30:15 queue thread start Segmentation fault (core dumped) 01:30:28 httpd start 127.0.0.1:8001 snac/2.11 01:30:28 queue thread start Segmentation fault (core dumped) 01:30:32 httpd start 127.0.0.1:8001 snac/2.11 01:30:32 queue thread start Segmentation fault (core dumped) 01:30:39 httpd start 127.0.0.1:8001 snac/2.11 01:30:39 queue thread start 01:30:44 [xtaran] enqueue_input ~/queue/1670718644.057003.json Segmentation fault (core dumped) 01:30:46 httpd start 127.0.0.1:8001 snac/2.11 01:30:46 queue thread start 01:30:47 [xtaran] queue ready for ~/queue/1670718644.057003.json 01:30:47 [xtaran] dropping message due to actor error https://todon.nl/users/schwarzer_wolf 404 Segmentation fault (core dumped) 01:31:04 httpd start 127.0.0.1:8001 snac/2.11 01:31:04 queue thread start Segmentation fault (core dumped) 01:31:13 httpd start 127.0.0.1:8001 snac/2.11 01:31:13 queue thread start Segmentation fault (core dumped) 01:31:27 httpd start 127.0.0.1:8001 snac/2.11 01:31:27 queue thread start Segmentation fault (core dumped) 01:31:36 httpd start 127.0.0.1:8001 snac/2.11 01:31:36 queue thread start Segmentation fault (core dumped) 01:32:02 httpd start 127.0.0.1:8001 snac/2.11 01:32:02 queue thread start Segmentation fault (core dumped) 01:32:24 httpd start 127.0.0.1:8001 snac/2.11 01:32:24 queue thread start Backtrace from one of these segfaults: Reading symbols from /usr/bin/snac... Reading symbols from /usr/lib/debug/.build-id/ef/44c0767f2a3b203411e68ed98fc2aa4939659e.debug... [New LWP 23993] [New LWP 23990] [New LWP 23989] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `snac httpd /srv/snac/data'. Program terminated with signal SIGSEGV, Segmentation fault. #0 strchr () at ../sysdeps/arm/armv6/strchr.S:28 28 ../sysdeps/arm/armv6/strchr.S: No such file or directory. [Current thread is 1 (Thread 0xb54ff1e0 (LWP 23993))] (gdb) bt #0 strchr () at ../sysdeps/arm/armv6/strchr.S:28 #1 0xb6b6f2f8 in __GI_strstr (haystack=haystack@entry=0x0, needle=0x4842bc "text/xml") at strstr.c:84 #2 0x0047ca64 in xs_str_in (haystack=haystack@entry=0x0, needle=<optimized out>) at xs.h:386 #3 0x0047a720 in html_get_handler (req=0xb4b01c90 "\023\036method", q_path=<optimized out>, body=body@entry=0xb54feb68, b_size=b_size@entry=0xb54feb6c, ctype=ctype@entry=0xb54feb70) at html.c:987 #4 0x0047c1f6 in httpd_connection (f=0x2058208) at httpd.c:142 #5 0x0047c2de in connection_thread (arg=<optimized out>) at httpd.c:281 #6 0xb6b5ccf6 in start_thread (arg=0xc916b94b) at pthread_create.c:442 #7 0xb6bb36e0 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:74 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) Except for the memory addresses, all the backtraces I compared (a few) so far looked the same. It might help to first try to package the most recent upstream version (2.15 as of this writing) because 2.12 and 2.14 at least do fix some crashes according to the release notes. So maybe these crashes I experience are already fixed upstream. Feel free to ping me for testing the new version. -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug') merged-usr: no Architecture: armhf Kernel: Linux 6.0.0-5-armmp-lpae (SMP w/4 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash