Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] crash in csound_rtio

Eduardo Moguillansky <[email protected]> Sun, 12 Jul 2026 23:58:27 +0200
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAHFFssJ-w50pdbw0L=6jC6+emTwP7axzg=9-NhZjGDind8a4Fg@mail.gmail.com>
--0000000000008cbd0b065671135d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I agree, it is too big of a change.

On Sun, Jul 12, 2026, 22:42 Victor Lazzarini <
[email protected]> wrote:

> csoundCreate() (via csoundReset() ) needs to load all plugins I think so
> that the compiler can see the opcodes. It may be possible to move it to t=
he
> first compilation call, but it's a bit doubtful I guess since this may ha=
ve
> lots of implications we do not anticipate.
>
> Being close to 7.0 release, I think the case is weak for attempting this
> change.
>
> We should deal with this using versioning, which works for instance now t=
o
> prevent 7.0 loading 6.18 plugins.
>
> The problem you encountered is because everything is beta now and we are
> not bumping versions on ABI changes. But we should make sure the versioni=
ng
> mechanism works when we move to full release.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> On 12 Jul 2026, at 20:55, Eduardo Moguillansky <
> [email protected]> wrote:
>
> =EF=BB=BF
> This proved to be trickier than I thought, since plugins are loaded befor=
e
> options are processed: setting a flag to modify this behaviour comes too
> late. A solution would be to split loading of plugins from instance
> creation (csoundCreate would not load any modules). Plugins need to be
> loaded for all the cases where a command line flag results in csound
> showing some information (output devices, system sr, opcodes) and exiting=
.
>
>
> Doing it the split would be good in the sense that, at the moment, if
> there is any architecture mismatch (plugins are built with a different AB=
I
> than csound), csound just crushes even before being able to do anything
> like "csound --version" or "csound --help".
>
> Any thoughts?
>
>
> On Sun, Jul 12, 2026 at 6:08=E2=80=AFPM Victor Lazzarini <
> [email protected]> wrote:
>
>> Sounds like a good idea.
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>> On 12 Jul 2026, at 16:52, Eduardo Moguillansky <
>> [email protected]> wrote:
>>
>> =EF=BB=BF
>> Looking at the code, I don't see a way to disable csound from looking
>> into the user plugins dir. It can be disabled at the cmake level. A flag=
 to
>> disable this would be great. I can make a PR with that change.
>>
>> On Sun, Jul 12, 2026 at 5:47=E2=80=AFPM Eduardo Moguillansky <
>> [email protected]> wrote:
>>
>>> yes, I meant OPCODE7DIR64
>>>
>>> On Sun, Jul 12, 2026 at 12:51=E2=80=AFAM Victor Lazzarini <
>>> [email protected]> wrote:
>>>
>>>> OPCODE7DIR64 do you mean? Are you using floats?
>>>> Prof. Victor Lazzarini
>>>> Maynooth University
>>>> Ireland
>>>>
>>>> On 11 Jul 2026, at 20:39, Eduardo Moguillansky <
>>>> [email protected]> wrote:
>>>>
>>>> =EF=BB=BF
>>>> I see the problem now, csound seems to still look in the default user
>>>> path for plugins, even if OPCODE7DIR is set. Thanks for the heads-up
>>>> regarding ABI changes
>>>>
>>>> On Sat, Jul 11, 2026 at 6:17=E2=80=AFPM Victor Lazzarini <
>>>> [email protected]> wrote:
>>>>
>>>>> By the way, the ABI has changed - maybe this is the reason? Was the
>>>>>  binary recompiled and re-linked?
>>>>>
>>>>> Prof. Victor Lazzarini
>>>>> Maynooth University
>>>>> Ireland
>>>>>
>>>>> On 11 Jul 2026, at 17:12, Victor Lazzarini <
>>>>> [email protected]> wrote:
>>>>>
>>>>> =EF=BB=BF
>>>>> midiGlobals is allocated in csoundReset(), it looks like something
>>>>> going very wrong for it to be NULL.
>>>>>
>>>>> Maybe a backtrace may give some clues.
>>>>>
>>>>> Prof. Victor Lazzarini
>>>>> Maynooth University
>>>>> Ireland
>>>>>
>>>>> On 11 Jul 2026, at 16:42, Eduardo Moguillansky <
>>>>> [email protected]> wrote:
>>>>>
>>>>> =EF=BB=BF
>>>>> *Warning*
>>>>>
>>>>> This email originated from outside of Maynooth University's Mail
>>>>> System. Do not reply, click links or open attachments unless you reco=
gnise
>>>>> the sender and know the content is safe.
>>>>> I am getting a confusing crash with latest develop. The csound binary
>>>>> crashes (even if csound is called without any args)
>>>>> within csoundSetExternalMidiErrorStringCallback in csound_rtio.c
>>>>>
>>>>> void
>>>>> csoundSetExternalMidiErrorStringCallback(CSOUND *csound,
>>>>>                                          const char *(*func)(int32_t)=
)
>>>>> {
>>>>>   csound->midiGlobals->MidiErrorStringCallback =3D func;
>>>>> }
>>>>>
>>>>> csound->midiGlobals seems to be null, but maybe the problem is that
>>>>> this function is being called at all?
>>>>>
>>>>> If I comment the line "csound->midiGlobals..." out, the crash is gone=
.
>>>>>
>>>>> best regards,
>>>>> Eduardo
>>>>>
>>>>> The information contained in this email may be confidential and
>>>>> privileged. It is intended only for the addressee(s) stated above. If=
 you
>>>>> are not an addressee any use, dissemination, distribution, publicatio=
n or
>>>>> copying of the information contained in this email is strictly prohib=
ited.
>>>>> If you have received this email in error, please immediately notify u=
s by
>>>>> email at [email protected] and delete this email from your system.
>>>>>
>>>>> Please note that Maynooth University is subject to Freedom of
>>>>> Information and Data Protection laws. We may be required to disclose =
the
>>>>> content of emails under the* FOI Act 2014*, the* Data Protection Act
>>>>> 2018* or *GDPR*.
>>>>>
>>>>> Is don seola=C3=AD / do na seolaithe thuasluaite amh=C3=A1in an r=C3=
=ADomhphost seo.
>>>>> D=E2=80=99fh=C3=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda =
agus faoi phribhl=C3=A9id. Mura
>>>>> seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=C3=A1 s=
a r=C3=ADomhphost seo a =C3=BAs=C3=A1id, a
>>>>> scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=
=A1il. M=C3=A1 fuair t=C3=BA an
>>>>> r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir sin in i=C3=BAl d=C3=BAi=
nn l=C3=A1ithreach tr=C3=AD
>>>>> r=C3=ADomhphost a chur chuig  [email protected]  agus scrios an
>>>>> r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.
>>>>>
>>>>> Tabhair faoi deara go bhfuil Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dh=
l=C3=ADthe um
>>>>> Shaor=C3=A1il Faisn=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99=
fh=C3=A9adfadh ceangal a bheith
>>>>> orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin *Acht um Shaor=C3=
=A1il Faisn=C3=A9ise
>>>>> 2014*, faoin *Acht um Chosaint Sonra=C3=AD 2018* n=C3=B3 faoi *GDPR*.
>>>>>
>>>>> Registered charity number 20037130
>>>>>
>>>>>
>>>>>
>>>>> The information contained in this email may be confidential and
>>>>> privileged. It is intended only for the addressee(s) stated above. If=
 you
>>>>> are not an addressee any use, dissemination, distribution, publicatio=
n or
>>>>> copying of the information contained in this email is strictly prohib=
ited.
>>>>> If you have received this email in error, please immediately notify u=
s by
>>>>> email at [email protected] and delete this email from your system.
>>>>>
>>>>> Please note that Maynooth University is subject to Freedom of
>>>>> Information and Data Protection laws. We may be required to disclose =
the
>>>>> content of emails under the* FOI Act 2014*, the* Data Protection Act
>>>>> 2018* or *GDPR*.
>>>>>
>>>>> Is don seola=C3=AD / do na seolaithe thuasluaite amh=C3=A1in an r=C3=
=ADomhphost seo.
>>>>> D=E2=80=99fh=C3=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda =
agus faoi phribhl=C3=A9id. Mura
>>>>> seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=C3=A1 s=
a r=C3=ADomhphost seo a =C3=BAs=C3=A1id, a
>>>>> scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=
=A1il. M=C3=A1 fuair t=C3=BA an
>>>>> r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir sin in i=C3=BAl d=C3=BAi=
nn l=C3=A1ithreach tr=C3=AD
>>>>> r=C3=ADomhphost a chur chuig  [email protected]  agus scrios an
>>>>> r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.
>>>>>
>>>>> Tabhair faoi deara go bhfuil Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dh=
l=C3=ADthe um
>>>>> Shaor=C3=A1il Faisn=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99=
fh=C3=A9adfadh ceangal a bheith
>>>>> orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin *Acht um Shaor=C3=
=A1il Faisn=C3=A9ise
>>>>> 2014*, faoin *Acht um Chosaint Sonra=C3=AD 2018* n=C3=B3 faoi *GDPR*.
>>>>>
>>>>> Registered charity number 20037130
>>>>>
>>>>>
>>>>>
>>>> The information contained in this email may be confidential and
>>>> privileged. It is intended only for the addressee(s) stated above. If =
you
>>>> are not an addressee any use, dissemination, distribution, publication=
 or
>>>> copying of the information contained in this email is strictly prohibi=
ted.
>>>> If you have received this email in error, please immediately notify us=
 by
>>>> email at [email protected] and delete this email from your system.
>>>>
>>>> Please note that Maynooth University is subject to Freedom of
>>>> Information and Data Protection laws. We may be required to disclose t=
he
>>>> content of emails under the* FOI Act 2014*, the* Data Protection Act
>>>> 2018* or *GDPR*.
>>>>
>>>> Is don seola=C3=AD / do na seolaithe thuasluaite amh=C3=A1in an r=C3=
=ADomhphost seo.
>>>> D=E2=80=99fh=C3=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda a=
gus faoi phribhl=C3=A9id. Mura
>>>> seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=C3=A1 sa=
 r=C3=ADomhphost seo a =C3=BAs=C3=A1id, a
>>>> scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=
=A1il. M=C3=A1 fuair t=C3=BA an
>>>> r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir sin in i=C3=BAl d=C3=BAin=
n l=C3=A1ithreach tr=C3=AD
>>>> r=C3=ADomhphost a chur chuig  [email protected]  agus scrios an
>>>> r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.
>>>>
>>>> Tabhair faoi deara go bhfuil Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=
=C3=ADthe um
>>>> Shaor=C3=A1il Faisn=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99f=
h=C3=A9adfadh ceangal a bheith
>>>> orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin *Acht um Shaor=C3=
=A1il Faisn=C3=A9ise
>>>> 2014*, faoin *Acht um Chosaint Sonra=C3=AD 2018* n=C3=B3 faoi *GDPR*.
>>>>
>>>> Registered charity number 20037130
>>>>
>>>>
>>>>
>>> The information contained in this email may be confidential and
>> privileged. It is intended only for the addressee(s) stated above. If yo=
u
>> are not an addressee any use, dissemination, distribution, publication o=
r
>> copying of the information contained in this email is strictly prohibite=
d.
>> If you have received this email in error, please immediately notify us b=
y
>> email at [email protected] and delete this email from your system.
>>
>> Please note that Maynooth University is subject to Freedom of Informatio=
n
>> and Data Protection laws. We may be required to disclose the content of
>> emails under the* FOI Act 2014*, the* Data Protection Act 2018* or *GDPR=
*
>> .
>>
>> Is don seola=C3=AD / do na seolaithe thuasluaite amh=C3=A1in an r=C3=ADo=
mhphost seo.
>> D=E2=80=99fh=C3=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agu=
s faoi phribhl=C3=A9id. Mura
>> seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=C3=A1 sa r=
=C3=ADomhphost seo a =C3=BAs=C3=A1id, a
>> scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1=
il. M=C3=A1 fuair t=C3=BA an
>> r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir sin in i=C3=BAl d=C3=BAinn =
l=C3=A1ithreach tr=C3=AD
>> r=C3=ADomhphost a chur chuig  [email protected]  agus scrios an r=C3=
=ADomhphost
>> seo =C3=B3 do ch=C3=B3ras.
>>
>> Tabhair faoi deara go bhfuil Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=
=C3=ADthe um
>> Shaor=C3=A1il Faisn=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh=
=C3=A9adfadh ceangal a bheith
>> orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin *Acht um Shaor=C3=A1=
il Faisn=C3=A9ise
>> 2014*, faoin *Acht um Chosaint Sonra=C3=AD 2018* n=C3=B3 faoi *GDPR*.
>>
>> Registered charity number 20037130
>>
>>
>>
> The information contained in this email may be confidential and
> privileged. It is intended only for the addressee(s) stated above. If you
> are not an addressee any use, dissemination, distribution, publication or
> copying of the information contained in this email is strictly prohibited=
.
> If you have received this email in error, please immediately notify us by
> email at [email protected] and delete this email from your system.
>
> Please note that Maynooth University is subject to Freedom of Information
> and Data Protection laws. We may be required to disclose the content of
> emails under the* FOI Act 2014*, the* Data Protection Act 2018* or *GDPR*=
.
>
> Is don seola=C3=AD / do na seolaithe thuasluaite amh=C3=A1in an r=C3=ADom=
hphost seo.
> D=E2=80=99fh=C3=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agus=
 faoi phribhl=C3=A9id. Mura
> seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=C3=A1 sa r=
=C3=ADomhphost seo a =C3=BAs=C3=A1id, a
> scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1i=
l. M=C3=A1 fuair t=C3=BA an
> r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir sin in i=C3=BAl d=C3=BAinn l=
=C3=A1ithreach tr=C3=AD
> r=C3=ADomhphost a chur chuig  [email protected]  agus scrios an r=C3=
=ADomhphost
> seo =C3=B3 do ch=C3=B3ras.
>
> Tabhair faoi deara go bhfuil Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3=
=ADthe um
> Shaor=C3=A1il Faisn=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh=
=C3=A9adfadh ceangal a bheith
> orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin *Acht um Shaor=C3=A1i=
l Faisn=C3=A9ise
> 2014*, faoin *Acht um Chosaint Sonra=C3=AD 2018* n=C3=B3 faoi *GDPR*.
>
> Registered charity number 20037130
>
>
>

--0000000000008cbd0b065671135d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">I agree, it is too big of a change.=C2=A0</div><br><div c=
lass=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_=
attr">On Sun, Jul 12, 2026, 22:42 Victor Lazzarini &lt;<a href=3D"mailto:00=
[email protected]">000010b17ddd988e-dmarc-req=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">



<div dir=3D"auto">
<div>csoundCreate() (via csoundReset() ) needs to load all plugins I think =
so that the compiler can see the opcodes. It may be possible to move it to =
the first compilation call, but it&#39;s a bit doubtful I guess since this =
may have lots of implications we do
 not anticipate.</div>
<div><br>
</div>
<div>Being close to 7.0 release, I think the case is weak for attempting th=
is change.</div>
<div><br>
</div>
<div>We should deal with this using versioning, which works for instance no=
w to prevent 7.0 loading 6.18 plugins.=C2=A0</div>
<div><br>
</div>
<div>The problem you encountered is because everything is beta now and we a=
re not bumping versions on ABI changes. But we should make sure the version=
ing mechanism works when we move to full release.</div>
<div><br>
</div>
<div dir=3D"ltr">Prof. Victor Lazzarini
<div>Maynooth University</div>
<div>Ireland</div>
</div>
<div dir=3D"ltr"><br>
<blockquote type=3D"cite">On 12 Jul 2026, at 20:55, Eduardo Moguillansky &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">=EF=BB=BF
<div dir=3D"ltr">
<div>This proved to be trickier than I thought, since plugins are loaded be=
fore options are processed: setting a flag to modify this behaviour comes t=
oo late. A solution would be to split loading of plugins from instance crea=
tion (csoundCreate would not load
 any modules). Plugins need to be loaded for all the cases where a command =
line flag results in csound showing some information (output devices, syste=
m sr, opcodes) and exiting.=C2=A0 =C2=A0</div>
<div><br>
</div>
<div>Doing it the split would be good in the sense that, at the moment, if =
there is any architecture mismatch (plugins are built with a different ABI =
than csound), csound just crushes even before being able to do anything lik=
e &quot;csound --version&quot; or &quot;csound
 --help&quot;.=C2=A0</div>
<div><br>
</div>
<div>Any thoughts?</div>
<div><br>
</div>
</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jul 12, 2026 at 6:08=E2=80=AF=
PM Victor Lazzarini &lt;<a href=3D"mailto:000010b17ddd988e-dmarc-request@li=
stserv.heanet.ie" target=3D"_blank" rel=3D"noreferrer">000010b17ddd988e-dma=
[email protected]</a>&gt; wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"auto">Sounds like a good idea.<br id=3D"m_-3136737206006750757m=
_-476140709160406719lineBreakAtBeginningOfSignature">
<div dir=3D"ltr">Prof. Victor Lazzarini
<div>Maynooth University</div>
<div>Ireland</div>
</div>
<div dir=3D"ltr"><br>
<blockquote type=3D"cite">On 12 Jul 2026, at 16:52, Eduardo Moguillansky &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">=EF=BB=BF
<div dir=3D"ltr">Looking at the code, I don&#39;t see a way to disable csou=
nd from looking into the user plugins dir. It can be disabled at the cmake =
level. A flag to disable this would be great. I can make a PR with=C2=A0tha=
t change.</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jul 12, 2026 at 5:47=E2=80=AF=
PM Eduardo Moguillansky &lt;<a href=3D"mailto:[email protected]=
m" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>&=
gt; wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"ltr">yes, I meant OPCODE7DIR64</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jul 12, 2026 at 12:51=E2=80=
=AFAM Victor Lazzarini &lt;<a href=3D"mailto:000010b17ddd988e-dmarc-request=
@listserv.heanet.ie" target=3D"_blank" rel=3D"noreferrer">000010b17ddd988e-=
[email protected]</a>&gt; wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"auto">OPCODE7DIR64 do you mean? Are you using floats?<br id=3D"=
m_-3136737206006750757m_-476140709160406719m_-8914935341755367834m_-1537109=
220017533463lineBreakAtBeginningOfSignature">
<div dir=3D"ltr">Prof. Victor Lazzarini
<div>Maynooth University</div>
<div>Ireland</div>
</div>
<div dir=3D"ltr"><br>
<blockquote type=3D"cite">On 11 Jul 2026, at 20:39, Eduardo Moguillansky &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">=EF=BB=BF
<div dir=3D"ltr">I see the problem now, csound seems to still look in the d=
efault user path for plugins, even if OPCODE7DIR is set. Thanks for the hea=
ds-up regarding ABI changes</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Sat, Jul 11, 2026 at 6:17=E2=80=AF=
PM Victor Lazzarini &lt;<a href=3D"mailto:000010b17ddd988e-dmarc-request@li=
stserv.heanet.ie" target=3D"_blank" rel=3D"noreferrer">000010b17ddd988e-dma=
[email protected]</a>&gt; wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"auto">
<div>By the way, the ABI has changed - maybe this is the reason? Was the =
=C2=A0binary recompiled and re-linked?</div>
<div><br>
</div>
<div dir=3D"ltr">Prof. Victor Lazzarini
<div>Maynooth University</div>
<div>Ireland</div>
</div>
<div dir=3D"ltr"><br>
<blockquote type=3D"cite">On 11 Jul 2026, at 17:12, Victor Lazzarini &lt;<a=
 href=3D"mailto:[email protected]" target=
=3D"_blank" rel=3D"noreferrer">[email protected]=
et.ie</a>&gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">=EF=BB=BF
<div dir=3D"ltr">midiGlobals is allocated in csoundReset(), it looks like s=
omething going very wrong for it to be NULL.</div>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr">Maybe a backtrace may give some clues.</div>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr">
<div dir=3D"ltr">Prof. Victor Lazzarini
<div>Maynooth University</div>
<div>Ireland</div>
</div>
<div dir=3D"ltr"><br>
<blockquote type=3D"cite">On 11 Jul 2026, at 16:42, Eduardo Moguillansky &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">=EF=BB=BF
<div style=3D"font-size:10pt;font-family:&quot;Segoe UI&quot;,&quot;Tahoma&=
quot;,&quot;Lucida Grande&quot;,sans-serif;color:rgb(0,51,51);text-align:ju=
stify">
<div style=3D"background-color:rgb(255,233,170);border:1px solid rgb(240,17=
2,2);padding:1em;margin:1em;border-radius:5px">
<h1 style=3D"font-size:inherit;color:rgb(255,0,0);font-weight:normal;text-t=
ransform:uppercase;padding:0px;margin:0px;display:inline">
<span style=3D"display:none">*</span>Warning<span style=3D"display:none">*<=
/span></h1>
<p style=3D"margin:0px;padding:0px;display:inline">This email originated fr=
om outside of Maynooth University&#39;s Mail System. Do not reply, click li=
nks or open attachments unless you recognise the sender and know the conten=
t is safe.</p>
</div>
</div>
<div>
<div dir=3D"ltr">
<div>I am getting a confusing crash with latest develop. The csound binary =
crashes (even if csound is called without any args) within=C2=A0csoundSetEx=
ternalMidiErrorStringCallback in csound_rtio.c</div>
<div><br>
</div>
<div>void<br>
csoundSetExternalMidiErrorStringCallback(CSOUND *csound,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0co=
nst char *(*func)(int32_t)) {<br>
=C2=A0 csound-&gt;midiGlobals-&gt;MidiErrorStringCallback =3D func;<br>
}</div>
<div><br>
</div>
<div>csound-&gt;midiGlobals seems to be null, but maybe the problem is that=
 this function is being called at all?=C2=A0</div>
<div><br>
</div>
<div>If I comment the line &quot;csound-&gt;midiGlobals...&quot; out, the c=
rash is gone.=C2=A0</div>
<div><br>
</div>
<div>best regards,</div>
<div>Eduardo</div>
</div>
</div>
</div>
</blockquote>
</div>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">The information contained i=
n this email may be confidential and privileged. It is intended only for th=
e addressee(s) stated above. If you are not an addressee any use, dissemina=
tion, distribution, publication or
 copying of the information contained in this email is strictly prohibited.=
 If you have received this email in error, please immediately notify us by =
email at
<a title=3D"mailto:[email protected]" href=3D"mailto:[email protected]=
e" target=3D"_blank" rel=3D"noreferrer">
[email protected]</a> and delete this email from your system.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Please note that Maynooth U=
niversity is subject to Freedom of Information and Data Protection laws. We=
 may be required to disclose the content of emails under the<strong>=C2=A0F=
OI Act 2014</strong>, the<strong>=C2=A0Data
 Protection Act 2018</strong> or <strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Is don seola=C3=AD / do na =
seolaithe thuasluaite amh=C3=A1in an r=C3=ADomhphost seo. D=E2=80=99fh=C3=
=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agus faoi phribhl=C3=
=A9id. Mura seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=
=C3=A1 sa r=C3=ADomhphost seo a =C3=BAs=C3=A1id,
 a scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1=
il. M=C3=A1 fuair t=C3=BA an r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir s=
in in i=C3=BAl d=C3=BAinn l=C3=A1ithreach tr=C3=AD r=C3=ADomhphost a chur c=
huig =C2=A0<a title=3D"mailto:[email protected]" href=3D"mailto:dataprot=
[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>=
=C2=A0
 agus scrios an r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Tabhair faoi deara go bhfui=
l Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3=ADthe um Shaor=C3=A1il Faisn=
=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh=C3=A9adfadh ceangal a =
bheith orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin
<strong>Acht um Shaor=C3=A1il Faisn=C3=A9ise 2014</strong>, faoin <strong>A=
cht um Chosaint Sonra=C3=AD 2018</strong> n=C3=B3 faoi
<strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Registered charity number 2=
0037130</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
=C2=A0</p>
</div>
</blockquote>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">The information contained i=
n this email may be confidential and privileged. It is intended only for th=
e addressee(s) stated above. If you are not an addressee any use, dissemina=
tion, distribution, publication or
 copying of the information contained in this email is strictly prohibited.=
 If you have received this email in error, please immediately notify us by =
email at
<a title=3D"mailto:[email protected]" href=3D"mailto:[email protected]=
e" target=3D"_blank" rel=3D"noreferrer">
[email protected]</a> and delete this email from your system.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Please note that Maynooth U=
niversity is subject to Freedom of Information and Data Protection laws. We=
 may be required to disclose the content of emails under the<strong>=C2=A0F=
OI Act 2014</strong>, the<strong>=C2=A0Data
 Protection Act 2018</strong> or <strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Is don seola=C3=AD / do na =
seolaithe thuasluaite amh=C3=A1in an r=C3=ADomhphost seo. D=E2=80=99fh=C3=
=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agus faoi phribhl=C3=
=A9id. Mura seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=
=C3=A1 sa r=C3=ADomhphost seo a =C3=BAs=C3=A1id,
 a scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1=
il. M=C3=A1 fuair t=C3=BA an r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir s=
in in i=C3=BAl d=C3=BAinn l=C3=A1ithreach tr=C3=AD r=C3=ADomhphost a chur c=
huig =C2=A0<a title=3D"mailto:[email protected]" href=3D"mailto:dataprot=
[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>=
=C2=A0
 agus scrios an r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Tabhair faoi deara go bhfui=
l Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3=ADthe um Shaor=C3=A1il Faisn=
=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh=C3=A9adfadh ceangal a =
bheith orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin
<strong>Acht um Shaor=C3=A1il Faisn=C3=A9ise 2014</strong>, faoin <strong>A=
cht um Chosaint Sonra=C3=AD 2018</strong> n=C3=B3 faoi
<strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Registered charity number 2=
0037130</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
=C2=A0</p>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">The information contained i=
n this email may be confidential and privileged. It is intended only for th=
e addressee(s) stated above. If you are not an addressee any use, dissemina=
tion, distribution, publication or
 copying of the information contained in this email is strictly prohibited.=
 If you have received this email in error, please immediately notify us by =
email at
<a title=3D"mailto:[email protected]" href=3D"mailto:[email protected]=
e" target=3D"_blank" rel=3D"noreferrer">
[email protected]</a> and delete this email from your system.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Please note that Maynooth U=
niversity is subject to Freedom of Information and Data Protection laws. We=
 may be required to disclose the content of emails under the<strong>=C2=A0F=
OI Act 2014</strong>, the<strong>=C2=A0Data
 Protection Act 2018</strong> or <strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Is don seola=C3=AD / do na =
seolaithe thuasluaite amh=C3=A1in an r=C3=ADomhphost seo. D=E2=80=99fh=C3=
=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agus faoi phribhl=C3=
=A9id. Mura seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=
=C3=A1 sa r=C3=ADomhphost seo a =C3=BAs=C3=A1id,
 a scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1=
il. M=C3=A1 fuair t=C3=BA an r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir s=
in in i=C3=BAl d=C3=BAinn l=C3=A1ithreach tr=C3=AD r=C3=ADomhphost a chur c=
huig =C2=A0<a title=3D"mailto:[email protected]" href=3D"mailto:dataprot=
[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>=
=C2=A0
 agus scrios an r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Tabhair faoi deara go bhfui=
l Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3=ADthe um Shaor=C3=A1il Faisn=
=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh=C3=A9adfadh ceangal a =
bheith orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin
<strong>Acht um Shaor=C3=A1il Faisn=C3=A9ise 2014</strong>, faoin <strong>A=
cht um Chosaint Sonra=C3=AD 2018</strong> n=C3=B3 faoi
<strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Registered charity number 2=
0037130</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
=C2=A0</p>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">The information contained i=
n this email may be confidential and privileged. It is intended only for th=
e addressee(s) stated above. If you are not an addressee any use, dissemina=
tion, distribution, publication or
 copying of the information contained in this email is strictly prohibited.=
 If you have received this email in error, please immediately notify us by =
email at
<a title=3D"mailto:[email protected]" href=3D"mailto:[email protected]=
e" target=3D"_blank" rel=3D"noreferrer">
[email protected]</a> and delete this email from your system.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Please note that Maynooth U=
niversity is subject to Freedom of Information and Data Protection laws. We=
 may be required to disclose the content of emails under the<strong>=C2=A0F=
OI Act 2014</strong>, the<strong>=C2=A0Data
 Protection Act 2018</strong> or <strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Is don seola=C3=AD / do na =
seolaithe thuasluaite amh=C3=A1in an r=C3=ADomhphost seo. D=E2=80=99fh=C3=
=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agus faoi phribhl=C3=
=A9id. Mura seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=
=C3=A1 sa r=C3=ADomhphost seo a =C3=BAs=C3=A1id,
 a scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1=
il. M=C3=A1 fuair t=C3=BA an r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir s=
in in i=C3=BAl d=C3=BAinn l=C3=A1ithreach tr=C3=AD r=C3=ADomhphost a chur c=
huig =C2=A0<a title=3D"mailto:[email protected]" href=3D"mailto:dataprot=
[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>=
=C2=A0
 agus scrios an r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Tabhair faoi deara go bhfui=
l Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3=ADthe um Shaor=C3=A1il Faisn=
=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh=C3=A9adfadh ceangal a =
bheith orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin
<strong>Acht um Shaor=C3=A1il Faisn=C3=A9ise 2014</strong>, faoin <strong>A=
cht um Chosaint Sonra=C3=AD 2018</strong> n=C3=B3 faoi
<strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
<span style=3D"font-size:10px;line-height:115%">Registered charity number 2=
0037130</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&quot;Aptos&quot;,s=
ans-serif;margin:0cm 0cm 8pt">
=C2=A0</p>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p style=3D"line-height:115%;font-size:10px;font-family:&#39;Aptos&#39;,san=
s-serif;margin:0cm 0cm 8.0pt 0cm">
<span style=3D"font-size:10px;line-height:115%">The information contained i=
n this email may be confidential and privileged. It is intended only for th=
e addressee(s) stated above. If you are not an addressee any use, dissemina=
tion, distribution, publication
 or copying of the information contained in this email is strictly prohibit=
ed. If you have received this email in error, please immediately notify us =
by email at
<a title=3D"mailto:[email protected]" href=3D"mailto:[email protected]=
e" target=3D"_blank" rel=3D"noreferrer">[email protected]</a> and delete=
 this email from your system.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&#39;Aptos&#39;,san=
s-serif;margin:0cm 0cm 8.0pt 0cm">
<span style=3D"font-size:10px;line-height:115%">Please note that Maynooth U=
niversity is subject to Freedom of Information and Data Protection laws. We=
 may be required to disclose the content of emails under the<strong>=C2=A0F=
OI Act 2014</strong>, the<strong>=C2=A0Data
 Protection Act 2018</strong> or <strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&#39;Aptos&#39;,san=
s-serif;margin:0cm 0cm 8.0pt 0cm">
<span style=3D"font-size:10px;line-height:115%">Is don seola=C3=AD / do na =
seolaithe thuasluaite amh=C3=A1in an r=C3=ADomhphost seo. D=E2=80=99fh=C3=
=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agus faoi phribhl=C3=
=A9id. Mura seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=
=C3=A1 sa r=C3=ADomhphost seo a =C3=BAs=C3=A1id,
 a scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1=
il. M=C3=A1 fuair t=C3=BA an r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir s=
in in i=C3=BAl d=C3=BAinn l=C3=A1ithreach tr=C3=AD r=C3=ADomhphost a chur c=
huig =C2=A0<a title=3D"mailto:[email protected]" href=3D"mailto:dataprot=
[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>=
=C2=A0
 agus scrios an r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras.</span></p>
<p style=3D"line-height:115%;font-size:10px;font-family:&#39;Aptos&#39;,san=
s-serif;margin:0cm 0cm 8.0pt 0cm">
<span style=3D"font-size:10px;line-height:115%">Tabhair faoi deara go bhfui=
l Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3=ADthe um Shaor=C3=A1il Faisn=
=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh=C3=A9adfadh ceangal a =
bheith orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin
<strong>Acht um Shaor=C3=A1il Faisn=C3=A9ise 2014</strong>, faoin <strong>A=
cht um Chosaint Sonra=C3=AD 2018</strong> n=C3=B3 faoi
<strong>GDPR</strong>.</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&#39;Aptos&#39;,san=
s-serif;margin:0cm 0cm 8.0pt 0cm">
<span style=3D"font-size:10px;line-height:115%">Registered charity number 2=
0037130</span></p>
<p style=3D"line-height:115%;font-size:16px;font-family:&#39;Aptos&#39;,san=
s-serif;margin:0cm 0cm 8.0pt 0cm">
=C2=A0</p>

</div>

</blockquote></div>

--0000000000008cbd0b065671135d--