Bug 1133924
Summary: | tracker-extract is SIGABRTing due to setrlimits() | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vadim Rutkovsky <vrutkovs> | ||||||||||||||||||||||
Component: | tracker | Assignee: | Igor Gnatenko <ignatenko> | ||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||
Version: | 21 | CC: | baguzzzaji, charles.tryon, ch, dadreggors, dakingun, davidzgumberg, debarshir, ed.greshko, emmanuel.pacaud, esalvati, guillaumepoiriermorency, ifoolb, ignatenko, james, lkundrak, mgautier, minkov.89, mnowak, petersen, sanzoh, sumitkbhardwaj, tenpin784, vpodzime | ||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/bd20c3526f0a358fa0734ffcd9579201ee55a7ab | ||||||||||||||||||||||||
Whiteboard: | abrt_hash:e1a4ef7b3da5b8a554d50a5c1b36cd4372440e4c | ||||||||||||||||||||||||
Fixed In Version: | tracker-1.2.4-2.fc21 | Doc Type: | Bug Fix | ||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||
Last Closed: | 2014-11-15 09:21:01 UTC | Type: | --- | ||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||
Attachments: |
|
Description
Vadim Rutkovsky
2014-08-26 13:00:11 UTC
Created attachment 930942 [details]
File: backtrace
Created attachment 930943 [details]
File: cgroup
Created attachment 930944 [details]
File: core_backtrace
Created attachment 930945 [details]
File: dso_list
Created attachment 930946 [details]
File: environ
Created attachment 930947 [details]
File: limits
Created attachment 930948 [details]
File: maps
Created attachment 930949 [details]
File: open_fds
Created attachment 930950 [details]
File: proc_pid_status
Created attachment 930951 [details]
File: var_log_messages
The tracker from thread 1 tells the story - malloc is complaining that it "failed to allocate %lu bytes" of memory. Tracker-extract sets some resource limits on itself to limit the amount of memory that it can consume. The idea was to prevent a buggy or low quality extractor from going haywire and consuming a lot of resources on encountering a 'weird' file. Unfortunately, papering over deficiencies in the extraction libraries like this does not work very well, and the only solution is to fix them. You can look at the upstream bug for further discussion: https://bugzilla.gnome.org/show_bug.cgi?id=737663 So, I will just go ahead and backport this from master to f21. commit 4aea6025d02fcedffde688c6e9afe7736fea73bc Author: Martyn Russell <martyn> Date: Mon Oct 13 11:41:57 2014 +0100 tracker-extract: Avoid the use of setrlimit() it's causing problems Part of the solution is this commit, see: https://bugzilla.gnome.org/show_bug.cgi?id=737663 The other part is to use cgroups tracker-1.2.4-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/tracker-1.2.4-2.fc21 Package tracker-1.2.4-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tracker-1.2.4-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-14739/tracker-1.2.4-2.fc21 then log in and leave karma (feedback). tracker-1.2.4-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |