bug-ncurses
[Top][All Lists]
Advanced

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

Re: Segmentation fault when


From: Thomas Dickey
Subject: Re: Segmentation fault when
Date: Sat, 23 Jan 2016 17:27:39 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jan 22, 2016 at 11:37:53PM +0100, Guido Trentalancia wrote:
> Hello,
> 
> I am hitting the following issue upon starting up the application (just
> after the initial screen cleanup):
> 
> 0x00007ffff7779e06 in pnoutrefresh (win=0x8904b0, pminrow=0, pmincol=0, 
> sminrow=0, smincol=0, smaxrow=55, smaxcol=179) at 
> ../../ncurses/base/lib_pad.c:224
> 224                 NCURSES_CH_T ch = oline->text[j];
> (gdb) where
> #0  0x00007ffff7779e06 in pnoutrefresh (win=0x8904b0, pminrow=0, pmincol=0, 
> sminrow=0, smincol=0, smaxrow=55, smaxcol=179) at 
> ../../ncurses/base/lib_pad.c:224
> #1  0x000000000044a5e9 in LYrefresh ()
> #2  0x000000000044d8d2 in statusline.part ()
> #3  0x000000000042f54a in user_message ()
> #4  0x0000000000438917 in getfile ()
> #5  0x000000000043fb4b in mainloop ()
> #6  0x000000000043d1ea in main (argc=<optimized out>, argv=0x7fffffffe6e8) at 
> LYMain.c:2203
> (gdb) print oline
> $1 = (struct ldat *) 0x890520
> (gdb) print oline->text
> $2 = (chtype *) 0x1500891880
> (gdb) print oline->text[0]
> Cannot access memory at address 0x1500891880
> 
> Does anyone have an idea about what exactly is going on ?

Not without seeing the program (a short example which demonstrates the
problem is preferred).

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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