|
From: Philippe W. <phi...@sk...> - 2015-04-14 21:28:47
|
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 |