Conversation
Notices
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 29-Mar-2024 05:01:34 JST Haelwenn /элвэн/ :triskell:
Uuuh wtf, is there no equivalent to strace in NetBSD?
And looks like you'd need to enable dtrace in the kernel for tools like dtruss… which isn't done in builds.sr.ht images. :(-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 29-Mar-2024 05:09:10 JST Haelwenn /элвэн/ :triskell:
Also no debug symbols apparently, at least gdb just shows a bunch of ??? (and no lldb available, which I'd guess would at least give me function names as a fallback). In conversation permalink -
Embed this notice
tedu (tedu@honk.tedunangst.com)'s status on Friday, 29-Mar-2024 05:24:46 JST tedu
@lanodan ktrace
In conversation permalink -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 29-Mar-2024 05:24:46 JST Haelwenn /элвэн/ :triskell:
@tedu pretty sure I tried that.
Ended up just working around it with adding assert and printf in the code as it's a failing test case so easy to reproduce.In conversation permalink -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 29-Mar-2024 05:29:10 JST Haelwenn /элвэн/ :triskell:
@tedu Got a similar one again…
And ktruss is the one that logs as the process runs, that's much better!
(Probably thought ktrace wasn't working, I should have tried to find it via manpages)In conversation permalink -
Embed this notice
Iska (iska@catposter.club)'s status on Friday, 29-Mar-2024 06:02:19 JST Iska
@lanodan@queer.hacktivis.me dtrussy :blobcateyes2:
In conversation permalink Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice