Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #2377

Closed
Open
Created Dec 25, 2012 by Administrator@rootOwner

Infinite loop when viewing first commit

Created by: smithwinston

Create a new git repo, commit & push to gitlab. Go to the Commits tab and click on the initial commit. Gitlab hangs, eventually nginx gives a "Bad Gateway" error. Looking at production.log, I see the following repeated endlessly:

  ...
  Rendered notes/_per_line_note_link.html.haml (0.1ms)
  Rendered notes/_per_line_note_link.html.haml (0.1ms)
  Rendered notes/_per_line_note_link.html.haml (0.1ms)
  ...

This repeats until presumably nginx terminates the request after timing out.

If you then push a second commit, there are no problems viewing that, just the initial commit. Previously with 3.2, I'd immediately get a "Oops something seems to have gone wrong" from Rails. Now in 4.0-stable, I get this infinite loop.

Running rake gitlab:env:info gives:

System information
System:     Ubuntu 12.04
Current User:   gitlab
Using RVM:  no
Ruby Version:   1.9.3p0
Gem Version:    1.8.11
Bundler Version:1.2.3
Rake Version:   10.0.1

GitLab information
Version:    4.0.0
Revision:   a9e2fa4
Directory:  /home/gitlab/gitlab
DB Adapter: mysql2
URL:        [snip]
HTTP Clone URL: [snip]
SSH Clone URL:  [snip]
Using LDAP: no
Using Omniauth: no

Gitolite information
Version:    v3.04-4-g4524f01
Admin URI:  git@localhost:gitolite-admin
Admin Key:  gitlab
Repositories:   /home/git/repositories/
Hooks:      /home/git/.gitolite/hooks/
Git:        /usr/bin/git
Assignee
Assign to
Time tracking