Re: [Tracker] Tracker closing the databse



On 07/03/2013 02:43 PM, Putinei .Ionut wrote:
Hello,

Hello,

I run a  bunch for queries with tracker_sparql_connection_query(sync
version).....with same TrackerSparqlConnection.

After 40-50 queries my app hangs.

I see in tracker log that about the same time tracker is closing the
sqlite database.

Do you have any advice for this issue?Could the fact that tracker is
closing database i get the hang?

Are you able to share the code with us?

I suspect you have references open to one or more TrackerSparqlCursor objects, though it's hard to tell without looking at the code.

Why is the reason to close the database.....since i have seen in code
that close is done in "tracker_db_interface_sqlite_finalize" that is
seem like a destructor function GObject TrackerDBInterface.

Usually, if you unref and finish with the connection we clean up yes.
If you're not expecting this it could be related. Again, sharing the code would go a long way to help us help you figure out what might be the problem.

Thanks,

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.


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