On Fri, 21 Oct 2011, Santiago Vila wrote:

On Fri, 21 Oct 2011, Thomas Dickey wrote:

On Thu, 20 Oct 2011, A. Costa wrote:

Package: dialog
Version: 1.1-20111018-1
Severity: important

Today after upgrading 'dialog' I find an often used several year old
script (that uses 'dialog') has broken.

Run the following line, then hit 'Enter', or mouse click
on either "OK" or "Cancel":

   % dialog  --inputbox "Edit subject line..."  6 75 "foo bar" ; echo $?
   Segmentation fault
   139

I think this is fixed in 20111020

Yes, I've checked and the segfault no longer happens, so I've closed
this bug in the 20111020 upload I've just made.

(However, I have not looked at the code, so I don't know why it
segfaulted, and I don't know why it no longer does. I leave this to
you :-)

I didn't dig down, but from the scenario it's probably the case where dialog's freeing sub-windows. One of those where it seemed to work for the 3-4 days after I made the change...

(It was easy to spot with valgrind though).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to