[pygtk] SIGBUS error on Mac OS X 10.7 with PyGobject 3.0.1

Tomeu Vizoso tomeu at sugarlabs.org
Fri Nov 4 20:33:17 WST 2011


On Fri, Nov 4, 2011 at 13:06, Arjan Molenaar <gaphor at gmail.com> wrote:
>
> On 4 Nov 2011, at 10:08, Tomeu Vizoso wrote:
>
>> On Thu, Nov 3, 2011 at 21:06, Arjan Molenaar <gaphor at gmail.com> wrote:
>>>
>>> On 3 Nov 2011, at 17:25, Tomeu Vizoso wrote:
>>>
>>>> On Wed, Nov 2, 2011 at 08:46, Arjan Molenaar <gaphor at gmail.com> wrote:
>>>>> Hi,
>>>>>
>>>>> I'm working on porting my projects to Gtk3 and PyGobject3. However, I run into a nasty issue.
>>>>>
>>>>> I subclass Gtk.DrawingArea in order to provide view functionality for a Gaphas canvas. For this I override some signals. Here's a minimal example that crashes on OS X:
>>>>
>>>> Well, but the example is not so minimal because uses gaphas.GtkView.
>>>> Do you think you could reproduce it without importing external code?
>>>>
>>>
>>> Whoops, I should have put a little more effort in preparing the example.
>>>
>>> Without the Gaphas dependency the code looks like this:
>>
>> Sorry, I have no idea, it works here and valgrind doesn't log any error :(
>>
>> Maybe try with PyGObject master in case it has been fixed recently?
>
> Ok. Will try that.
>
> I compiled Glib with the macports patches applied (otherwise stuff won't build at all). Did you do the same?

Sorry, forgot to mention that this was on linux.

Regards,

Tomeu

> Regards,
>
> Arjan
>
>> Good luck,
>>
>> Tomeu
>
>


More information about the pygtk mailing list