Re: [Tracker] Tracker-search-tool immediate crash in Garnome [FIXED]



...and that's why you use type-safe functions!  Good eye, Jay.  I've
committed your fix to svn.

On 4/5/07, jay langseth <jaylangseth gmail com> wrote:
Ok, I fixed it by looking at the crash report myself (I've never done this
before!).  The first crash was listed in line 1674 of tracker-search-tool.c.
 And I said that tracker-0.5.4 worked fine.  So I compared
tracker-search-tool.c for tracker-0.5.4 to tracker-search-tool.c in svn.  In
the svn version, line 1674 read:

g_object_set (G_OBJECT (label), "xalign", 0, NULL);

This line had an equivalent in the tracker-0.5.4 source code, line 1603:

g_object_set (G_OBJECT (label), "xalign", 0.0, NULL);

where the only difference between the two was the integer 0 versus the
decimal 0.0.  Changing the integer 0 to the decimal 0.0 in the svn version
fixed the problem, and now the new tracker-search-tool works fine!

JasonL

On 4/4/07, jay langseth <jaylangseth gmail com> wrote:
> Hello,
>
> I compiled svn on 4-4-07 on the Garnome-2-16.1 GNOME distribution (living
inside Red Hat Enterprise Linux 4).  Tracker-search-tool crashes immediately
upon startup.  Tracker preferences, command line search, and the daemon work
fine.  I have my Garnome installed in /opt/garnome so I installed tracker
there, but have also tried installing in /usr and it's exactly the same.  I
also installed Garnome-2.18 on my system and it's exactly the same.  I have
also tried the Tracker-0.5.4 release and it works fine.  I compiled svn on
4-2-07 on Ubuntu Feisty and it works fine.  I know Garnome can be kind of
sketchy, but as I mentioned, the release of Tracker-0.5.4 does work without
any problem.
>
> I have compiled with --enable-debug code, here is the crash report.
>
> Thanks for your help.
>
> JasonL
>
> _______________
>
> Distribution: Red Hat Desktop release 4 (Nahant Update 4)
> Gnome Release: 2.16.1 2007-01-17 (GARNOME)
> BugBuddy Version: 2.16.0
>
> Memory status: size: 22573056 vsize: 0 resident: 22573056 share: 0 rss:
7794688 rss_rlim: 0
> CPU usage: start_time: 1175705108 rtime: 0 utime: 13 stime: 0 cutime:10
cstime: 0 timeout: 3 it_real_value: 0 frequency: 0
>
> Backtrace was generated from
'/opt/garnome/bin/tracker-search-tool'
>
> Using host libthread_db library "/lib/tls/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread -1208215872 (LWP 724)]
> 0x002f87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #0  0x002f87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1  0x00577393 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
> #2  0x00a8957c in libgnomeui_segv_handle ()
>    from /opt/garnome/lib/libgnomeui-2.so.0
> #3  <signal handler called>
> #4  0x01dc0bf7 in strchr () from /lib/tls/libc.so.6
> #5  0x0087b381 in g_param_spec_pool_lookup ()
>    from /opt/garnome/lib/libgobject- 2.0.so.0
> #6  0x00877a2e in g_object_set_valist ()
>    from /opt/garnome/lib/libgobject-2.0.so.0
> #7  0x0087817e in g_object_set () from
/opt/garnome/lib/libgobject-2.0.so.0
> #8  0x0805a56e in create_search_results_section (gsearch=0x86a3008)
>     at tracker-search-tool.c:1674
> #9  0x0805c968 in gsearch_app_create (gsearch=0x86a3008)
>     at tracker-search-tool.c:2679
> #10 0x0088be98 in g_type_create_instance ()
>    from /opt/garnome/lib/libgobject- 2.0.so.0
> #11 0x00875ce4 in g_object_constructor ()
>    from /opt/garnome/lib/libgobject-2.0.so.0
> #12 0x00875146 in g_object_newv () from
/opt/garnome/lib/libgobject-2.0.so.0
> #13 0x00875be0 in g_object_new_valist ()
>    from /opt/garnome/lib/libgobject-2.0.so.0
> #14 0x00875cba in g_object_new () from
/opt/garnome/lib/libgobject-2.0.so.0
> #15 0x0805cefb in main (argc=1, argv=0xbff9ac04) at
tracker-search-tool.c:2859
>
> Thread 1 (Thread -1208215872 (LWP 724)):
> #0  0x002f87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> No symbol table info available.
> #1  0x00577393 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #2  0x00a8957c in libgnomeui_segv_handle ()
>    from /opt/garnome/lib/libgnomeui-2.so.0
> No symbol table info available.
> #3  <signal handler called>
> No symbol table info available.
> #4  0x01dc0bf7 in strchr () from /lib/tls/libc.so.6
> No symbol table info available.
> #5  0x0087b381 in g_param_spec_pool_lookup ()
>    from /opt/garnome/lib/libgobject-2.0.so.0
> No symbol table info available.
> #6  0x00877a2e in g_object_set_valist ()
>    from /opt/garnome/lib/libgobject-2.0.so.0
> No symbol table info available.
> #7  0x0087817e in g_object_set () from
/opt/garnome/lib/libgobject-2.0.so.0
> No symbol table info available.
> #8  0x0805a56e in create_search_results_section (gsearch=0x86a3008)
>     at tracker-search-tool.c:1674
>     label = (GtkWidget *) 0x870b258
>     vbox = (GtkWidget *) 0x86cad90
>     hbox = (GtkWidget *) 0x86cade0
>     image = (GtkWidget *) 0x0
>     toolbar = (GtkWidget *) 0x87048a8
>     toolbar_icon_size = GTK_ICON_SIZE_LARGE_TOOLBAR
>     separatortoolitem = (GtkWidget *) 0x805bfb5
>     toolitem = (GtkWidget *) 0x8673af8
>     toolbutton2 = (GtkWidget *) 0x87540b8
>     toolbutton = (GtkWidget *) 0x805c163
>     window = (GtkWidget *) 0xbff9a778
>     column = (GtkTreeViewColumn *) 0x86a1e80
>     renderer = (GtkCellRenderer *) 0x1
> #9  0x0805c968 in gsearch_app_create (gsearch=0x86a3008)
>     at tracker-search-tool.c :2679
>     hbox = (GtkWidget *) 0x8717c68
>     vbox = (GtkWidget *) 0x86cad40
>     entry = (GtkWidget *) 0x8754000
>     label = (GtkWidget *) 0x870b000
>     image = (GtkWidget *) 0x86a1e80
>     container = (GtkWidget *) 0x86cac50
>     main_container = (GtkWidget *) 0x86cac00
>     service = (service_info_t *) 0x8062c24
>     widget = (GtkWidget *) 0x8689f50
> #10 0x0088be98 in g_type_create_instance ()
>    from /opt/garnome/lib/libgobject- 2.0.so.0
> No symbol table info available.
> #11 0x00875ce4 in g_object_constructor ()
>    from /opt/garnome/lib/libgobject-2.0.so.0
> No symbol table info available.
> #12 0x00875146 in g_object_newv () from /opt/garnome/lib/libgobject-
2.0.so.0
> No symbol table info available.
> #13 0x00875be0 in g_object_new_valist ()
>    from /opt/garnome/lib/libgobject-2.0.so.0
> No symbol table info available.
> #14 0x00875cba in g_object_new () from /opt/garnome/lib/libgobject-
2.0.so.0
> No symbol table info available.
> #15 0x0805cefb in main (argc=1, argv=0xbff9ac04) at
tracker-search-tool.c:2859
>     gsearch = (GSearchWindow *) 0x0
>     option_context = (GOptionContext *) 0x8667008
>     error = (GError *) 0x0
>     program = (GnomeProgram *) 0x866f028
>     client = (GnomeClient *) 0x1e7eff4
>     window = (GtkWidget *) 0x805f282
>     search_string = (gchar *) 0xbff9ab78 "ÃÂÃÂÃÃÃ\001\001"
>


_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list




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