i'm still seeing a segfault when using gtkmozembed - i'm not sure if it's the same bug - the backtrace looks different. let me know if it looks sufficiently different to warrant a new bug. let me know if you want further data from gdb/valgrind or whatever.
setting LD_LIBRARY_PATH or MOZILLA_FIVE_HOME has no effect. neither does the adding the line "gtkmozembed.set_comp_path('/usr/lib/xulrunner-1.9.2.13')" to my script i tried removing /usr/lib/xulrunner-1.9.2.13/components/compreg.dat but that had no effect according to strace the library is not trying to access the compreg.dat stored in my firefox profile my test script: #!/usr/bin/python2.6 import gtkmozembed data = """<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /></head><body></body></html>""" html_doc = gtkmozembed.MozEmbed() html_doc.render_data(data, long(len(data)), 'file:///', 'text/html') backtrace: #0 EmbedPrivate::OpenStream (this=0x10d6cc0, aBaseURI=0x7f05c00edbf4 "file:///", aContentType=0x7f05c00ee984 "text/html") at EmbedPrivate.cpp:664 #1 0x00007f05b689c03d in gtk_moz_embed_render_data (embed=<value optimized out>, data= 0x7f05c01626dc "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" /></head><body></body></html>", len=108, base_uri=0x7f05c00edbf4 "file:///", mime_type= 0x7f05c00ee984 "text/html") at gtkmozembed2.cpp:786 #2 0x00007f05be6ebfad in ?? () from /usr/lib/pymodules/python2.6/gtk-2.0/gtkmozembed.so #3 0x00000000004a51ae in call_function (f=Frame 0xc352c0, for file ./test.py, line 8, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3750 #4 PyEval_EvalFrameEx (f=Frame 0xc352c0, for file ./test.py, line 8, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412 #5 0x00000000004a6bd1 in PyEval_EvalCodeEx (co=0x7f05c00dc918, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000 #6 0x00000000004a6ca2 in PyEval_EvalCode (co=0x7fffdb9b38d0, globals=<unknown at remote 0x7f05c00edbf4>, locals=<unknown at remote 0x7f05c00ee984>) at ../Python/ceval.c:541 #7 0x00000000004c702e in run_mod (fp=<value optimized out>, filename=0x7fffdb9b4583 "./test.py", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags=0x7fffdb9b3dc0) at ../Python/pythonrun.c:1351 #8 PyRun_FileExFlags (fp=<value optimized out>, filename=0x7fffdb9b4583 "./test.py", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags= 0x7fffdb9b3dc0) at ../Python/pythonrun.c:1337 #9 0x00000000004c7244 in PyRun_SimpleFileExFlags (fp=<value optimized out>, filename=0x7fffdb9b4583 "./test.py", closeit=1, flags=0x7fffdb9b3dc0) at ../Python/pythonrun.c:941 #10 0x00000000004180c1 in Py_Main (argc=-1072893824, argv=<value optimized out>) at ../Modules/main.c:577 #11 0x00007f05bebbbd8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffdb9b3ed8) at libc-start.c:226 #12 0x00000000004172c9 in _start () -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/26436 Title: gtkmozembed crashs with python -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs