denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Linking your Denemo score to the original source


From: Richard Shann
Subject: Re: [Denemo-devel] Linking your Denemo score to the original source
Date: Mon, 06 Feb 2012 17:46:48 +0000

Can you set -O0 instead of -O2 in the Makefile (in src) remove the .o
files and rebuild. That will turn the optimizer off which will make it
easier to see what is happening. Then run under gdb.

I can see one error in the code (which may well be harmless)
    if (event_time == 0.0)  at jackbackend.c:146
does not have the meaning intended. I think the meaning intended would
be expressed in C as 

if(!((event_time>0.0)||(event_time<0.0))) 

the original code only checks for equality with one possible
representation of a double precision floating point zero value, there
will be more than one usually. Perhaps what the code is really intending
to do is check for some initial condition though, which would be better
done explicitly...

Richard




On Mon, 2012-02-06 at 09:53 -0600, Jeremiah Benham wrote:
> On 02/06/2012 07:56 AM, Richard Shann wrote:
> > I have checked in an implementation of the "link to source" idea.
> > This means that when transcribing from a source such as a manuscript or
> > facsimile print you can mark places in your score with links to the
> > place in the manuscript that it comes from.
> > You do this by opening the source material (see Open menu) and clicking
> > on the point in the manuscript that the current measure belongs to.
> > Thereafter, when you open the file you can click on the link in that
> > measure to bring up the manuscript with the point highlighted.
> > So, no more losing your place when entering music - at any stage (every
> > line if you like) you can click on the manuscript and that marks the
> > current bar for future cross-referencing.
> > The link is actually output into the LilyPond, as a comment. Still to do
> > is to make the links relative - at the moment they will only work on the
> > machine they were created on (well, one with the sources in the same
> > place in the file system).
> >
> > We really are ready for a release now!
> 
> There are some issues with the jack audio backend. It crashes denemo on 
> startup. If a user selects this option denemo won't start again. Here is 
> the backtrace:
> ======= Backtrace: =========
> /lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0x10f88d5]
> /lib/i386-linux-gnu/libc.so.6(+0xe7887)[0x10f8887]
> /home/jjbenham/src/denemo/src/denemo[0x8119711]
> /home/jjbenham/src/denemo/src/denemo[0x8119a50]
> /usr/lib/libjack.so.0(+0xc82b)[0x3c382b]
> /usr/lib/libjack.so.0(+0x21b25)[0x3d8b25]
> /lib/i386-linux-gnu/libpthread.so.0(+0x6d31)[0xfc3d31]
> /lib/i386-linux-gnu/libc.so.6[New Thread 0xb08ffb70 (LWP 26040)]
> ======= Memory map: ========
> 00110000-0012e000 r-xp 00000000 08:07 169        
> /lib/i386-linux-gnu/ld-2.13.so
> 0012e000-0012f000 r--p 0001d000 08:07 169        
> /lib/i386-linux-gnu/ld-2.13.so
> 0012f000-00130000 rw-p 0001e000 08:07 169        
> /lib/i386-linux-gnu/ld-2.13.so
> 
> Here is a bt full:
> No symbol table info available.
> #5  0x010f8887 in __stack_chk_fail () from /lib/i386-linux-gnu/libc.so.6
> No symbol table info available.
> #6  0x08119711 in process_audio (nframes=1024) at jackbackend.c:92
>          i = <optimized out>
>          port_buffers = 0xb15020a0
>          event_data = "\360\177\177"
>          event_length = 20
>          event_time = 0
>          until_time = 0.021333333333333333
>          __PRETTY_FUNCTION__ = "process_audio"
> #7  0x08119a50 in process_callback (nframes=1024, arg=0x0) at 
> jackbackend.c:162
> No locals.
> #8  0x003c382b in ?? () from /usr/lib/libjack.so.0
> 
> Its something inside a for(;;) loop somewhere that seems to be crashing 
> it but I can't figure out what is wrong.
> 
> Jeremiah
> 
> >
> > I shall be testing this over the next few days. Please report any bugs
> > in any other parts of Denemo that you may come across.
> >
> > Richard
> >
> >
> >
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/denemo-devel
> 





reply via email to

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