mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#strace

0 Beiträge0 Beteiligte0 Beiträge heute
drmorr<p>I literally never remember how to use strace, and have to use it so infrequently that I don't build that knowledge, so whenever I need to actually strace something I just read <span class="h-card" translate="no"><a href="https://social.jvns.ca/@b0rk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>b0rk</span></a></span>'s strace zine, which is hecking amazing.</p><p><a href="https://jvns.ca/strace-zine-v3.pdf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jvns.ca/strace-zine-v3.pdf</span><span class="invisible"></span></a></p><p><a href="https://hachyderm.io/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://hachyderm.io/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a> <a href="https://hachyderm.io/tags/debugging" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>debugging</span></a></p>
Simon Tatham<p>If you run a <a href="https://hachyderm.io/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> program in <a href="https://hachyderm.io/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a>, usually the start of the log shows it trying to load a ton of shared libraries, and for each one, trying the same file name in all your LD_LIBRARY_PATH directories until it finds it. So you mostly see file-open operations _failing_, with ENOENT.</p><p>To a novice strace reader, it looks as if something has already gone horribly wrong! But it hasn't – this is all normal, and as expected. Each of those ENOENT is technically "an error", but not a _bad_ error, because ld.so just moves on to the next in its big list of things to try, and one works in the end.</p><p>Errors happen _all the time_ in the guts of a computer system, and most of them are not even interesting – just business as usual. The event an end user thinks of as "an error" is the case where the program _doesn't_ have a fallback plan. Those are often outnumbered by the cases where it does!</p>
Stewart Russell<p>TIL that a trivial Python3 OpenCV program (open an image, attempt to display it in a window) on a Raspberry Pi tries to open over 2800 shared libraries</p><p>(EDIT: more like nearly 1400, 'cos strace opens the symbolic link and the library ... but still)</p><p><a href="https://xoxo.zone/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://xoxo.zone/tags/OpenCV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenCV</span></a> <a href="https://xoxo.zone/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a> <a href="https://xoxo.zone/tags/RaspberryPi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RaspberryPi</span></a> <a href="https://xoxo.zone/tags/NotLookingForAdvice" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NotLookingForAdvice</span></a></p>
Ron Bowes<p>Process injection shenanigans are dear to my heart - it's one of the first things I ever learned in security.</p><p>Inspired by an Akamai blog last month, this blog digs into techniques to tinker with other processes on Linux, and show you how to write a little debugger in C!</p><p><a href="https://www.labs.greynoise.io/grimoire/2025-01-28-process-injection/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">labs.greynoise.io/grimoire/202</span><span class="invisible">5-01-28-process-injection/</span></a></p><p><a href="https://infosec.exchange/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://infosec.exchange/tags/reversing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reversing</span></a> <a href="https://infosec.exchange/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a> <a href="https://infosec.exchange/tags/ptrace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ptrace</span></a> <a href="https://infosec.exchange/tags/gdb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gdb</span></a></p>
Some Bits: Nelson's Linkblog<p>Stratoshark: Computer debugging tool: like wireshark, but for system calls instead of network packets<br><a href="https://stratoshark.org/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">stratoshark.org/</span><span class="invisible"></span></a><br> <a href="https://tech.lgbt/tags/via" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>via</span></a>:hackernews <a href="https://tech.lgbt/tags/wireshark" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wireshark</span></a> <a href="https://tech.lgbt/tags/debugging" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>debugging</span></a> <a href="https://tech.lgbt/tags/syscall" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>syscall</span></a> <a href="https://tech.lgbt/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a> <a href="https://tech.lgbt/tags/devops" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>devops</span></a> <a href="https://tech.lgbt/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> #+</p>
Linux Magazine<p>From the Linux Update newsletter: <span class="h-card" translate="no"><a href="https://det.social/@hgesser" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hgesser</span></a></span> shows you how to monitor and isolate unknown applications to safeguard your system with the strace analysis tool and the Firejail sandbox <a href="https://www.linux-magazine.com/Issues/2024/281/strace-and-Firejail" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">linux-magazine.com/Issues/2024</span><span class="invisible">/281/strace-and-Firejail</span></a><br><a href="https://fosstodon.org/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://fosstodon.org/tags/applications" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>applications</span></a> <a href="https://fosstodon.org/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a> <a href="https://fosstodon.org/tags/Firejail" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Firejail</span></a> <a href="https://fosstodon.org/tags/applications" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>applications</span></a> <a href="https://fosstodon.org/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a></p>
Detlev Zundel<p>It has taken me some time to diagnose, but with the help of <a href="https://hostsharing.coop/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a> I now know that ffmpeg is blocked on writing its progress report to the terminal.</p><p>Switching to the terminal unblocks the process and things continue.</p><p>Plain old <a href="https://hostsharing.coop/tags/xterm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xterm</span></a> does not have this problem, but <a href="https://hostsharing.coop/tags/gnome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gnome</span></a> Terminal does. Looking over the issues I do not see something similar, but I would have expected that more people would see such a problem?</p><p>I am on Debian Trixie by the way, so I am using Gnome Terminal 3.51.90.</p><p>2/2</p>
Karsten Schmidt<p>Actually made an entire SDF type face, incl. declarative shape syntax to define characters (there're only lines &amp; circular arcs)...</p><p><a href="https://mastodon.thi.ng/tags/GenerativeArt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GenerativeArt</span></a> <a href="https://mastodon.thi.ng/tags/SDF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SDF</span></a> <a href="https://mastodon.thi.ng/tags/SphereTracing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphereTracing</span></a> <a href="https://mastodon.thi.ng/tags/Agents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Agents</span></a> <a href="https://mastodon.thi.ng/tags/Boids" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Boids</span></a> <a href="https://mastodon.thi.ng/tags/Particles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Particles</span></a> <a href="https://mastodon.thi.ng/tags/STRACE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STRACE</span></a></p><p>5/x</p>
Karsten Schmidt<p><a href="https://mastodon.thi.ng/tags/GenerativeArt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GenerativeArt</span></a> <a href="https://mastodon.thi.ng/tags/SDF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SDF</span></a> <a href="https://mastodon.thi.ng/tags/SphereTracing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphereTracing</span></a> <a href="https://mastodon.thi.ng/tags/Agents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Agents</span></a> <a href="https://mastodon.thi.ng/tags/Boids" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Boids</span></a> <a href="https://mastodon.thi.ng/tags/Particles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Particles</span></a> <a href="https://mastodon.thi.ng/tags/STRACE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STRACE</span></a></p><p>4/x</p>
Karsten Schmidt<p>Graphite version...</p><p><a href="https://mastodon.thi.ng/tags/GenerativeArt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GenerativeArt</span></a> <a href="https://mastodon.thi.ng/tags/SDF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SDF</span></a> <a href="https://mastodon.thi.ng/tags/SphereTracing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphereTracing</span></a> <a href="https://mastodon.thi.ng/tags/Agents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Agents</span></a> <a href="https://mastodon.thi.ng/tags/Boids" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Boids</span></a> <a href="https://mastodon.thi.ng/tags/Particles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Particles</span></a> <a href="https://mastodon.thi.ng/tags/STRACE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STRACE</span></a></p><p>3/x</p>
Karsten Schmidt<p>Short animation excerpt (the overall aesthetic of tens of thousands of moving fine lines/circles is always a total killer for video compression...)</p><p><a href="https://mastodon.thi.ng/tags/GenerativeArt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GenerativeArt</span></a> <a href="https://mastodon.thi.ng/tags/LightArt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LightArt</span></a> <a href="https://mastodon.thi.ng/tags/SDF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SDF</span></a> <a href="https://mastodon.thi.ng/tags/SphereTracing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphereTracing</span></a> <a href="https://mastodon.thi.ng/tags/Agents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Agents</span></a> <a href="https://mastodon.thi.ng/tags/Boids" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Boids</span></a> <a href="https://mastodon.thi.ng/tags/STRACE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STRACE</span></a></p><p>2/x</p>
Karsten Schmidt<p>Note to ADHD brain: Get your act together and finish work on S-TRACE, one of maaany unfinished projects started last year... A mini thread of some WIPs...</p><p>This thought was triggered by <span class="h-card" translate="no"><a href="https://mastodon.gamedev.place/@meuns" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>meuns</span></a></span>'s post about Radiance Cascades:<br><a href="https://mastodon.gamedev.place/@meuns/111489830458139216" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.gamedev.place/@meuns/</span><span class="invisible">111489830458139216</span></a></p><p><a href="https://mastodon.thi.ng/tags/GenerativeArt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GenerativeArt</span></a> <a href="https://mastodon.thi.ng/tags/LightArt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LightArt</span></a> <a href="https://mastodon.thi.ng/tags/SDF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SDF</span></a> <a href="https://mastodon.thi.ng/tags/SphereTracing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SphereTracing</span></a> <a href="https://mastodon.thi.ng/tags/Agents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Agents</span></a> <a href="https://mastodon.thi.ng/tags/Boids" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Boids</span></a> <a href="https://mastodon.thi.ng/tags/STRACE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STRACE</span></a></p><p>1/x</p>
drmorr<p>Well I just resorted to strace because I can't get libreoffice to give me any logs for the life of me.</p><p>strace did not help.</p><p><a href="https://hachyderm.io/tags/libreoffice" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libreoffice</span></a> <a href="https://hachyderm.io/tags/strace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>strace</span></a> <a href="https://hachyderm.io/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a></p>