bug-ncurses
[Top][All Lists]
Advanced

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

Re: Bug or compiler issue with mvchgat()


From: Thomas Dickey
Subject: Re: Bug or compiler issue with mvchgat()
Date: Sun, 25 Nov 2001 13:09:20 -0500
User-agent: Mutt/1.2.5i

On Sun, Nov 25, 2001 at 10:48:58AM -0600, Rick Richardson wrote:
> 
> Here's another demo program that segfaults on RH 7.2 (but not
> on RH 7.0).

perhaps compiler (they appear to have delivered the development 20010714
snapshot as "5.2", but I don't recall any problems with mvchgat in that, per
se).  It works fine for me on Slackware 8.0 (with ncurses 5.2,
and with ncurses-current).

I installed a copy of Redhat 7.2, but am not done configuring (or fixing) it.
I'll take a quick look at that later today to see if I can reproduce your
problem.
 
> I've reported this to RedHat:
> 
>       https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=56670
> 
> I'm suspicious that its a Redhat compiler or build issue, and not a
> libncurses issue.  But just in case it is ncurses, I'm posting it here
> as well.
> 
> -Rick
> 
> P.S. I have tested my previous bug reports with RH 7.0, to make sure that
> those were indeed problems with both RH 7.0 and RH 7.2.  This is the
> only bug I've found so far that is specific to RH 7.2.
> 
> -- 
> Rick Richardson  address@hidden      http://home.mn.rr.com/richardsons/
> Twin Cities traffic animations are at http://tctraffic.0catch.com/
> 
> Emacs would be a great operating system -- if only it had a decent editor.

> 
> /*
>  * Possible curses bug and/or compiler bug with mvchgat().
>  *
>  * This works fine when linked with the libncurses.so that
>  * came with RH 7.0, but segfaults with the one that comes with RH 7.2
>  */
> #include <ncurses.h>
> 
> main()
> {
>       attr_t  attr;
> 
>       attr = 0;
>       initscr();
>       mvchgat(0, 0, 40, attr, 0, NULL);
>       refresh();
>       endwin();
> }


-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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