--- ** [tickets:#334] freertos detecting hangs, flash vs elf mismatch infinte loop** **Status:** new **Milestone:** 0.11.0 **Created:** Tue Jan 25, 2022 09:49 PM UTC by Karl P **Last Updated:** Tue Jan 25, 2022 09:49 PM UTC **Owner:** nobody **Attachments:** - [oocd.hung.freertos.log](https://sourceforge.net/p/openocd/tickets/334/attachment/oocd.hung.freertos.log) (97.9 kB; text/x-log) While developing a freertos (in this case: v10.4.5) application, I ctrl-c'd gdb, and pressed "load" like normal. And GDB hung, because openocd had hung. OpenOCD no longer responded to ctrl-c even, and had to be kill -9'd to exit. Restarting with -d3 shows an infinite loop in some rtos detection/loading code... Restarting, simply "connecting" to openocd with "tar ext :3333" is enough to trigger the hang. I presume this is a problem with using the elf symbols to look for meaning in flash that may or may have that data. There's probably use cases for both "yes, assume flash matches the elf on connect" and "no, don't assume anything about rtos support until we have loaded" Full -d3 log from start attached. --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
