On Sun, Feb 23, 2003 at 04:35:39AM -0800, Ask Bjoern Hansen wrote: > On Fri, 21 Feb 2003, Dan Brosemer wrote: > > Hi. I'm new here, and hoping someone can help me. I've installed the > > latest -current version of OpenBSD, and loaded mod_perl as a DSO. That gets > > me Apache 1.3.27, Perl 5.8.0, and mod_perl 1.27. > [...] > > These are taken using DBD::mysql. I'd be happy to provide backtraces using > > other modules if they'd be useful to someone debugging. > [...] > > A backtrace with DBD::mysqlPP would be fun.
You're right, it _is_ fun... :) (gdb) bt #0 0x403ea000 in ?? () #1 0x40380041 in Perl_runops_standard () #2 0x403627d0 in Perl_call_sv () #3 0x4036255a in Perl_call_sv () #4 0x402b4ada in perl_call_handler (sv=0x28615c, r=0x6c5034, args=0x0) at mod_perl.c:1658 #5 0x402b3e8d in perl_run_stacked_handlers (hook=0x402af439 "PerlHandler", r=0x6c5034, handlers=0x283b9c) at mod_perl.c:1371 #6 0x402b1a2b in perl_handler (r=0x6c5034) at mod_perl.c:897 #7 0x49ca1 in ap_invoke_handler (r=0x6c5034) at http_config.c:520 #8 0x69d4c in process_request_internal (r=0x6c5034) at http_request.c:1308 #9 0x69db6 in ap_process_request (r=0x6c5034) at http_request.c:1324 #10 0x5c88b in child_main (child_num_arg=0) at http_main.c:4708 #11 0x5cab1 in make_child (s=0xd3034, slot=0, now=1046013324) at http_main.c:4832 #12 0x5cc2a in startup_children (number_to_start=20) at http_main.c:4914 #13 0x5d8a4 in standalone_main (argc=2, argv=0xcfbfdb04) at http_main.c:5272 #14 0x5e298 in main (argc=2, argv=0xcfbfdb04) at http_main.c:5639 It won't even tell me what file it died in there... #0 seems to have no .so associated with it. > Have you upgraded mysql after you last installed DBD::mysql? Did No. This is the initial version of both mysql and postgresql. > DBD::mysql pass all tests when you installed it? When I 'make test', Msql-Mysql-modules-1.2219 reports: All tests successful, 1 test and 14 subtests skipped. Since my test program runs fine outside of a webserver, or in mod_perl when DBI isn't preloaded, I'm not surprised. Wouldn't that imply that the problem is in DBI's clone function? I've been staring at _clone_dbis() and related functions for three days now, to no avail, though, so I'm probably wrong. :) Thanks for your help. -Dan -- "Burnished gallows set with red Caress the fevered, empty mind Of man who hangs bloodied and blind To reach for wisdom, not for bread." -- Deoridhe Grimsdaughter