Bug 163346 - Bpath python bindings cause crash on x86_64
Bpath python bindings cause crash on x86_64
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gnome-python2 (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: John (J5) Palmieri
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-15 08:36 EDT by Pekka Pietikäinen
Modified: 2013-03-13 00:48 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-20 08:15:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to let gnome-python-2.10.0 compile with gnome-canvas-2.11.1 (467 bytes, patch)
2005-07-15 09:28 EDT, Pekka Pietikäinen
no flags Details | Diff

  None (edit)
Description Pekka Pietikäinen 2005-07-15 08:36:18 EDT
Description of problem:

The following script segfaults on x86_64 (i386 is fine):

ee-cn0001 (pp):~ >more crash.py 
import gnomecanvas
bp=gnomecanvas.path_def_new([(gnomecanvas.MOVETO,0,0),(gnomecanvas.CURVETO,1,2,3,4,5,6),(0,0,0)])
bp=gnomecanvas.path_def_new([(gnomecanvas.MOVETO,0,0),(gnomecanvas.CURVETO,1,2,3,4,5,6),(0,0,0)])
bp=gnomecanvas.path_def_new([(gnomecanvas.MOVETO,0,0),(gnomecanvas.CURVETO,1,2,3,4,5,6),(0,0,0)])

ee-cn0001 (pp):~ >python crash.py 
zsh: segmentation fault  python crash.py

This (and a much more complex app I'm using those beziers in) gets fixed by
libgnomecanvas 2.11.1, the python bindings might need to get recompiled as well
to use the new interface that doesn't suffer from this problem.

Rawhide is fine, btw. So this is really a RFE: please update
gnomecanvas/pygtk2/gnome-python2 in future FC4 errata  :-)
Comment 1 Pekka Pietikäinen 2005-07-15 09:27:43 EDT
Correction, rawhide has the bug too, I just had a non-rpmified version around
with the bugfix installed. But in any case libgnomecanvas 2.11.1 + gnome-python
2.10.0  fixes the bug, in fact g-p won't even recompile in rawhide without a
tiny patch d (attached). g-p 2.11.3 works out-of-the-box, but introduces quite a
few new dependancies. Not a problem for rawhide, sure.

Comment 2 Pekka Pietikäinen 2005-07-15 09:28:48 EDT
Created attachment 116796 [details]
Patch to let gnome-python-2.10.0 compile with gnome-canvas-2.11.1
Comment 3 Pekka Pietikäinen 2006-02-20 08:15:57 EST
Well. Rawhide has had thing bug fixed for quite some time -> closing.

Note You need to log in before you can comment on or make changes to this bug.