[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: |
Sun, 24 Jan 2016 18:50:24 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Jan 23, 2016 at 11:44:32PM +0100, Guido Trentalancia wrote:
> Hello!
>
> It's lynx version 2.8.8 rel 2. It crashes upon starting up.
But there are still unasked/unanswered questions: is this a package
that you installed, or is it something that you compiled? I have
in mind this recent Red Hat bug which shows a problem with applications
building against ncurses6 using the ncurses5 headers.
https://bugzilla.redhat.com/show_bug.cgi?id=1270534
If it's _that_, then the fix is mostly a packaging issue.
> Thanks.
>
> Il 23 gennaio 2016 23:27:39 CET, Thomas Dickey <address@hidden> ha scritto:
> >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
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature