After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776271 - More crashes with tracker sandbox
More crashes with tracker sandbox
Status: RESOLVED DUPLICATE of bug 776117
Product: tracker
Classification: Core
Component: Extractor
unspecified
Other Linux
: Normal major
: ---
Assigned To: tracker-extractor
tracker-extractor
Depends on:
Blocks:
 
 
Reported: 2016-12-19 13:36 UTC by Jeremy Bicha
Modified: 2016-12-23 09:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2016-12-19 13:36:41 UTC
I'm seeing quite a few crash reports from Ubuntu 16.04 users of the GNOME3 Staging PPA using tracker 1.8.2-0ubuntu1~xenial1. I'm unsure the best way to share these with you. Is the following enough information?

Crash #1
StacktraceTop:
 dup2 () at ../sysdeps/unix/syscall-template.S:84
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_spawn_async_with_pipes () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Title: tracker-extract crashed with signal 31 in dup2()

Crash #2
StacktraceTStacktraceTop:
 getrusage () at ../sysdeps/unix/syscall-template.S:84
 ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
 ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
 ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
 gnutls_global_init () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
Title: tracker-extract crashed with signal 31 in getrusage()op:
 getrusage () at ../sysdeps/unix/syscall-template.S:84
 ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
 ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
 ?? () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
 gnutls_global_init () from /usr/lib/x86_64-linux-gnu/libgnutls.so.30
Title: tracker-extract crashed with signal 31 in getrusage()
Comment 1 Jeremy Bicha 2016-12-20 03:45:26 UTC
If I understand correctly, dup2 should be fixed as of:

https://git.gnome.org/browse/tracker/commit/?id=435eca332

(but it hasn't been backported).

Also, if you do another 1.8 release, Ubuntu has cherry-picked this one so maybe you want to backport it too:
https://git.gnome.org/browse/tracker/commit/?h=tracker-1.10&id=369fdc9c
Comment 2 Carlos Garnacho 2016-12-23 09:44:44 UTC
Thanks for the heads up :), the specific syscall that seems to fail there is getrusage(), which there are already patches for. Crossing fingers though that the setrusage() counterparts are not used, I wouldn't expect that from libraries though...

*** This bug has been marked as a duplicate of bug 776117 ***