public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] CTRL-C hangs after "hush: fix segfault on syntax error"
Date: Thu, 20 Nov 2014 17:21:28 +0100	[thread overview]
Message-ID: <546E1508.5030104@samsung.com> (raw)
In-Reply-To: <546D7A6C.9070807@wwwdotorg.org>

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

  reply	other threads:[~2014-11-20 16:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-20  5:21 [U-Boot] CTRL-C hangs after "hush: fix segfault on syntax error" Stephen Warren
2014-11-20 16:21 ` Przemyslaw Marczak [this message]
2014-11-20 16:49 ` Simon Glass
2014-11-21 22:05 ` [U-Boot] [PATCH] Revert " Rabin Vincent
2014-11-24 22:13   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546E1508.5030104@samsung.com \
    --to=p.marczak@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox