On Sun, 2004-11-14 at 21:38 +0900, Daichi Kawahata wrote:
> On 14 Nov 2004 11:36:32 GMT
> [EMAIL PROTECTED] (Raphael Manfredi) wrote:
>
> > Can you show me a stack backtrace? I'm not the one who did metadata
> > searching,
> > and I need a backtrace to guide my investigation.
>
> and...
>
> On Sun, 14 Nov 2004 12:39:27 +0100
> Christian Biere <[EMAIL PROTECTED]> wrote:
>
> > Could you post a stacktrace please?
>
> OK, here is a back trace, but it seems machine specific...
>
> ** ERROR **: file search_cb.c: line 895 (on_popup_search_metadata_activate):
> assertion failed: (parent != NULL)
> aborting...
The g_assert was bogus. It would of been fine if I could disable the
popup when items without sha1's where present but I was having
difficulty in finding a nice way to do it. This is a simple workaround
although it doesn't give feedback in the No SHA1 case
Index: src/ui/gtk/gtk2/search_cb.c
===================================================================
RCS
file: /cvsroot/gtk-gnutella/gtk-gnutella-current/src/ui/gtk/gtk2/search_cb.c,v
retrieving revision 1.13
diff -u -b -r1.13 search_cb.c
--- src/ui/gtk/gtk2/search_cb.c 13 Nov 2004 12:24:25 -0000 1.13
+++ src/ui/gtk/gtk2/search_cb.c 14 Nov 2004 13:29:45 -0000
@@ -892,10 +892,12 @@
/* set the feedback */
parent = find_parent_with_sha1(search->parents,
rec->sha1);
- g_assert(parent != NULL);
+ if (parent)
+ {
gtk_tree_store_set(GTK_TREE_STORE(search->model),
parent,
c_sr_meta, _("Query queued..."),
(-1));
+ }
}
-- Alex, homepage: http://www.bennee.com/~alex/ As Zeus said to
Narcissus, "Watch yourself."
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel