Re: after upgrade: glibc detected *** /usr/bin/perl: double free or corruption

2008-10-03 Thread Peter Daum
Peter Daum wrote: I recently upgraded a system (as far as perl is concerned from 5.8.8 to 5.10.0). Afterwards I ran into a mysterious problem. I could eventually > find a workaround, but still don't really understand, what is going on. After the upgrade, a perl program wouldn'

Re: after upgrade: glibc detected *** /usr/bin/perl: double free or corruption

2008-10-03 Thread Peter Daum
Graham Barr wrote: [...] In your first statement ($self->{prog_name}= $0) =~ s|^.*/([^/]+)$|$1|; you are calling s/// on the hash element. In the second $self->{prog_name}= (my $_p= $0) =~ s|^.*/([^/]+)$|$1|; you are just setting the hash element, actually to the value "1" not the prog n