Subject: | Core dump whenever I open a file |
Using xsh 2.1.6 (the list of version numbers seems to be out of date in
the bug tracker), I execute a command such as
$x := open "foo.xml"
and it core dumps:
$ xsh
---------------------------------------
xsh - XML Editing Shell version 2.1.6
---------------------------------------
Copyright (c) 2002 Petr Pajas.
This is free software, you may use it and distribute it under
either the GNU GPL Version 2, or under the Perl Artistic License.
Using terminal type: Term::ReadLine::Gnu
Hint: Type `help' or `help | less' to get more help.
$scratch/> $x := open "navlist3.html"
parsing navlist3.html
done.
Segmentation fault (core dumped)
(gdb) where
#0 0x00007f048b2799d6 in _IO_fflush (fp=0x1fff540) at iofflush.c:42
#1 0x00007f048936c078 in rl_prep_terminal () from
/lib/x86_64-linux-gnu/libreadline.so.6
#2 0x00007f04893675d1 in readline () from
/lib/x86_64-linux-gnu/libreadline.so.6
#3 0x00007f04895b0c06 in XS_Term__ReadLine__Gnu__XS_rl_readline () from
/usr/lib/perl5/auto/Term/ReadLine/Gnu/Gnu.so
#4 0x00007f048b67d7ef in Perl_pp_entersub (my_perl=0x1091010) at
pp_hot.c:3046
#5 0x00007f048b674c86 in Perl_runops_standard (my_perl=0x1091010) at
run.c:41
#6 0x00007f048b6161ee in S_run_body (oldscope=<optimized out>,
my_perl=<optimized out>) at perl.c:2345
#7 perl_run (my_perl=0x1091010) at perl.c:2268
#8 0x0000000000400db9 in main (argc=2, argv=0x7fff8147dd18,
env=0x7fff8147dd30) at perlmain.c:120
I'm using perl 5.14.2 as shipped with Ubuntu 12.04 on x86_64.