[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segmentation fault when calling redrawwin on a fresh window
From: |
Thorben Krueger |
Subject: |
Re: Segmentation fault when calling redrawwin on a fresh window |
Date: |
Fri, 12 Oct 2007 14:44:22 +0200 |
so, the problem is not your fault but python's?
permission to refer to this conversation in the bug report?
sorry, i am not very fluent in c...
thorben
On 10/12/07, Thomas Dickey <address@hidden> wrote:
> On Fri, 12 Oct 2007, Stephan Beal wrote:
>
> > On 10/12/07, Thorben Krueger <address@hidden> wrote:
> >>
> >> WINDOW *win2 = newwin(50, 50, 50, 50);
> >
> >
> > i believe your problem lies here. ^^^^^ Are you sure that you want a window
>
> it does - but as a rule, ncurses checks the pointer-parameters to ensure
> they're not-null. In the next line, it hits one of the cases where
> ncurses doesn't do it.
>
> (a real application would also check the pointers, but that's a different
> matter ;-)
>
> --
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net
>
>