Re: [Tracker] tracker-store leaking



On Wed, Jan 13, 2010 at 15:51, JÃrg Billeter <j bitron ch> wrote:
Hi Tshepang,

when you terminate tracker-store to get the valgrind output, is
tracker-store shutting down properly or do you forcefully terminate it
or do you get the message "Could not exit in a timely fashion -
terminating..."?

Attached pls find another valgrind log.

This time around -store didn't get stuck like it did previously. I had
to use TERM (15) since HUP (1) failed. Here's the last messages
(G_DEBUG=gc-friendly G_SLICE=always-malloc valgrind
--track-origins=yes --leak-check=full --show-reachable=yes
--leak-resolution=high -v --log-file=valgrind-TS.log
/usr/libexec/tracker-store):

"""
[snip]
(tracker-store:25394): Tracker-DEBUG: <--- [11796|tracker-miner-fs]
tracker_resources_sparql_query(): 'SELECT ?file { ?file
nfo:fileLastModified "2006-05-12T20:41:08Z" . FILTER (?file =
<file:///home/wena/pics/home-made/Tumelo%20Khoane/Lucy/IMG_0039.jpg>)
}'
(tracker-store:25394): Tracker-DEBUG: ---> [11796|tracker-miner-fs]
Success, no error given
(tracker-store:25394): Tracker-DEBUG: <--- [11797|tracker-miner-fs]
tracker_resources_sparql_query(): 'SELECT ?file { ?file
nfo:fileLastModified "2006-05-18T17:16:02Z" . FILTER (?file =
<file:///home/wena/pics/home-made/Tumelo%20Khoane/Lucy/IMG_0009.jpg>)
}'
(tracker-store:25394): Tracker-DEBUG: ---> [11797|tracker-miner-fs]
Success, no error given
Tracker-Message: Statistics cache has expired, updating...
Tracker-Message: Requesting statistics from database for an accurate signal

Received signal:15->'Terminated'Tracker-Message: Checking for
statistics changes and signalling clients...
Tracker-Message:   No changes in the statistics
Tracker-Message: Shutdown started
Tracker-Message: Cleaning up
(tracker-store:25394): Tracker-DEBUG: Disabled Push module 'KMail'
Tracker-Message: Closed sqlite3 database:'/home/wena/.cache/tracker/meta.db'
Tracker-Message: Closed sqlite3 database:'/home/wena/.cache/tracker/contents.db'
Tracker-Message: Closed sqlite3 database:'/home/wena/.cache/tracker/fulltext.db'
Tracker-Message: Closed sqlite3 database:'/home/wena/.cache/tracker/meta.db'

OK
"""

the summary looks strange, especially since valgrind was eating 1.1GB of RAM

==25394== LEAK SUMMARY:
==25394==    definitely lost: 344 bytes in 25 blocks
==25394==    indirectly lost: 120 bytes in 10 blocks
==25394==      possibly lost: 17,783 bytes in 209 blocks
==25394==    still reachable: 67,335 bytes in 1,419 blocks
==25394==         suppressed: 4,952 bytes in 121 blocks


The last part of the tracker-store log could be interesting (if
possible, with verbosity 3, so that we see all queries/updates), i.e.,
including the termination part, not just the extract you've already
posted.

JÃrg





-- 
my place on the web:
floss-and-misc.blogspot.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]