Ok, have you met some crashes since you fixed those warnings?
They can be made fatal, but I don't know when they can be found.
I mean, sometimes they may just be mild warnings. What do you think ?

2014-10-17 22:33 GMT+02:00 Richard Shann <[email protected]>:

> 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 (si=si@entry=0x374f360,
> > >     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 (si=si@entry=0x374f360,
> > >     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 (gui=gui@entry=0x1edede0,
> > >     mudela_obj_new=mudela_obj_new@entry=0x37b0050)
> > >     at ../../denemo/src/command/commandfuncs.c:325
> > > #4  0x0000000000423ad4 in dnm_insertchord (gui=0x1edede0,
> > >     duration=<optimized out>, mode=<optimized out>, rest=rest@entry=0)
> > >     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 (
> > >     gui=gui@entry=0x1edede0)
> > > 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
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/denemo-devel
>
>
>


-- 
É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