Bug#917592: libterm-termkey-perl: FTBFS (failing tests)

Niels Thykier niels at thykier.net
Sun Dec 30 20:26:00 GMT 2018


Niels Thykier:
> [...]
> 
> Stacktrace follows:
> 
> """
> (gdb) bt full
> #0  termkey_get_flags (tk=0x0) at termkey.c:565
> No locals.
> #1  0x00007ffff794cba6 in XS_Term__TermKey_get_flags (my_perl=<optimized
> out>, cv=<optimized out>) at lib/Term/TermKey.xs:457
>         self = <optimized out>
>         RETVAL = <optimized out>
>         targ = 0x555555ffd9c8
>         sp = <optimized out>
>         ax = <optimized out>
>         mark = <optimized out>
>         items = <optimized out>
> #2  0x000055555563fd11 in Perl_pp_entersub ()
> No symbol table info available.
> #3  0x0000555555636026 in Perl_runops_standard ()
> No symbol table info available.
> #4  0x00005555555b2097 in perl_run ()
> No symbol table info available.
> #5  0x0000555555588402 in main ()
> No symbol table info available.
> 
> """
> 
> 
> [...]
> 
> 
> Thanks,
> ~Niels
> 

How to reproduce with gdb:

"""
$ TERM=vt100 gdb -quiet /usr/bin/perl
Reading symbols from /usr/bin/perl... [...]
(gdb) run -I blib/arch -Ilib t/05flags.t 0</dev/null
Starting program: /usr/bin/perl [...]
[...]
Program received signal SIGSEGV, Segmentation fault.
termkey_get_flags (tk=0x0) at termkey.c:565
565     termkey.c: No such file or directory.
(gdb) full bt
Undefined command: "full".  Try "help".
(gdb) fullbt
Undefined command: "fullbt".  Try "help".
(gdb) bt full
#0  termkey_get_flags (tk=0x0) at termkey.c:565
[...]
"""

In case you want to retrace with more symbols.  The source file for
termkey.c is at [1] and implies that the perl module is passing a NULL
pointer to the function.

Thanks,
~Niels

[1] https://sources.debian.org/src/libtermkey/0.20-3/termkey.c/



More information about the pkg-perl-maintainers mailing list