Description of problem: When working with svk in Fedora 9 svk throws massive error messages that seem to be mostly harmless. This is extremely annoying since it hides real issues the user has to care about. The messages are (repeated several dozen to hundred times): - When updating checkout: Name "swig_runtime_data::type_pointer3" used only once: possible typo at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. Attempt to free unreferenced scalar: SV 0x934d354, Perl interpreter: 0x88fb008 at /usr/lib/perl5/vendor_perl/5.10.0/SVK/XD.pm line 1371. - When switching to a branch: Attempt to free unreferenced scalar: SV 0xaecf30c, Perl interpreter: 0x9d3e008 at /usr/lib/perl5/vendor_perl/5.10.0/SVK/XD.pm line 856. (in cleanup) panic: free from wrong pool at /usr/lib/perl5/vendor_perl/5.10.0/PerlIO/via/dynamic.pm line 167. Attempt to free unreferenced scalar: SV 0xaebec84, Perl interpreter: 0x9d3e008 at /usr/lib/perl5/vendor_perl/5.10.0/SVK/Inspector/Root.pm line 82. When reverting recursively the problem occurs that reverting fails leaving the mirror locked. To completely revert its necessary to cleanup and revert several times (again dozens to hundred - according to the number of affected files). Error messages are the above mentioned plus: - Last message when reverting fails: Attempt to free unreferenced scalar: SV 0x8e03ef4, Perl interpreter: 0x81f4008 at /usr/lib/perl5/vendor_perl/5.10.0/SVK/XD.pm line 1371. - When trying to revert again: Name "swig_runtime_data::type_pointer3" used only once: possible typo at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. /automount/wwkdev/elias/wdp already locked, use 'svk cleanup' if lock is stalled - Cleanup (looks ok besides the "usual" message): Name "swig_runtime_data::type_pointer3" used only once: possible typo at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. Cleaned up stalled lock on /automount/wwkdev/elias/wdp. Reverting again starts from the beginning. The user is able to reproduce until his checkout is completely reverted. Version-Release number of selected component (if applicable): perl-SVK-2.0.2-3.fc9.noarch How reproducible: Error messages and failing reverting occurs every usage. Steps to Reproduce (error message flood): 1. use svk Steps to Reproduce (reverting): 1. checkout 2. merge branch with changes into checkout or alter multiple files 3. revert changes recursively Actual results: Massive flood of error messages as mentioned above. Reverting multiple files interrupts. Expected results: No error messages. Reverting not interrupting. I noticed SVK is the same Version as in Fedora 8 - only perl version has changed. So I assume it's an issue with perl-SVK in combination with perl 5.10. I submitted this issue related to perl-SVK since it seems to only affect perl-SVK so far (at least for my daily usage).
The "Name used only once" message is a warning. It seems to come from loading SVN::Core (from subversion-perl package). The "Attempt to free unreferenced scalar" and the locking are more serious errors. I would suggest reporting the error upstream at http://rt.cpan.org/Public/Dist/Display.html?Name=SVK.
Reported upstream: http://rt.cpan.org/Public/Bug/Display.html?id=37715
"Attempt to free unreferenced scalar" is likely to be fixed by: http://public.activestate.com/cgi-bin/perlbrowse/p/34025 as solution for bug http://rt.perl.org/rt3/Public/Bug/Display.html?id=54934 The other probably hapens with just subversion when doing make check-swig-pl (don't have fedora to test but it happens on other distro): ../../../../../subversion/bindings/swig/perl/native/t/6ra..............Name "swig_runtime_data::type_pointer3" used only once: possible typo at /usr/lib64/perl5/5.10.0/x86_64-xyz-linux-thread-multi/DynaLoader.pm line 226.
The other problem: Name "swig_runtime_data::type_pointer3" used only once: possible typo at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 226. is files as bug #473407.
Note that this is still a problem in Fedora 10.
If the patch from comment #3 fixes this problem any chance we could see this in F10? And maybe an SVK rebuild for F10 too?
Unfortunately, the patch in comment #3 that fixes perl bug #54934 is to PerlIO::via which is in the perl package. It will have to be applied there. It sounds like newer version of PerlIO::via::dynamic may have a workaround for the bug in 5.10.0. I will build the newest version of SVK.
I added a bug (#480502) to the perl package to get the fix for PerlIO::via applied on the main perl package.
perl-5.10.0-53.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/perl-5.10.0-53.fc10
Yep, this definitely fixes all the problems I was seeing, except the "swig_runtime_data" warning. But that's bug #473407. I'll go mark some karma.
perl-5.10.0-53.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.