[Pkg-games-ubuntu] [Bug 1086231] [NEW] python-renpy crashes in rw_close_th when the scene changes
Gregor Riepl
1086231 at bugs.launchpad.net
Tue Dec 4 03:38:17 UTC 2012
Public bug reported:
I tried running the Ren'Py game "Analogue - A Hate Story" (the Steam version in my case) with the renpy build from Ubuntu 12.10 (6.13.12-1build1).
After the intro, the game does not switch over to the main menu, but crashes in rw_close_th.
I couldn't find debug symbols for the the python-renpy package, so I
apt-get source'd renpy and disabled the dh_strip stage, then built and
reinstalled it. A resulting gdb stack trace is attached.
As I don't understand Python/C very well, I just took a wild guess at
why the crash is happening. Based on the assumption that
PyObject_GetAttrString does not increase the reference count, I added
Py_INCREF() calls to fetch_object_methods(). If this is incorrect, I can
see another bug here: if the PyCallable_Check() call returns false, the
references are never decremented. With the reference count increase, the
crash vanishes, but I can't tell if this instead creates a memory leak.
It would be great if a Python guru could provide some insight.
Upstream versions were not tested.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-renpy 6.13.12-1build1
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Tue Dec 4 04:18:23 2012
InstallationDate: Installed on 2012-10-17 (47 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120822.4)
MarkForUpload: True
SourcePackage: renpy
UpgradeStatus: Upgraded to quantal on 2012-11-30 (3 days ago)
** Affects: renpy (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug python python-c quantal running-unity
** Attachment added: "gdb stack trace"
https://bugs.launchpad.net/bugs/1086231/+attachment/3451123/+files/crash.log
--
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to renpy in Ubuntu.
https://bugs.launchpad.net/bugs/1086231
Title:
python-renpy crashes in rw_close_th when the scene changes
Status in “renpy” package in Ubuntu:
New
Bug description:
I tried running the Ren'Py game "Analogue - A Hate Story" (the Steam version in my case) with the renpy build from Ubuntu 12.10 (6.13.12-1build1).
After the intro, the game does not switch over to the main menu, but crashes in rw_close_th.
I couldn't find debug symbols for the the python-renpy package, so I
apt-get source'd renpy and disabled the dh_strip stage, then built and
reinstalled it. A resulting gdb stack trace is attached.
As I don't understand Python/C very well, I just took a wild guess at
why the crash is happening. Based on the assumption that
PyObject_GetAttrString does not increase the reference count, I added
Py_INCREF() calls to fetch_object_methods(). If this is incorrect, I
can see another bug here: if the PyCallable_Check() call returns
false, the references are never decremented. With the reference count
increase, the crash vanishes, but I can't tell if this instead creates
a memory leak. It would be great if a Python guru could provide some
insight.
Upstream versions were not tested.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-renpy 6.13.12-1build1
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Tue Dec 4 04:18:23 2012
InstallationDate: Installed on 2012-10-17 (47 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120822.4)
MarkForUpload: True
SourcePackage: renpy
UpgradeStatus: Upgraded to quantal on 2012-11-30 (3 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/renpy/+bug/1086231/+subscriptions
More information about the Pkg-games-ubuntu
mailing list