[Pkg-games-ubuntu] [Bug 1086231] Re: python-renpy crashes in rw_close_th when the scene changes
Ubuntu Foundations Team Bug Bot
1086231 at bugs.launchpad.net
Tue Dec 4 04:17:40 UTC 2012
The attachment "Patch that increases the reference count on the python
method references" of this bug report has been identified as being a
patch. The ubuntu-reviewers team has been subscribed to the bug report
so that they can review the patch. In the event that this is in fact
not a patch you can resolve this situation by removing the tag 'patch'
from the bug report and editing the attachment so that it is not flagged
as a patch. Additionally, if you are member of the ubuntu-reviewers
team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
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