<html><head></head><body>Two more things:<br><br>1. I have a few more samples in both categories, if needed<br><br>2. I do realize that this bears resemblance to #679581. However, there the offending process was different.<br><br><div class="gmail_quote">On 16 May 2019 01:42:44 BST, "Bálint Kovács" <dratini0@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Package: tracker-extract<br>Version: 2.1.6-1<br>Severity: critical<br>Justification: breaks the whole system<br><br>Dear Maintainer,<br><br>   * What led up to the situation?<br>I have been extracting resources from a game. When I extracted a handful of DDS<br>files, my memory usage shot up and in about 5 seconds the entire system locked<br>up, no moving to virtual consoles, no nothing. This kept happening, every time<br>I logged into my profile. To investigate I killed all tracker-related<br>processes.<br><br>   * What exactly did you do (or not do) that was effective (or<br>     ineffective)?<br>I have been able to identify that the misbehaving process is tracker-extract. I<br>started running tracker-extract with an rlimit on the DDS files.<br><br>   * What was the outcome of this action?<br>Some files worked fine, some failed under an RLIMIT_AS of 5 GiB but not under<br>an RLIMIT_AS of 10 GiB (but it still allocated a not insignificant amount of<br>memory)<br><br>Full output from an affected file:<br><br>$ /usr/lib/tracker/tracker-extract -v 2 -f bad.dds<br>00:57<br>** Message: 00:57:52.901: Starting tracker-extract 2.1.6<br>** Message: 00:57:52.901: General options:<br>** Message: 00:57:52.901:   Verbosity  ............................  2<br>** Message: 00:57:52.901:   Sched Idle  ...........................  1<br>** Message: 00:57:52.901:   Max bytes (per file)  .................  1048576<br>(tracker-extract:9171): dconf-DEBUG: 00:57:52.901: watch_established:<br>"/org/freedesktop/tracker/extract/" (establishing: 1)<br>Setting scheduler policy to SCHED_IDLE<br>Setting priority nice level to 19<br>Loading extractor rules... (/usr/share/tracker-miners/extract-rules)<br>Extractor rules loaded<br>MIME type guessed as 'image/x-dds' (from GIO)<br>../../../glib/gmem.c:105: failed to allocate 65687 bytes<br><br>   * What outcome did you expect instead?<br>Full output from an unaffected file:<br><br>$ /usr/lib/tracker/tracker-extract -v 2 -f good.dds<br>00:57<br>** Message: 00:57:46.382: Starting tracker-extract 2.1.6<br>** Message: 00:57:46.382: General options:<br>** Message: 00:57:46.382:   Verbosity  ............................  2<br>** Message: 00:57:46.382:   Sched Idle  ...........................  1<br>** Message: 00:57:46.382:   Max bytes (per file)  .................  1048576<br>(tracker-extract:9113): dconf-DEBUG: 00:57:46.382: watch_established:<br>"/org/freedesktop/tracker/extract/" (establishing: 1)<br>Setting scheduler policy to SCHED_IDLE<br>Setting priority nice level to 19<br>Loading extractor rules... (/usr/share/tracker-miners/extract-rules)<br>Extractor rules loaded<br>MIME type guessed as 'image/x-dds' (from GIO)<br>@prefix rdf: <<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>> .<br>@prefix nmm: <<a href="http://www.tracker-project.org/temp/nmm#">http://www.tracker-project.org/temp/nmm#</a>> .<br>@prefix nfo: <<a href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#</a>> .<br><br><file:///home/.../good.dds> a nfo:Image ,<br>nmm:Photo .<br><br>   * Other information<br>All of the files work with imagemagick display perfectly well, they are even<br>the same resolution.<br><br>To remedy the situation, I have deleted all affected DDS files, but I have kept<br>a tarball of an affected and an unaffected sample (along with one that is not<br>recognized for some reason.) I have attached it to my report. Handle with care,<br>especially if you have a desktop with tracker on it.<br><br>-- System Information:<br>Debian Release: buster/sid<br>  APT prefers testing<br>  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable')<br>Architecture: amd64 (x86_64)<br>Foreign Architectures: i386<br><br>Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)<br>Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE<br>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),<br>LANGUAGE=en_US:en (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/dash<br>Init: systemd (via /run/systemd/system)<br>LSM: AppArmor: enabled<br><br>Versions of packages tracker-extract depends on:<br>ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2<br>ii  libc6                                        2.28-10<br>ii  libcue2                                      2.2.1-2<br>ii  libexempi8                                   2.5.0-2<br>ii  libexif12                                    0.6.21-5.1<br>ii  libflac8                                     1.3.2-3<br>ii  libgexiv2-2                                  0.10.9-1<br>ii  libgif7                                      5.1.4-3<br>ii  libglib2.0-0                                 2.58.3-1<br>ii  libgsf-1-114                                 1.14.45-1<br>ii  libgstreamer-plugins-base1.0-0               1.14.4-1<br>ii  libgstreamer1.0-0                            1.14.4-1<br>ii  libgxps2                                     0.3.1-1<br>ii  libicu63                                     63.1-6<br>ii  libiptcdata0                                 1.0.5-2.1<br>ii  libjpeg62-turbo                              1:1.5.2-2+b1<br>ii  libosinfo-1.0-0                              1.2.0-1<br>ii  libpng16-16                                  1.6.36-5<br>ii  libpoppler-glib8                             0.71.0-3<br>ii  libseccomp2                                  2.3.3-4<br>ii  libtagc0                                     1.11.1+dfsg.1-0.3<br>ii  libtiff5                                     4.0.10-4<br>ii  libtotem-plparser18                          3.26.2-1<br>ii  libtracker-miner-2.0-0                       2.1.8-2<br>ii  libtracker-sparql-2.0-0                      2.1.8-2<br>ii  libvorbisfile3                               1.3.6-2<br>ii  libxml2                                      2.9.4+dfsg1-7+b3<br>ii  tracker                                      2.1.8-2<br><br>tracker-extract recommends no packages.<br><br>tracker-extract suggests no packages.<br></pre></blockquote></div><br><br>Bálint Kovács</body></html>