NetBSD Problem Report #47942

From ryo_on@yk.rim.or.jp  Tue Jun 18 20:58:19 2013
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3451C70513
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 18 Jun 2013 20:58:19 +0000 (UTC)
Message-Id: <20130618143232.B286ADF570@mail.SiriusCloud.jp>
Date: Tue, 18 Jun 2013 23:32:32 +0900 (JST)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/python27 (2.7.5) and lang/python26 (2.6.8nb3) dump core when generating gimp-2.8's document
X-Send-Pr-Version: 3.95

>Number:         47942
>Category:       pkg
>Synopsis:       lang/python27 (2.7.5) and lang/python26 (2.6.8nb3) dump core when generating gimp-2.8's document
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 18 21:00:00 +0000 2013
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.21
>Organization:

>Environment:


System: NetBSD tellurium.elements.tetera.org 6.99.21 NetBSD 6.99.21 (DTRACE) #2: Sat Jun 15 18:36:57 JST 2013 ryo_on@tellurium.elements.tetera.org:/usr/obj/amd64/sys/arch/amd64/compile/DTRACE amd64
Architecture: x86_64
Machine: amd64
>Description:
$ pkg_info | grep py27-
py27-sqlite2-2.6.3nb5 SQLite database adapter for Python
py27-cElementTree-2.7.5 C implementation of Python ElementTree API
py27-expat-2.7.5    Python interface to expat
py27-cairo-1.8.10nb8 Python bindings for cairo
py27-xdg-0.19       Python library for XDG
py27-numpy-1.7.1    Array processing for numbers, strings, records, and objects
py27-gobject-2.28.6nb10 Python bindings for glib2 gobject
py27-gtk2-2.24.0nb13 Python bindings for GTK+2
py27-notify-python-0.1.1nb20 Python bindings for libnotify
py27-dbus-1.2.0     Python bindings for the D-BUS message bus system
py27-libxml2-2.9.1  Python wrapper for libxml2

$ pkg_info | frep py26-
py26-expat-2.6.8    Python interface to expat
py26-libxml2-2.9.1  Python wrapper for libxml2

$ ftp ftp://ftp.gimp.org/pub/gimp/help/gimp-help-2.8.0.tar.bz2

$ tar zxvf gimp-help-2.8.0.tar.bz2

$ cd gimp-help-2.8.0

$ LANG=C python2.7 ./tools/xml2po.py --mode=gimphelp --language=de -p po/de/menus/view.po src/menus/view/zoom.xml

OR

$ LANG=C python2.6 ./tools/xml2po.py --mode=gimphelp --language=de -p po/de/menus/view.po src/menus/view/zoom.xml

I have gotten the following error.
zsh: segmentation fault (core dumped)  python2.7 ./tools/xml2po.py --mode=gimphelp --language=de -p

$ gdb /usr/pkg/bin/python2.7 python2.7.core
#0  0x00007f7ff7884e74 in PyString_FromString ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#1  0x00007f7ff163dcc0 in libxml_name ()
   from /usr/pkg/lib/python2.7/site-packages/libxml2mod.so
#2  0x00007f7ff78d09c0 in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#3  0x00007f7ff78d1e99 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#4  0x00007f7ff7867a4a in function_call ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#5  0x00007f7ff784685f in PyObject_Call ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#6  0x00007f7ff7846924 in call_function_tail ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#7  0x00007f7ff78469f6 in PyObject_CallFunction ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#8  0x00007f7ff785123d in instance_getattr2 ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#9  0x00007f7ff7851620 in instance_getattr ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#10 0x00007f7ff78ce32e in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#11 0x00007f7ff78d1e99 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#12 0x00007f7ff78d00bc in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#13 0x00007f7ff78d1e99 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#14 0x00007f7ff78d00bc in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#15 0x00007f7ff78d1e99 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#16 0x00007f7ff78d00bc in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#17 0x00007f7ff78d1e99 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#18 0x00007f7ff78d00bc in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#19 0x00007f7ff78d1e99 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---


>How-To-Repeat:
See above.

>Fix:

I have no idea.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.