You'll probably need to at least capture and post a verbose log using -d3.
Did you try building OpenOCD from the git repo to see if that works?
________________________________
From: Bob Ensink <b...@twisthink.com>
Sent: Friday, April 22, 2022 10:39:25 PM
To: openocd-devel@lists.sourceforge.net <openocd-devel@lists.sourceforge.net>
Cc: Isaac Chen <is...@twisthink.com>
Subject: openocd segfault on Ubuntu 22.04


I just upgraded from Ubuntu Server 20.04 to 22.04 so I could install and use 
the latest version of openocd.

I now have version 0.11.0 but I am getting a segmentation fault as shown below.

This happens with two boards:

ST Nucleo-F091RC

ST STM32WB Nucleo board





twisthink@nuc-tester-45166:~$ openocd --file 
/usr/share/openocd/scripts/board/st_nucleo_f0.cfg

Open On-Chip Debugger 0.11.0

Licensed under GNU GPL v2

For bug reports, read

        http://openocd.org/doc/doxygen/bugs.html

Info : The selected transport took over low-level target control. The results 
might differ compared to plain JTAG/SWD

srst_only separate srst_nogate srst_open_drain connect_deassert_srst



Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

Info : clock speed 1000 kHz

Segmentation fault (core dumped)



When the board is disconnected, it does not segfault, but fails ‘normally’ with 
Error: open failed



Thanks in advance for any help you can provide.









[cid:image006.png@01D8566F.E7E39540]

Bob Ensink

Team Lead - Principal Software Engineer

[cid:image003.png@01D8566E.A9580960]  M: 616.634.7153

[cid:image004.png@01D8566E.A9580960]  
b...@twisthink.com<mailto:b...@twisthink.com>

[cid:image005.png@01D8566E.A9580960]  twisthink.com<https://twisthink.com/>



This message and its contents are confidential and proprietary.




Reply via email to