Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2011 20:29:43 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Greg Rivers <gcr+freebsd-ports@tharned.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: shells/ksh93 segfaults on suspend
Message-ID:  <20111005122943.GD87707@bonjour.sunpoet.net>
In-Reply-To: <alpine.BSF.2.00.1110041801190.60205@roadkill.tharned.org>
References:  <alpine.BSF.2.00.1110041801190.60205@roadkill.tharned.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 04, 2011 at 06:16:54PM -0500, Greg Rivers wrote:
> The version of ksh93 currently in ports suffers from a bug that
> causes it to segfault on suspend:
> 
> $ pkg_info -I ksh\*
> ksh93-20110208_1    Official AT&T release of KornShell 93
> $ su -
> Password:
> # echo $KSH_VERSION
> Version JM 93u 2011-02-08
> # ps -p $$
>   PID  TT  STAT      TIME COMMAND
> 60190   4  S      0:00.01 -su (ksh)
> # suspend
> $ jobs
> $ dmesg | tail -1
> pid 60190 (ksh), uid 0: exited on signal 11 (core dumped)
> $
> 
> A bit of searching turned up that this is a known bug[1] that was
> fixed by Red Hat last April.  I don't know if they pushed their fix
> upstream. Should I file a PR for this, or are there plans to update
> the ksh93 port soon anyway?
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=691077
> 
> -- 
> Greg Rivers

Hi Greg,

Thanks for reporting this problem. I've committed the fix. It should be
fixed in ksh93-20110208_2.

Regards,
-- 
   Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
           4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
                             http://people.FreeBSD.org/~sunpoet/pgpkeys.txt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111005122943.GD87707>