Gtk::MozEmbed crashes

S

sawa

Hello

Whenever I have a secondary thread running when gtkmozembed is
working, the gtkmozembed emits a segmentation fault and crashes
whenever I click a link on the screen. Is there a way to resolve this?

PS. Now I use firefox 2 for this purpose, I prefer using firefox 3 if
possible. Is Gtk::MozEmbed comparible with firefox 3?


Environment:
OS Linux
Ruby 1.8.7 p72
gtkmozembed (part of ruby-gnome2-all-0.18.1)
firefox2.x

Code:
require 'gtkmozembed'
m = Gtk::MozEmbed.new
m.chrome_mask = Gtk::MozEmbed::ALLCHROME
m.location = "http://livedoor.com"
w = Gtk::Window.new
w.resize(800, 800)
w << m
w.show_all
Thread.new do end # This line cases segmentation fault when I click
a link on mozembed.
Gtk.main


Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top