Coder Social home page Coder Social logo

test case not pass about parser HOT 10 CLOSED

pingcap avatar pingcap commented on August 27, 2024
test case not pass

from parser.

Comments (10)

winkyao avatar winkyao commented on August 27, 2024

@flike please report your golang version

from parser.

flike avatar flike commented on August 27, 2024

go version go1.10.3 linux/amd64

from parser.

tiancaiamao avatar tiancaiamao commented on August 27, 2024
  1. Need the latest go1.11
  2. Maybe you'll meet this error #4

@flike

from parser.

winkyao avatar winkyao commented on August 27, 2024

@tiancaiamao yep, flike meet the same panic error.

from parser.

flike avatar flike commented on August 27, 2024

@winkyao @tiancaiamao Thanks,I will try

from parser.

winkyao avatar winkyao commented on August 27, 2024

@flike If your problem is fixed after you upgrade your golang, please close this issue.

from parser.

flike avatar flike commented on August 27, 2024

I upgrade go version to 1.11.2, but this case still not pass. :(

from parser.

tiancaiamao avatar tiancaiamao commented on August 27, 2024

What's the error ?

from parser.

flike avatar flike commented on August 27, 2024
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5e1902]

goroutine 1 [running]:
github.com/pingcap/parser.yyParse(0x6f8420, 0xc000140048, 0xc000140000, 0x695700)
	/root/upload/go_code/src/github.com/pingcap/parser/parser.go:8654 +0x16ab2
github.com/pingcap/parser.(*Parser).Parse(0xc000140000, 0x6b3841, 0x20, 0x0, 0x0, 0x0, 0x0, 0xc000051ee8, 0x40be28, 0x1e0, ...)
	/root/upload/go_code/src/github.com/pingcap/parser/yy_parser.go:101 +0x15f
github.com/pingcap/parser.(*Parser).ParseOneStmt(0xc000140000, 0x6b3841, 0x20, 0x0, 0x0, 0x0, 0x0, 0xc0000dc5a0, 0xc000051f88, 0x4055a0, ...)
	/root/upload/go_code/src/github.com/pingcap/parser/yy_parser.go:115 +0x7d

from parser.

flike avatar flike commented on August 27, 2024

fixed #43

from parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.