-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR 1105 (HY000): runtime error: index out of range [10] with length 10 #29608
Comments
cannot reproduce at master branch~~ |
@ChenPeng2013 can you provide stack trace of the error? |
\ngithub.com/pingcap/tidb/server.(*clientConn).Run.func1(0x42bdd30, 0xc001e07290, 0xc001535680)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/server/conn.go:969 +0xf5\npanic(0x3b450c0, 0xc0011b7d88)\n\t/usr/local/go/src/runtime/panic.go:965 +0x1b9\ngithub.com/pingcap/tidb/util/collate.decodeRune(0xc0011b7c68, 0xa, 0x9, 0x3a, 0x9)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/collate/collate.go:279 +0x17f\ngithub.com/pingcap/tidb/util/collate.(*generalCICollator).Compare(0x6189f88, 0xc0011b7c68, 0xa, 0xc0011b7c68, 0xa, 0xc000100400)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/collate/general_ci.go:31 +0x105\ngithub.com/pingcap/tidb/types.CompareString(0xc0011b7c68, 0xa, 0xc0011b7c68, 0xa, 0xc001536f70, 0xf, 0x0)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/types/compare.go:119 +0x71\ngithub.com/pingcap/tidb/types.(*Datum).compareString(0xc0025056d0, 0xc001fb3ec8, 0xc0011b7c68, 0xa, 0xc001536f70, 0xf, 0xf, 0x5, 0x0)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/types/datum.go:683 +0x495\ngithub.com/pingcap/tidb/types.(*Datum).CompareDatum(0xc0025056d0, 0xc001fb3ec8, 0xc00200d6a8, 0x5, 0x0, 0xc001536f70)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/types/datum.go:583 +0x245\ngithub.com/pingcap/tidb/util/ranger.convertPoint(0xc001fb3ec8, 0xc0025056d0, 0xc001807740, 0xc002505680, 0x0, 0x0)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/ranger/ranger.go:119 +0x194\ngithub.com/pingcap/tidb/util/ranger.points2Ranges(0xc001fb3ec8, 0xc002506e70, 0x4, 0x6, 0xc001807740, 0x4, 0x4, 0x0, 0xc002506e70, 0x4)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/ranger/ranger.go:63 +0x17e\ngithub.com/pingcap/tidb/util/ranger.(*rangeDetacher).buildCNFIndexRange(0xc00200dce8, 0xc0021b3240, 0x2, 0x2, 0x0, 0xc0021b3230, 0x1, 0x1, 0x1, 0x0, ...)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/ranger/ranger.go:376 +0x72a\ngithub.com/pingcap/tidb/util/ranger.(*rangeDetacher).detachCNFCondAndBuildRangeForIndex(0xc00200dce8, 0xc0021b30f0, 0x1, 0x1, 0xc0017d9510, 0x1, 0x1, 0xc0017d9501, 0x7ff38ad3a5b8, 0x238af9c, ...)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/ranger/detacher.go:367 +0x13c5\ngithub.com/pingcap/tidb/util/ranger.(*rangeDetacher).detachCondAndBuildRangeForCols(0xc00200dce8, 0x1, 0x0, 0x1)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/ranger/detacher.go:791 +0x225\ngithub.com/pingcap/tidb/util/ranger.DetachCondAndBuildRangeForIndex(0x43080d8, 0xc001fa6600, 0xc0021b30f0, 0x1, 0x1, 0xc0017d9500, 0x1, 0x1, 0xc0015f0ec0, 0x1, ...)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/util/ranger/detacher.go:756 +0xf5\ngithub.com/pingcap/tidb/planner/core.(*DataSource).fillIndexPath(0xc000bd2a00, 0xc000b0b680, 0xc0021b30f0, 0x1, 0x1, 0x0, 0x0)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/planner/core/logical_plans.go:871 +0x53f\ngithub.com/pingcap/tidb/planner/core.(*DataSource).DeriveStats(0xc000bd2a00, 0x6189f88, 0x0, 0x0, 0xc002504410, 0x6189f88, 0x0, 0x0, 0x0, 0x0, ...)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/planner/core/stats.go:399 +0x145\ngithub.com/pingcap/tidb/planner/core.(*baseLogicalPlan).recursiveDeriveStats(0xc000bd2a20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\n\t/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/planner/core/stats.go:131 +0x325\ngithub.com/pingcap/tidb/planner/core.(*baseLogicalPlan).recursiveDeriveStats(0xc002407980, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\n\t/home/jenkins/agent/workspace/build_tidb_multi_b" |
Did you use tikv to reproduce? |
cannot reproduce at master nightly branch and hash Any special variables and sql_mode have you set up? |
I forget to add the step "new_collations_enabled_on_first_bootstrap: true" |
Actually it's tracked already: #29029 (jiwei says it will not be merged due some reasons, he will write a new one) |
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
new_collations_enabled_on_first_bootstrap = true
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: