denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Denemo crash


From: Richard Shann
Subject: Re: [Denemo-devel] Denemo crash
Date: Fri, 03 Feb 2017 16:47:26 +0000

On Thu, 2017-02-02 at 23:33 +0100, Andreas Schneider wrote:
> Am 01.02.2017 um 22:48 schrieb Richard Shann:
> > yes, but it could be a bug in Denemo that happens not to be
> triggered. 
> > Can you try executing
> > (d-IncreaseGuard) in the Scheme window or CLI and then seeing if it
> > crashes? d- IncreaseGaurd will turn off the undo, and this will
> indicate
> > that the problem is with the Snapshot done before adding the staff.
> 
> After executing (d-IncreaseGuard), the Denemo does not crash any more
> when inserting a staff.

Well, I've gone over the snapshotting code and done some cleaning and
re-coding, commenting and protected against a condition that shouldn't
arise. This is now in git.
If, with this new version inserting/deleting a staff from that score (I
guess it is any score with lyrics) is still crashing it is going to be
quite tricky to debug.
If you *do* have the current git source code crashing under gdb you
could create a breakpoint at line 1176 of select.c which is where the
snapshot code ends (you do a Ctrl-C to suspend the program, issue

b select.c:1176

to insert the break and then the command

c

to continue the program).

Then it should stop on that line when you try to add/delete a staff.

If it does stop then issuing 

call call_out_to_guile ("(d-Save \"/home/aschneider/JUNKNAME.denemo\")")

at the gdb prompt will save the score under the name JUNKNAME.denemo and
this may the hold a clue.

Richard







reply via email to

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