mattn/go-sqlite3

signal arrived during cgo execution

Opened this issue · 0 comments

SIGSEGV: segmentation violation
PC=0x7660475c m=7 sigcode=1 addr=0x9395d23b
signal arrived during cgo execution

goroutine 116 gp=0x24cec68 m=7 mp=0x2104508 [syscall]:
runtime.cgocall(0xd0b580, 0x252c728)
/go/go1.23.1/src/runtime/cgocall.go:167 +0x50 fp=0x252c710 sp=0x252c6f8 pc=0xd71b8
github.com/mattn/go-sqlite3._Cfunc__sqlite3_open_v2(0x75924580, 0x314e428, 0x10006, 0x0)
_cgo_gotypes.go:318 +0x38 fp=0x252c724 sp=0x252c710 pc=0x71e8cc
github.com/mattn/go-sqlite3.(*SQLiteDriver).Open.func2(0x75924580, 0x314e428, 0x10000)
/workspace/golang/pkg/mod/github.com/mattn/go-sqlite3@v2.0.3+incompatible/sqlite3.go:1359 +0x64 fp=0x252c740 sp=0x252c724 pc=0x72de6c
github.com/mattn/go-sqlite3.(*SQLiteDriver).Open(0x212cca0, {0x1495f77, 0x17})
/workspace/golang/pkg/mod/github.com/mattn/go-sqlite3@v2.0.3+incompatible/sqlite3.go:1359 +0x2a9c fp=0x252ca24 sp=0x252c740 pc=0x72b4e4
database/sql.dsnConnector.Connect(...)
/go/go1.23.1/src/database/sql/sql.go:801
database/sql.(*dsnConnector).Connect(0x265b640, {0x1639b70, 0x1f45708})
:1 +0x4c fp=0x252ca44 sp=0x252ca24 pc=0x5cb30c
database/sql.(*DB).conn(0x2516b48, {0x1639b70, 0x1f45708}, 0x1)
/go/go1.23.1/src/database/sql/sql.go:1423 +0x808 fp=0x252cb34 sp=0x252ca44 pc=0x5c0194
database/sql.(*DB).begin(0x2516b48, {0x1639b70, 0x1f45708}, 0x0, 0x1)
/go/go1.23.1/src/database/sql/sql.go:1883 +0x34 fp=0x252cb60 sp=0x252cb34 pc=0x5c306c
database/sql.(*DB).BeginTx.func1(0x1)
/go/go1.23.1/src/database/sql/sql.go:1866 +0x4c fp=0x252cb8c sp=0x252cb60 pc=0x5c2f58
database/sql.(*DB).retry(0x2516b48, 0x252cbd4)
/go/go1.23.1/src/database/sql/sql.go:1568 +0x78 fp=0x252cbb4 sp=0x252cb8c pc=0x5c0ebc
database/sql.(*DB).BeginTx(0x2516b48, {0x1639b70, 0x1f45708}, 0x0)
/go/go1.23.1/src/database/sql/sql.go:1865 +0x70 fp=0x252cbf0 sp=0x252cbb4 pc=0x5c2ed4
gorm.io/gorm.(*DB).Begin(0x293d7a0, {0x0, 0x0, 0x0})
/workspace/golang/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:676 +0x124 fp=0x252cc48 sp=0x252cbf0 pc=0x6de9f4
gorm.io/gorm/callbacks.BeginTransaction(0x293d7a0)
/workspace/golang/pkg/mod/gorm.io/gorm@v1.25.12/callbacks/transaction.go:9 +0x4c fp=0x252cc68 sp=0x252cc48 pc=0x71a6d8
gorm.io/gorm.(*processor).Execute(0x2000630, 0x293d7a0)
/workspace/golang/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:130 +0x3fc fp=0x252cce8 sp=0x252cc68 pc=0x6d3e3c
gorm.io/gorm.(*DB).Updates(0x293d7a0, {0x1413408, 0x23d2b40})
/workspace/golang/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:411 +0xa4 fp=0x252cd04 sp=0x252cce8 pc=0x6dc660