[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] Bus error resuming after suspending in 6.1

From: Chet Ramey
Subject: Re: [Bug-readline] Bus error resuming after suspending in 6.1
Date: Thu, 18 Mar 2010 08:13:27 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: Gecko/20100227 Thunderbird/3.0.3

On 3/17/10 8:24 PM, Richard O'Keefe wrote:
> Yesterday I downloaded SWI Prolog release 5.9.9 for intel Mac 10.5.
> This comes bundled with readline-6.1.000.pkg.
> When you type Ctrl-Z (even if it's your <EOF> key),
> the process gets a SIGTSTP signal, as you'd expect.
> When you resume the process, it gets a bus error in fileno().

I suspect that prolog is closing or somehow changing the FILE * associated
with rl_instream without resetting rl_instream.  Readline never closes it.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]