Re: [Tracker] tracker-miner-fs crash?



On Wed, Nov 11, 2009 at 15:06, Philip Van Hoof<spam pvanhoof be> wrote:
On Tue, 2009-11-10 at 17:14 +0200, Tshepang Lekhonkhobe wrote:
On Tue, Nov 10, 2009 at 17:08, Tshepang Lekhonkhobe<tshepang gmail com> wrote:

produces a quick crash:
[snip]
Tracker-Message: Starting next miner...
(tracker-miner-fs:23552): Tracker-DEBUG: URN '(null)' (mount point:
urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66) was not
reported to be mounted, but now it is, updating state
(tracker-miner-fs:23552): Tracker-DEBUG: Setting up mount point
'urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66'
Tracker-Message: Crawling recursively directory '/usr/share/applications'

Tracker-CRITICAL **: Could not initialize currently active mount
points: 1.345: syntax error, undefined variable
aborting...
Aborted

and now with --track-origins=yes, find attached


I pushed a fix for this in master. Can you retest this specific use-
case?

The other problems that you reported in this thread are unrelated to
this one.

For developers:

The set_up_mount_point was not handling URN=NULL correctly, causing the
SPARQL query in accumulator to be formatted wrongly. I don't know what
we can do in case URN is NULL, so I'm just not handling mount points for
devices that have no URN.

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 1 (Thread 0xb7a04a50 (LWP 7654)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7a948c0 in *__GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7a97df5 in *__GI_abort () at abort.c:88
#3  0xb7c319ff in IA__g_logv (log_domain=0x8054cd1 "Tracker",
log_level=G_LOG_LEVEL_CRITICAL, format=0x8057088 "Could not initialize
currently active mount points: %s",
    args1=0xbfffec0c "@\203\006\b\002") at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmessages.c:549
#4  0xb7c31d86 in IA__g_log (log_domain=0x8054cd1 "Tracker",
log_level=G_LOG_LEVEL_CRITICAL, format=0x8057088 "Could not initialize
currently active mount points: %s")
    at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmessages.c:569
#5  0x080525a0 in init_mount_points_cb (miner=0x80792a8,
error=0x8077938, user_data=0x0) at tracker-miner-files.c:533
#6  0xb7e49529 in run_update_callback (error=0x8077938,
user_data=0x8066b00) at tracker-miner.c:764
#7  sparql_update_cb (error=0x8077938, user_data=0x8066b00) at
tracker-miner.c:788
#8  0xb7e6efee in tracker_void_reply (proxy=0x8078c48,
error=0x8077938, user_data=0x80686c8) at tracker.c:98
#9  0xb7e6e928 in
org_freedesktop_Tracker1_Resources_sparql_update_async_callback
(proxy=0x8078c48, call=0x2, user_data=0x80721f0) at
tracker-resources-glue.h:118
#10 0xb7e2c53f in ?? () from /usr/lib/libdbus-glib-1.so.2
#11 0xb7e04e51 in ?? () from /lib/libdbus-1.so.3
#12 0xb7df4d56 in ?? () from /lib/libdbus-1.so.3
#13 0xb7df5a5c in dbus_connection_dispatch () from /lib/libdbus-1.so.3
#14 0xb7e27bdd in ?? () from /usr/lib/libdbus-glib-1.so.2
#15 0xb7c27e98 in g_main_dispatch (context=0x806eca8) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:1960
#16 IA__g_main_context_dispatch (context=0x806eca8) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2513
#17 0xb7c2b623 in g_main_context_iterate (context=0x806eca8, block=1,
dispatch=1, self=0x805c8f0) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2591
#18 0xb7c2baea in IA__g_main_loop_run (loop=0x8069540) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2799
#19 0xb7e4e895 in should_change_index_for_file (fs=0x8074dc0,
file=0x8079018) at tracker-miner-fs.c:1415
#20 0xb7e4e913 in crawler_check_directory_cb (crawler=0x8076248,
file=0x8079018, user_data=0x8074dc0) at tracker-miner-fs.c:1679
#21 0xb7e48c46 in tracker_marshal_BOOLEAN__OBJECT (closure=0x80761c8,
return_value=0xbffff0f0, n_param_values=2, param_values=0x8074450,
invocation_hint=0xbffff0dc,
    marshal_data=0xb7e4e8d0) at tracker-marshal.c:450
#22 0xb7cb3de3 in IA__g_closure_invoke (closure=0x80761c8,
return_value=0xbffff0f0, n_param_values=2, param_values=0x8074450,
invocation_hint=0xbffff0dc)
    at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gobject/gclosure.c:767
#23 0xb7cc7f0f in signal_emit_unlocked_R (node=0x8075bb8, detail=0,
instance=0x8076248, emission_return=0xbffff228,
instance_and_params=0x8074450)
    at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gobject/gsignal.c:3247
#24 0xb7cc91ef in IA__g_signal_emit_valist (instance=0x8076248,
signal_id=21, detail=0, var_args=0xbffff280 "\250\362\377\277\001")
    at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gobject/gsignal.c:2990
#25 0xb7cc97b6 in IA__g_signal_emit (instance=0x8076248, signal_id=21,
detail=0) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gobject/gsignal.c:3037
#26 0xb7e480e4 in check_directory (data=0x8076248) at tracker-crawler.c:284
#27 process_func (data=0x8076248) at tracker-crawler.c:331
#28 0xb7c260b1 in g_idle_dispatch (source=0x80822a0, callback=0,
user_data=0x8076248) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:4065
#29 0xb7c27e98 in g_main_dispatch (context=0x806eca8) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x806eca8) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2513
#31 0xb7c2b623 in g_main_context_iterate (context=0x806eca8, block=1,
dispatch=1, self=0x805c8f0) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2591
#32 0xb7c2baea in IA__g_main_loop_run (loop=0x8079248) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2799
#33 0x08050c0c in main (argc=134678792, argv=0x2) at tracker-main.c:343



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

Attachment: tracker-miner-fs.log
Description: Text Data



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