#1128501 glycin-image-rs and glycin-svg keep streams open longer than necessary, causing the inability to unmount a prior working directory #1128501
- Package:
- glycin-loaders
- Source:
- glycin-loaders
- Description:
- sandboxed image loaders for GNOME
- Submitter:
- Al Ma
- Date:
- 2026-05-29 14:47:04 UTC
- Severity:
- normal
After viewing a DOCX document with libreoffice, the streams to the current directory are kept open longer than necessary. This prevents unmounting this directory (and potentially other operations) later. The user has to kill glycin-image-rs and glycin-svg to free up the directory to unmount it. This misbehavior started after we updated glycin and GDK Pixbuf recently. As the user action was calling libreoffice on a DOCX document, I am filing this bug report against libreoffice-writer; the maintainer may reassign if necessary. Reproduce: $ sshfs username@remote_host:/remote_directory ~/Remote $ cd Remote $ libreoffice --view remote_file.docx WARNING: Glycin running without sandbox. WARNING: Glycin running without sandbox. $ cd .. $ fusermount -u ~/Remote fusermount: failed to unmount /home/username/Remote: Device or resource busy $ lsof|grep -C1 "/home/username/Remote" lsof: no pwd entry for UID 64757 lsof: no pwd entry for UID 64757 lsof: no pwd entry for UID 64757 lsof: no pwd entry for UID 64757 lsof: no pwd entry for UID 64757 lsof: no pwd entry for UID 64757 lsof: no pwd entry for UID 64757 lsof: no pwd entry for UID 64757 kworker/1 136257 root NOFD 0000 /proc/136257/fd (opendir: Permission denied) glycin-im 136341 username cwd DIR 0,56 0 1 /home/username/Remote glycin-im 136341 username rtd DIR 259,2 4096 2 / -- glycin-im 136341 username 23u unix 0x00000000fe6a5cca 0t0 1357593 type=STREAM (CONNECTED) glycin-im 136341 136342 async-io username cwd DIR 0,56 0 1 /home/username/Remote glycin-im 136341 136342 async-io username rtd DIR 259,2 4096 2 / -- glycin-im 136341 136342 async-io username 23u unix 0x00000000fe6a5cca 0t0 1357593 type=STREAM (CONNECTED) glycin-sv 136400 username cwd DIR 0,56 0 1 /home/username/Remote glycin-sv 136400 username rtd DIR 259,2 4096 2 / -- glycin-sv 136400 username 36u unix 0x000000003afa04ad 0t0 1349571 type=STREAM (CONNECTED) glycin-sv 136400 136402 async-io username cwd DIR 0,56 0 1 /home/username/Remote glycin-sv 136400 136402 async-io username rtd DIR 259,2 4096 2 / -- kworker/u 136870 root NOFD 0000 /proc/136870/fd (opendir: Permission denied) glycin-im 136922 username cwd DIR 0,56 0 1 /home/username/Remote glycin-im 136922 username rtd DIR 259,2 4096 2 / -- glycin-im 136922 username 23u unix 0x00000000927dbe3f 0t0 1358665 type=STREAM (CONNECTED) glycin-im 136922 136923 async-io username cwd DIR 0,56 0 1 /home/username/Remote glycin-im 136922 136923 async-io username rtd DIR 259,2 4096 2 / -- glycin-im 136922 136923 async-io username 23u unix 0x00000000927dbe3f 0t0 1358665 type=STREAM (CONNECTED) glycin-sv 136982 username cwd DIR 0,56 0 1 /home/username/Remote glycin-sv 136982 username rtd DIR 259,2 4096 2 / -- glycin-sv 136982 username 36u unix 0x000000006e9796f4 0t0 1360019 type=STREAM (CONNECTED) glycin-sv 136982 136984 async-io username cwd DIR 0,56 0 1 /home/username/Remote glycin-sv 136982 136984 async-io username rtd DIR 259,2 4096 2 / $ ps aux| egrep "136982|136922|136400|136341" username 136341 0.0 0.0 212608 6940 pts/1 SNl 16:17 0:00 /usr/libexec/glycin-loaders/2+/glycin-image-rs --dbus-fd 23 username 136400 0.0 0.0 305400 17520 pts/1 SNl 16:17 0:00 /usr/libexec/glycin-loaders/2+/glycin-svg --dbus-fd 36 username 136922 0.0 0.0 212608 7024 pts/1 Sl 16:20 0:00 /usr/libexec/glycin-loaders/2+/glycin-image-rs --dbus-fd 23 username 136982 0.0 0.0 305400 17336 pts/1 Sl 16:20 0:00 /usr/libexec/glycin-loaders/2+/glycin-svg --dbus-fd 36 username 140203 0.0 0.0 6636 2460 pts/1 S+ 16:31 0:00 grep -E --color=auto 136982|136922|136400|136341 $ killall glycin-image-rs glycin-svg $ fusermount -u ~/Remote $ sudo dpkg -l libreoffice-writer libgdk-pixbuf-2.0-0 glycin-loaders Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=========================-==================-============-=========================================== ii glycin-loaders 2.0.8-1 amd64 sandboxed image loaders for GNOME ii libgdk-pixbuf-2.0-0:amd64 2.44.5+dfsg-4 amd64 GDK Pixbuf library ii libreoffice-writer 4:25.2.3-2+deb13u3 amd64 office productivity suite -- word processor Requested change: Close the streams to the current working directory when they are no longer required.
tag 1128501 + moreinfo reassign 1128501 glycin-loaders thanks Hi, Am 20.02.26 um 16:55 schrieb Al Ma: Uh, what? So it's a bug there? And why would anyone install unstables glygin/gd-pixbuf on stable anyway? Just beause llibeoffice loads images? I don't think so. (And even then writer is just writer, image loading probably is -core) Oh, dear... Why are you installing unstables glycin on stable? In any case: Even if there was a bug in libreoffice noone will care about it in *stable* since the gdk-pixbuf there is not using glycin anyway. If you insist that this is libreoffice at fault (which I don't think is) please at least try with testing or sids version. Regards, Rene
tag 1128501 - moreinfo thanks Hi Rene, Am 20.02.26 um 17:29 schrieb Rene Engelhard: ??? The upgrade enables eog to view JPEG2000, which was not the case previously. Spare me about “because”; I'd have to look into the code to answer this and tell you the reasons. It's for both anonymity and clarity. There is really no need to mention real names of files, directories, and users here – specifically in this issue, real names are probably a pointless distraction. I didn't “blame” stable (the tone of this word is an overstatement), and the upgraded (not just “installed”) packages are not random, but crucial to at least three other GNOME packages (eog, evince, and papers). This issue is likely to become an issue in testing, and then in stable in several months/years if not handled properly early enough, as keeping files open longer than necessary is serious (issuing an fclose() is simple, but determining when it's time to issue an fclose() may or may not be nontrivial). For the reasons I already stated, I submitted a bug report against libreoffice and stated explicitly that the maintainer may reassign (i.e., disagree). If you happen to be the maintainer, a disagreement is fine, and there is no need to be extra outraged. One of the scenarios could be a so far unnoticed bug in the interface or the way libreoffice uses the interface. I insist on nothing, but it's at fault from a plain user's viewpoint (which I stay as long as I don't read the code) who simply started libreoffice. A maintainer may naturally disagree with the package assignment; a decision I don't have the slightest intent to contest now. I cleared the moreinfo tag; if the maintainers think that their question “Uh, what?” has not been addressed, I kindly ask them to restate it so that I could actually answer it. Cheers, Alma
Yes.
reassign 1138212 glycin-loaders forcemerge 1128501 1138212 affects 1138212 libreoffice-writer thanks Am 29.05.26 um 15:07 schrieb Lindy: And if "glycin-image-rs and glycin-svg keep streams open longer than necessary." that would be a glycin bug, no? So it should be reported there and libreoffice-writer maybe being marked as affected instead of the other way round? And you didn't add "his veracrypt issue 1749 to your #1128501 report". Yoiu filed a *new* bug not even Cc'ing #1128501. Doing now. Regards, Rene