Bug#470272: libdbix-class-perl: FTBFS: Failed 1/106 test scripts, 99.06% okay. 3/2528 subtests failed, 99.88% okay.

Niko Tyni ntyni at debian.org
Mon Mar 10 12:32:51 UTC 2008


On Mon, Mar 10, 2008 at 12:48:08PM +0100, Lucas Nussbaum wrote:
> Package: libdbix-class-perl
> Version: 0.08009-1
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20080308 qa-ftbfs
> Justification: FTBFS on i386

> > t/33storage_reconnect......................DBI::db=HASH(0x8b7ca00)->disconnect invalidates 22 active statement handles (either destroy statement handles or call finish on them before disconnecting) at t/33storage_reconnect.t line 23.
> > closing dbh with active statement handles at t/33storage_reconnect.t line 23.
> > dubious
> > 	Test returned status 0 (wstat 11, 0xb)
> > DIED. FAILED tests 3-5
> > 	Failed 3/5 tests, 40.00% okay

Just a note as I'm short on time:

This is a segfault in the SQLite bindings, probably triggered by a
change in the recently upgraded sqlite3 version (3.4.2 -> 3.5.6).

  sid% perl -Iblib/lib -Iblib/arch t/33storage_reconnect.t
  1..5                                                   
  ok 1 - Three artists returned
  DBI::db=HASH(0x17180d0)->disconnect invalidates 22 active statement handles (either destroy statement handles or call finish on them before disconnecting) at t/33storage_reconnect.t line 23.
  closing dbh with active statement handles at t/33storage_reconnect.t line 23.
  ok 2 - Three artists returned
  DBI connect('t/var/DBIxClass.db','',...) failed: unable to open database file(1) at dbdimp.c line 94 at blib/lib/DBIx/Class/Storage/DBI.pm line 839
  ok 3 - The operation failed
  zsh: segmentation fault (core dumped)  perl -Iblib/lib -Iblib/arch t/33storage_reconnect.t

Backtrace with libsqlite3.0-dbg:

  Core was generated by `perl -Iblib/lib -Iblib/arch t/33storage_reconnect.t'.
  Program terminated with signal 11, Segmentation fault.
  #0  0x00002b06016104aa in pthread_mutex_lock () from /lib/libpthread.so.0
  (gdb) bt
  #0  0x00002b06016104aa in pthread_mutex_lock () from /lib/libpthread.so.0
  #1  0x00002b0608077709 in sqlite3_mutex_enter (p=0x6f6e5f72656e696c) at ./src/mutex_unix.c:186
  #2  0x00002b0608093e3b in sqlite3_step (pStmt=0x17d96c8) at ./src/vdbeapi.c:375
  #3  0x00002b0607e2f4ac in sqlite_st_execute () from /usr/lib/perl5/auto/DBD/SQLite/SQLite.so
  #4  0x00002b0607e27fb7 in XS_DBD__SQLite__st_execute () from /usr/lib/perl5/auto/DBD/SQLite/SQLite.so
  #5  0x00002b0607c1827f in XS_DBI_dispatch () from /usr/lib/perl5/auto/DBI/DBI.so
  #6  0x00002b0600ed7dd3 in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
  #7  0x00002b0600ed663e in Perl_runops_standard () from /usr/lib/libperl.so.5.8
  #8  0x00002b0600e80e7a in perl_run () from /usr/lib/libperl.so.5.8
  #9  0x000000000040185c in main ()
  
Hm, libdbd-sqlite3-perl is failing its test suite too. I'll file a
separate bug about that.

Cheers,
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list