Haelwenn /элвэн/ :triskell: on Nostr: npub1jq8nv…r7z35 Well in the case of weechat it also dumps the last lines of the ...
npub1jq8nvjmt89hmduv028s4qm98tk0r67q3e42crwgk92m2tj757c4q7r7z35 (npub1jq8…7z35) Well in the case of weechat it also dumps the last lines of the log, loaded plugins, … which I'm pretty sure can be useful and shouldn't need to allocate memory.
While open()ing a file maybe does for some weird libc but worst case there's stderr.
But still means I end up with this when opening the core file…
(lldb) bt all
* thread #1, name = 'weechat', stop reason = signal SIGABRT
* frame #0: 0x00007fbda644eb67 ld-musl-x86_64.so.1 at syscall_arch.h:38:2
frame #1: 0x00007fbda644eb53 ld-musl-x86_64.so.1 at block.c:43:2
frame #2: 0x00007fbda644ed03 ld-musl-x86_64.so.1`maskl(ivate_cond_signal=<unavailable>) at raise.c:11:2
frame #3: 0x00007fbda641566e ld-musl-x86_64.so.1`e at abort.c:11:2
frame #4: 0x0000558f002ee957 weechat`weechat_shutdown(return_code=1, crash=1) at weechat.c:595:9
frame #5: 0x00007fbda644f759 ld-musl-x86_64.so.1`__restore_rt
frame #6: 0x0000000000000007
While open()ing a file maybe does for some weird libc but worst case there's stderr.
But still means I end up with this when opening the core file…
(lldb) bt all
* thread #1, name = 'weechat', stop reason = signal SIGABRT
* frame #0: 0x00007fbda644eb67 ld-musl-x86_64.so.1 at syscall_arch.h:38:2
frame #1: 0x00007fbda644eb53 ld-musl-x86_64.so.1 at block.c:43:2
frame #2: 0x00007fbda644ed03 ld-musl-x86_64.so.1`maskl(ivate_cond_signal=<unavailable>) at raise.c:11:2
frame #3: 0x00007fbda641566e ld-musl-x86_64.so.1`e at abort.c:11:2
frame #4: 0x0000558f002ee957 weechat`weechat_shutdown(return_code=1, crash=1) at weechat.c:595:9
frame #5: 0x00007fbda644f759 ld-musl-x86_64.so.1`__restore_rt
frame #6: 0x0000000000000007