[svk-devel] Re: Infinite "malloc: *** Deallocation of a pointer..."

Jason Dillon jason at planet57.com
Sat Mar 31 17:57:53 EDT 2007


This is related to the problems below, I just tried running `svk sync  
-a` and when it got to //mirrors/maven-sandbox it puked this up:

<snip>
Starting to synchronize //mirrors/maven-sandbox
Syncing https://svn.apache.org/repos/asf/maven/sandbox
Retrieving log information from 482059 to 524486
at /usr/local/svn/perl/SVK/Mirror/Backend/SVNRaPipe.pm line 214
         SVK::Mirror::Backend::SVNRaPipe::read_msg 
('SVK::Mirror::Backend::SVNRaPipe=HASH(0x1c20010)') called at /usr/ 
local/svn/perl/SVK/Mirror/Backend/SVNRaPipe.pm line 272
         eval {...} called at /usr/local/svn/perl/SVK/Mirror/Backend/ 
SVNRaPipe.pm line 251
         SVK::Mirror::Backend::SVNRaPipe::replay 
('SVK::Mirror::Backend::SVNRaPipe=HASH(0x1c20010)', 482817, 0, 1,  
'SVK::Editor::SubTree=HASH(0x1dc4190)') called at /usr/local/svn/perl/ 
SVK/Mirror/Backend/SVNRa.pm line 486
         SVK::Mirror::Backend::SVNRa::sync_changeset 
('SVK::Mirror::Backend::SVNRa=HASH(0x1aaeec0)', 482817, 'HASH 
(0x1dba518)', 'SVK::Mirror::Backend::SVNRaPipe=HASH(0x1c20010)', 'HASH 
(0x1dc18a0)', 'CODE(0x1a323e0)') called at /usr/local/svn/perl/SVK/ 
Mirror/Backend/SVNRa.pm line 602
         SVK::Mirror::Backend::SVNRa::_mirror_changesets 
('SVK::Mirror::Backend::SVNRa=HASH(0x1aaeec0)', 'undef', 'CODE 
(0x1a323e0)') called at /usr/local/svn/perl/SVK/Mirror/Backend/ 
SVNRa.pm line 568
         SVK::Mirror::Backend::SVNRa::__ANON__() called at /usr/local/ 
svn/perl/SVK/Mirror.pm line 243
         eval {...} called at /usr/local/svn/perl/SVK/Mirror.pm line 243
         SVK::Mirror::with_lock('SVK::Mirror=HASH(0x2562818)',  
'mirror', 'CODE(0x1bf2f2c)') called at /usr/local/svn/perl/SVK/Mirror/ 
Backend/SVNRa.pm line 568
         SVK::Mirror::Backend::SVNRa::mirror_changesets 
('SVK::Mirror::Backend::SVNRa=HASH(0x1aaeec0)', 'undef', 'CODE 
(0x1a323e0)') called at /usr/local/svn/perl/SVK/Mirror.pm line 373
         SVK::Mirror::run('SVK::Mirror=HASH(0x2562818)', 'undef')  
called at /usr/local/svn/perl/SVK/Command/Sync.pm line 109
         SVK::Command::Sync::__ANON__() called at /usr/local/svn/perl/ 
SVK/Command/Sync.pm line 114
         eval {...} called at /usr/local/svn/perl/SVK/Command/Sync.pm  
line 114
         SVK::Command::Sync::run('SVK::Command::Sync=HASH 
(0x1aa6ee8)', 'undef') called at /usr/local/svn/perl/SVK/Command.pm  
line 221
         eval {...} called at /usr/local/svn/perl/SVK/Command.pm line  
219
         eval {...} called at /usr/local/svn/perl/SVK/Command.pm line  
199
         SVK::Command::run_command('SVK::Command::Sync=HASH 
(0x1aa6ee8)') called at /usr/local/svn/perl/App/CLI.pm line 79
         App::CLI::dispatch('SVK::Command', 'xd', 'SVK::XD=HASH 
(0x18f046c)', 'output', 'undef') called at /usr/local/svn/perl/SVK/ 
Command.pm line 163
         eval {...} called at /usr/local/svn/perl/SVK/Command.pm line  
163
         SVK::Command::invoke('SVK::Command', 'SVK::XD=HASH 
(0x18f046c)', 'sync', 'undef', '-a') called at /usr/bin/svk line 170
</snip>

This is using rev 2371 of trunk.

--jason


On Mar 30, 2007, at 12:26 PM, Jason Dillon wrote:

> With the latest trunk, I tried to:
>
>     svk mi https://svn.apache.org/repos/asf/maven/sandbox //mirrors/ 
> maven-sandbox
>
> and then:
>
>     svk sync //mirrors/maven-sandbox
>
> And after it committed a bunch of revisions, it ended up spitting  
> out a never-ending stream of:
>
> <snip>
> perl(3564) malloc: ***  Deallocation of a pointer not malloced:  
> 0x1c60c00; This could be a double free(), or free() called with the  
> middle of an allocated block; Try setting environment variable  
> MallocHelp to see tools to help debug
> perl(3564) malloc: ***  Deallocation of a pointer not malloced:  
> 0x1cf9c00; This could be a double free(), or free() called with the  
> middle of an allocated block; Try setting environment variable  
> MallocHelp to see tools to help debug
> perl(3564) malloc: ***  Deallocation of a pointer not malloced:  
> 0x1c60c00; This could be a double free(), or free() called with the  
> middle of an allocated block; Try setting environment variable  
> MallocHelp to see tools to help debug
> perl(3564) malloc: ***  Deallocation of a pointer not malloced:  
> 0x1cf9c00; This could be a double free(), or free() called with the  
> middle of an allocated block; Try setting environment variable  
> MallocHelp to see tools to help debug
> perl(3564) malloc: ***  Deallocation of a pointer not malloced:  
> 0x1c60c00; This could be a double free(), or free() called with the  
> middle of an allocated block; Try setting environment variable  
> MallocHelp to see tools to help debug
> perl(3564) malloc: ***  Deallocation of a pointer not malloced:  
> 0x1cf9c00; This could be a double free(), or free() called with the  
> middle of an allocated block; Try setting environment variable  
> MallocHelp to see tools to help debug
> </snip>
>
> --jason



More information about the svk-devel mailing list