Exited with return code -1073741819

587 views
Skip to first unread message

cleon...@gmail.com

unread,
Dec 26, 2013, 8:31:36 PM12/26/13
to fresc...@googlegroups.com

Problem:
The 'Music View' pane remains empty.

I installed LilyPond and Frescobaldi. Both installed without triggering any warnings or so.

As a first step in getting to know Frescobaldi I downloaded an arbitrary file from Mutopia:
http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=1895
(It's a Lilypond 2.16.2 file)

I clicked:
Lilypond
   Engrave (preview)


The 'Music View' pane remained empty.


This is the output in the 'Lilypond Log' pane:

Starting lilypond-windows.exe 2.16.2 [TroisNouvellesEtudes_Chopin_n1.ly]...
Processing `TroisNouvellesEtudes_Chopin_n1.ly'
Parsing...
Interpreting music...[8][16][24][32][40][48][56][64][64]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `TroisNouvellesEtudes_Chopin_n1.mid'...
Finding the ideal number of pages...
Fitting music on 2 or 3 pages...
Drawing systems...
Layout output to `TroisNouvellesEtudes_Chopin_n1.ps'...
Converting to `./TroisNouvellesEtudes_Chopin_n1.pdf'...
Exited with return code -1073741819.


In the log pane the line 'Exited with return code -1073741819.' is in boldface and the lettercolor is red.

The boldface and red color suggest that Frescobaldi has experienced a fatal error.
Can you confirm that?
Do you recognize the exit message?

I googled the combination of 'Frescobaldi' and the message 'exited with return code' but that search turned up just a few occurrences, and none of them offered any clue.


Frescobaldi: 2.0.12
Operating System:
Windows-7-6.1.7601-SP1


On the download page of Frescobaldi.org it is stated:
"It might be necessary to install the Visual C++ 2008 runtime module from Microsoft"
Is there a way for me to find out whether that might in fact be necessary for me?

Inserted image: screenshot of the LilyPond log pane content.



Francisco Vila

unread,
Dec 27, 2013, 4:23:02 AM12/27/13
to fresc...@googlegroups.com

Please try this minimal code fist:

{ b }

Instead of an extremely complex score such as a Chopin etude.

Urs Liska

unread,
Dec 27, 2013, 4:25:22 AM12/27/13
to fresc...@googlegroups.com
Am 27.12.2013 02:31, schrieb cleon...@gmail.com:
> Starting lilypond-windows.exe 2.16.2 [TroisNouvellesEtudes_Chopin_n1.ly]...
> Processing `TroisNouvellesEtudes_Chopin_n1.ly'
> Parsing...
> Interpreting music...[8][16][24][32][40][48][56][64][64]
> Preprocessing graphical objects...
> Interpreting music...
> MIDI output to `TroisNouvellesEtudes_Chopin_n1.mid'...
> Finding the ideal number of pages...
> Fitting music on 2 or 3 pages...
> Drawing systems...
> Layout output to `TroisNouvellesEtudes_Chopin_n1.ps'...
> Converting to `./TroisNouvellesEtudes_Chopin_n1.pdf'...
> Exited with return code -1073741819.

This clearly indicates that you're experience a problem while LilyPond
compiles your score. This isn't a Frescobaldi problem. This also means
you don't need any Visual C++ runtime or anything like that.

As Francisco said: Please try compiling a minimal example first to
verify LilyPond and Frescobaldi are working correctly.

cleon...@gmail.com

unread,
Dec 27, 2013, 5:36:12 AM12/27/13
to fresc...@googlegroups.com
Urs Liska wrote:
This clearly indicates that you're experience a problem while LilyPond
compiles your score. This isn't a Frescobaldi problem.

Yes, I realise now that this must be a LilyPond problem.
(Tried the minimal case, just version number and { b }, similar result.)

It would seem LilyPond encounters an error at the stage of conversion of the .ps output to .pdf output, regardless of the content of the source file.

I will turn to the LilyPond community for advice.

cleon...@gmail.com

unread,
Dec 27, 2013, 8:07:38 AM12/27/13
to fresc...@googlegroups.com, cleon...@gmail.com
cleon...@gmail.com wrote:
It would seem LilyPond encounters an error at the stage of conversion of the .ps output to .pdf output, regardless of the content of the source file.

I did some more googling, and the following thread from the LilyPond user list provided a clue:
http://lilypond.1069038.n5.nabble.com/Strange-return-code-and-compilation-fail-td145362.html


"-1073741819 is an access violation error; that's all I know."


When I originally installed LilyPond I allowed the installer to use the default location: C:\Program Files\Lilypond

Only an Administrator has write-access to station C:\
My Windows account for day-to-day work is a limited account. I log in to the Administrator account only for things that require Administrator privilege.

The problem:
LilyPond fails because it tries to write to some subdirectory of C:\Program Files\Lilypond, where the limited account has no write access.


The workaround is obvious:
My drive has two partitions, C:\ is the system partition and D:\ is the Data partition.
I installed Lilypond in a directory on D:\, (where the limited account has write access) and I opened the Frescobaldi preferences to set the new location of Lilypond as the default.
With that set up Lilypond proceeded without problem.
 

Urs Liska

unread,
Dec 27, 2013, 8:10:37 AM12/27/13
to fresc...@googlegroups.com
That's strange. I wouldn't think LilyPond has to write anything inside
its installation directory. Except of course you'd have saved your .ly
file there.

Urs

cleon...@gmail.com

unread,
Dec 27, 2013, 9:30:25 AM12/27/13
to fresc...@googlegroups.com

Urs Liska wrote:
That's strange. I wouldn't think LilyPond has to write anything inside
its installation directory.

Indeed I was talking complete nonsense in my previous post.

I'm using Comodo Defense+, and this security software is interfering with LilyPond.

I've marked the LilyPond executable as a trusted file, LilyPond should be able to create the helper process that it needs. But still it's working only when I disable Comodo Defense+

(To make the Lilypond installation go smoother I had temporarily disabled Defense+, and when I tested I had forgotten to re-enable. So I thought I had worked around the problem, but in fact I hadn't.)

cleon...@gmail.com

unread,
Dec 27, 2013, 2:06:38 PM12/27/13
to fresc...@googlegroups.com
cleon...@gmail.com wrote:
I'm using Comodo Defense+, and this security software is interfering with LilyPond.

The issue is resolved now.
It wasn't Frescobaldi, it wasn't Lilypond, it was me.

I was able to remove the Comodo Defense+ rules that I had created incorrectly, and that solved the problem.
Reply all
Reply to author
Forward
0 new messages