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



2009/11/11 Carlos Garnacho <carlosg gnome org>:
Hi!,

Thanks a lot for the bt, I've pushed a fix for it, please let me know if
it works for you, the issue here is that error is being set, and
dbus-glib doesn't seem to nullify other callback parameters when that
does happen, so in this bt "result" is an invalid pointer.

I installed latest git and things were looking okay until I performed
another move operation:

[snip]
Tracker-Message: Idle
Tracker-Message: Finished mining in seconds:2717.056749, total
directories:1711, total files:28977
[Thread 0xb6f98b70 (LWP 25632) exited]
Tracker-Message: Received monitor event:64->'IN_MOVED_FROM | IN_MOVE*'
for file:'/home/wena/linux' (cookie:113932)
(tracker-miner-fs:24150): Tracker-DEBUG: Setting up event pair timeout check
Tracker-Message: Received monitor event:128->'IN_MOVED_TO | IN_MOVE*'
for file:'/home/wena/linux_' (cookie:113932)
(tracker-miner-fs:24150): Tracker-DEBUG: In
store:'/home/wena/linux'->'/home/wena/linux_':Found  (DIR) (move
monitor event or user request)
Tracker-Message: Processing files...

Program received signal SIGSEGV, Segmentation fault.
0xb7d11d04 in IA__g_file_equal (file1=0x839f5a8, file2=0xb3603010) at
/build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gio/gfile.c:618
618     /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gio/gfile.c:
No such file or directory.
        in /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gio/gfile.c
(gdb) thread apply all bt

Thread 1 (Thread 0xb7a04a50 (LWP 24150)):
#0  0xb7d11d04 in IA__g_file_equal (file1=0x839f5a8, file2=0xb3603010)
at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/gio/gfile.c:618
#1  0xb7c18fc8 in g_hash_table_lookup_node_for_insertion
(hash_table=0x8065950, key=0xb3603010, value=0x82feb38,
keep_new_key=0)
    at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/ghash.c:288
#2  g_hash_table_insert_internal (hash_table=0x8065950,
key=0xb3603010, value=0x82feb38, keep_new_key=0)
    at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/ghash.c:863
#3  0xb7e50862 in tracker_monitor_update (monitor=0x8077870,
old_file=0xb3604078, new_file=0xb3603010) at tracker-monitor.c:1436
#4  0xb7e518b5 in libinotify_monitor_event_cb (handle=0x8065050,
monitor_name=0x8064878 "/home/wena", filename=0xbffff17c "linux_",
event_type=128, cookie=113932,
    user_data=0x8077870) at tracker-monitor.c:1157
#5  0xb7e5e945 in inotify_handle_invoke_callback (inh=0x8065050,
filename=0xbffff17c "linux_", type=128, cookie=113932) at
inotify-handle.c:272
#6  0xb7e5e31a in process_one_event (source=0x8077ce8,
condition=G_IO_IN, data=0x0) at inotify-monitor.c:52
#7  inotify_watch_func (source=0x8077ce8, condition=G_IO_IN, data=0x0)
at inotify-monitor.c:96
#8  0xb7c5e7ed in g_io_unix_dispatch (source=0x8074ed8,
callback=0xb7e5e1d0 <inotify_watch_func>, user_data=0x0)
    at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/giounix.c:162
#9  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
#10 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
#11 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
#12 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
#13 0x08050c0c in main (argc=134678792, argv=0x2) at tracker-main.c:343


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



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