piotr maliński wrote: > try exporting this before running the app: > export MOZILLA_FIVE_HOME="/path/to/xulrunner" > > for example: > > export MOZILLA_FIVE_HOME="/usr/lib/xulrunner-1.9/"
Sorry, previous emails went personally to Piotr. Wow! Black magic! Now it segfaults *after* show_all() :) $ MOZILLA_FIVE_HOME=/usr/lib/xulrunner-devel python /tmp/mozembed.py !!! here !!! there zsh: segmentation fault MOZILLA_FIVE_HOME=/usr/lib/xulrunner-devel python /tmp/mozembed.py Current backtrace is: Program received signal SIGSEGV, Segmentation fault. 0xb66ea346 in nsEmbedStream::AppendToStream () from /usr/lib/libxul.so (gdb) bt #0 0xb66ea346 in nsEmbedStream::AppendToStream () from /usr/lib/libxul.so #1 0xb66e5d36 in nsWebBrowser::AppendToStream () from /usr/lib/libxul.so #2 0xb5fef4c3 in EmbedPrivate::AppendToStream () from /usr/lib/libxul.so #3 0xb5fed0a0 in gtk_moz_embed_render_data () from /usr/lib/libxul.so #4 0xb6c33149 in ?? () from /usr/lib/python2.5/site-packages/gtk-2.0/gtkmozembed.so Exploring xulrunner sources for last several hours. Is it a common policy there not to check for values, returned from do_CreateInstance and do_QueryInterface? The returned values are used blindly disregarding that no instance was created to handle the calls... Digging further, thanks for the insight -- Sincerely, Andrey Khavryuchenko http://a.khavr.com/ KDS Software Group http://www.kds.com.ua/ Software Solutions Company _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
