Public bug reported:

This is a known bug in the 0.4 version of OpenOCD.

The bug was first reported and then fixed by Matthias Bode, as can be
seen here: http://lists.berlios.de/pipermail/openocd-
development/2010-May/015571.html

To reproduce the bug:
1) Start openocd (type "openocd -f interface/luminary.cfg" in a terminal)
2) Run the attached tcl program "client.tcl" (based on a snippet posted by 
Charles Hardin, the original tcl_server openocd patch author) by issuing in an 
other terminal: tclsh client.tcl.

3) Now type in any openocd command at the prompt, for example: reset,
then press enter.

4) In the terminal where openocd was initiated, you will read something like:
Info : accepting 'tcl' connection from 0                 #(when starting 
client.tcl)
Segmentation fault error                                          #(after 
sending TCP/IP message from client.tcl)

Test program (client.tcl) and backtrace from gdb are included for
completeness.

Fix: update package to latest code available via git (I compiled my own
and it does not crash.

** Affects: openocd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/804603

Title:
  OpenOCD 0.4 in Natty crashes when communicating via tcl_port

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openocd/+bug/804603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to