On Tue, 2015-04-14 at 19:26 +0100, "João M. S. Silva" wrote:

> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x00000000060bdb6d in decode_rs_char (p=0x201aac50, data=0xffefff500 "",
>      eras_pos=0xffefff480, no_eras=22) at decode_rs.h:118
> 118           tmp = INDEX_OF[lambda[j - 1]];
> 
> I tried the get_vbits command in variables p, data, eras_pos and 
> no_eras. I had to manually find out the size of the corresponding 
> variables, since some of them are pointers or structs with pointer fields.
But the most probably culprits are either j or lambda[j-1]
or whatever the INDEX_OF macro(is it a macro?) is doing behind 
what is visible.
There is no (direct) use of the function args on line 118.
Of course, it might be that e.g. an uninitialised arg (e.g. no_eras
might be unitialised and get a random value 22) might result later in j
or whatever being initialised.

Philippe




------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to