[email protected]
[Top] [All Lists]

Bug#317105: marked as forwarded (python-gtk2: segfault when using gtk.gd

Subject: Bug#317105: marked as forwarded python-gtk2: segfault when using gtk.gdk.Drawable.draw lay out
From: Debian Bug Tracking System
Date: Sat, 16 Jul 2005 13:18:11 -0700
Your message dated Sat, 16 Jul 2005 22:10:49 +0200
with message-id <[email protected]>
has caused the Debian Bug report #317105,
regarding python-gtk2: segfault when using gtk.gdk.Drawable.draw lay out
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 317105-forwarded) by bugs.debian.org; 16 Jul 2005 20:10:59 +0000
>From [email protected] Sat Jul 16 13:10:58 2005
Return-path: <[email protected]>
Received: from tms.rz.uni-kiel.de [] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1Dtszy-0001jr-00; Sat, 16 Jul 2005 13:10:58 -0700
Received: from amavis by tms.rz.uni-kiel.de with scanned-ok (Exim 4.34)
        id 1Dtszt-0001dI-RE
        for [email protected]; Sat, 16 Jul 2005 22:10:53 +0200
Received: from zaphod.gpi.uni-kiel.de ([])
        by tms.rz.uni-kiel.de with esmtp (Exim 4.34)
        id 1Dtszr-0001dA-Sq; Sat, 16 Jul 2005 22:10:51 +0200
Received: from localhost ([] helo=stargate.galaxy)
        by zaphod.gpi.uni-kiel.de with esmtp (Exim 3.35 #1 (Debian))
        id 1Dtszq-0002kr-00; Sat, 16 Jul 2005 20:10:51 +0000
Received: by stargate.galaxy (Postfix, from userid 1000)
        id 05F8E1807D; Sat, 16 Jul 2005 22:10:49 +0200 (CEST)
Date: Sat, 16 Jul 2005 22:10:49 +0200
From: Torsten Landschoff <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: pango.Context constructor
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="ctP54qlpMx3WjD+/"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by AMaViS 0.3.12 (Uni-Kiel/tms)
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi James et all,=20

Debian got a bug report (http://bugs.debian.org/317105) about the
following script segfaulting:=20

#! /usr/bin/env python
import pango
import gtk.gdk
print "1"
p =3D gtk.gdk.Pixmap(None,768,512,24)
print "2"
gc =3D p.new_gc()
print "3"
pl =3D pango.Layout(pango.Context())
print "4"
pl.set_text("H E L L O")
print "5"
print "6"

Obviously the script is buggy in that it uses pango.Context() which
can't work as that class is abstract. But it should fail with an
exception at that point instead of segfaulting.=20

I wanted to create a path for that already but I wonder how you do that
with other classes a user is not allowed to create manually... It seems=20
like you are using G_TYPE_IS_ABSTRACT to find out in pyg_object_new so
this might be a bug in Pango than?



Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (GNU/Linux)



To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#317105: marked as forwarded (python-gtk2: segfault when using gtk.gdk.Drawable.draw lay out), Debian Bug Tracking System <=