Bug#809192: libterm-termkey-perl: FTBFS: 05flags.t: Non-zero wait status: 11

James McCoy jamessan at debian.org
Fri Jan 1 19:35:38 UTC 2016


On Mon, Dec 28, 2015 at 09:18:04PM +0200, Niko Tyni wrote:
> On Mon, Dec 28, 2015 at 04:42:03PM +0100, gregor herrmann wrote:
> 
> Interrupting it in gdb gives this backtrace:
> 
> #0  0x00007ffff6cc8006 in compress_trie (n=0xa3f2d0) at driver-ti.c:148
> #1  0x00007ffff6cc8713 in new_driver (tk=<optimized out>, term=<optimized out>) at driver-ti.c:281
> #2  0x00007ffff6cc5b1d in termkey_init (tk=tk at entry=0x9fe330, term=0x7ec445 "dumb") at termkey.c:326
> #3  0x00007ffff6cc5c14 in termkey_new (fd=<optimized out>, flags=136, flags at entry=128) at termkey.c:404
> #4  0x00007ffff6ed3389 in XS_Term__TermKey_new (my_perl=<optimized out>, cv=<optimized out>)
>     at lib/Term/TermKey.xs:400
> #5  0x00000000004bd6ea in Perl_pp_entersub (my_perl=0x7d2010) at pp_hot.c:3270
> #6  0x00000000004b6586 in Perl_runops_standard (my_perl=0x7d2010) at run.c:41
> #7  0x0000000000443999 in S_run_body (oldscope=1, my_perl=0x7d2010) at perl.c:2453
> #8  perl_run (my_perl=0x7d2010) at perl.c:2376
> #9  0x000000000041cbbb in main (argc=4, argv=0x7fffffffe8f8, env=0x7fffffffe920) at perlmain.c:116
> 
> > Not sure what to do here. Is there an underlying bug or do we need to
> > set TERM to something nice or should we skip the test?
> 
> Setting TERM=vt100 seems to not trigger either of these problems,
> so I guess we could try doing that in debian/rules.
> 
> Cc'ing James, the libtermkey and unibilium maintainer.
> Any thoughts? Would you like separate bugs about these
> 'unset TERM' SIGSEGV

I've sent a patch for this to libtermkey upstream, since it shouldn't be
calling into unibilium with a NULL pointer.  unibilium upstream also
added an assert to their side of the API to verify a non-NULL value was
given.

> and TERM=dumb busy loop issues?

I haven't got a handle on this yet, but I'll keep digging.

I'll also talk to LeoNerd directly about these, since libtermkey is in
bare bones maintenance mode.  New projects are intended to use
libtickit.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>



More information about the pkg-perl-maintainers mailing list