Re: [ was: native json parsing] building pd with Rust code

Miller Puckette via Pd-list <[email protected]> Sun, 15 Feb 2026 09:43:15 +0100
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
I've occasionally had Pd crash after adding fields to data structures in 
complicated patches... haven't found a simple crash example though.  If 
anyone can find a repeatable crash scenario I'd love to see it :)

Miller

On 2/14/26 6:23 PM, Christof Ressi wrote:
>
> On 2/14/2026 3:53 PM, Patrice Colet wrote:
>
>>
>>
>>> Le 14 févr. 2026 à 15:12, IOhannes m zmölnig via Pd-list 
>>> <[email protected]> a écrit :
>>>
>>> if you look at the implementation of Pd, then they (of course) are 
>>> real pointers, but that is abstracted away (and not accessible) when 
>>> working on a patch level.
>>
>>
>> Okay, but the abstract doesn't make it safe enough to prevent 
>> PureData from crashing on erroneous datastructures.
>
> If you try to access an invalid pointer, you should only get an error 
> message (e.g. "stale pointer"). They are actually safe, assuming the 
> underlaying implementation is correct. If you experience crashes with 
> data structures, please open a bug report.
>
> Christof
>
>>
>> By the way, thank you for the accurate explanation.
>>
>> Pc
>>
>> ---
>> [email protected] - the Pure Data mailinglist
>> https://lists.iem.at/hyperkitty/list/[email protected]/message/X4BHOAI42GQXPKTHPWQP7QQISTYE4G2C/
>>
>> To unsubscribe send an email [email protected] mailing list
>> UNSUBSCRIBE and account-management ->https://lists.iem.at/
>
> ---
> [email protected] - the Pure Data mailinglist
> https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/HRPIR2ZONHJLX6K5JJGXB3UQXSW4QQ6H/__;!!Mih3wA!DWncPgOe7BKD3eyJpbKwmUKdzynkfwQt2A6yiFXq14_NB0MnlFqAg8-rmLZWb4kDck-w8ouqKiQ1Bw$
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!DWncPgOe7BKD3eyJpbKwmUKdzynkfwQt2A6yiFXq14_NB0MnlFqAg8-rmLZWb4kDck-w8otAnLh8Og$


---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/ML2GGM4JWE4CCYQMFPNPFKRIFZZ3G4X2/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/