spoke too soon: though LD_LIBRARY_PATH=/usr/lib/firefox worked for the
test case above, it doesn't seem to work in general. if i modify the
test case to use render_data instead of load_url, for example, i get the
core dump.
interestingly, my crash seems to be here:
#0 0xb714f037 in gtk_moz_embed_get_title ()
from /usr/lib/firefox/libgtkembedmoz.so
Dump of assembler code from 0xb714f037 to 0xb714f057:
0xb714f037 <gtk_moz_embed_get_title+4071>: mov (%eax),%edx
0xb714f039 <gtk_moz_embed_get_title+4073>: movl $0x0,0x4(%esp)
0xb714f041 <gtk_moz_embed_get_title+4081>: mov %eax,(%esp)
0xb714f044 <gtk_moz_embed_get_title+4084>: call *0xec(%edx)
0xb714f04a <gtk_moz_embed_get_title+4090>: mov %eax,(%esp)
0xb714f04d <gtk_moz_embed_get_title+4093>: call 0xb714b860 <[EMAIL
PROTECTED]>
0xb714f052 <gtk_moz_embed_get_title+4098>: lea 0xffffffdc(%ebp),%edx
0xb714f055 <gtk_moz_embed_get_title+4101>: movl $0x0,0xffffffdc(%ebp)
End of assembler dump.
noticing the call to gdk_window_get_parent, if i modify my code to
ensure that my MozEmbed is parented before i invoke any methods on it,
my program becomes crash-proof. (touch wood!)
this seems not to correspond to where others above claim to have been
crashing, but it certainly seems to be where i always crash on
edgy/firefox 2.0.0.1.
(i notice there are a lot of crashes out there in
gtk_moz_embed_get_title, judging by Google.)
--
gtkmozembed crashs with python
https://launchpad.net/bugs/26436
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs