On 30/06/2025 05:19, Anush V wrote:
30461 18:02:57.315361 write(2, "MESA-INTEL: warning: 
../mesa-25.1.3/src/intel/vulkan/anv_formats.c:905: FINISHME: support more multi-planar 
formats with DRM mod"..., 135) = -1 EPIPE (Broken pipe)
30461 18:02:57.315406 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, 
si_pid=30448, si_uid=1000} ---

Thanks. I consider the SIGPIPE hypothesis as confirmed, so `org-open-file' should be fixed to use `call-process' 0.

It does not affect anything, but I am curious what is the 30461 process since mpv has PID 30448. I would not be surprised if mpv uses some multiprocess approach and there was fork, clone, or spawn without exec.

I hope, the following workaround does not override associations for other file types. Even if I made a mistake, I think, you will be able to adjust the recipe.

  (with-eval-after-load 'org
    (push '(t . "xdg-open %s 1>/dev/null 2>&1") org-file-apps))

I suppose, the following cases are pathological to some degree, but somebody may try to ask developers if they should be handled

    mpv ~/big_buck_bunny.webm 2>&1 | true
    mpv ~/big_buck_bunny.webm 2>&-

Reply via email to