On Tue, Sep 10, 2013 at 06:40:33PM +0800, εΎε ζ wrote: > I did not post a bug report, because I did not check the real reason of this > bug. The new line character reason is only from my suspection.
I think this shows some decent info: valgrind ./src/openocd -c \ "interface dummy; adapter_khz 1000; gdb_port 4445; \ telnet_port 4446; tcl_port 4447; init; svf \ /home/paul/tmp/FRONTEND_MODULE_180_VERIFY_ARRAY.svf" ... ENDDR DRPAUSE; ==13939== Invalid write of size 1 ==13939== at 0x80C439D: handle_svf_command (svf.c:668) ==13939== by 0x80BBE79: script_command_run (command.c:616) ... SIR 8 TDI(0F); ==13939== Invalid read of size 1 ==13939== at 0x402BA53: strlen (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==13939== by 0x80C22A7: svf_run_command (svf.c:900) ==13939== by 0x80C4428: handle_svf_command (svf.c:483) ==13939== by 0x80BBE79: script_command_run (command.c:616) And once the TDO checks are commented out, it's possible to run the whole SVF through it. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel