denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Midi-status


From: Richard Shann
Subject: Re: [Denemo-devel] Midi-status
Date: Sun, 15 Mar 2009 09:11:35 +0000

On Sat, 2009-03-14 at 12:59 -0500, Jeremiah Benham wrote:
> I pushed a change to jackmidi. I am announcing this because I placed
> something in view.c line 1497. In the function free_gui.
> 
> #ifdef _HAVE_JACK_
>   //Is this the best place for this? 
>   //should this be done by free_score(gui)?
>   remove_all_jack_midi_ports();
> #endif
> 
> I don't think it belongs here. I have a function to remove a jack port
> in deletestaff. Unfortunately deletestaff is not being called when
> init.denemo load. 
This is *VERY* strange. I have just started denemo with a breakpoint at
deletestaff and it breaks thus:

Breakpoint 1, deletestaff (gui=0x8438b80, interactive=0) at
staffops.c:418
418   DenemoScore *si = gui->si;
(gdb) up
#1  0x080c2bc0 in delete_all_staffs (gui=0x8438b80) at scoreops.c:311
311       deletestaff (gui, FALSE);
(gdb) 
#2  0x080c2bdc in free_score (gui=0x8438b80) at scoreops.c:323
323   delete_all_staffs(gui);
(gdb) 
#3  0x080aa365 in free_gui (gui=0x8438b80) at view.c:1495
1495     free_score(gui);
(gdb) 
#4  0x080759be in importXML (filename=0x81aa460
"/usr/local/share/denemo/actions/init.denemo", gui=0x8438b80, 
    type=REPLACE_SCORE) at importxml.c:2782
2782       free_gui(gui);
(gdb) 
#5  0x0806d264 in open_for_real (filename=0x81aa460
"/usr/local/share/denemo/actions/init.denemo", gui=0x8438b80, 
    template=1, type=REPLACE_SCORE) at file.c:234
234     result = importXML (filename, gui, type);
(gdb) 
#6  0x08081876 in openfile (name=0x81aa460
"/usr/local/share/denemo/actions/init.denemo", template=1) at main.c:474
474   gint result = open_for_real (name, gui, template, REPLACE_SCORE);

Can you put a break at main.c:474 and follow the function calls on down
to find out where your version is going differently?

Richard






reply via email to

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