Skip Menu |

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

Report information
The Basics
Id: 35467
Status: open
Priority: 0/
Queue: DBD-InterBase

People
Owner: Nobody in particular
Requestors: daniel.kuettner [...] prcash.de
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.48
Fixed in: (no value)



Subject: segmentation fault
I get a segmentation fault when I call DBD::InterBase::db::_login($dbh, $dsn, $dbuser, $dbpasswd, $attr) or return undef; Show quoted text
>>httpd-error.log: [Sat Apr 26 09:25:57 2008] [notice] child pid 1353
exit signal Segmentation fault (11)<< in DBD::InterBase.pm. The call under perl without mod_perl works fine. A Call to DBD::SQLite works fine under mod_perl. My configuration is: -FreeBSD 7.0 stable -apache-2.2.8 -mod_perl2-2.0.3_3,3 -perl-5.8.8_1 -p5-DBD-InterBase-0.48 -p5-DBI-1.60.1 The failure comes first with this new versions above.
From: epratomo [...] acm.org
On Sun Apr 27 09:40:53 2008, danielkuettner wrote: Show quoted text
> I get a segmentation fault when I call > > DBD::InterBase::db::_login($dbh, $dsn, $dbuser, $dbpasswd, $attr) or > return undef; >
> >>httpd-error.log: [Sat Apr 26 09:25:57 2008] [notice] child pid 1353
> exit signal Segmentation fault (11)<< > > in DBD::InterBase.pm. > > The call under perl without mod_perl works fine. > > A Call to DBD::SQLite works fine under mod_perl. > > My configuration is: > > -FreeBSD 7.0 stable > -apache-2.2.8 > -mod_perl2-2.0.3_3,3 > -perl-5.8.8_1 > -p5-DBD-InterBase-0.48 > -p5-DBI-1.60.1 > > The failure comes first with this new versions above.
unable to reproduce that. mine is: "Embedded Perl version v5.8.8 for Apache/2.2.6 (Fedora) process 4329," mod_perl 2.0.3 DBI 1.58 Fedora 8 Tested with ModPerl::Registry.
Subject: Re: [rt.cpan.org #35467] segmentation fault
Date: Mon, 28 Apr 2008 17:34:23 +0200
To: bug-DBD-InterBase [...] rt.cpan.org
From: daniel <daniel.kuettner [...] prcash.de>
Edwin Pratomo via RT schrieb: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=35467 > > > On Sun Apr 27 09:40:53 2008, danielkuettner wrote:
>> I get a segmentation fault when I call >> >> DBD::InterBase::db::_login($dbh, $dsn, $dbuser, $dbpasswd, $attr) or >> return undef; >>
>>>> httpd-error.log: [Sat Apr 26 09:25:57 2008] [notice] child pid 1353
>> exit signal Segmentation fault (11)<< >> >> in DBD::InterBase.pm. >> >> The call under perl without mod_perl works fine. >> >> A Call to DBD::SQLite works fine under mod_perl. >> >> My configuration is: >> >> -FreeBSD 7.0 stable >> -apache-2.2.8 >> -mod_perl2-2.0.3_3,3 >> -perl-5.8.8_1 >> -p5-DBD-InterBase-0.48 >> -p5-DBI-1.60.1 >> >> The failure comes first with this new versions above.
> > unable to reproduce that. mine is: > "Embedded Perl version v5.8.8 for Apache/2.2.6 (Fedora) process 4329," > mod_perl 2.0.3 > DBI 1.58 > Fedora 8 > > Tested with ModPerl::Registry. >
I've the same failure also with ModPerl::Registry, but it is not the same like Embperl, right? It is possible the different apache version is the reason? Or the fact that I have freebsd? This is my testscript: #!/usr/bin/perl -w use CGI qw/:standard/; use DBI; print header; print start_html; print p("Test"); my $dbh = DBI->connect("dbi:InterBase:db=bsd:/var/db/firebird/syncml", "sysdba", "password"); my $sth = $dbh->prepare(sprintf("SELECT server_id FROM vcards_no_sync WHERE server_id=%d", 25)); $sth->execute(); my @row = $sth->fetchrow_array(); print ":$row[0]:"; print end_html; The httpd.conf for mod_perl is: <Files *.mpl> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI PerlSendHeader On </files> AddType text/html .mpl My firebird version: firebird-server-2.0.3_2, firebird-client-2.0.3_2. When I call this script as .pl (normal cgi) then all is ok. When I call this script as .mpl (mod_perl) then segmentation fault.