Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: eefacm [...] gmail.com
Cc:
AdminCc:

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



Subject: Bus error on unique key conflict
Download (untitled) / with headers
text/plain 574b
I have a freshly-created SQLite database with a single table, created thusly: CREATE TABLE nums (num INTEGER UNIQUE); I also have a simple Perl program: use DBI; $dbh = DBI->connect('dbi:SQLite:mydb', '', ''); $dbh->do('INSERT INTO nums (num) VALUES (1)'); The first time I run the program, it adds the row normally. The second time I run the program, it gets killed by a bus error. ("Bus error" is printed to the console, and the exit status is 138; POSIX::WTERMSIG(138) is indeed 10, SIGBUS.) This is version 1.14 of DBD-SQLite, using Perl 5.8.8 on Mac OS X 10.5.2.
IHIGAKI has added a regression test for this ticket, and it passes. Flagging as resolved.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.