GNOME Bugzilla – Bug 370767
Segmentation fault in gtkmozembed
Last modified: 2006-12-24 18:40:45 UTC
Forwarding this from a downstream bug report: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205499 Verified using the gtkmozembed module in gnome-python-extras 2.14.2. The following Python program causes a segmentation fault: import gtk import gtkmozembed class TinyGecko: def __init__(self): self.moz = gtkmozembed.MozEmbed() win = gtk.Window() win.add(self.moz) win.show_all() data = '<html><head><title>Hello</title></head><body>pygtk dev</body></html>' self.moz.render_data(data, long(len(data)), 'file:///', 'text/html') if __name__ == '__main__': TinyGecko() gtk.main()
Added some more debugging analysis in the original bug report https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205499 hoping someone who knows this code better than I do might jump in.
FWIW, the C test program TestGtkEmbed fails exactly the same way, thus the failure does not seem to have anything to do with the python binding. Anybody run the tests?
This bug is in mozilla.