bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1336 in lilypond: skipTypesetting segfaults when set during a


From: lilypond
Subject: Re: Issue 1336 in lilypond: skipTypesetting segfaults when set during a skipBars-induced MultiMeasureRest spanner
Date: Thu, 25 Nov 2010 00:38:48 +0000


Comment #7 on issue 1336 by percival.music.ca: skipTypesetting segfaults when set during a skipBars-induced MultiMeasureRest spanner
http://code.google.com/p/lilypond/issues/detail?id=1336

Depends what you mean by "root cause".  :)
There's two ways of debugging this kind of thing: the intelligent way, and the stupid way.

Intelligent: think about the lilypond internals, the data structures, the architecture, etc. Figure out which object/engraver/translator is misbehaving.

Stupid: this segfault comes from trying to use a NULL pointer. So figure out where that NULL pointer is coming from, by tracing back through the backtrace, ading printf() statements where appropriate, and comparing the text output from a successful program run (with a slightly modified input file), and the segfault program run.


You're thinking about it in the intelligent way. I've been working through it in the stupid way. Partly because I have relatively little knowledge of our internals, but partly because I've been working on this when my brain is fried from other stuff.




reply via email to

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