2007/7/22, Laurent Aguerreche <[EMAIL PROTECTED]>:
Hello,

I propose a patch to fix a bunch of things:


Hi Laurent,

after your latest commit (r693), trackerd immediately segfaults on
start for me :-/

Backtrace is attached.

Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
(gdb) bt full 
#0  0x08079840 in SN_set_current (z=0x41, size=11, s=0x817ce78 "application") at runtime/api.c:78
        err = 11
#1  0x08079693 in sb_stemmer_stem (stemmer=0x80a34d8, word=0x817ce78 "application", size=11)
    at libstemmer/libstemmer.c:90
        ret = <value optimized out>
#2  0x08073b17 in tracker_stem (word=0x817ce78 "application", word_length=11) at tracker-stemmer.c:35
No locals.
#3  0x08054fcd in analyze_text (text=<value optimized out>, index_word=0xb77570f8, filter_words=0, 
    delimit_hyphen=0) at tracker-parser.c:330
        str = 0x817ad00 ""
        tmp = 0x817ce78 "application"
        len = 134797384
        utf8 = 0x817ce30 ""
        word = {97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 3083821344, 4, 3083816948, 0, 4, 
  3077926968, 3082940774, 4, 3083821392, 3083720416, 3082926561, 3077926920, 3083821392, 24, 
  3083821356, 3083821392, 0, 134874224, 3081851816, 3083835416, 3083821392, 257526709, 3086036980, 
  3086038624, 3082425448, 0, 4, 3077927016, 3082034571, 0, 0, 3077927032, 3082119251, 134862520, 
  3085976332, 3086039064, 3082425448, 135766016, 3077927160, 3077927048, 3082425448, 135766016, 
  135766016, 3077927064, 3082120102, 135766016, 4294967295, 134797384, 1, 3082425448, 1, 3077927096, 
  3082120915}
        c = <value optimized out>
        do_strip = 0
        length = <value optimized out>
        bytes = 11
        word_type = WORD_ALPHA
        is_valid = 1
        p = 0x8179cab ""
        start = 0x8179ca0 "Application"
#4  0x080553f8 in tracker_parse_text_to_string (txt=0x8179ca0 "Application", filter_words=0, delimit=0)
    at tracker-parser.c:419
        str = (GString *) 0x817a000
        p = 0x8179ca0 "Application"
        word = 0x0
        i = <value optimized out>
#5  0x0805c740 in tracker_db_insert_embedded_metadata (db_con=0x8157dc0, 
    service=0x808903f "Applications", id=0x81790e0 "538017", key=0x808c66f "App:Categories", 
    values=0x8179cf0, length=1, table=0x80d9a00) at tracker-db-sqlite.c:2968
        mvalue = 0x808c66f "App:Categories"
        key_field = 0
        i = 0
        def = (FieldDef *) 0x80d0200
        __PRETTY_FUNCTION__ = "tracker_db_insert_embedded_metadata"
#6  0x08061af2 in save_meta_table_data (mtype=0x808c66f, value=0x809e758, user_data=0xb77571e4)
    at tracker-db.c:255
        array = (char **) 0x8179cf0
#7  0xb7b2da66 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x0806135f in tracker_db_save_metadata (db_con=0x8157dc0, table=0x809f1c0, index_table=0x80d9a00, 
    service=0x808903f "Applications", file_id=538017, new_file=1) at tracker-db.c:281
        db_action = {db_con = 0x8157dc0, file_id = 0x81790e0 "538017", 
  service = 0x808903f "Applications", table = 0x80d9a00}
        __PRETTY_FUNCTION__ = "tracker_db_save_metadata"
#9  0x08061785 in tracker_db_index_service (db_con=0x80cf7e8, info=0x8176ed8, 
    service=0x808903f "Applications", meta_table=0x809f1c0, attachment_uri=0x0, 
    attachment_service=0x0, get_embedded=1, get_full_text=0, get_thumbs=0) at tracker-db.c:780
        row = <value optimized out>
        k = <value optimized out>
        name = <value optimized out>
        path = <value optimized out>
        result_set = <value optimized out>
        str_file_id = 0x8179a18 "0"
        uri = 0x8176ad8 "/home/michael/.local/share/applications/so7template.desktop"
        index_table = (GHashTable *) 0x80d9a00
        old_table = (GHashTable *) 0x0
#10 0x08060636 in tracker_db_index_application (db_con=0x80cf7e8, info=0x8176ed8) at tracker-apps.c:197
        meta_table = (GHashTable *) 0x809f1c0
        error = (GError *) 0x0
        key_file = (GKeyFile *) 0x8172730
        type = (gchar *) 0x8175b10 "Application"
        desktop_entry = "Desktop Entry"
        mimes = (char **) 0x0
        categories = (char **) 0x8179a28
        locale_array = <value optimized out>
#11 0x080522df in process_files_thread () at trackerd.c:759
        res = <value optimized out>
        k = <value optimized out>
        signal_set = {__val = {2147483647, 4294967294, 4294967295 <repeats 30 times>}}
        db_con = (DBConnection *) 0x80cf7e8
        blob_db_con = (DBConnection *) 0x812f118
        emails_db_con = (DBConnection *) 0x8132868
        common_db_con = <value optimized out>
        file_index_db_con = <value optimized out>
        email_index_db_con = <value optimized out>
        moved_from_list = (GSList *) 0x0
        pushed_events = 0
#12 0xb7b5864f in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.

_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to