Re: Intermittent core dumps with 2.25.8 under Ubuntu 22.04.3

2024-06-03 Thread Trevor Bača
On Sat, Jun 1, 2024 at 2:35 AM Jean Abou Samra  wrote:

>
>
> Le 1 juin 2024 à 00:40, Trevor Bača  a écrit :
>
> QUESTION: if Lily does core dump during one of the runs, what is the exact
> path to the core file? (I'm using something like /tmp/lilypond-2.25.15 for
> Lily's install directory.)
>
>
> See https://github.com/itamarst/gha-upload-cores
>

Thank you, it worked.

The core file is 271 MB, available at the bottom of the page here:

https://github.com/trevorbaca/dornen/actions/runs/9348588969

FWIW, I think it's possible that what I am reporting here is the same as
(or close to) https://gitlab.com/lilypond/lilypond/-/issues/6716.


-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca


Re: Intermittent core dumps with 2.25.8 under Ubuntu 22.04.3

2024-05-31 Thread Jean Abou Samra



> Le 1 juin 2024 à 00:40, Trevor Bača  a écrit :
> 
> QUESTION: if Lily does core dump during one of the runs, what is the exact 
> path to the core file? (I'm using something like /tmp/lilypond-2.25.15 for 
> Lily's install directory.)

See https://github.com/itamarst/gha-upload-cores

Re: Intermittent core dumps with 2.25.8 under Ubuntu 22.04.3

2024-05-31 Thread Trevor Bača
On Sun, Sep 24, 2023 at 9:45 AM Jean Abou Samra  wrote:

> Le mardi 19 septembre 2023 à 15:58 -0400, Trevor Bača a écrit :
>
> Happy to try to help, if anyone can offer guidance on how to better report
> the problem,
>
>
>
> Having the files would obviously help a lot, if you can share them.
>
> If this reproducibly crashes on Linux outside of GitHub actions then it
> will be enough. Otherwise we'll need a core dump. See
>
>
> https://github.com/itamarst/gha-upload-cores/blob/main/.github/workflows/build.yml
>
>
> for an example.
>

Hi Jean,

Intermittent core dumps have continued under Ubuntu on GitHub actions from
2.25.8 up to, and including, 2.25.15.

I finally have time to debug on GitHub actions. Following ...

https://github.com/itamarst/gha-upload-cores/blob/main/.github/workflows/build.yml
https://github.com/actions/upload-artifact

... I have a version of upload-artifact working in the main.yml file for
the repo.

QUESTION: if Lily does core dump during one of the runs, what is the exact
path to the core file? (I'm using something like /tmp/lilypond-2.25.15 for
Lily's install directory.)

Trevor.

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca


Re: Intermittent core dumps with 2.25.8 under Ubuntu 22.04.3

2023-09-24 Thread Jean Abou Samra
Le mardi 19 septembre 2023 à 15:58 -0400, Trevor Bača a écrit :
> Happy to try to help, if anyone can offer guidance on how to better report
> the problem,


Having the files would obviously help a lot, if you can share them.

If this reproducibly crashes on Linux outside of GitHub actions then it will be
enough. Otherwise we'll need a core dump. See

https://github.com/itamarst/gha-upload-cores/blob/main/.github/workflows/build.yml


for an example.


signature.asc
Description: This is a digitally signed message part


Intermittent core dumps with 2.25.8 under Ubuntu 22.04.3

2023-09-19 Thread Trevor Bača
Hi,

Moving from 2.25.7 to 2.25.8 causes intermittent core dumps under Ubuntu
22.04.3 when run on a score I've been maintaining through successive
versions of LilyPond.

The details here are a little tricky.

The score is divided into 14 separate LilyPond files.

When I build the score on my laptop (macOS, Ventura 13.5.2), LilyPond
2.25.8 interprets all 14 files perfectly; no core dumps.

But when I build the score on GitHub Actions (as a type of CI running on
old scores), LilyPond 2.25.8 core dumps while trying to interpret one
(randomly chosen!) file of the 14 input files. GitHub Actions declares
Ubuntu 22.04.3 as its operating system, and the LilyPond log at GitHub
looks like this:

Tue Sep 19 19:30:17 2023
Processing `/home/runner/work/dornen/dornen/dornen/sections/02/music.ly'
Parsing...
Interpreting music...Floating point exception (core dumped)

Now for the frustrating part:

I'm not sure how to further debug the problem, *because the file on which
2.25.8 core dumps appears to change every time GitHub Actions runs*. In the
example above, it was the input file for the 2nd section of the score that
core-dumped; on a previous run, it was section 8; and before that it was
section 9. Strangely, only 1 file ever seems to core dump per run.

Any advice on how to try to better report what's going on?

For obvious reasons, I can't bisect the .ly file down to a single offending
line. But FWIW my (completely blind) guess as to what's causing Lily to
core dump is one of these to things:

* grace notes
* multiplied note durations (used to create feather-beam style rhythms)

To be clear, I have absolutely no proof that that's what's going on. But
the music features these two types of input quite a bit, and in far distant
years I seem to remember one (or both?) of these things perhaps also
causing a core dump (on a much, much earlier version of the LilyPond). (And
perhaps the timing issues involved with grace notes would also make sense
with the floating point exception raised in the error message.)

Happy to try to help, if anyone can offer guidance on how to better report
the problem,

Trevor.

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca