I try to look at this tonight or tomorrow.

2013/12/17 Richard Shann <[email protected]>

> On Tue, 2013-12-17 at 17:06 +0100, Éloi Rivard wrote:
> > What is exactly the parameter you pass to Denemo, and which file does
> > it load ?
> I pass no parameters. It is independent of any file - I
> removed .denemo-1.1.1 and it fails - this is a threading lock up before
> any .denemo file is loaded I think.
>
> Richard
>
>
> >
> >
> >
> > 2013/12/17 Richard Shann <[email protected]>
> >
> >         [...]
> >         > More seriously - the program no longer runs at all! Starting
> >         it up under
> >         > gdb it hangs and I need ctrl-C to look at what is happening:
> >         >
> >         >
> >
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> >         >
> >         > [...]
> >         > Denemo - MESSAGE : Denemo version 1.1.1
> >         > Denemo - MESSAGE : Loaded
> >         >
> >         keymap /home/rshann/git-denemo/denemo/actions/Default.commands
> >         > ^C
> >         > Program received signal SIGINT, Interrupt.
> >         > 0x000000000045bdec in score_area_needs_refresh ()
> >         >     at ../../denemo/src/view.c:5338
> >         > 5338    RETURN_IF_NON_INTERACTIVE ();
> >         > (gdb) bt
> >         > #0  0x000000000045bdec in score_area_needs_refresh ()
> >
> >         [...]
> >         >
> >         >
> >
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> >         >
> >
> >
> >         Oh, I also stepped on to see where it was looping:
> >
> >
> >
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> >
> >         473           while ((ev = event_queue_read_input
> >         (get_event_queue
> >         (MIDI_BACKEND))) != NULL)
> >         (gdb)
> >         479           if (is_playing ())
> >         (gdb)
> >         495           if (audio_is_playing ())
> >         (gdb)
> >         504           if (g_atomic_int_get (&must_redraw_all))
> >         (gdb)
> >         512           if (g_atomic_int_get (&must_redraw_playhead))
> >         (gdb)
> >         452           if (!g_atomic_int_get (&signalled))
> >         (gdb)
> >         455               g_get_current_time (&timeval);
> >         (gdb)
> >         456               g_time_val_add (&timeval, QUEUE_TIMEOUT);
> >         (gdb)
> >         458               g_cond_timed_wait (queue_cond, queue_mutex,
> >         &timeval);
> >         (gdb)
> >
> >         459               signalled = FALSE;
> >         (gdb)
> >         462           if (g_atomic_int_get (&quit_thread))
> >         (gdb)
> >         473           while ((ev = event_queue_read_input
> >         (get_event_queue
> >         (MIDI_BACKEND))) != NULL)
> >         (gdb)
> >         479           if (is_playing ())
> >         (gdb)
> >         495           if (audio_is_playing ())
> >         (gdb)
> >         504           if (g_atomic_int_get (&must_redraw_all))
> >         (gdb)
> >         512           if (g_atomic_int_get (&must_redraw_playhead))
> >         (gdb)
> >         452           if (!g_atomic_int_get (&signalled))
> >         (gdb)
> >         455               g_get_current_time (&timeval);
> >         (gdb)
> >         456               g_time_val_add (&timeval, QUEUE_TIMEOUT);
> >         (gdb)
> >         458               g_cond_timed_wait (queue_cond, queue_mutex,
> >         &timeval);
> >         (gdb)
> >
> >         459               signalled = FALSE;
> >         (gdb)
> >         462           if (g_atomic_int_get (&quit_thread))
> >         (gdb)
> >         473           while ((ev = event_queue_read_input
> >         (get_event_queue
> >         (MIDI_BACKEND))) != NULL)
> >
> >
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> >
> >
> >         HTH
> >
> >         Richard
> >
> >
> >
> >
> >
> >
> >
> >         > Richard
> >         >
> >         >
> >         >
> >         > >
> >         > > 2013/12/16 Éloi Rivard <[email protected]>
> >         > >         Ok I can now reproduce the bug.
> >         > >         I see where it come from. I will push the fix
> >         soon.
> >         > >
> >         > >
> >         > >
> >         > >         2013/12/16 Richard Shann <[email protected]>
> >         > >                 But, on the + side, I guess this is good
> >         for
> >         > >                 cd tests
> >         > >                 make check
> >         > >
> >         > >                 [...]
> >         > >                    Gtk - CRITICAL:
> >         gtk_notebook_set_tab_label_text:
> >         > >                 assertion
> >         > >                 `GTK_IS_NOTEBOOK (notebook)' failed
> >         > >                    Gtk - CRITICAL:
> >         gtk_notebook_set_menu_label_text:
> >         > >                 assertion
> >         > >                 `GTK_IS_NOTEBOOK (notebook)' failed
> >         > >                    Gtk - CRITICAL: gtk_label_set_text:
> >         assertion
> >         > >                 `GTK_IS_LABEL (label)'
> >         > >                 failed
> >         > >                 (null) - MESSAGE : Loading preference
> >         > >                 file: /home/rshann/.denemo-1.1.1/denemorc
> >         > >                 (null) - MESSAGE : Denemo version 1.1.1
> >         > >                 (null) - MESSAGE : Loaded
> >         > >
> >         keymap /home/rshann/git-denemo/denemo/actions/Default.commands
> >         > >                 (null) - ERROR   : This error is fatal
> >         > >                 OK
> >         > >                 PASS: integration
> >         > >                 =============
> >         > >                 1 test passed
> >         > >
> >         > >                 Richard
> >         > >
> >         > >
> >         > >
> >         > >                 On Mon, 2013-12-16 at 09:49 +0000, Richard
> >         Shann
> >         > >                 wrote:
> >         > >                 > On Mon, 2013-12-16 at 10:31 +0100, Éloi
> >         Rivard
> >         > >                 wrote:
> >         > >                 > > Ok now in gdb type
> >         > >                 > >
> >         > >                 > > set environment G_DEBUG=fatal-warnings
> >         > >                 > >
> >         > >                 > >
> >         > >                 > > and run denemo again. This should fail
> >         on first
> >         > >                 warning met, so you
> >         > >                 > > will have a backtrace.
> >         > >                 >
> >         > >                 > I have done this: as it is stopping
> >         while opening
> >         > >                 the last opened file
> >         > >                 > (~/demo.denemo) I have attached that
> >         file too.
> >         > >                 >
> >         > >                 > Richard
> >         > >                 >
> >         > >                 > #0  0x00007ffff452d491 in g_logv ()
> >         > >                 >
> >         from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> >         > >                 > #1  0x00007ffff452d622 in g_log ()
> >         > >                 >
> >         from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> >         > >                 > #2  0x000000000048e4a2 in
> >         widget_for_directive_menu
> >         > >                 > (directive=0xf65a90,
> >         > >                 >     fn=0x490b80
> >         <staff_directive_put_graphic>,
> >         > >                 menu=0x0)
> >         > >                 >
> >         at ../../denemo/src/lilydirectives.c:1540
> >         > >                 > #3  0x0000000000434527 in
> >         parseWidgetDirective
> >         > >                 (menu=0x0,
> >         > >                 > directive=0xf65a90,
> >         > >                 >     fn=0x490b80, parentElem=<optimized
> >         out>)
> >         > >                 >     at ../../denemo/src/importxml.c:320
> >         > >                 > #4  parseWidgetDirectives (fn=0x490b80,
> >         menu=0x0,
> >         > >                 >
> >         > >
> >         directives_pointer=directives_pointer@entry=0xf654b0,
> >         > >                 >     parentElem=<error reading variable:
> >         Unhandled
> >         > >                 dwarf expression
> >         > >                 > opcode 0xfa>)
> >         at ../../denemo/src/importxml.c:390
> >         > >                 > #5  0x000000000043866b in
> >         parseVoiceProps
> >         > >                 (si=0xf64f00,
> >         > >                 >     voicePropElem=<optimized out>)
> >         > >                 at ../../denemo/src/importxml.c:2199
> >         > >                 > #6  parseVoice (gui=0x8c8f70,
> >         ns=0x8cbf20,
> >         > >                 voiceElem=<optimized out>)
> >         > >                 >     at ../../denemo/src/importxml.c:2656
> >         > >                 > #7  parseScore (type=16142080,
> >         gui=0x8c8f70,
> >         > >                 ns=<optimized out>,
> >         > >                 >     scoreElem=0x13ebe70)
> >         > >                 at ../../denemo/src/importxml.c:2742
> >         > >                 > #8  parseMovement
> >         > >                 (childElem=childElem@entry=0x13ebe70,
> >         > >                 > ns=ns@entry=0x8cbf20,
> >         > >                 >     gui=gui@entry=0x8c8f70,
> >         type=16142080,
> >         > >                 type@entry=REPLACE_SCORE)
> >         > >                 >     at ../../denemo/src/importxml.c:2775
> >         > >                 > #9  0x0000000000439b84 in importXML (
> >         > >                 >     filename=filename@entry=0x8bd590
> >         > >                 "/home/rshann/demo.denemo",
> >         > >                 > ---Type <return> to continue, or q
> >         <return> to
> >         > >                 quit---
> >         > >                 >     gui=gui@entry=0x8c8f70,
> >         > >                 type=type@entry=REPLACE_SCORE)
> >         > >                 >     at ../../denemo/src/importxml.c:3024
> >         > >                 > #10 0x0000000000430805 in open_for_real
> >         (
> >         > >                 >     filename=filename@entry=0x8bd590
> >         > >                 "/home/rshann/demo.denemo",
> >         > >                 >     gui=gui@entry=0x8c8f70,
> >         > >                 template=template@entry=SAVE_NORMAL,
> >         > >                 >     type=type@entry=REPLACE_SCORE)
> >         > >                 at ../../denemo/src/file.c:322
> >         > >                 > #11 0x0000000000459078 in load_files
> >         (files=0x0)
> >         > >                 > at ../../denemo/src/view.c:638
> >         > >                 > #12 inner_main (files=0x0)
> >         > >                 at ../../denemo/src/view.c:781
> >         > >                 > #13 0x00007ffff7ab6a1a in ?? ()
> >         > >                 from /usr/lib/libguile-2.0.so.22
> >         > >                 > #14 0x00007ffff7b4691f in ?? ()
> >         > >                 from /usr/lib/libguile-2.0.so.22
> >         > >                 > #15 0x00007ffff7abfe83 in scm_call_4 ()
> >         > >                 from /usr/lib/libguile-2.0.so.22
> >         > >                 > #16 0x00007ffff7ab7203 in ?? ()
> >         > >                 from /usr/lib/libguile-2.0.so.22
> >         > >                 > #17 0x00007ffff7ab72b5 in
> >         > >                 scm_c_with_continuation_barrier ()
> >         > >                 >    from /usr/lib/libguile-2.0.so.22
> >         > >                 > #18 0x00007ffff7b2f875 in ?? ()
> >         > >                 from /usr/lib/libguile-2.0.so.22
> >         > >                 > #19 0x00007ffff7818cc8 in
> >         GC_call_with_stack_base ()
> >         > >                 > from /usr/lib/libgc.so.1
> >         > >                 > #20 0x00007ffff7b2fa08 in scm_with_guile
> >         ()
> >         > >                 > from /usr/lib/libguile-2.0.so.22
> >         > >                 > #21 0x0000000000416745 in main (argc=4,
> >         > >                 argv=0x7fffffffe3b8)
> >         > >                 >     at ../../denemo/src/main.c:380
> >         > >                 >
> >         > >                 >
> >         > >
> >         > >                 >
> >         _______________________________________________
> >         > >                 > Denemo-devel mailing list
> >         > >                 > [email protected]
> >         > >                 >
> >         https://lists.gnu.org/mailman/listinfo/denemo-devel
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >         --
> >         > >         Éloi Rivard - [email protected]
> >         > >
> >         > >         « On perd plus à être indécis qu'à se tromper. »
> >         > >
> >         > >
> >         > >
> >         > >
> >         > > --
> >         > > Éloi Rivard - [email protected]
> >         > >
> >         > > « On perd plus à être indécis qu'à se tromper. »
> >         > >
> >         >
> >         >
> >         >
> >         > _______________________________________________
> >         > Denemo-devel mailing list
> >         > [email protected]
> >         > https://lists.gnu.org/mailman/listinfo/denemo-devel
> >
> >
> >
> >
> >
> >
> > --
> > Éloi Rivard - [email protected]
> >
> > « On perd plus à être indécis qu'à se tromper. »
> >
>
>
>


-- 
Éloi Rivard - [email protected]

« On perd plus à être indécis qu'à se tromper. »
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to