You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/28 18:52:57 UTC
[jira] [Commented] (VCL-943) Deep recursion on subroutine
VCL::utils::get_vmhost_info
[ https://issues.apache.org/jira/browse/VCL-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353523#comment-15353523 ]
ASF subversion and git services commented on VCL-943:
-----------------------------------------------------
Commit 1750558 from arkurth@apache.org in branch 'vcl/trunk'
[ https://svn.apache.org/r1750558 ]
VCL-943
Added calling subroutine checks to avoid deep recursion in utils.pm::get_computer_info.
> Deep recursion on subroutine VCL::utils::get_vmhost_info
> --------------------------------------------------------
>
> Key: VCL-943
> URL: https://issues.apache.org/jira/browse/VCL-943
> Project: VCL
> Issue Type: Bug
> Components: vcld (backend)
> Affects Versions: 2.4.2
> Reporter: Mohammed AlQhatani
> Assignee: Andy Kurth
> Labels: build
> Fix For: 2.5
>
>
> our VCL isn't see images which implemented on KVM with follow error
> Testing api call
> OK: verified user affiliation exists in the database: 'Local'
> OK: verified user exists in the database: 'vclsystem@local'
> OK: verfied xmlrpc_pass value is the correct password for vclsystem@local
> VCL API call successful
> Enter the VCL login name or ID of the user who will own the image: ('c' to cancel) [admin]:
> vclsystem
> User who will own the image: vclsystem (ID: 3)
> Enter the hostname or IP address of the computer to be captured: ('c' to cancel):
> 10.100.0.188
> Deep recursion on subroutine "VCL::utils::get_computer_info" at
> /usr/local/vcl-2.4.2/bin/../lib/VCL/utils.pm line 3989, <STDIN> line 4 (#2)
> (W recursion) This subroutine has called itself (directly or indirectly)
> 100 times more than it has returned. This probably indicates an
> infinite recursion, unless you're writing strange benchmark programs, in
> which case it indicates something else.
>
> This threshold can be changed from 100, by recompiling the perl binary,
> setting the C pre-processor macro PERL_SUB_DEPTH_WARN to the desired value.
>
> Deep recursion on subroutine "VCL::utils::get_vmhost_info" at
> /usr/local/vcl-2.4.2/bin/../lib/VCL/utils.pm line 7181, <STDIN> line 4 (#2)
> plus setting for Virtual host setting which require i did please find
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)