[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697402: bzr-gtk: causes crash in pydoc -k when python-gtk2 is also installed



On Fri, Jan 04, 2013 at 04:20:42PM -0500, Samuel Bronson wrote:
>   2) your package bzrlib.plugins.gtk.branchview causes gi.repository.Gtk
>   to be imported
Which loads libgtk-3.so.0

>   3) python-gtk2's package gtk imports _gtk
Which loads libgtk-x11-2.0.so.0

>   4) importing both of those modules causes a SIGSEGV
Because unless I'm missing something gtk2 and gtk3 shared libs have common
symbols on the default interface so you cannot load and use them in one
process.
Apparently pydoc doesn't crash without bzr-gtk because gi.repository.Gtk
is a "virtual" module, resolved in the runtime, so pydoc doesn't know
about it.

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: