Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 2930
Status: resolved
Priority: 0/
Queue: DBD-SQLite

Owner: Nobody in particular
Requestors: swany [...]

Bug Information
Severity: Important
Broken in: 0.25
Fixed in: (no value)

Subject: segfault using disconnected SQLite DBD handle
Download (untitled) / with headers
text/plain 517b
If you prepare a statement on a disconnected SQLite handle then try to execute it a segfault is produced. It should probably check that the handle is valid and generate and error otherwise. This is easily reproducible using the following code: use DBI; $lite = DBI->connect('DBI:SQLite:test.db',"",""); $lite->disconnect; #the following line should generate an error message $sth=$lite->prepare('select * from sqlite_master'); #trying to execute our invalid handle causes a segfault $sth->execute; #SEGFAULT

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to