Created
October 31, 2019 11:20
-
-
Save sergey-shambir/9b77fc1d6bda9267ea35fcdab77b2620 to your computer and use it in GitHub Desktop.
noverify random crashes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/10/31 14:17:25.860031 built without version info (try using 'make install'?) | |
2019/10/31 14:17:25.860407 Started | |
fatal error: concurrent map read and map write | |
goroutine 36 [running]: | |
runtime.throw(0xa11c94, 0x21) | |
/snap/go/4668/src/runtime/panic.go:774 +0x72 fp=0xc00021ef30 sp=0xc00021ef00 pc=0x430c82 | |
runtime.mapaccess2_faststr(0x965580, 0xc0000a0b70, 0xc0032c60a0, 0x20, 0xc00021f3a0, 0xc002f9f500) | |
/snap/go/4668/src/runtime/map_faststr.go:116 +0x48f fp=0xc00021efa0 sp=0xc00021ef30 pc=0x41497f | |
github.com/VKCOM/noverify/src/meta.(*info).GetClass(...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/meta/metainfo.go:78 | |
github.com/VKCOM/noverify/src/solver.findConstant(0xc0032c60a0, 0x20, 0xc0031bf120, 0x14, 0xc00021f2b0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/solver/solver.go:387 +0x398 fp=0xc00021f238 sp=0xc00021efa0 pc=0x5fb788 | |
github.com/VKCOM/noverify/src/solver.FindConstant(0xc0032c60a0, 0x20, 0xc0031bf120, 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/solver/solver.go:375 +0xee fp=0xc00021f3b8 sp=0xc00021f238 pc=0x5fb32e | |
github.com/VKCOM/noverify/src/solver.exprTypeLocalCustom(0xc003052c40, 0xc0015bd650, 0xae6120, 0xc00318f740, 0x0, 0x0, 0x0, 0xc00318f740, 0xc0008a1b01) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/solver/exprtype.go:322 +0x1eea fp=0xc00021f5b8 sp=0xc00021f3b8 pc=0x5f5bea | |
github.com/VKCOM/noverify/src/solver.ExprTypeLocalCustom(0xc003052c40, 0xc0015bd650, 0xae6120, 0xc00318f740, 0x0, 0x0, 0x0, 0x40dc00, 0xc0008a1b30) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/solver/exprtype.go:381 +0x71 fp=0xc00021f610 sp=0xc00021f5b8 pc=0x5f6141 | |
github.com/VKCOM/noverify/src/solver.ExprTypeLocal(...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/solver/exprtype.go:165 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleAssign(0xc0031ca2a0, 0xc00318f7a0, 0xe232a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1815 +0x5ba fp=0xc00021f840 sp=0xc00021f610 pc=0x6363da | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).EnterNode(0xc0031ca2a0, 0xadb180, 0xc00318f7a0, 0xffffffffffffffff) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:224 +0x1196 fp=0xc00021f9c0 sp=0xc00021f840 pc=0x62a246 | |
github.com/VKCOM/noverify/src/php/parser/node/expr/assign.(*Assign).Walk(0xc00318f7a0, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/expr/assign/n_assign.go:44 +0x4b fp=0xc00021f9f0 sp=0xc00021f9c0 pc=0x552d5b | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Expression).Walk(0xc003193220, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_expression.go:47 +0xb1 fp=0xc00021fa20 sp=0xc00021f9f0 pc=0x559ed1 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleSwitch.func1() | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1663 +0x2c8 fp=0xc00021faf0 sp=0xc00021fa20 pc=0x64c8f8 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).withNewContext(0xc0031ca2a0, 0xc00021fce0, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:521 +0x136 fp=0xc00021fb78 sp=0xc00021faf0 pc=0x62c1b6 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleSwitch(0xc0031ca2a0, 0xc00318fe00, 0xe232a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1658 +0x620 fp=0xc00021ff80 sp=0xc00021fb78 pc=0x635110 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).EnterNode(0xc0031ca2a0, 0xadbde0, 0xc00318fe00, 0xffffffffffffffff) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:242 +0x1989 fp=0xc000220100 sp=0xc00021ff80 pc=0x62aa39 | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Switch).Walk(0xc00318fe00, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_switch.go:45 +0x4b fp=0xc000220130 sp=0xc000220100 pc=0x55c58b | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*StmtList).Walk(0xc00318fe90, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_stmt_list.go:49 +0xe5 fp=0xc000220178 sp=0xc000220130 pc=0x55c495 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleForeach.func2() | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1247 +0x72 fp=0xc0002201d8 sp=0xc000220178 pc=0x64b882 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).withNewContext(0xc0031ca2a0, 0xc0002202c8, 0xc0002202c8) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:521 +0x136 fp=0xc000220260 sp=0xc0002201d8 pc=0x62c1b6 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleForeach(0xc0031ca2a0, 0xc0031ca060, 0xe232a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1241 +0x19d fp=0xc0002202f0 sp=0xc000220260 pc=0x63207d | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).EnterNode(0xc0031ca2a0, 0xadbb80, 0xc0031ca060, 0xffffffffffffffff) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:230 +0x195a fp=0xc000220470 sp=0xc0002202f0 pc=0x62aa0a | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Foreach).Walk(0xc0031ca060, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_foreach.go:49 +0x4b fp=0xc0002204a0 sp=0xc000220470 pc=0x55a40b | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*StmtList).Walk(0xc00318ff50, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_stmt_list.go:49 +0xe5 fp=0xc0002204e8 sp=0xc0002204a0 pc=0x55c495 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleIf.func3.1() | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1541 +0x74 fp=0xc000220550 sp=0xc0002204e8 pc=0x64be54 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).withNewContext(0xc0031ca2a0, 0xc000220668, 0xc000220658) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:521 +0x136 fp=0xc0002205d8 sp=0xc000220550 pc=0x62c1b6 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleIf.func3(0xae8220, 0xc00318ff50, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1537 +0x17f fp=0xc0002206a0 sp=0xc0002205d8 pc=0x64c0df | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleIf(0xc0031ca2a0, 0xc0031ca0c0, 0xe23200) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1557 +0x5ff fp=0xc000220ad8 sp=0xc0002206a0 pc=0x63446f | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).EnterNode(0xc0031ca2a0, 0xadbc40, 0xc0031ca0c0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:240 +0x1aa2 fp=0xc000220c58 sp=0xc000220ad8 pc=0x62ab52 | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*If).Walk(0xc0031ca0c0, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_if.go:67 +0x4b fp=0xc000220ca0 sp=0xc000220c58 pc=0x55b0eb | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*StmtList).Walk(0xc00323a000, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_stmt_list.go:49 +0xe5 fp=0xc000220ce8 sp=0xc000220ca0 pc=0x55c495 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleForeach.func2() | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1247 +0x72 fp=0xc000220d48 sp=0xc000220ce8 pc=0x64b882 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).withNewContext(0xc0031ca2a0, 0xc000220e38, 0xc000220e38) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:521 +0x136 fp=0xc000220dd0 sp=0xc000220d48 pc=0x62c1b6 | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).handleForeach(0xc0031ca2a0, 0xc0031ca120, 0xe232a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:1241 +0x19d fp=0xc000220e60 sp=0xc000220dd0 pc=0x63207d | |
github.com/VKCOM/noverify/src/linter.(*BlockWalker).EnterNode(0xc0031ca2a0, 0xadbb80, 0xc0031ca120, 0xc003272a20) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/block.go:230 +0x195a fp=0xc000220fe0 sp=0xc000220e60 pc=0x62aa0a | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Foreach).Walk(0xc0031ca120, 0xae0380, 0xc0031ca2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_foreach.go:49 +0x4b fp=0xc000221010 sp=0xc000220fe0 pc=0x55a40b | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).handleFuncStmts(0xc001ddf080, 0xc00323af60, 0x1, 0x1, 0x0, 0x0, 0x0, 0xc003052690, 0x1, 0x1, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:469 +0x3ed fp=0xc000221140 sp=0xc000221010 pc=0x641d4d | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).enterClassMethod(0xc001ddf080, 0xc0030c4680, 0xc0030c4680) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:745 +0x471 fp=0xc0002214a8 sp=0xc000221140 pc=0x643d01 | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).EnterNode(0xc001ddf080, 0xadb9e0, 0xc0030c4680, 0xc001e23200) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:260 +0x94a fp=0xc000221808 sp=0xc0002214a8 pc=0x64046a | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*ClassMethod).Walk(0xc0030c4680, 0xae03c0, 0xc001ddf080) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_class_method.go:54 +0x4b fp=0xc000221858 sp=0xc000221808 pc=0x558e0b | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Class).Walk(0xc0015bd5e0, 0xae03c0, 0xc001ddf080) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_class.go:85 +0x150 fp=0xc0002218a8 sp=0xc000221858 pc=0x558750 | |
github.com/VKCOM/noverify/src/php/parser/node.(*Root).Walk(0xc00323a180, 0xae03c0, 0xc001ddf080) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/n_root.go:48 +0xe5 fp=0xc0002218f0 sp=0xc0002218a8 pc=0x51e745 | |
github.com/VKCOM/noverify/src/linter.analyzeFile(0xa198c0, 0x2d, 0xc001f07500, 0x96b, 0x96b, 0xc0030de510, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:136 +0x214 fp=0xc0002219c0 sp=0xc0002218f0 pc=0x63aaf4 | |
github.com/VKCOM/noverify/src/linter.ParseContents(0xa198c0, 0x2d, 0xc002fd7000, 0x96b, 0xe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:108 +0x652 fp=0xc000221c00 sp=0xc0002219c0 pc=0x63a6c2 | |
github.com/VKCOM/noverify/src/linter.IndexFile(0xa198c0, 0x2d, 0xc002fd7000, 0x96b, 0xe00, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/cache.go:46 +0x9e fp=0xc000221db8 sp=0xc000221c00 pc=0x6372fe | |
github.com/VKCOM/noverify/src/linter.doParseFile(0xa198c0, 0x2d, 0xc002fd7000, 0x96b, 0xe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:467 +0x36a fp=0xc000221e90 sp=0xc000221db8 pc=0x63c96a | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:441 +0x1bb fp=0xc000221fc0 sp=0xc000221e90 pc=0x64ea5b | |
runtime.goexit() | |
/snap/go/4668/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc000221fc8 sp=0xc000221fc0 pc=0x45ff01 | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c | |
goroutine 1 [semacquire]: | |
sync.runtime_Semacquire(0xc0001660a8) | |
/snap/go/4668/src/runtime/sema.go:56 +0x42 | |
sync.(*WaitGroup).Wait(0xc0001660a0) | |
/snap/go/4668/src/sync/waitgroup.go:130 +0x64 | |
github.com/VKCOM/noverify/src/linter.ParseFilenames(0xc000161380, 0x0, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:447 +0x24b | |
github.com/VKCOM/noverify/src/cmd.loadEmbeddedStubs(0xc0000d9da8, 0x4e8a10) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/cmd/main.go:383 +0xbf | |
github.com/VKCOM/noverify/src/cmd.initStubs(0xa012c6, 0x7) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/cmd/main.go:353 +0x34 | |
github.com/VKCOM/noverify/src/cmd.mainNoExit(0x0, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/cmd/main.go:160 +0x35d | |
github.com/VKCOM/noverify/src/cmd.Main(0xc0000d9f18) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/cmd/main.go:80 +0xa2 | |
main.main() | |
/home/user/projects/src/github.com/VKCOM/noverify/main.go:30 +0x5d | |
goroutine 34 [runnable]: | |
github.com/VKCOM/noverify/src/linter.MemoryLimiterThread() | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/limits.go:29 +0xf6 | |
created by github.com/VKCOM/noverify/src/cmd.mainNoExit | |
/home/user/projects/src/github.com/VKCOM/noverify/src/cmd/main.go:142 +0x227 | |
goroutine 35 [chan send]: | |
github.com/VKCOM/noverify/src/cmd.loadEmbeddedStubs.func1(0xc000170060) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/cmd/main.go:376 +0x1f7 | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func2(0xc000161380, 0xc000170060) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:429 +0x30 | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:428 +0x16b | |
goroutine 37 [runnable]: | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:440 +0x109 | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c | |
goroutine 38 [runnable]: | |
github.com/VKCOM/noverify/src/php/parser/scanner.Rune2Class(0xc000000069, 0x69) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/scanner/lexer.go:47 +0x19f | |
github.com/VKCOM/noverify/vendor/github.com/cznic/golex/lex.(*Lexer).class(...) | |
/home/user/projects/src/github.com/VKCOM/noverify/vendor/github.com/cznic/golex/lex/api.go:199 | |
github.com/VKCOM/noverify/vendor/github.com/cznic/golex/lex.(*Lexer).next(0xc000ed4270, 0x20) | |
/home/user/projects/src/github.com/VKCOM/noverify/vendor/github.com/cznic/golex/lex/api.go:309 +0x212 | |
github.com/VKCOM/noverify/vendor/github.com/cznic/golex/lex.(*Lexer).Next(0xc000ed4270, 0x20) | |
/home/user/projects/src/github.com/VKCOM/noverify/vendor/github.com/cznic/golex/lex/api.go:318 +0x33 | |
github.com/VKCOM/noverify/src/php/parser/scanner.(*Lexer).Lex(0xc000b04120, 0xadbf80, 0xc001c1ca80, 0x18) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/scanner/scanner.go:8508 +0x3f7c | |
github.com/VKCOM/noverify/src/php/parser/php7.(*Parser).Lex(0xc001286330, 0xc001c1ca80, 0x18) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/php7/parser.go:43 +0x44 | |
github.com/VKCOM/noverify/src/php/parser/php7.yylex1(0xae0440, 0xc001286330, 0xc001c1ca80, 0x19, 0xc0003ab8e8) | |
yaccpar:119 +0x56 | |
github.com/VKCOM/noverify/src/php/parser/php7.(*yyParserImpl).Parse(0xc001c1ca80, 0xae0440, 0xc001286330, 0x0) | |
yaccpar:204 +0x4e26b | |
github.com/VKCOM/noverify/src/php/parser/php7.yyParse(...) | |
yaccpar:153 | |
github.com/VKCOM/noverify/src/php/parser/php7.(*Parser).Parse(0xc001286330, 0xc001286330) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/php7/parser.go:72 +0x94 | |
github.com/VKCOM/noverify/src/linter.ParseContents(0xa16b4c, 0x28, 0xc001240000, 0x166a6, 0x1fe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:102 +0x4f9 | |
github.com/VKCOM/noverify/src/linter.IndexFile(0xa16b4c, 0x28, 0xc001240000, 0x166a6, 0x1fe00, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/cache.go:46 +0x9e | |
github.com/VKCOM/noverify/src/linter.doParseFile(0xa16b4c, 0x28, 0xc001240000, 0x166a6, 0x1fe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:467 +0x36a | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:441 +0x1bb | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c | |
goroutine 39 [runnable]: | |
bytes.(*Buffer).WriteByte(0xc001cd4960, 0xa12e74, 0x0, 0x0) | |
/snap/go/4668/src/bytes/buffer.go:263 +0xb4 | |
bytes.(*Buffer).WriteRune(0xc001cd4960, 0xc000000074, 0x1, 0x0, 0x0) | |
/snap/go/4668/src/bytes/buffer.go:279 +0x137 | |
github.com/VKCOM/noverify/src/php/parser/scanner.(*Lexer).tokenString(0xc000bc8510, 0xc001abe000, 0x6b3, 0x1000, 0x22, 0xd08c) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/scanner/lexer.go:169 +0x60 | |
github.com/VKCOM/noverify/src/php/parser/scanner.(*Lexer).addFreeFloating(0xc000bc8510, 0x1, 0xc001abe000, 0x6b3, 0x1000) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/scanner/lexer.go:194 +0x229 | |
github.com/VKCOM/noverify/src/php/parser/scanner.(*Lexer).Lex(0xc000bc8510, 0xadbf80, 0xc0016e9500, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/scanner/scanner.go:8512 +0x404a | |
github.com/VKCOM/noverify/src/php/parser/php7.(*Parser).Lex(0xc001cd4990, 0xc0016e9500, 0xc000273010) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/php7/parser.go:43 +0x44 | |
github.com/VKCOM/noverify/src/php/parser/php7.yylex1(0xae0440, 0xc001cd4990, 0xc0016e9500, 0x10, 0xc0002758e8) | |
yaccpar:119 +0x56 | |
github.com/VKCOM/noverify/src/php/parser/php7.(*yyParserImpl).Parse(0xc0016e9500, 0xae0440, 0xc001cd4990, 0x0) | |
yaccpar:204 +0x4e26b | |
github.com/VKCOM/noverify/src/php/parser/php7.yyParse(...) | |
yaccpar:153 | |
github.com/VKCOM/noverify/src/php/parser/php7.(*Parser).Parse(0xc001cd4990, 0xc001cd4990) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/php7/parser.go:72 +0x94 | |
github.com/VKCOM/noverify/src/linter.ParseContents(0xa12e66, 0x22, 0xc00109c000, 0xe92c, 0xfe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:102 +0x4f9 | |
github.com/VKCOM/noverify/src/linter.IndexFile(0xa12e66, 0x22, 0xc00109c000, 0xe92c, 0xfe00, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/cache.go:46 +0x9e | |
github.com/VKCOM/noverify/src/linter.doParseFile(0xa12e66, 0x22, 0xc00109c000, 0xe92c, 0xfe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:467 +0x36a | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:441 +0x1bb | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c | |
goroutine 40 [runnable]: | |
strings.genSplit(0xc0023a3045, 0x3, 0x9fe5b8, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0x9aa820, 0xc000270fe8) | |
/snap/go/4668/src/strings/strings.go:245 +0x2b0 | |
strings.Split(...) | |
/snap/go/4668/src/strings/strings.go:308 | |
github.com/VKCOM/noverify/src/meta.NewTypesMap(0xc0023a3045, 0x3, 0x3, 0xc0023a3045) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/meta/typesmap.go:30 +0xd7 | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).parsePHPDoc(0xc0030e2000, 0xc0023a2fc0, 0x227, 0xc002ba7d00, 0x6, 0x8, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:1023 +0x681 | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).enterFunction(0xc0030e2000, 0xc0000cc2a0, 0xc0000cc2a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:1119 +0x15c | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).EnterNode(0xc0030e2000, 0xadbba0, 0xc0000cc2a0, 0xc0030e6000) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:254 +0xe94 | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Function).Walk(0xc0000cc2a0, 0xae03c0, 0xc0030e2000) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_function.go:52 +0x4b | |
github.com/VKCOM/noverify/src/php/parser/node.(*Root).Walk(0xc002f796e0, 0xae03c0, 0xc0030e2000) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/n_root.go:48 +0xe5 | |
github.com/VKCOM/noverify/src/linter.analyzeFile(0xa10198, 0x1e, 0xc0030aa000, 0x16d8b, 0x16d8b, 0xc002b7dc80, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:136 +0x214 | |
github.com/VKCOM/noverify/src/linter.ParseContents(0xa10198, 0x1e, 0xc002c60000, 0x16d8b, 0x1fe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:108 +0x652 | |
github.com/VKCOM/noverify/src/linter.IndexFile(0xa10198, 0x1e, 0xc002c60000, 0x16d8b, 0x1fe00, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/cache.go:46 +0x9e | |
github.com/VKCOM/noverify/src/linter.doParseFile(0xa10198, 0x1e, 0xc002c60000, 0x16d8b, 0x1fe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:467 +0x36a | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:441 +0x1bb | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c | |
goroutine 41 [runnable]: | |
github.com/VKCOM/noverify/src/php/parser/scanner.(*Token).GetFreeFloatingToken(...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/scanner/token.go:24 | |
github.com/VKCOM/noverify/src/php/parser/php7.(*Parser).GetFreeFloatingToken(0xc00314e090, 0xc002385a40, 0xc003237020, 0xae6020, 0xc003237080) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/php7/parser.go:142 +0xc3 | |
github.com/VKCOM/noverify/src/php/parser/php7.(*yyParserImpl).Parse(0xc002fd8a80, 0xae0440, 0xc00314e090, 0x0) | |
src/php/parser/php7/php7.y:4815 +0x2a789 | |
github.com/VKCOM/noverify/src/php/parser/php7.yyParse(...) | |
yaccpar:153 | |
github.com/VKCOM/noverify/src/php/parser/php7.(*Parser).Parse(0xc00314e090, 0xc00314e090) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/php7/parser.go:72 +0x94 | |
github.com/VKCOM/noverify/src/linter.ParseContents(0xa1b640, 0x31, 0xc00312a000, 0xd57, 0xe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:102 +0x4f9 | |
github.com/VKCOM/noverify/src/linter.IndexFile(0xa1b640, 0x31, 0xc00312a000, 0xd57, 0xe00, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/cache.go:46 +0x9e | |
github.com/VKCOM/noverify/src/linter.doParseFile(0xa1b640, 0x31, 0xc00312a000, 0xd57, 0xe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:467 +0x36a | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:441 +0x1bb | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c | |
goroutine 42 [runnable]: | |
github.com/VKCOM/noverify/src/meta.(*Scope).addVarName(0xc0032c40e0, 0xc00127aae1, 0x6, 0x0, 0xc003262e70, 0x9ffb5e, 0x5, 0x62400000001) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/meta/scope.go:197 +0xf4 | |
github.com/VKCOM/noverify/src/meta.(*Scope).AddVarName(...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/meta/scope.go:202 | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).parseFuncArgs(0xc0015b7760, 0xc00118c700, 0x5, 0x8, 0xc003262db0, 0xc0032c40e0, 0x0, 0x0, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:1093 +0x2ab | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).enterClassMethod(0xc0015b7760, 0xc00118c780, 0xc00118c780) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:705 +0x318 | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).EnterNode(0xc0015b7760, 0xadb9e0, 0xc00118c780, 0xc001a21800) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:260 +0x94a | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*ClassMethod).Walk(0xc00118c780, 0xae03c0, 0xc0015b7760) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_class_method.go:54 +0x4b | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Class).Walk(0xc002c25490, 0xae03c0, 0xc0015b7760) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_class.go:85 +0x150 | |
github.com/VKCOM/noverify/src/php/parser/node.(*Root).Walk(0xc00307e270, 0xae03c0, 0xc0015b7760) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/n_root.go:48 +0xe5 | |
github.com/VKCOM/noverify/src/linter.analyzeFile(0xa1147a, 0x20, 0xc00309a000, 0xda5d, 0xda5d, 0xc00108ef90, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:136 +0x214 | |
github.com/VKCOM/noverify/src/linter.ParseContents(0xa1147a, 0x20, 0xc0007f6000, 0xda5d, 0xfe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:108 +0x652 | |
github.com/VKCOM/noverify/src/linter.IndexFile(0xa1147a, 0x20, 0xc0007f6000, 0xda5d, 0xfe00, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/cache.go:46 +0x9e | |
github.com/VKCOM/noverify/src/linter.doParseFile(0xa1147a, 0x20, 0xc0007f6000, 0xda5d, 0xfe00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:467 +0x36a | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:441 +0x1bb | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c | |
goroutine 43 [runnable]: | |
github.com/VKCOM/noverify/src/phpdoc.Parse(0xc001338c80, 0x248, 0x3, 0x1, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/phpdoc/parser.go:60 +0x4fb | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).handleComment(0xc001910160, 0x1, 0xc001338c80, 0x248, 0xc0019da1e0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:413 +0x73 | |
github.com/VKCOM/noverify/src/linter.(*RootWalker).EnterNode(0xc001910160, 0xadbba0, 0xc00058b0a0, 0xc0031e6000) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/root.go:204 +0xfe5 | |
github.com/VKCOM/noverify/src/php/parser/node/stmt.(*Function).Walk(0xc00058b0a0, 0xae03c0, 0xc001910160) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/stmt/n_function.go:52 +0x4b | |
github.com/VKCOM/noverify/src/php/parser/node.(*Root).Walk(0xc0031acfc0, 0xae03c0, 0xc001910160) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/php/parser/node/n_root.go:48 +0xe5 | |
github.com/VKCOM/noverify/src/linter.analyzeFile(0xa1446e, 0x24, 0xc0031d4000, 0x5189, 0x5189, 0xc001b3f620, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:136 +0x214 | |
github.com/VKCOM/noverify/src/linter.ParseContents(0xa1446e, 0x24, 0xc00183c000, 0x5189, 0x7e00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:108 +0x652 | |
github.com/VKCOM/noverify/src/linter.IndexFile(0xa1446e, 0x24, 0xc00183c000, 0x5189, 0x7e00, 0x0, 0x0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/cache.go:46 +0x9e | |
github.com/VKCOM/noverify/src/linter.doParseFile(0xa1446e, 0x24, 0xc00183c000, 0x5189, 0x7e00, 0x0, 0x0, 0x0, 0x0, 0x0, ...) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:467 +0x36a | |
github.com/VKCOM/noverify/src/linter.ParseFilenames.func3(0xc000170060, 0xc000170000, 0xc00012c0c0, 0xc0001660a0) | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:441 +0x1bb | |
created by github.com/VKCOM/noverify/src/linter.ParseFilenames | |
/home/user/projects/src/github.com/VKCOM/noverify/src/linter/parser.go:438 +0x21c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment