After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731512 - Crash on login in g_type_check_instance_is_a()
Crash on login in g_type_check_instance_is_a()
Status: RESOLVED DUPLICATE of bug 739237
Product: tracker
Classification: Core
Component: Miners
1.0.x
Other Linux
: Normal major
: ---
Assigned To: tracker-general
Depends on:
Blocks:
 
 
Reported: 2014-06-11 10:14 UTC by Laurent Bonnaud
Modified: 2014-11-05 09:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Laurent Bonnaud 2014-06-11 10:14:39 UTC
Hi,

each time I log in tracker-miner-fs crashes.  Sometimes it crashes with this crash:

  https://bugs.launchpad.net/ubuntu-gnome/+bug/1327131

and other times it crashes with this crash:

  https://bugs.launchpad.net/ubuntu-gnome/+bug/1324808

Note that my system has the following environment variables that may reveal dormant bugs:

MALLOC_CHECK_=3                                                                                                          
MALLOC_PERTURB_=117                                                                                                      

The above bugs have all necessary information, but here is a quick summary:

 - tracker version: 1.0.1
 - backtrace of the most reported bug:

  • #0 g_type_check_instance_is_a
    at /build/buildd/glib2.0-2.40.0/./gobject/gtype.c line 3969
  • #1 g_file_get_uri
    at /build/buildd/glib2.0-2.40.0/./gio/gfile.c line 546
  • #2 sparql_files_compose_query
    at tracker-file-notifier.c line 740
  • #3 sparql_files_query_start
    at tracker-file-notifier.c line 759
  • #4 crawler_finished_cb
    at tracker-file-notifier.c line 843
  • #5 g_cclosure_marshal_VOID__BOOLEANv
    at /build/buildd/glib2.0-2.40.0/./gobject/gmarshal.c line 188
  • #6 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.40.0/./gobject/gclosure.c line 831
  • #7 g_signal_emit_valist
    at /build/buildd/glib2.0-2.40.0/./gobject/gsignal.c line 3215
  • #8 g_signal_emit
    at /build/buildd/glib2.0-2.40.0/./gobject/gsignal.c line 3363
  • #9 tracker_crawler_stop
    at tracker-crawler.c line 916
  • #10 process_func
    at tracker-crawler.c line 539
  • #11 g_main_dispatch
    at /build/buildd/glib2.0-2.40.0/./glib/gmain.c line 3064
  • #12 g_main_context_dispatch
    at /build/buildd/glib2.0-2.40.0/./glib/gmain.c line 3663
  • #13 g_main_context_iterate
    at /build/buildd/glib2.0-2.40.0/./glib/gmain.c line 3734
  • #14 g_main_loop_run
    at /build/buildd/glib2.0-2.40.0/./glib/gmain.c line 3928
  • #15 main
    at tracker-main.c line 1088

Comment 1 Laurent Bonnaud 2014-06-23 20:40:59 UTC
(I don't know if you get notified of bug updates in launchpad, so here is the latest information:)

Today I had to log in again and the crash occurred again:

 - running /usr/lib/tracker/tracker-miner-fs -v 3 -s 0 led to a reproducible crash

 - unsetting the MALLOC_PERTURB_=117 variable allowed tracker-miner-fs to complete without crashing

 - running /usr/lib/tracker/tracker-miner-fs -v 3 -s 0 again led to no more crash
Comment 2 Martyn Russell 2014-07-07 10:38:46 UTC
Hello Laurent, I will check this out and see if I can reproduce it. Thank you for the details, appreciated!
Comment 3 Martyn Russell 2014-07-07 10:42:00 UTC
Hmm, didn't crash here :/

I am on a different branch though, so I will test that next.
Out of interest, does this happen for the same file or random files?

The backtrace looks like it's querying for a specific file.
Comment 4 Laurent Bonnaud 2014-07-07 11:58:54 UTC
> Out of interest, does this happen for the same file or random files?

tracker-miner-fs crashed each time on the same file the first time I was able to reproduce the crash.

The second time too, but it was a different file (and much earlier in its directory tree walk).
Comment 5 Martyn Russell 2014-07-07 13:42:41 UTC
(In reply to comment #4)
> > Out of interest, does this happen for the same file or random files?
> 
> tracker-miner-fs crashed each time on the same file the first time I was able
> to reproduce the crash.
> 
> The second time too, but it was a different file (and much earlier in its
> directory tree walk).

Ah, can you attach the file here perhaps so I can test with it?
I haven't been able to reproduce this crash yet :/
Comment 6 Laurent Bonnaud 2014-10-30 15:36:18 UTC
Sorry but the crash is seldom occurs on the same file.  Recently it occurred on another system and another homedir with a completely different set of files.
Comment 7 Laurent Bonnaud 2014-10-30 15:38:26 UTC
Here is the latest instance of this crash:

  https://bugs.launchpad.net/ubuntu-gnome/+bug/1387217

on an Ubuntu 14.10 system and with tracker 1.2.3 (that recently arrived in the GNOME PPA).
Comment 8 Martyn Russell 2014-11-05 09:54:46 UTC
I believe this is a duplicate of bug #739237, I will try to release with this fix in 1.0.x and 1.2.x soon after hearing back from Philip in the actual bug report.

Thanks.

*** This bug has been marked as a duplicate of bug 739237 ***