Skip Menu |
 

This queue is for tickets about the XML-XSH CPAN distribution.

Report information
The Basics
Id: 75700
Status: stalled
Priority: 0/
Queue: XML-XSH

People
Owner: Nobody in particular
Requestors: rrt [...] sc3d.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Core dump whenever I open a file
Download (untitled) / with headers
text/plain 1.4k
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.
Download (untitled) / with headers
text/plain 199b
Thanks for the report. I cannot reproduce this on my system, but I have another report with a similar problem. As a workaround, you may switch from Gnu to Perl readline, with export "PERL_RL=Perl"
From: rrt [...] sc3d.org
Download (untitled) / with headers
text/plain 435b
On Mon Mar 26 04:11:07 2012, PAJAS wrote: Show quoted text
> Thanks for the report. I cannot reproduce this on my system, but I have > another report with a similar problem. > > As a workaround, you may switch from Gnu to Perl readline, with > export "PERL_RL=Perl"
Thanks for the workaround. I can't currently reproduce the bug; since I'm using an Ubuntu 12.04 system, which is constantly being updated at present, something may have been fixed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.