Re: [Tracker] Tracker search problem - GLib-CRITICAL **: g_thread_join: assertion `thread' faile
- From: Philip Van Hoof <spam pvanhoof be>
- To: Alexandru Tataru <alexandruflavian gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Tracker search problem - GLib-CRITICAL **: g_thread_join: assertion `thread' faile
- Date: Mon, 20 Dec 2010 10:32:11 +0100
On Mon, 2010-12-20 at 10:43 +0200, Alexandru Tataru wrote:
Hello everybody,
I created a stress test for an API developed by me using tracker. A
method in this API is used to search the tracker database by a keyword
using a sparql query. The thing is that when I call this
method approximatively 370 times it crashes.
The returned error is the following one:
Please attach your test code, else we can't really help you
Running search after 'mp3' keyword for the 367 time
[Callback.msg] Searchop status is now STATUS_BUSY...
Search op thread create failed: Error creating thread: Resource
temporarily unavailable
TEST FAILED-> NOK
TEST FAILED
Running search after 'mp3' keyword for the 368 time
Waiting for the other search thread to finish...
(<unknown>:8704): GLib-CRITICAL **: g_thread_join: assertion `thread'
failed
[Callback.msg] Searchop status is now STATUS_BUSY...
Search op thread create failed: Error creating thread: Resource
temporarily unavailable
TEST FAILED-> NOK
The test always crashes around this number ~370 times.
The search operations is asynchronous and I do create some threads
but I do not thing the problem is with the thread or a memory leak.
I just want to task if you know that tracker methods like
tracker_sparql_connection_query() could generate exceptions like this
ones. Take in mind that I do free the connection and the cursor so
there are no memory leaks regarding this part of code.
Have a nice day!
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
--
Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]