Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Segfault on RPi

Date2024-12-13 19:40
FromDave Seidel
Subject[Csnd-dev] Segfault on RPi
Just doing my periodic pull and build (develop branch) on my RPi 5. Build went fine (I did "make clean" and removed the CMake cache). After installing and running ldconfig, I get this:

dave@phonon:~/src/csound/build $ csound
Malloc failed: memory allocate failure for 12963674408
Error in pre-initialisation function of module 'libsfont.so'
Failed during csoundLoadModules
Segmentation fault

I'm on bookworm (Linux 12), fully up to date.

Date2024-12-13 19:42
FromDave Seidel
SubjectRe: [Csnd-dev] Segfault on RPi
When I run it again, I just get

dave@phonon:~/src/csound/build $ csound

csound command: Segmentation fault
Segmentation fault

On Fri, Dec 13, 2024 at 2:40 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Just doing my periodic pull and build (develop branch) on my RPi 5. Build went fine (I did "make clean" and removed the CMake cache). After installing and running ldconfig, I get this:

dave@phonon:~/src/csound/build $ csound
Malloc failed: memory allocate failure for 12963674408
Error in pre-initialisation function of module 'libsfont.so'
Failed during csoundLoadModules
Segmentation fault

I'm on bookworm (Linux 12), fully up to date.

Date2024-12-13 19:59
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] Segfault on RPi
you need to get rid of your old installation, the plugins are incompatible and will crash. The develop code is still changing and we can't guarantee ABI compatibility.

Make sure there's nothing old there before you build and install again.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Dec 2024, at 19:42, Dave Seidel <dave.seidel@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

When I run it again, I just get

dave@phonon:~/src/csound/build $ csound

csound command: Segmentation fault
Segmentation fault

On Fri, Dec 13, 2024 at 2:40 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Just doing my periodic pull and build (develop branch) on my RPi 5. Build went fine (I did "make clean" and removed the CMake cache). After installing and running ldconfig, I get this:

dave@phonon:~/src/csound/build $ csound
Malloc failed: memory allocate failure for 12963674408
Error in pre-initialisation function of module 'libsfont.so'
Failed during csoundLoadModules
Segmentation fault

I'm on bookworm (Linux 12), fully up to date.

Date2024-12-13 20:11
FromDave Seidel
SubjectRe: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] Segfault on RPi
OK, that worked, thanks.

On Fri, Dec 13, 2024 at 2:59 PM Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
you need to get rid of your old installation, the plugins are incompatible and will crash. The develop code is still changing and we can't guarantee ABI compatibility.

Make sure there's nothing old there before you build and install again.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Dec 2024, at 19:42, Dave Seidel <dave.seidel@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

When I run it again, I just get

dave@phonon:~/src/csound/build $ csound

csound command: Segmentation fault
Segmentation fault

On Fri, Dec 13, 2024 at 2:40 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Just doing my periodic pull and build (develop branch) on my RPi 5. Build went fine (I did "make clean" and removed the CMake cache). After installing and running ldconfig, I get this:

dave@phonon:~/src/csound/build $ csound
Malloc failed: memory allocate failure for 12963674408
Error in pre-initialisation function of module 'libsfont.so'
Failed during csoundLoadModules
Segmentation fault

I'm on bookworm (Linux 12), fully up to date.