Re: [Openocd-development] trunk broken since rev 1730 (segfault)

2009-05-12 Thread Øyvind Harboe
On Tue, May 12, 2009 at 8:12 PM, Nicolas Pitre wrote: > On Tue, 12 May 2009, Øyvind Harboe wrote: > >> On Tue, May 12, 2009 at 6:39 PM, Nicolas Pitre wrote: >> > About performance: things  are reasonable again.  It takes 90 seconds to >> > flash 450 KB to NAND instead of 5 minutes.  But in the da

Re: [Openocd-development] trunk broken since rev 1730 (segfault)

2009-05-12 Thread Nicolas Pitre
On Tue, 12 May 2009, Øyvind Harboe wrote: > On Tue, May 12, 2009 at 6:39 PM, Nicolas Pitre wrote: > > About performance: things  are reasonable again.  It takes 90 seconds to > > flash 450 KB to NAND instead of 5 minutes.  But in the days of rev 1520 > > this was like 80 seconds, so there is stil

Re: [Openocd-development] trunk broken since rev 1730 (segfault)

2009-05-12 Thread Øyvind Harboe
On Tue, May 12, 2009 at 6:39 PM, Nicolas Pitre wrote: > On Tue, 12 May 2009, Øyvind Harboe wrote: > >> I've committed a fix in 1753 for memory corruption introduced in 1730. >> >> Thanks for bisecting to the offending release. This is definitely a case >> of where numerous small commits saved my b

Re: [Openocd-development] trunk broken since rev 1730 (segfault)

2009-05-12 Thread Nicolas Pitre
On Tue, 12 May 2009, Øyvind Harboe wrote: > I've committed a fix in 1753 for memory corruption introduced in 1730. > > Thanks for bisecting to the offending release. This is definitely a case > of where numerous small commits saved my butt. > > Hopefully this covers the problem that you are sein

Re: [Openocd-development] trunk broken since rev 1730 (segfault)

2009-05-12 Thread Øyvind Harboe
I've committed a fix in 1738 for memory corruption introduced in 1730. Thanks for bisecting to the offending release. This is definitely a case of where numerous small commits saved my butt. Hopefully this covers the problem that you are seing. -- Øyvind Harboe Embedded software and hardware c

Re: [Openocd-development] trunk broken since rev 1730 (segfault)

2009-05-12 Thread Øyvind Harboe
I've committed a fix in 1753 for memory corruption introduced in 1730. Thanks for bisecting to the offending release. This is definitely a case of where numerous small commits saved my butt. Hopefully this covers the problem that you are seing, but I don't have your precise setup so I can't run t

[Openocd-development] trunk broken since rev 1730 (segfault)

2009-05-11 Thread Nicolas Pitre
This is a really nasty breakage since the symptom consists of stack corruption. In my case, I was able to observe the problem by adding some printf's in src/flash/nand.c with the execution path below. src/flash/nand.c, line 1200, in handle_nand_erase_command(): p = get_nand_device_by_