[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FAIL: test-term-ostream-xterm.sh
From: |
Jeffrey Walton |
Subject: |
Re: FAIL: test-term-ostream-xterm.sh |
Date: |
Mon, 15 Jun 2020 01:20:48 -0400 |
On Sun, Jun 14, 2020 at 8:49 PM Bruno Haible <bruno@clisp.org> wrote:
>
> Hi Jeffrey,
>
> > I'm testing gettext-0.20.1 on an ODROID-XU4 with Ubuntu 18.04, fully
> > patched.
> >
> > $ lsb_release -a
> > Distributor ID: Ubuntu
> > Description: Ubuntu 18.04.4 LTS
> > Release: 18.04
> > Codename: bionic
> >
> > $ uname -a
> > Linux odroid 4.14.180-176 #1 SMP PREEMPT Tue May 19 00:40:55 -03 2020
> > armv7l armv7l armv7l GNU/Linux
>
> I don't have that particular environment. But I have verified that on
> Ubuntu 18.04 (x86_64), libtextstyle from gettext-0.20.2 passes its tests.
> And that the output of 'infocmp -l -1 xterm' on my system is the same as
> on yours.
>
> > FAIL: test-term-ostream-xterm.sh
> > ================================
> >
> > Segmentation fault
> > FAIL test-term-ostream-xterm.sh (exit status: 1)
>
> Could you please give additional info:
>
> 1) Can you get a gdb stack trace?
> $ cd tests
> $ TERM=xterm gdb ./test-term-ostream
> or $ TERM=xterm ../libtool --mode=execute gdb ./test-term-ostream
> (gdb) run > out1
> (gdb) where
>
> 2) If that stack trace is not useful, then please rebuild the libtextstyle
> directory (of gettext 0.20.2 if possible - that's the newest release)
> with CFLAGS=-ggdb, and retry with gdb?
>
> Thanks.
Thanks again Bruno.
This may be a Ncurses problem. I build an updated Ncurses.
Jeff
(gdb) r
Starting program:
/home/Build-Scripts/gettext-0.20.2/libtextstyle/tests/.libs/test-term-ostream
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
gobble_line (append_end=0x555555757390 "", bufp=<synthetic pointer>, fd=0x3)
at termcap.c:753
753 termcap.c: No such file or directory.
(gdb) bt
#0 gobble_line (append_end=0x555555757390 "", bufp=<synthetic pointer>,
fd=0x3) at termcap.c:753
#1 scan_file (bufp=<synthetic pointer>, fd=0x3, str=0x7fffffffee97 "xterm")
at termcap.c:636
#2 tgetent (bp=bp@entry=0x7fffffffd9f0 "\004",
name=name@entry=0x7fffffffee97 "xterm") at termcap.c:556
#3 0x00007ffff7b4e268 in term_ostream_create (fd=0x1,
filename=<optimized out>, tty_control=TTYCTL_AUTO)
at term-ostream.oo.c:2204
#4 0x0000555555554cc3 in main () at test-term-ostream.c:29