BeerBong wrote:
Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 17423)]
0x40107781 in kill () from /lib/libc.so.6
(gdb) source ~alexei/forge/furnace/libapache-mod-perl-1.26/.gdbinit
(gdb) up
#1  0x40373cd3 in Perl_my_unexec () from /usr/lib/libperl.so.5.6
(gdb) curinfo
Attempt to extract a component of a value that is not a structure pointer.

I guess, that macro was written for 5.005 and things have changed in 5.6. I haven't been debugging with 5.6 for a long time. It's certainly different under 5.8. I had to change a lot of things in .gdbinit, but never had a chance to polish it.


But...
I found a line in startup.pl, which brokes Apache:
use DBD::Oracle

I don't know why, but simple scripts on this machine kinda
--------------
use strict;
use DBI;

$ENV{ORACLE_HOME} = "/u01/app/oracle/product/8.1.7";
$ENV{NLS_LANG} = "AMERICAN_AMERICA.CL8MSWIN1251";

my $dbh = DBI->connect('DBI:Oracle:SIMain', '', '');
my $news = $dbh->selectrow_array("select count(*) from portal.contents");
print "$news\n";
$dbh->disconnect;
--------------
works fine...

But you don't load DBD::Oracle explicitly here, as you do in the startup.pl. Any difference if you omit 'use DBD::Oracle' and just keep 'use DBI'?


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to