From mboxrd@z Thu Jan 1 00:00:00 1970 From: Przemyslaw Marczak Date: Thu, 20 Nov 2014 17:21:28 +0100 Subject: [U-Boot] CTRL-C hangs after "hush: fix segfault on syntax error" In-Reply-To: <546D7A6C.9070807@wwwdotorg.org> References: <546D7A6C.9070807@wwwdotorg.org> Message-ID: <546E1508.5030104@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, On 11/20/2014 06:21 AM, Stephen Warren wrote: > Rabin, > > With 128059b926b3 "hush: fix segfault on syntax error" applied, I find > that if I press CTRL-C at the U-Boot prompt, U-Boot hangs. If I revert > that commit, CTRL-C works fine (prints CTRL-C and returns to the command > prompt). > > I'm testing on real HW (rpi_b board), although I don't expect the exact > HW matters. This issue doesn't reproduce with sandbox, since CTRL-C now > seems to just execute the binary rather than being handled by U-Boot shell. > I can confirm this issue on Trats2. U-Boot hangs in infinite loop, but after revert this commit - it works well. Using CTRL-C in commands works fine, it only hangs in the console. It stays in: ./common/cli.c:206 (cli_loop()) Best regards, -- Przemyslaw Marczak Samsung R&D Institute Poland Samsung Electronics p.marczak at samsung.com