[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond crashes while drawing systems
From: |
David Kastrup |
Subject: |
Re: Lilypond crashes while drawing systems |
Date: |
Thu, 14 Jun 2018 23:14:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> 2018-06-14 13:24 GMT+02:00 Lukas-Fabian Moser <address@hidden>:
>> Folks,
>>
>> I seem to have managed to create a Lilypond file that crashes my system
>> (Linux Mint 64-Bit with kernel 4.4.0-98-generic) so hard that I have to shut
>> it down using the power button. Even a bash script in background that kills
>> the Lilypond process every few seconds cannot rescue reliably. :-( The
>> system hangs while "Drawing systems" ("Systeme erstellen" on my pc).
>>
>> Version is pre-compiled 2.19.80 64 bit.
>>
>> So I'm sorry that the following example is not really minimal - it's not so
>> easy to reduce further if you have to reboot after every other compilation.
>>
>> In the original version, I had "tonart = f" (hence no transposition) which
>> caused no problems. "tonart = fis" also works; "tonart = d" crashes.
>
>
> I tried to compile your (unchanged) code with 2.19.81 on 64-bit Ubuntu 16.04:
> ~$ uname -a
> Linux kasten 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC
> 2018 x86_64 x86_64 x86_64 GNU/Linux
> I've got:
> [...]
> Drawing systems...terminate called after throwing an instance of
> 'std::bad_alloc'
> what(): std::bad_alloc
> Aborted (core dumped)
That's consistent with a system gobbling up all available memory.
--
David Kastrup