On Wed, Apr 19, 2017 at 11:19 AM, marko kiiskila <[email protected]> wrote:

> Just general comments, I hope I’m not saying things which are
> too obvious.
>
More specific would be even better :) I dont think my gdb is up to par

Either g_os_run_list or one of the task structures is getting smashed.
> As you know you tasks beforehand, you can walk through them manually
> to figure which one it is.
>
How do I know the tasks beforehand? I would guess something in imgr_upload
is corrupting it? So print as that function starts and ends? How do I walk
through them manually?

>
> Usually culprit is stack overflow, so once you find out which task
> structure
> is being corrupt, look for the stack just after that in memory.
>
> nm output piped to sort is your friend in locating that stack.
>
nm output?

>
>
Hope this helps,
> M
>

Thanks for the help

Reply via email to