Tmp folder filling up

Hey Jim,

I think you’re missing some key facts I tried to get to in my last post.

  1. Does it explode with one and only one epub file in a directory? 2? 10?

  2. Does the presence of a particular file cause it to explode?
    It turns out /tmp/atril-thumbnailer-xxxx/ are directories containing another directory with the file name. Is there any pattern with these file names?

I only have 2 epub files to try which could be a big factor. I keep getting a single /tmp entry for each thumbnail.

Hi Bill,

  1. The number of files in a folder does not seem to be a factor. In one folder I have only one epub file (7173_KindleFormatting.epub). The file explosion occurs if I open that folder in Icon View or if I click on that file in Compact or List View. All the Atril-thumbnailer-xxxx folders contain a folder beginning with 7173-KindleFormatting.epubxxxx.

In another folder I have six epub files. The file explosion occurs under the same circumstances, but most of the folders in the Atril-thumbnailer-xxxx folders are named either gnucash-guide.epubxxxx or gnucash-help.epubxxxx. A few of the other book titles are mixed in, but Atril seems to focus on these two.

  1. There does not seem to be a particular file that causes the explosion other than it being an epub.

From what you’re saying it would seem that this problem is specific to my computer. Synaptic tells me that all dependencies are satisfied and that there are no broken packages. Is there anything I might try reinstalling that might address this problem?

This is completely out-of-the-blue, but I recently tried to install google-webdesigner. I could never get it to work because of webdesigner’s issues with nvidia graphics adapters. I tried upgrading to the nvidia driver, but that completely crashed my system and I had to go back to the nouveau driver.

Is it possible that there could be some conflict between Atril and the nouveau driver (or the nvidia card)? Like I said, it’s just a wild, wild guess.

Thanks,

Jim

I located those two gnucash epubs and placed them in ~/ebooks
It did trigger an atril crash when I went to icon view in caja, but no file explosion: only two dirs and a few files were created:

watch -td ls -alh /tmp/atril*/*

Also, while atril is supposed to provide the preview, I don't get an actual preview in caja

I get the same output as you on those two files, except atril will keep producing atril-thumbnailer-xxxx folders for them as long as the folder containing the files is open in Icon View.

I’ve also had a crash notice from atril, but I’m not sure what I was doing at the time. It just popped up.

Also, I don’t get an preview for an epub file either. I had thought this was what was throwing atril into a loop.

I ran a little test. I set my timer for 30 sec and went to the folder containing the six epub files. I switched from List View to Icon View and started the timer. When the timer went off I switched back to List View. In 30 sec., Atril created 105 Atril-thumbnailer-xxxx folders containing approx. 20,000 files totaling approx. 700 MB. Probably not very scientific, but should give an idea of what’s happening.

Jim

Jim, do you have a thumb drive handy? Or external or network drive of some kind? I want to see if getting out of your home directory changes things or continues that explosion.

Like @ouroumov, I did get that Atril crash a few times but it tended to be when I was moving or copying epub files. These crashes could be different symptoms of the same instability causing your explosion.

I’m thinking out loud here… Why would Caja / Atril repeatedly scan a directory for icons? Does it constantly think there are new files? Does it constantly think it just entered a new directory? Is Atril almost crashing so it starts over repeatedly? I wonder if a live boot would do same? Could it be a file corruption a reinstall would solve? Some unique setting in Caja or Atril trigger this? My head is spinning…

I do have a thumb drive onto which I’ve backed up my home folder using Unison. I just inserted it and went to a folder with the epub files. Had the same file explosion.

I used Synaptic to reinstall the four packages associated with Atril. Still got the same results so I haven’t mentioned it.

I don’t think that Atril is repeatedly scanning the directory. I think it is trying to build a thumbnail for the epub file. Something in the code is causing it to fail before it completes the task. Since it did not complete the task of building the thumbnail, it starts over again, and again, and again,…

I’m going to try a live boot session and see what happens. I’ll let you know.

LATER: I booted to a live session, went to a folder with an epub file. No file explosion!!! There was only one Atril-thumbnailer-xxxx folder created, which, I guess, is normal. Atril did however crash. I saved the crash report to my home folder and can include that if it might be helpful. Does this mean the problem might be with my install?

I have a Gigabyte motherboard, so if I have to reinstall I would like to get some suggestions/recommendations on BIOS settings beforehand.

STILL LATER: Here is an excerpt from the crash report. The entire report is 732 KB and almost 2000 lines, so probably to large to paste into here. The following lines are repeated over and over.

(caja:2061): MateDesktop-WARNING **: Unable to create loader for mime type application/epub+zip: Unrecognized image file format
(caja:2061): MateDesktop-WARNING **: Error creating thumbnail for file:///home/jim/Documents/My%20Publications/NotPeace/7173_KindleFormatting.epub: Unrecognized image file format

(deja-dup-monitor:2088): GLib-CRITICAL **: Source ID 177 was not found when attempting to remove it
(mate-power-manager:2114): GLib-CRITICAL **: Source ID 128 was not found when attempting to remove it

Jim, Half the battle of fixing a bug is reliably creating it and I’m striking out.

I’m not sure how far you want to go for a solution. Reinstalling may or may not help but live boot indicates it might.

Another option, short of reinstalling but not a trivial change, is install the Mate 1.14 PPA:


Again, this is a complete overhaul of Mate and takes a while to install. While this PPA is maintained by Ubuntu-Mate’s Project Leader, it’s also arguably unofficial. I run it, BTW. :grin:

@Jim007, can you reproduce the file explosion with a folder containing only those two gnucash epubs I previously mentioned?
I think it might be time to consider filing a bug report.
How though, I’m not sure. Maybe @monsta can advise us on what information is needed.
I’m fairly certain the root cause comes from atril-thumbnailer crashing.

Here’s a snippet of the crash report:

 oct. 29 15:15:44 Box org.mate.atril.Daemon[1725]: RegisterDocument registered owner ':1.17176' for URI 'file:///home/ouroumov/ebooks/gnucash-guide.epub'
 oct. 29 15:15:44 Box org.mate.atril.Daemon[1725]: Watch name':1.17176' appeared with owner ':1.17176'
 oct. 29 15:15:48 Box org.mate.atril.Daemon[1725]: RegisterDocument process pending invocations for URI file:///home/ouroumov/ebooks/gnucash-guide.epub
 oct. 29 15:16:01 Box org.mate.atril.Daemon[1725]: UnregisterDocument URI 'file:///home/ouroumov/ebooks/gnucash-guide.epub'
 oct. 29 15:16:30 Box org.mate.atril.Daemon[1725]: Timeout; exiting daemon.
Package: atril 1.12.2-1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Registers:
 rax            0x2f2f2f3a656c6966    3399988171544226150
 rbx            0x0    0
 rcx            0x0    0
 rdx            0xad    173
 rsi            0x80    128
 rdi            0x15d8aa0    22907552
 rbp            0x15a7d70    0x15a7d70
 rsp            0x7ffc3df8fc30    0x7ffc3df8fc30
 r8             0x1595f08    22634248
 r9             0x15b5648    22763080
 r10            0x226    550
 r11            0x7f1ee7ae7b20    139770712718112
 r12            0x15d8aa0    22907552
 r13            0x80    128
 r14            0xad    173
 r15            0x158a170    22585712
 rip            0x7f1ee7ae7b2c    0x7f1ee7ae7b2c <cairo_image_surface_get_width+12>
 eflags         0x10206    [ PF IF RF ]
 cs             0x33    51
 ss             0x2b    43
 ds             0x0    0
 es             0x0    0
 fs             0x0    0
 gs             0x0    0
SegvAnalysis:
 Segfault happened at: 0x7f1ee7ae7b2c <cairo_image_surface_get_width+12>:    mov    (%rax),%eax
 PC (0x7f1ee7ae7b2c) ok
 source "(%rax)" (0x2f2f2f3a656c6966) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading unknown VMA
SourcePackage: atril
Stacktrace:
 #0  0x00007f1ee7ae7b2c in cairo_image_surface_get_width () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 No symbol table info available.
 #1  0x00007f1ee97d200e in ev_document_misc_surface_rotate_and_scale () from /usr/lib/x86_64-linux-gnu/libatrildocument.so.3
 No symbol table info available.
 #2  0x00007f1ee1380b05 in ?? () from /usr/lib/x86_64-linux-gnu/atril/3/backends/libepubdocument.so
 No symbol table info available.
 #3  0x0000000000401b2a in ?? ()
 No symbol table info available.
 #4  0x000000000040177c in ?? ()
 No symbol table info available.
 #5  0x00007f1ee8099830 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
 No symbol table info available.
 #6  0x0000000000401939 in ?? ()
 No symbol table info available.
StacktraceAddressSignature: /usr/bin/atril-thumbnailer:11:/usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.6+37b2c:/usr/lib/x86_64-linux-gnu/libatrildocument.so.3.0.0+1a00e:/usr/lib/x86_64-linux-gnu/atril/3/backends/libepubdocument.so+2b05:/usr/bin/atril-thumbnailer+1b2a:/usr/bin/atril-thumbnailer+177c:/lib/x86_64-linux-gnu/libc-2.23.so+20830:/usr/bin/atril-thumbnailer+1939
StacktraceTop:
 cairo_image_surface_get_width () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 ev_document_misc_surface_rotate_and_scale () from /usr/lib/x86_64-linux-gnu/libatrildocument.so.3
 ?? () from /usr/lib/x86_64-linux-gnu/atril/3/backends/libepubdocument.so
 ?? ()
 ?? ()
Tags:  xenial
ThreadStacktrace:
 .
 Thread 4 (Thread 0x7f1eda548700 (LWP 8419)):
 #0  0x00007f1ee8452c6d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #1  0x00007f1ee86d1238 in g_usleep () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #2  0x0000000000401a6e in ?? ()
 No symbol table info available.
 #3  0x00007f1ee86cfbc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #4  0x00007f1ee844970a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #5  0x00007f1ee817f82d in clone () from /lib/x86_64-linux-gnu/libc.so.6
 No symbol table info available.
 .
 Thread 3 (Thread 0x7f1ee1d89700 (LWP 8418)):
 #0  0x00007f1ee8173b5d in poll () from /lib/x86_64-linux-gnu/libc.so.6
 No symbol table info available.
 #1  0x00007f1ee86a939c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #2  0x00007f1ee86a9722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #3  0x00007f1ee8ca7916 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 No symbol table info available.
 #4  0x00007f1ee86cfbc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #5  0x00007f1ee844970a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #6  0x00007f1ee817f82d in clone () from /lib/x86_64-linux-gnu/libc.so.6
 No symbol table info available.
 .
 Thread 2 (Thread 0x7f1ee258a700 (LWP 8417)):
 #0  0x00007f1ee8173b5d in poll () from /lib/x86_64-linux-gnu/libc.so.6
 No symbol table info available.
 #1  0x00007f1ee86a939c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #2  0x00007f1ee86a94ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #3  0x00007f1ee86a94e9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #4  0x00007f1ee86cfbc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 No symbol table info available.
 #5  0x00007f1ee844970a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #6  0x00007f1ee817f82d in clone () from /lib/x86_64-linux-gnu/libc.so.6
 No symbol table info available.
 .
 Thread 1 (Thread 0x7f1ee9bda980 (LWP 8416)):
 #0  0x00007f1ee7ae7b2c in cairo_image_surface_get_width () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 No symbol table info available.
 #1  0x00007f1ee97d200e in ev_document_misc_surface_rotate_and_scale () from /usr/lib/x86_64-linux-gnu/libatrildocument.so.3
 No symbol table info available.
 #2  0x00007f1ee1380b05 in ?? () from /usr/lib/x86_64-linux-gnu/atril/3/backends/libepubdocument.so
 No symbol table info available.
 #3  0x0000000000401b2a in ?? ()
 No symbol table info available.
 #4  0x000000000040177c in ?? ()
 No symbol table info available.
 #5  0x00007f1ee8099830 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
 No symbol table info available.
 #6  0x0000000000401939 in ?? ()
 No symbol table info available.
Title: atril-thumbnailer crashed with SIGSEGV in cairo_image_surface_get_width()
UnreportableReason:
 You have some obsolete package versions installed. Please upgrade the following packages and check if the problem still occurs:
 
 libapparmor1
UpgradeStatus: No upgrade log present (probably fresh install)
XsessionErrors:
 mate-session[1663]: WARNING: Unable to find provider '' of required component 'dock'
 (mate-panel:1763): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
 (nm-applet:1792): nm-applet-CRITICAL **: get_menu_item_for_ap: assertion 'dup_data.hash != NULL' failed
 (nm-applet:1792): nm-applet-CRITICAL **: get_menu_item_for_ap: assertion 'dup_data.hash != NULL' failed
 The program 'mate-maximus' received an X Window System error.
 The error was 'BadWindow (invalid Window parameter)'.
   (Details: serial 3511 error_code 3 request_code 20 minor_code 0)
 (firefox:2431): Gtk-CRITICAL **: gtk_clipboard_set_with_data: assertion 'targets != NULL' failed
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 130 was not found when attempting to remove it
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 130 was not found when attempting to remove it
 (mate-panel:1763): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 253 was not found when attempting to remove it
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 253 was not found when attempting to remove it
 (mate-screensaver:1818): GLib-CRITICAL **: Source ID 80 was not found when attempting to remove it
 (mate-screensaver:1818): GLib-CRITICAL **: Source ID 136 was not found when attempting to remove it
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 438 was not found when attempting to remove it
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 438 was not found when attempting to remove it
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 580 was not found when attempting to remove it
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 580 was not found when attempting to remove it
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/linuxactionshowep440.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type video/mp4: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/Desktop/lup-0168-432p.mp4: Unrecognized image file format
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 632 was not found when attempting to remove it
 (deja-dup-monitor:1824): GLib-CRITICAL **: Source ID 632 was not found when attempting to remove it
 (mate-panel:1763): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
 (mate-panel:1763): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
 (mate-screensaver:1818): GLib-CRITICAL **: Source ID 138 was not found when attempting to remove it
 (nm-applet:1792): GLib-CRITICAL **: g_hash_table_remove_all: assertion 'hash_table != NULL' failed
 (nm-applet:1792): nm-applet-CRITICAL **: nma_icons_free: assertion 'NM_IS_APPLET (applet)' failed
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type application/epub+zip: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/ebooks/gnucash-guide.epub: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Unable to create loader for mime type application/epub+zip: Unrecognized image file format
 (caja:1786): MateDesktop-WARNING **: Error creating thumbnail for file:///home/ouroumov/ebooks/gnucash-help.epub: Unrecognized image file format
 (atril:8471): Gdk-WARNING **: /build/gtk+2.0-KsZKkB/gtk+2.0-2.24.30/gdk/x11/gdkdrawable-x11.c:942 drawable is not a native X11 window
 (atril:8471): Gdk-WARNING **: /build/gtk+2.0-KsZKkB/gtk+2.0-2.24.30/gdk/x11/gdkdrawable-x11.c:942 drawable is not a native X11 window
 (atril:8471): Gdk-WARNING **: /build/gtk+2.0-KsZKkB/gtk+2.0-2.24.30/gdk/x11/gdkdrawable-x11.c:942 drawable is not a native X11 window

Note that I have the same unrecognized file format warnings near the end.

Quick workaround (at least it works for me):

Edit /usr/share/thumbnailers/atril.thumbnailer as root, move to the last line (which starts with MimeType=) and remove the last part of it - application/epub+zip;.
The line should end with application/vnd.ms-xpsdocument; after that.

Log out and log in back. Now atril-thumbnailer should not be invoked on epub files.

Bug report on that already exists:
https://bugs.launchpad.net/ubuntu/+source/atril/+bug/1540018

I don’t know why atril-thumbnailer tries to process the same files over and over again though… I never experienced that.

Anyway, thumbnail creation code in Atril’s epub backend was doing the wrong thing from the start. Unfortunately, the original epub backend author doesn’t seem to have any desire to continue his work, and the rest of us need to figure out how to (re)write this code to do the right thing.

2 Likes

Thanks monsta!! That took care of it!

I agree. I tried monsta’s suggestion and edited the atril.thumbnailer file. That took care of the problem.

Thanks Bill. I think I’ll wait until the next point release. Hopefully Desktop 1.14 will be included. I followed monsta’s recommendation and edited the atril.thumbnailer file. That took care of my problem.

Has anyone tried using “Bleachbit”?:

Hey wolfman!

I use BleachBit on a regular basis and love it, but my problem was not how to get rid of the unnecessary files. My problem was that, if I left a folder open in Caja which contained an epub file, atril-thumbnailer would fill up my 60 GB / folder with thumbnails until I got an error message that I was out of space in that folder.

That’s a weird error message to get when you know that you supposedly have over 50 GB free. So, I’m glad you brought up BleachBit because, as the program warns you, don’t check on a box if you don’t know what you’re doing. I once cleaned out my ‘package lists’ and the Thunderbird ‘cache’. Not anything that couldn’t be downloaded again, but certainly a step that was completely unnecessary. :grimacing:

Jim

1 Like

HI Jim,

could you not blacklist atril-thumbnailer ?, I found this which might help you?:

Thanks Wolfman! I’ll give it a try if I have any further problems.
Thanks,
Jim

1 Like

File Explosion Problem Solved

Hi Bill,

I’m addressing this to you because you suggested a reinstall and, I believe, that was at least part of the solution. To explain the entire solution, let me give you a little background:

I built my present computer from a kit about three years ago. I read all the pros and cons about different setups and tried to set up my computer in the best possible way. I set up UEFI or UEFI first in the BIOS and set up my harddrive partition table as gpt.

Over the past three years, I have periodically had system crashes and had to reinstall linux. The last crash occurred about a week ago after installing the latest security updates.

Before reinstalling the system, I made the following changes:

  1. Updated (flashed) the BIOS to latest version
  2. Changed all BIOS setting from UEFI or UEFI first to Legacy or Legacy first
  3. Repartitioned my harddrive and changed the partition table from gpt to msdos
  4. Reinstalled Ubuntu-Mate

Atril-thumbnailer is still occasionally crashing, but the Atril-thumbnailer-XXXX file explosion has ceased. One (1) Atril-thumbnailer-xxxx folder shows up in the tmp folder for each epub file (as others here have noted).

I’ll let you guys debate the merits of the changes I made, but, IMHO Ubuntu is designed to run on a msdos partition in legacy mode. While it can be run under UEFI on a gpt partition, that system introduces an inherent instability which will result in periodic unexplainable crashes.

Well, I know I’ve thrown out a can of worms. I’m interested in hearing you guy’s thoughts.

Jim

LATER: After responding to another post on a different subject, I went to Caja Preferences. On the Preview tab, I changed Text Files to Never. This has solved my problem of Atril crashing and NO Atril-thumbnailer-xxxx folders are being put in the tmp folder.

Thanks everyone,

Jim

Hi Jim,

I would do exactly as you did but legacy boot and partitions are what I’m more familiar. It’s likely just a “Luddite factor”. :slight_smile:

I would guess the Legacy/MSDOS condition is not responsible for the Atril explosions but it certainly isn’t impossible. I’m glad it’s working more normally for you, now. Thanks for the update.

My first computer had 256k of RAM and ran DOS 3.2. There were no such things as “drivers” to make the hardware work. You just plugged it in and it worked. The computers of today would not exist if technology had not advanced beyond the hardware standard of compatibility, but it certainly makes it much harder to know what will work and what won’t. It creates problems, sometimes, for which there is no answer and mysteries which will never be solved!!:wink: