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 <[email protected]>
Sent: Friday, April 22, 2022 10:39:25 PM
To: [email protected] <[email protected]>
Cc: Isaac Chen <[email protected]>
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:[email protected]]

Bob Ensink

Team Lead - Principal Software Engineer

[cid:[email protected]]  M: 616.634.7153

[cid:[email protected]]  
[email protected]<mailto:[email protected]>

[cid:[email protected]]  twisthink.com<https://twisthink.com/>



This message and its contents are confidential and proprietary.




Reply via email to