ly:page-turn-breaking core dumps

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

ly:page-turn-breaking core dumps

Pierre-Luc Gauthier
Hi there,

So, this problem comes up once in awhile but, I do not know why, its
now recurrent on multiple projects now.
All my orchestral projects compile about 96 PDF all using the
ly:page-turn-breaking algorithm that I love so very very much. But
sometimes, it fails with the error bellow. By sometimes I mean, it
*always* breaks until I do significant music changes that, I suppose,
changes the page layout until the problem is avoided by chance.

Here is the interesting tail of the output :

Calculating page and line breaks (8 possible page breaks)...lilypond:
/tmp/packerbuild-1000/lilypond-git/lilypond-git/src/lilypond/lily/page-turn-page-breaking.cc:218:
void Page_turn_page_breaking::calc_subproblem(vsize): Assertion
`!std::isinf (best.demerits_) && start < end - 1' failed.
./publish.sh: line 11: 63598 Aborted                 (core dumped)
lilypond -dno-point-and-click -ddelete-intermediate-files
-dembed-source-code --pdf -o ./upload/ ./parts-book-template.ily

I'm sure there is a way to create a MWE but I've never manage to do
so. It's sort of a "once in a specific while" kind of problem.

How can I help this bug along?
--
Pierre-Luc Gauthier

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: ly:page-turn-breaking core dumps

Thomas Morley-2
Am Sa., 1. Feb. 2020 um 15:46 Uhr schrieb Pierre-Luc Gauthier
<[hidden email]>:

>
> Hi there,
>
> So, this problem comes up once in awhile but, I do not know why, its
> now recurrent on multiple projects now.
> All my orchestral projects compile about 96 PDF all using the
> ly:page-turn-breaking algorithm that I love so very very much. But
> sometimes, it fails with the error bellow. By sometimes I mean, it
> *always* breaks until I do significant music changes that, I suppose,
> changes the page layout until the problem is avoided by chance.
>
> Here is the interesting tail of the output :
>
> Calculating page and line breaks (8 possible page breaks)...lilypond:
> /tmp/packerbuild-1000/lilypond-git/lilypond-git/src/lilypond/lily/page-turn-page-breaking.cc:218:
> void Page_turn_page_breaking::calc_subproblem(vsize): Assertion
> `!std::isinf (best.demerits_) && start < end - 1' failed.
> ./publish.sh: line 11: 63598 Aborted                 (core dumped)
> lilypond -dno-point-and-click -ddelete-intermediate-files
> -dembed-source-code --pdf -o ./upload/ ./parts-book-template.ily
>
> I'm sure there is a way to create a MWE but I've never manage to do
> so. It's sort of a "once in a specific while" kind of problem.
>
> How can I help this bug along?
> --
> Pierre-Luc Gauthier
>
> _______________________________________________
> bug-lilypond mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/bug-lilypond

This may be related to https://sourceforge.net/p/testlilyissues/issues/4943/
Currently intensively discussed.

May I ask which OS you use, 32 or 64 bit ?

Cheers,
  Harm

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: ly:page-turn-breaking core dumps

Pierre-Luc Gauthier
Thanks Thomas,

> May I ask which OS you use, 32 or 64 bit ?
Arch Linux
I'm pretty sure 64 bits (long mode is in my cpuinfo)
Is it possible I have a 32 bit LilyPond?
I compile it from branch master most every day.

Le sam. 1 févr. 2020 à 09:54, Thomas Morley <[hidden email]> a écrit :

>
> Am Sa., 1. Feb. 2020 um 15:46 Uhr schrieb Pierre-Luc Gauthier
> <[hidden email]>:
> >
> > Hi there,
> >
> > So, this problem comes up once in awhile but, I do not know why, its
> > now recurrent on multiple projects now.
> > All my orchestral projects compile about 96 PDF all using the
> > ly:page-turn-breaking algorithm that I love so very very much. But
> > sometimes, it fails with the error bellow. By sometimes I mean, it
> > *always* breaks until I do significant music changes that, I suppose,
> > changes the page layout until the problem is avoided by chance.
> >
> > Here is the interesting tail of the output :
> >
> > Calculating page and line breaks (8 possible page breaks)...lilypond:
> > /tmp/packerbuild-1000/lilypond-git/lilypond-git/src/lilypond/lily/page-turn-page-breaking.cc:218:
> > void Page_turn_page_breaking::calc_subproblem(vsize): Assertion
> > `!std::isinf (best.demerits_) && start < end - 1' failed.
> > ./publish.sh: line 11: 63598 Aborted                 (core dumped)
> > lilypond -dno-point-and-click -ddelete-intermediate-files
> > -dembed-source-code --pdf -o ./upload/ ./parts-book-template.ily
> >
> > I'm sure there is a way to create a MWE but I've never manage to do
> > so. It's sort of a "once in a specific while" kind of problem.
> >
> > How can I help this bug along?
> > --
> > Pierre-Luc Gauthier
> >
> > _______________________________________________
> > bug-lilypond mailing list
> > [hidden email]
> > https://lists.gnu.org/mailman/listinfo/bug-lilypond
>
> This may be related to https://sourceforge.net/p/testlilyissues/issues/4943/
> Currently intensively discussed.
>
> May I ask which OS you use, 32 or 64 bit ?
>
> Cheers,
>   Harm



--
Pierre-Luc Gauthier

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: ly:page-turn-breaking core dumps

David Kastrup
Pierre-Luc Gauthier <[hidden email]> writes:

> Thanks Thomas,
>
>> May I ask which OS you use, 32 or 64 bit ?
> Arch Linux
> I'm pretty sure 64 bits (long mode is in my cpuinfo)

That says nothing whatsoever about what system you are running, only
about what system your CPU _could_ run.

> Is it possible I have a 32 bit LilyPond?
> I compile it from branch master most every day.

What does

g++ --verbose

output?

--
David Kastrup

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: ly:page-turn-breaking core dumps

Pierre-Luc Gauthier
Sorry about that.

g++ --verbose
returns :

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d
--enable-shared --enable-threads=posix --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions
--enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp
--enable-gnu-unique-object --enable-linker-build-id --enable-lto
--enable-plugin --enable-install-libiberty
--with-linker-hash-style=gnu --enable-gnu-indirect-function
--enable-multilib --disable-werror --enable-checking=release
--enable-default-pie --enable-default-ssp --enable-cet=auto
gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
gcc version 9.2.0 (GCC)

I hope this helps

Le sam. 1 févr. 2020 à 10:56, David Kastrup <[hidden email]> a écrit :

>
> Pierre-Luc Gauthier <[hidden email]> writes:
>
> > Thanks Thomas,
> >
> >> May I ask which OS you use, 32 or 64 bit ?
> > Arch Linux
> > I'm pretty sure 64 bits (long mode is in my cpuinfo)
>
> That says nothing whatsoever about what system you are running, only
> about what system your CPU _could_ run.
>
> > Is it possible I have a 32 bit LilyPond?
> > I compile it from branch master most every day.
>
> What does
>
> g++ --verbose
>
> output?
>
> --
> David Kastrup
>
> _______________________________________________
> bug-lilypond mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/bug-lilypond



--
Pierre-Luc Gauthier

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: ly:page-turn-breaking core dumps

David Kastrup
Pierre-Luc Gauthier <[hidden email]> writes:

> Sorry about that.
>
> g++ --verbose
> returns :
>
> Using built-in specs.
> COLLECT_GCC=g++
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
> Target: x86_64-pc-linux-gnu

64bit.  Should not be affected by the bug Harm mentioned.

--
David Kastrup

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: ly:page-turn-breaking core dumps

Pierre-Luc Gauthier
> 64bit.  Should not be affected by the bug Harm mentioned.
I see. Thanks for the pointer.

Should I provide anything more helpful to help advance an eventual issue ?
Have someone already reported such a behavior ? Because I've been
seeing it creep up from time to time since at least the last two years
might that be of interest.
The problem have most of the time resolved itself randomly(seems to
me) by the time of publication.

Le sam. 1 févr. 2020 à 11:05, David Kastrup <[hidden email]> a écrit :

>
> Pierre-Luc Gauthier <[hidden email]> writes:
>
> > Sorry about that.
> >
> > g++ --verbose
> > returns :
> >
> > Using built-in specs.
> > COLLECT_GCC=g++
> > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
> > Target: x86_64-pc-linux-gnu
>
> 64bit.  Should not be affected by the bug Harm mentioned.
>
> --
> David Kastrup
>
> _______________________________________________
> bug-lilypond mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/bug-lilypond



--
Pierre-Luc Gauthier

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond