Control: retitle -1 ruby-gtk2: crash if 'include Gtk' is done before require 
openssl
Control: severity -1 normal

Hi,

Summarizing the investigations (thanks!)

The root cause is this code in origami-pdf:

require 'gtk2'
include Gtk
require 'openssl'

this crashes with: superclass mismatch for class Socket (TypeError)

That's because the Gtk module has its own Socket class, which conficts
with the Socket from the standard library.

includ'ing Gtk is probably a bad idea. It would be better if origami-pdf
did not do it. However, a workaround exists, with:

require 'gtk2'
require 'openssl'
include Gtk

I don't think that this bug warrants severity:serious.

Lucas

Reply via email to