Re: [Openocd-development] segfault in cortex_m3_assert_reset

2011-01-31 Thread Øyvind Harboe
On Tue, Jan 25, 2011 at 2:17 PM, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: Mathias: I built in a fresh out-of-tree directory, and reran bootstrap every time. See test.sh script. Anyway I found the bug, the patch I posted solves it for me. Since the stack was corrupted,

Re: [Openocd-development] segfault in cortex_m3_assert_reset

2011-01-25 Thread Mathias K.
Hello, i had the same error a while ago. Try to clean your repository (make distclean) and recompile the source. Regards, Mathias Am 24.01.2011 23:08, schrieb Andreas Fritiofson: Hi all, Has anyone else problem with segfaults on current git? As soon as I issue a reset, openocd dies.

Re: [Openocd-development] segfault in cortex_m3_assert_reset

2011-01-25 Thread Andreas Fritiofson
Mathias: I built in a fresh out-of-tree directory, and reran bootstrap every time. See test.sh script. Anyway I found the bug, the patch I posted solves it for me. Since the stack was corrupted, technically, anything could have happened. It was just magically consistent during my bisection. All:

[Openocd-development] segfault in cortex_m3_assert_reset

2011-01-24 Thread Andreas Fritiofson
Hi all, Has anyone else problem with segfaults on current git? As soon as I issue a reset, openocd dies. This is with a STM32 target. Same result with both rlink and a jtagkey interface. Bisection was successful and pointed to commit '8f93c0a3... target: do not expose error numbers to users' by