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
  • #7134

Closed
Open
Created Jun 14, 2014 by Administrator@rootOwner

Javascript abort + stack trace when running assets:precompile

Created by: hcmh

Hello, I'd like to intstall gitlab on my private server, a Wandboard running Debian Jessie. I followed this installation guide: https://gitlab.com/gitlab-org/gitlab-ce/blob/6-9-stable/doc/install/installation.md At the step of precompiling assets:

sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production

the compilation fails with the following stacktrace:


==== JS stack trace =========================================

Security context: 0x37436f3d <JS Object>#0#
    1: parse [<eval>:~10] (this=0x52efd99d <a e>#1#,e=0x52efd98d <JS Array[769]>#2#)
    2: /* anonymous */ [<eval>:11] (this=0x37436fe5 <JS Global Object>#3#,e=0x5dc4e599 <Very long string[3582]>#4#,t=0x52efda49 <an Object>#5#)

==== Details ================================================

[1]: parse [<eval>:~10] (this=0x52efd99d <a e>#1#,e=0x52efd98d <JS Array[769]>#2#) {
  // stack-allocated locals
  var t = 0x49f08609 <JS Function t>#6#
  var i = 0x49f52d41 <JS Array[31]>#7#
  var s = 0x49f52dc5 <JS Array[16]>#8#
  var r = 0x49f52e15 <JS Array[16]>#9#
  var o = 0x52efd959 <JS Array[332]>#10#
  var a = 0x5dc40e55 <String[4]: term>
  var c = 51
  var h = 0x37408091 <undefined>
  var l = 0
  var u = 0x52ea50cd <an Object>#11#
  var p = 0x37408091 <undefined>
  var d = 86
  var f = 0x37408091 <undefined>
  var m = 201
  var b = 0x52eb8305 <JS Array[2]>#12#
  var k = 0x37408091 <undefined>
  var g = 0x37408091 <undefined>
  var y = 0
  var v = 246
  var w = 0x37408091 <undefined>
  var T = 0x49f0858d <an Object>#13#
  var C = 0x37408091 <undefined>
  // heap-allocated locals
  var n = 0x52efd99d <a e>#1#
  // expression stack (top to bottom)
  [23] : 0
  [22] : 1136242
--------- s o u r c e   c o d e ---------
function (e){function t(){var e;return e=n.lexer.lex()||1,"number"!=typeof e&&(e=n.symbols_[e]||e),e}var n=this,i=[0],s=[null],r=[],o=this.table,a="",c=0,h=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc...

-----------------------------------------
}

[2]: /* anonymous */ [<eval>:11] (this=0x37436fe5 <JS Global Object>#3#,e=0x5dc4e599 <Very long string[3582]>#4#,t=0x52efda49 <an Object>#5#) {
  // stack-allocated locals
  var n = 0x37408091 <undefined>
  var s = 0x37408091 <undefined>
  var r = 0x37408091 <undefined>
  var o = 0x37408091 <undefined>
  var a = 0x37408091 <undefined>
  var c = 0x37408091 <undefined>
  var h = 0x37408091 <undefined>
  var l = 0x37408091 <undefined>
  var d = 0x52e47689 <JS Function>#14#
  var m = 0x37408091 <undefined>
  var b = 0x37408091 <undefined>
  var k = 0x37408091 <undefined>
  // expression stack (top to bottom)
  [13] : 0x52efd98d <JS Array[769]>#2#
  [12] : 0x52efd99d <a e>#1#
--------- s o u r c e   c o d e ---------
function (e,t){var n,s,r,o,a,c,h,l,d,m,b,k;for(null==t&&(t={}),d=u.merge,t.sourceMap&&(l=new i),a=f.parse(p.tokenize(e,t)).compileToFragments(t),r=0,t.header&&(r+=1),t.shiftLine&&(r+=1),s=0,h="",b=0,k=a.length;k>b;b++)o=a[b],t.sourceMap&&(o.locationData&&l.add([o.locationData.first_line,o.locationData.first_...

-----------------------------------------
}

==== Key         ============================================

 #0# 0x37436f3d: 0x37436f3d <JS Object>
 #1# 0x52efd99d: 0x52efd99d <a e>
                yy: 0x52efd94d <an Object>#15#
             lexer: 0x5500d755 <an Object>#16#
 #2# 0x52efd98d: 0x52efd98d <JS Array[769]>
                 0: 0x5503b78d <JS Array[3]>#17#
                 1: 0x5503b79d <JS Array[3]>#18#
                 2: 0x5503b7ad <JS Array[3]>#19#
                 3: 0x5503b7bd <JS Array[3]>#20#
                 4: 0x5503b7cd <JS Array[3]>#21#
                 5: 0x5503b7dd <JS Array[3]>#22#
                 6: 0x5503b7ed <JS Array[3]>#23#
                 7: 0x5503b7fd <JS Array[3]>#24#
                 8: 0x5503b80d <JS Array[3]>#25#
                 9: 0x5503b81d <JS Array[3]>#26#
                  ...
And so on....

Unfortunately, I do not even see which files are involved in the problem.

Versions: Gitlab: 6.9 libv8: 3.16.14.3 therubyracer: 0.12.0

Assignee
Assign to
Time tracking