bug-ncurses
[Top][All Lists]
Advanced

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

Re: On Mac OS setcchar() throws signal 11


From: Thomas Dickey
Subject: Re: On Mac OS setcchar() throws signal 11
Date: Wed, 19 Jun 2019 16:58:30 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Jun 19, 2019 at 10:56:12AM -0500, Bryan Christ wrote:
> Bryans-Mac-mini:libvterm bryanc$ otool -L vshell
> vshell:
>         @rpath/libvterm.dylib (compatibility version 0.0.0, current version
> 0.0.0)
>         /usr/lib/libutil.dylib (compatibility version 1.0.0, current
> version 1.0.0)
>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 1252.250.1)
>         /usr/local/opt/ncurses/lib/libncursesw.6.dylib (compatibility
> version 6.0.0, current version 6.0.0)

Offhand, I'd expect the different slices you showed would only be a problem
if setcchar relied upon having the target initially all zeros.

But the ncurses test program uses setcchar, and doesn't pre-initialize
the target.

A small program that demonstrates the problem would be helpful :-)

> 
> On Tue, Jun 18, 2019 at 6:48 PM Thomas Dickey <address@hidden> wrote:
> 
> > On Tue, Jun 18, 2019 at 12:45:44PM -0500, Bryan Christ wrote:
> > > This code runs perfectly on Linux and FreeBSD
> > >
> > > setcchar(&uch, vcell->wch, attrs, colors, NULL)
> > >
> > >
> > > On Mac OS it causes signal 11.
> >
> > I assume you're still talking about the (10-year-old) ncurses 5.7
> >
> > --
> > Thomas E. Dickey <address@hidden>
> > https://invisible-island.net
> > ftp://ftp.invisible-island.net
> >
> 
> 
> -- 
> Bryan
> <><

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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