I have issues running any examples/code that contain a label. Python
segfaults (64bit), I am using PyObjC2.2
This is from html_label.py, others are similar:

python(38136,0x7fff70d3aca0) malloc: *** error for object 0x104cce9d8:
incorrect checksum for freed object - object was probably modified
after being freed.
*** set a breakpoint in malloc_error_break to debug

Program received signal SIGABRT, Aborted.
0x00007fff872ef5d6 in __kill ()
(gdb) bt
#0  0x00007fff872ef5d6 in __kill ()
#1  0x00007fff8738fcde in abort ()
#2  0x00007fff8737e915 in szone_error ()
#3  0x00007fff872aabe6 in tiny_free_list_remove_ptr ()
#4  0x00007fff872a81ae in szone_free_definite_size ()
#5  0x0000000100584cb3 in PyObjCFFI_FreeByRef ()
#6  0x0000000100582d68 in func_call ()
#7  0x000000010000af63 in PyObject_Call ()
#8  0x000000010008a52a in PyEval_EvalFrameEx ()
#9  0x00000001000892f1 in PyEval_EvalFrameEx ()
#10 0x00000001000892f1 in PyEval_EvalFrameEx ()
#11 0x00000001000892f1 in PyEval_EvalFrameEx ()
#12 0x00000001000892f1 in PyEval_EvalFrameEx ()
#13 0x00000001000892f1 in PyEval_EvalFrameEx ()
#14 0x00000001000892f1 in PyEval_EvalFrameEx ()
#15 0x000000010008acde in PyEval_EvalCodeEx ()
#16 0x000000010002c865 in PyClassMethod_New ()
#17 0x000000010000af63 in PyObject_Call ()
#18 0x000000010000b6c3 in PyObject_CallMethodObjArgs ()
#19 0x000000010000b893 in PyObject_CallFunction ()
#20 0x000000010001e844 in _Py_c_pow ()


On Mar 13, 9:29 am, Phillip Nguyen <[email protected]> wrote:
> I've finished cleaning up the Cocoa port so that it can be merged back
> into the main branch.  I added a new options key named 'darwin_cocoa'.
> Adding the lines:
>
> import pyglet
> pyglet.options['darwin_cocoa'] = True
>
> to the top of a pyglet program will tell it to use the Cocoa
> implementation on Mac OS X instead of Carbon.  This option is set to
> False by default, unless pyglet is running inside of a 64-bit Python.
>
> You can check out the branch for testing with the commands:
>
> hg clonehttps://pyglet.googlecode.com/hg/pyglet-cocoa
> cd pyglet-cocoa
> hg update cocoa-port
>
> I've then just been placing a symbolic link to pyglet-cocoa/pyglet
> in the same directory as my pyglet programs.  Mac OS X 10.6 and
> PyObjC 2.2 or 2.3 are required.  I've been testing it against both
> PyObjC 2.2b3 and 2.3.  Certain things, such as screen mode switching
> and vsync require PyObjC 2.3 to work properly.
>
> I've done a trial run of the merge using:
>
> hg clonehttps://pyglet.googlecode.com/hg/pyglet-merge
> cd pyglet-merge
> hg merge cocoa-port
>
> then resolving the very minor conflict in pyglet/app/base.py.
> It looks like everything is working fine to me.  If there aren't any
> objections, then I will go ahead and push the merge.
>
> --phillip

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to