Hi,
just looking for hints, maybe some of you had the same problem.
Searching archives I found some evidence that DBI + DBD::mysql
on Ubuntu 10.*04* might segfault.
Here I'm on 10.10 amd64, so I don't really know.
I have this mod_perl app that uses DBI and DBD::mysql and
it's totally fine on debian lenny, and ubuntu 10.04.
Now I tried installing it for the first time on 10.10,
started apache, and apache doesn't start, segfaulting immediately.
Strace-ing the apache process I get:
[apache starts up, reads a bunch of Perl modules, and opens the access
log...]
...
brk(0x7f342adbd000) = 0x7f342adbd000
...
...
brk(0x7f342adde000) = 0x7f342adde000
brk(0x7f342adff000) = 0x7f342adff000
brk(0x7f342ae20000) = 0x7f342ae20000
brk(0x7f342ae41000) = 0x7f342ae41000
stat("/usr/lib/perl5/auto/DBI/DESTROY.al", 0x7f341e8459b0) = -1 ENOENT (No
such file or directory)
stat("/home/cosimo/src/auth-svn/lib/auto/DBI/DESTROY.al", 0x7fffc4e2d520)
= -1 ENOENT (No such file or directory)
stat("/home/cosimo/src/myopera-trunk/lib/auto/DBI/DESTROY.al",
0x7fffc4e2d520) = -1 ENOENT (No such file or directory)
stat("/etc/perl/auto/DBI/DESTROY.al", 0x7fffc4e2d520) = -1 ENOENT (No such
file or directory)
stat("/usr/local/lib/perl/5.10.1/auto/DBI/DESTROY.al", 0x7fffc4e2d520) =
-1 ENOENT (No such file or directory)
stat("/usr/local/share/perl/5.10.1/auto/DBI/DESTROY.al", 0x7fffc4e2d520) =
-1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/auto/DBI/DESTROY.al", 0x7fffc4e2d520) = -1 ENOENT (No
such file or directory)
stat("/usr/share/perl5/auto/DBI/DESTROY.al", 0x7fffc4e2d520) = -1 ENOENT
(No such file or directory)
stat("/usr/lib/perl/5.10/auto/DBI/DESTROY.al", 0x7fffc4e2d520) = -1 ENOENT
(No such file or directory)
stat("/usr/share/perl/5.10/auto/DBI/DESTROY.al", 0x7fffc4e2d520) = -1
ENOENT (No such file or directory)
stat("/usr/local/lib/site_perl/auto/DBI/DESTROY.al", 0x7fffc4e2d520) = -1
ENOENT (No such file or directory)
stat("./auto/DBI/DESTROY.al", 0x7fffc4e2d520) = -1 ENOENT (No such file or
directory)
stat("/var/tmp/test_cosimo_22931/auto/DBI/DESTROY.al", 0x7fffc4e2d520) =
-1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
I've checked changelogs for more recent versions of dbd::mysql (I have
4.016)
and dbi (1.611), but nothing seems to mention any segfault fixes.
I'll try installing the most recent versions from CPAN for now.
Any other idea?
--
Cosimo