jlp765 / db

Unified db access module
MIT License
5 stars 1 forks source link

SIGSEGV with nim 1.2.6 #4

Open Peter2121 opened 3 years ago

Peter2121 commented 3 years ago

Version: 1.1.0 (installed by nimble) Nim: 1.2.6 OS: FreeBSD 12.1 amd64/arm64

Compiler crashes trying to build db.nim with default options: SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Please, help, I cannot rebuild my software. No problems with Nim 1.0.6.

Peter2121 commented 3 years ago

Probably, it is related to this construction:

{.tags: [db_sqlite.ReadDbEffect, db_mysql.ReadDbEffect, db_postgres.ReadDbEffect,
           db_sqlite.WriteDbEffect, db_mysql.WriteDbEffect, db_postgres.WriteDbEffect],
    raises: [db_sqlite.DbError, db_mysql.DbError, db_postgres.DbError, DbError].}