|
From: | Éloi Rivard |
Subject: | Re: [Denemo-devel] Denemo Crashing after git pull |
Date: | Sun, 19 Oct 2014 20:24:35 +0200 |
I found some more examples, I have fixed (I hope) all warnings of
pointer from integer without cast. Can those warnings be made fatal?
Richard
On Fri, 2014-10-17 at 20:04 +0100, Richard Shann wrote:
> On Fri, 2014-10-17 at 17:53 +0100, Richard Shann wrote:
> > and yet another:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x000000000047c419 in find_xes_in_measure (address@hidden,
> > measurenum=1, time1=4, time2=4)
> > at ../../denemo/src/display/calculatepositions.c:365
> > 365 fxim_utility; //creates the non_chords list up to the first
> > chord, moving cur_obj_nodes to the first chord in each staff
> > (gdb) where
> > #0 0x000000000047c419 in find_xes_in_measure (address@hidden,
> > measurenum=1, time1=4, time2=4)
> > at ../../denemo/src/display/calculatepositions.c:365
> > #1 0x0000000000421b96 in displayhelper (gui=0x1edede0)
> > at ../../denemo/src/command/commandfuncs.c:1910
> > #2 displayhelper (gui=0x1edede0)
> > at ../../denemo/src/command/commandfuncs.c:1902
> > #3 0x00000000004226f9 in object_insert (address@hidden,
> > address@hidden)
> > at ../../denemo/src/command/commandfuncs.c:325
> > #4 0x0000000000423ad4 in dnm_insertchord (gui=0x1edede0,
> > duration=<optimized out>, mode=<optimized out>, address@hidden)
> > at ../../denemo/src/command/commandfuncs.c:1684
> > #5 0x000000000042628a in insert_chord_xkey (duration=<optimized out>,
> > param=<optimized out>)
> > at ../../denemo/src/command/keyresponses.c:606
> > #6 0x000000000042208f in insert_note_following_pattern (
> > address@hidden)
> > at ../../denemo/src/command/commandfuncs.c:1406
> > #7 0x00000000004222ac in shiftcursor (gui=0x1edede0, note_value=5)
> > at ../../denemo/src/command/commandfuncs.c:1504
> >
> > I had a look through the data values and found a corrupt pointer - it
> > was one with the top 32 bits set. We have had random crashes before
> > caused by not having a header file included
>
> well #include "command/measure.h" is needed in
> display/calculatepositions.c for a start ...
>
> Richard
>
>
>
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel
[Prev in Thread] | Current Thread | [Next in Thread] |