bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix unset PATH crash


From: Colin Campbell
Subject: Re: [PATCH] Fix unset PATH crash
Date: Mon, 02 Mar 2015 12:22:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015-03-01 02:07 AM, Masamichi HOSODA wrote:
On Windows, lilypond crashes when the environment variable PATH is not set.

```
C:\tmp\lilypond-2.19.16-0.mingw\$_OUTDIR\usr\bin>set PATH=

C:\tmp\lilypond-2.19.16-0.mingw\$_OUTDIR\usr\bin>lilypond
GNU LilyPond 2.19.16
terminate called after throwing an instance of 'std::logic_error'
   what():  basic_string::_S_construct null not valid

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\tmp\lilypond-2.19.16-0.mingw\$_OUTDIR\usr\bin>
```

Even in the case of linux, this issue is a possible crash.
A patch file is attached.


Should this be added to Issue 1948 <https://code.google.com/p/lilypond/issues/detail?id=1948>: Windows install clobbered system PATH and the issued be re-opened?

Cheers,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]