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
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. set_comp_ path('/ usr/lib/ xulrunner- 1.9.2.13' )" to my script xulrunner- 1.9.2.13/ components/ compreg. dat but that had no effect
neither does the adding the line "gtkmozembed.
i tried removing /usr/lib/
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 <head>< meta http-equiv= "content- type" content="text/html; charset=UTF-8" /></head> <body>< /body>< /html>" "" MozEmbed( ) render_ data(data, long(len(data)), 'file:///', 'text/html')
import gtkmozembed
data = """<html>
html_doc = gtkmozembed.
html_doc.
backtrace:
#0 EmbedPrivate: :OpenStream (this=0x10d6cc0, aBaseURI= 0x7f05c00edbf4 "file:///", aContentType= 0x7f05c00ee984 "text/html") at EmbedPrivate. cpp:664 embed_render_ data (embed=<value optimized out>, data= \"content- type\" content= \"text/ html; charset=UTF-8\" /></head> <body>< /body>< /html>" , len=108, base_uri= 0x7f05c00edbf4 "file:///", mime_type= cpp:786 pymodules/ python2. 6/gtk-2. 0/gtkmozembed. so ceval.c: 3750 ceval.c: 2412 ceval.c: 3000 ceval.c: 541 0x7fffdb9b4583 "./test.py", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, b3dc0) at ../Python/ pythonrun. c:1351 0x7fffdb9b4583 "./test.py", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags= pythonrun. c:1337 eExFlags (fp=<value optimized out>, filename= 0x7fffdb9b4583 "./test.py", closeit=1, flags=0x7fffdb9 b3dc0) at ../Python/ pythonrun. c:941 main.c: 577 fini=<value optimized out>, stack_end= 0x7fffdb9b3ed8) at libc-start.c:226
#1 0x00007f05b689c03d in gtk_moz_
0x7f05c01626dc "<html><head><meta http-equiv=
0x7f05c00ee984 "text/html") at gtkmozembed2.
#2 0x00007f05be6ebfad in ?? () from /usr/lib/
#3 0x00000000004a51ae in call_function (f=Frame 0xc352c0, for file ./test.py, line 8, in <module> (), throwflag=<value optimized out>) at ../Python/
#4 PyEval_EvalFrameEx (f=Frame 0xc352c0, for file ./test.py, line 8, in <module> (), throwflag=<value optimized out>) at ../Python/
#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/
#6 0x00000000004a6ca2 in PyEval_EvalCode (co=0x7fffdb9b38d0, globals=<unknown at remote 0x7f05c00edbf4>, locals=<unknown at remote 0x7f05c00ee984>) at ../Python/
#7 0x00000000004c702e in run_mod (fp=<value optimized out>, filename=
closeit=1, flags=0x7fffdb9
#8 PyRun_FileExFlags (fp=<value optimized out>, filename=
0x7fffdb9b3dc0) at ../Python/
#9 0x00000000004c7244 in PyRun_SimpleFil
#10 0x00000000004180c1 in Py_Main (argc=-1072893824, argv=<value optimized out>) at ../Modules/
#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_
#12 0x00000000004172c9 in _start ()