My example for reproducing the error formated strangely in my browser. Here it is again:
# Create a DB. Any will do.
sqlite foo.db '';
# Connect and run bad SQL
PERL_DL_NONLAZY=1 perl -MDBI -le 'DBI->connect("dbi:SQLite2:dbname=foo.db", "", "")->selectall_arrayref("#");'
If PERL_DL_NONLAZY is 0 or unset then the above code will not segfault.
My example for reproducing the error formated strangely in my browser. Here it is again:
# Create a DB. Any will do.
sqlite foo.db '';
# Connect and run bad SQL
PERL_DL_NONLAZY=1 perl -MDBI -le 'DBI->connect( "dbi:SQLite2: dbname= foo.db" , "", "")->selectall_ arrayref( "#");'
If PERL_DL_NONLAZY is 0 or unset then the above code will not segfault.