← Back to team overview

desktop-packages team mailing list archive

[Bug 1409193] Re: pygtkcompat crashes when using gtk2

 

This is a case of "just don't do that", I'm afraid. GTK 2 is very old
and hasn't been maintained for like 5 years. At the time when gobject
introspection came up we already had GTK 3, so any introspection stuff
which happens to work with GTK 2 is pure luck.

** Information type changed from Private to Public

** Changed in: pygobject (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1409193

Title:
  pygtkcompat crashes when using gtk2

Status in pygobject package in Ubuntu:
  Won't Fix

Bug description:
  Running the following python script:

      import pygtkcompat
      pygtkcompat.enable_gtk(version='2.0')

  crashes both python2.7 and python3.4.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: python2.7-minimal 2.7.6-8
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Jan 10 12:06:49 2015
  ExecutablePath: /usr/bin/python2.7
  InstallationDate: Installed on 2014-06-07 (216 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  ProcCmdline: python trygtk2.py
  SegvAnalysis:
   Segfault happened at: 0x7fd0cdd6d2ff <_pygi_argument_to_object+831>:	cmpq   $0x4c,(%rax)
   PC (0x7fd0cdd6d2ff) ok
   source "$0x4c" ok
   destination "(%rax)" (0xc6e00047d000083) not located in a known VMA region (needed writable region)!
  SegvReason: writing unknown VMA
  Signal: 11
  SourcePackage: python2.7
  StacktraceTop:
   _pygi_argument_to_object (arg=arg@entry=0x7fffac3511d0, type_info=type_info@entry=0x250ab20, transfer=transfer@entry=GI_TRANSFER_NOTHING) at ../../gi/pygi-argument.c:1434
   _wrap_g_constant_info_get_value (self=0x7fd0c7b8dd00) at ../../gi/pygi-info.c:1713
   PyEval_EvalFrameEx ()
   ?? ()
   ?? ()
  Title: python2.7 crashed with SIGSEGV in _pygi_argument_to_object()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo www-data

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/1409193/+subscriptions