New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re: valgrind, segfaults, gentoo, ReadLine::Gnu (fwd) #6292
Comments
From shevek@anarres.orgperl 5.8.0 The way to get a segfault is this: Run "perl -MCPAN -e shell" You can replace HTTP::Date with anything you like. It doesn't matter. It A gdb logfile of me doing this is attached. A perlio debug file is attached. This segfault does not happen when Term::ReadLine::Gnu is not installed. valgrind talks a lot about invalid reads. gdb isn't giving me enough info to set watchpoints in the io tables. :-( The pattern of usage from valgrind really makes it look as if it's Thanks. S. -- sub AUTOLOAD{my$i=$AUTOLOAD;my$x=shift;$i=~s/^.*://;print"$x\n";eval foreach my $i (3..65535) { &{'2'}($i); } |
From shevek@anarres.orgSummary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Characteristics of this binary (from libperl): |
From shevek@anarres.org(gdb) set environment PERLIO_DEBUG=/tmp/perliodbg Starting program: /usr/bin/perl -MCPAN -e shell Breakpoint 1, main (argc=4, argv=0x4, env=0xbffff908) at perlmain.c:58 cpan shell -- CPAN exploration and modules installation (v1.61) cpan> install HTTP::Date cpan> quit Breakpoint 2, PerlIOStdio_close (f=0xffffffff) at perlio.c:2677 Breakpoint 2, PerlIOStdio_close (f=0xffffffff) at perlio.c:2677 Breakpoint 2, PerlIOStdio_close (f=0xffffffff) at perlio.c:2677 Breakpoint 2, PerlIOStdio_close (f=0xffffffff) at perlio.c:2677 Program received signal SIGSEGV, Segmentation fault. Program terminated with signal SIGSEGV, Segmentation fault. |
From shevek@anarres.org-e:0 define unix 40118a20 |
From shevek@anarres.org==3118== valgrind-1.0.4, a memory error detector for x86 GNU/Linux. |
From perlbug@anarres.orgThe output of strace would appear to agree with valgrind: That some [SNIP several pages] |
From perlbug@anarres.orgThis is really getting into an area that I know nothing about... I (gdb) run cpan shell -- CPAN exploration and modules installation (v1.61) cpan> install HTTP::Date cpan> Breakpoint 2, PerlIO_pop (f=0x8051b84) at perlio.c:627 Program received signal SIGSEGV, Segmentation fault. Of course the condition here is going to be me-specific. I generated the |
From nick.ing-simmons@elixent.comShevek <perl5-porters@perl.org> writes:
Can you try a post5.8.0 snapshot? bleadperl and maint-5.8 both have -- |
@smpeters - Status changed from 'open' to 'stalled' |
From @dcollinsnThe only person able to test this has not responded to Nick's request for info (13 years ago, and only a month after the bug was filed) and I think we would know if CPAN was still segfaulting on exit. Marking resolved. |
From [Unknown Contact. See original ticket]The only person able to test this has not responded to Nick's request for info (13 years ago, and only a month after the bug was filed) and I think we would know if CPAN was still segfaulting on exit. Marking resolved. |
@dcollinsn - Status changed from 'stalled' to 'resolved' |
@nwc10 - Status changed from 'resolved' to 'abandoned' |
Migrated from rt.perl.org#20793 (status was 'abandoned')
Searchable as RT20793$
The text was updated successfully, but these errors were encountered: