[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] Re: patches for trunk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/23/2009 08:27 PM, Tim Blechmann wrote:
> On 11/23/2009 08:07 PM, Josh Parmenter wrote:
>> AND - the 32-bit universal build crashes at startup with the dump below. This seems to be the problem:
>
>> Assertion failed: (IsInt(slot)), function slotRawInt, file /Users/joshp/supercollider/Headers/lang/PyrSlot32.h, line 325.
>
> the osx app doesn't seem to use slots in a typesafe manner ...
>
> there are code pieces like this:
> MyDocument* doc = (MyDocument*) slotRawInt(slotRawObject(a)->slots);
> if the slot is not an int, it throws this assertion failure ... if the
> object is a pointer slotRawPtr() should be used ...
>
> i started some cleanups in the file of your assertion failure ... you
> will probably find more places with similar type safety issues, but they
> are straight forward to resolve ... basically pointers should be handled
> as pointers, not as ints ...
i am not sure, if i found every instance, but i have an updated version
of the sclang64 branch in my git repository ... would be nice, if you
could test this ...
cheers, tim
- --
tim@xxxxxxxxxx
http://tim.klingt.org
I don't write music for sissy ears.
Charles Ives
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAksNUwIACgkQdL+4qsZfVst+eACeMeLM1oJOH8mjGoVmCWXaI8od
REMAnRPFU9MdZO2ynnmBTsKUq6E1etdY
=n1OG
-----END PGP SIGNATURE-----
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/