[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Segfault in DBD::Firebird



Xavier,
	Does the current version of libdbd-firebird-perl even build from
scratch? If not you should raise a serious Debian bug and link the
Debian bug to the CPAN  bug.


	If we can get past that can you reproduce the bug described in the CPAN
bug in the current code?

On 04/07/12 05:52, Xavier wrote:
> Hi all,
> 
> I'm trying to upgrade libdbd-firebird-perl. All is ready but one test
> fails with a segfault. It looks like a known RT bug
> (https://rt.cpan.org/Public/Bug/Display.html?id=72946). Here is the trace :
> 
> $ perl -d:bt -MB -Iblib/lib/ -Iblib/arch/ t/embed-rt72946.t
> The databse path is dbd-firebird-test.fdb
> # Creating test database at dbd-firebird-test.fdb
> The databse path is dbd-firebird-test.fdb
> 1..6
> ok 1 - Connected to the database
> ok 2 - query prepared
> ok 3 - query executed
> #0  0x00007f0b2973ec1d in waitpid () from
> /lib/x86_64-linux-gnu/libpthread.so.0
> #1  0x00007f0b28f6f54f in ?? () from /usr/lib/perl5/auto/Devel/bt/bt.so
> #2  <signal handler called>
> #3  ib_st_destroy (sth=sth@entry=0x0, imp_sth=0x0) at dbdimp.c:1808
> #4  0x00007f0b2811f6f7 in ib_commit_transaction (imp_dbh=0x18ca900,
> h=0x1894aa8) at dbdimp.c:2807
> #5  ib_commit_transaction (h=h@entry=0x1894aa8,
> imp_dbh=imp_dbh@entry=0x18ca900) at dbdimp.c:2766
> #6  0x00007f0b28116044 in XS_DBD__FirebirdEmbedded__db__do
> (my_perl=<optimized out>, cv=<optimized out>) at FirebirdEmbedded.xs:274
> #7  0x00007f0b29e8a45c in Perl_pp_entersub () from /usr/lib/libperl.so.5.14
> #8  0x00007f0b29e819b6 in Perl_runops_standard () from
> /usr/lib/libperl.so.5.14
> #9  0x00007f0b29e1d429 in Perl_call_sv () from /usr/lib/libperl.so.5.14
> #10 0x00007f0b28b510c2 in XS_DBI_dispatch () from
> /usr/lib/perl5/auto/DBI/DBI.so
> #11 0x00007f0b29e8a45c in Perl_pp_entersub () from /usr/lib/libperl.so.5.14
> #12 0x00007f0b29e819b6 in Perl_runops_standard () from
> /usr/lib/libperl.so.5.14
> #13 0x00007f0b29e2344e in perl_run () from /usr/lib/libperl.so.5.14
> #14 0x0000000000400f89 in main ()
> Cancel
> 
> What can I do with this, skip the test ?
> 
> Best regards,
> Xavier
> 
> 


Reply to: