Skip to content
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

gemini failed with error : unexpected fault address 0x0 fatal error #279

Closed
aleksbykov opened this issue Jan 24, 2023 · 1 comment
Closed

Comments

@aleksbykov
Copy link
Contributor

Gemini failed with error:

unexpected fault address 0x0
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x411dd0]

goroutine 3491 [running]:
runtime.throw({0xaf9281?, 0xc002a150e0?})
        /usr/local/go/src/runtime/panic.go:992 +0x71 fp=0xc0047b9518 sp=0xc0047b94e8 pc=0x436291
runtime.sigpanic()
        /usr/local/go/src/runtime/signal_unix.go:825 +0x305 fp=0xc0047b9568 sp=0xc0047b9518 pc=0x44c485
runtime.mapaccess2_fast64(0xa623c0?, 0xc00297ffb0?, 0xc7010ba4a98f5765)
        /usr/local/go/src/runtime/map_fast64.go:85 +0x130 fp=0xc0047b9588 sp=0xc0047b9568 pc=0x411dd0
github.com/scylladb/go-set/u64set.(*Set).Has(...)
        /home/ls/go/pkg/mod/github.com/scylladb/[email protected]/u64set/u64set.go:80
github.com/scylladb/gemini/inflight.(*syncU64set).AddIfNotPresent(0xc00272bbf0, 0xc7010ba4a98f5765)
        /home/ls/repos/gemini_upstream/inflight/inflight.go:86 +0xa5 fp=0xc0047b95c8 sp=0xc0047b9588 pc=0x52c9e5
github.com/scylladb/gemini.(*Partition).get(...)
        /home/ls/repos/gemini_upstream/partition.go:35
github.com/scylladb/gemini.(*Partition).getOld(0xc002a18000)
        /home/ls/repos/gemini_upstream/partition.go:52 +0x17a fp=0xc0047b9690 sp=0xc0047b95c8 pc=0x7afada
github.com/scylladb/gemini.Generator.GetOld({{0xbe8f80, 0xc000488000}, {0xc0002f8000, 0x2710, 0x2710}, 0x2710, 0xc0002c0180, {0x2710, 0x0, 0x3e8, ...}, ...})
        /home/ls/repos/gemini_upstream/generator.go:101 +0x6e fp=0xc0047b96b0 sp=0xc0047b9690 pc=0x7aef4e
github.com/scylladb/gemini.(*Schema).genMultiplePartitionQuery(0xc0001970c0, 0xc0002c0180, 0xc0003ac000, 0xc0a0244800, {0x2710, 0x0, 0x3e8, 0x0, 0x0})
        /home/ls/repos/gemini_upstream/schema.go:919 +0x765 fp=0xc0047b9950 sp=0xc0047b96b0 pc=0x7bb905
github.com/scylladb/gemini.(*Schema).GenCheckStmt(0xc0ab4ce4e0?, 0xc0002c0180, 0xc0f5e2ca80?, 0x14?, {0x2710, 0x0, 0x3e8, 0x0, 0x0})
        /home/ls/repos/gemini_upstream/schema.go:832 +0xdb fp=0xc0047b99c0 sp=0xc0047b9950 pc=0x7ba39b
main.validation({0xbe8f80, 0xc0f5e2ca80}, 0xc00050bd00?, 0xc0047b9de8, 0x44ddea?, {0xbe91b0, 0xc000157a40}, 0xc000352c01?, {0x2710, 0x0, ...}, ...)
        /home/ls/repos/gemini_upstream/cmd/gemini/jobs.go:250 +0xdc fp=0xc0047b9be0 sp=0xc0047b99c0 pc=0x9f077c
main.ValidationJob({_, _}, _, _, {0xc000186110, 0xc000186118, {0x0, 0x0, 0x0}, 0x1, ...}, ...)
        /home/ls/repos/gemini_upstream/cmd/gemini/jobs.go:88 +0x25f fp=0xc0047b9de8 sp=0xc0047b9be0 pc=0x9ee27f
main.job.func1()
        /home/ls/repos/gemini_upstream/cmd/gemini/jobs.go:155 +0x17b fp=0xc0047b9f78 sp=0xc0047b9de8 pc=0x9ef23b
golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/ls/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x67 fp=0xc0047b9fe0 sp=0xc0047b9f78 pc=0x6ed407
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0047b9fe8 sp=0xc0047b9fe0 pc=0x468a81
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/ls/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x8d

for schema:

Schema: {
    "keyspace": {
        "name": "ks1",
        "replication": {
            "class": "SimpleStrategy",
            "replication_factor": "3"
        },
        "oracle_replication": {
            "class": "SimpleStrategy",
            "replication_factor": "1"
        }
    },
    "tables": [
        {
            "name": "table1",
            "partition_keys": [
                {
                    "name": "pk0",
                    "type": "tinyint"
                },
                {
                    "name": "pk1",
                    "type": "int"
                }
            ],
            "clustering_keys": [
                {
                    "name": "ck0",
                    "type": "inet"
                },
                {
                    "name": "ck1",
                    "type": "decimal"
                }
            ],
            "columns": [
                {
                    "name": "col0",
                    "type": "int"
                },
                {
                    "name": "col1",
                    "type": {
                        "kind": "set",
                        "type": "varchar",
                        "frozen": false
                    }
                },
                {
                    "name": "col2",
                    "type": {
                        "types": [
                            "tinyint",
                            "inet",
                            "uuid",
                            "uuid",
                            "timeuuid",
                            "smallint",
                            "float",
                            "blob",
                            "boolean",
                            "smallint",
                            "varchar",
                            "timeuuid"
                        ],
                        "frozen": true
                    }
                },
                {
                    "name": "col3",
                    "type": "float"
                },
                {
                    "name": "col4",
                    "type": "timestamp"
                },
                {
                    "name": "col5",
                    "type": "varint"
                },
                {
                    "name": "col6",
                    "type": "text"
                },
                {
                    "name": "col7",
                    "type": "duration"
                },
                {
                    "name": "col8",
                    "type": "double"
                }
            ],
            "indexes": [
                {
                    "name": "table1_col0_idx",
                    "column": "col0",
                    "column_idx": 0
                }
            ],
            "materialized_views": [
                {
                    "name": "table1_mv_0",
                    "partition_keys": [
                        {
                            "name": "col6",
                            "type": "text"
                        },
                        {
                            "name": "pk0",
                            "type": "tinyint"
                        },
                        {
                            "name": "pk1",
                            "type": "int"
                        }
                    ],
                    "clustering_keys": [
                        {
                            "name": "ck0",
                            "type": "inet"
                        },
                        {
                            "name": "ck1",
                            "type": "decimal"
                        }
                    ],
                    "NonPrimaryKey": {
                        "name": "col6",
                        "type": "text"
                    }
                }
            ],
            "known_issues": {
                "https://github.com/scylladb/scylla/issues/3708": true
            }
        }
    ]
}

gemini-l0-c0-f0e68d7f-4d2e-43c5-b1a1-ea56aca0234c.log

details could be found here:
https://argus.scylladb.com/test/1d37c1f1-6c7b-43f1-a2c5-6eb30b0887d2/runs?additionalRuns[]=cb8544ea-075a-4d0b-98e7-bdfcebf7ed67

@dkropachev
Copy link
Collaborator

It is duplicated for #267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants