Closed Bug 1255835 Opened 9 years ago Closed 9 years ago

Extension Deep recursion on subroutine

Categories

(Bugzilla :: Bugzilla-General, defect)

defect
Not set
blocker

Tracking

()

RESOLVED FIXED
Bugzilla 6.0

People

(Reporter: Frank, Assigned: LpSolit)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9 Steps to reproduce: I setup an vagrant / virtual box test environment (using Ubuntu Linux 3.13.0-24-generic). You can get this from git://git.eclipse.org/gitroot/mylyn/org.eclipse.mylyn.tasks.git in project org.eclipse.mylyn.bugzilla.releng local I replace the Mylyn Extension with a new created extension with create.pl Mylyn run vagrant up run vagrant ssh cd /home/tools/bugzilla/bugzilla-rest-master/ sudo ./checksetup.pl Actual results: you get the following output: * This is Bugzilla 5.1 on perl 5.18.2 * Running on Linux 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 Checking for mod_env (any) ok Checking for mod_expires (any) not found Checking for mod_headers (any) not found Checking for mod_rewrite (any) ok Checking for mod_version (any) ok Reading ./localconfig... Deep recursion on subroutine "Bugzilla::Install::Util::template_include_path" at Bugzilla/Template.pm line 94. Deep recursion on subroutine "Bugzilla::Install::Util::_template_base_directories" at Bugzilla/Install/Util.pm line 466. Deep recursion on subroutine "Bugzilla::Install::Util::extension_requirement_packages" at Bugzilla/Install/Util.pm line 427. Deep recursion on subroutine "Bugzilla::extensions" at Bugzilla/Install/Util.pm line 170. Deep recursion on subroutine "Bugzilla::Extension::load_all" at Bugzilla.pm line 220. Deep recursion on subroutine "Bugzilla::Extension::load" at Bugzilla/Extension.pm line 113. Deep recursion on subroutine "Bugzilla::Error::ThrowCodeError" at Bugzilla/Extension.pm line 56. Deep recursion on subroutine "Bugzilla::Error::_throw_error" at Bugzilla/Error.pm line 154. Deep recursion on subroutine "Bugzilla::template" at Bugzilla/Error.pm line 66. Deep recursion on subroutine "Bugzilla::Template::create" at Bugzilla.pm line 202. Deep recursion on subroutine "Bugzilla::Template::_include_path" at Bugzilla/Template.pm line 1176. Expected results: checksetup.pl should eat without an error. Workaround: go back to commit generate_test_data.pl is an executable git checkout 9343e3ad73291a7a0f0cb890335523298cec68a5 all is fine If you use the commit bugzilla->request_cache() can be faster git checkout 438d57d65626d068ca0f28de46410ebecc9a9b57 you get the error again
Confirmed! This is a regression due to bug 1251208. If you have one extension enabled, checksetup.pl never ends, and the localconfig file is deleted and replaced by the default one.
Assignee: extensions → LpSolit
Severity: normal → blocker
Status: UNCONFIRMED → ASSIGNED
Component: Extensions → Bugzilla-General
Depends on: 1251208
Ever confirmed: true
Keywords: regression
Target Milestone: --- → Bugzilla 6.0
Bug 1251208 backed out. To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git 777c785..53d6ba4 master -> master
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.