[Tracker] [PATCH] fixing a t-s-t crasher when trackerd is not running



Hi.

there are currently 2 (automatic) bug reports[1,2] for t-s-t, I tried
hard to get it crashing but it did not ;).

Today however, I missed starting trackerd and t-s-t crashed, end the
backtrace at least seems like the ones from those reports.

As there is no more information on those reports I just reference them
explicitly here.

Here's a backtrace w/o that error checking:

--------------------
#0  0xb756750d in g_ptr_array_foreach () from /usr/lib/libglib-2.0.so.0
#1  0x0805ec55 in get_hit_count (out_array=0xb765c610,
error=0x8194220, user_data=0x809f0a0) at tracker-search-tool.c:1722
#2  0xb753f3f6 in tracker_GPtrArray_reply (proxy=0x81b1470,
OUT_result=0xb765c610, error=0x8194220, user_data=0x81e3948) at
tracker.c:178
#3  0xb753e835 in
org_freedesktop_Tracker_Search_get_hit_count_all_async_callback
(proxy=0x81b1470, call=0x1, user_data=0x81e56b0) at
tracker-client.h:728
#4  0xb76687af in ?? () from /usr/lib/libdbus-glib-1.so.2
#5  0x081b1470 in ?? ()
#6  0x00000001 in ?? ()
#7  0x081e56b0 in ?? ()
#8  0xb765c610 in ?? () from /usr/lib/libdbus-1.so.3
#9  0x081ef980 in ?? ()
#10 0x0818e478 in ?? ()
#11 0xbfa53478 in ?? ()
#12 0xb7643c51 in ?? () from /usr/lib/libdbus-1.so.3
#13 0x081ef980 in ?? ()
#14 0x081eff20 in ?? ()
#15 0xbfa53498 in ?? ()
#16 0xb765c610 in ?? () from /usr/lib/libdbus-1.so.3
#17 0xb765c610 in ?? () from /usr/lib/libdbus-1.so.3
#18 0x081ef980 in ?? ()
#19 0xbfa53498 in ?? ()
#20 0xb7633d83 in ?? () from /usr/lib/libdbus-1.so.3
#21 0x081ef980 in ?? ()
#22 0x0818ea08 in ?? ()
#23 0x00000000 in ?? ()
--------------------

I added a new function to show a 'general' error and changed
end_search accordingly.

Cheers, Marcus

[1] http://bugzilla.gnome.org/show_bug.cgi?id=461252
[2] http://bugzilla.gnome.org/show_bug.cgi?id=460659

PS: the odd thing: the error message is like 'Could not execute
/usr/local/bin/trackerd...' - what's odd here: my tracker prefix is
/opt/tracker. also tracker-search prints such a warning, where does
the /usr/local/bin come from? I tried to find it but haven't yet...

Attachment: tracker_r735_fix_t-s-t_crash.patch
Description: Text Data



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