GNOME Bugzilla – Bug 539624
Crashes when copying text with xulrunner 1.9
Last modified: 2008-08-28 20:36:56 UTC
Steps to reproduce: 1. Select text 2. Copy to clipboard Stack trace:
+ Trace 201091
Other information: Forwarded from http://bugs.debian.org/485644. Analysis and a fix can be found there. > Looks like the faulty code is in devhelp, after all ;) > > gtk_moz_embed_get_nsIWebBrowser being NULL, it crashes, but the fact > that gtk_moz_embed_get_nsIWebBrowser is NULL proves > GTKEmbedGlueStartupInternal is not called, and obviously it is not > called because GTKEmbedGlueStartupInternal is not defined (#ifdef)... > which is totally normal, since it's a function, not a macro... > > So, just remove #ifdef GTKEmbedGlueStartupInternal from > dh-gecko-utils.cpp, and that should work.
I can confirm the suggested solution to fix the bug. May I commit the trivial fix?
Yes, go ahead please, on the gnome-2-22 branch (which we will use for gnome 2.24)
Thanks. Fixed in gnome-2-22 (rev. 1046): 2008-08-28 Claudio Saavedra <csaavedra@igalia.com> * src/dh-gecko-utils.cpp (dh_gecko_utils_init): Start up the embed glue. Fixes bug #539624.