Hey, could you try the attached diff? The ChangeLog says the problems should be fixed.
http://search.cpan.org/src/CAPTTOFU/DBD-mysql-3.0008/ChangeLog Thanks! Bernd Peter Hessler [Fri, Aug 11, 2006 at 06:54:23PM -0700] wrote: >Sigh. This happens with 3.0003 from packages, and 3.0006 from >self-updated ports. Both backtraces are identical. > > > >On Fri, 11 Aug 2006 12:27:34 -0700 >Peter Hessler <[EMAIL PROTECTED]> wrote: > >: Using p5-DBD-mysql-3.0006 from packages, I am seeing semi-regular >: crashes in DBD::mysql. >: >: >: $ gdb /usr/bin/perl >: GNU gdb 6.3 >: Copyright 2004 Free Software Foundation, Inc. >: GDB is free software, covered by the GNU General Public License, and >: you are welcome to change it and/or distribute copies of it under >: certain conditions. Type "show copying" to see the conditions. >: There is absolutely no warranty for GDB. Type "show warranty" for >: details. This GDB was configured as "i386-unknown-openbsd3.9"...(no >: debugging symbols found) >: >: (gdb) target core perl.core >: Core was generated by `perl'. >: Program terminated with signal 11, Segmentation fault. >: Reading symbols from /usr/lib/libperl.so.10.0...done. >: Loaded symbols for /usr/lib/libperl.so.10.0 >: Reading symbols from /usr/lib/libm.so.2.1...done. >: ... >: Reading symbols from /usr/lib/libcrypto.so.12.0...done. >: Loaded symbols for /usr/lib/libcrypto.so.12.0 >: #0 0x092cd922 in mysql_st_internal_execute (h=0x812aac30, >: statement=0x8191c49c, attribs=0x0, num_params=1, params=0x8ae02d80, >: result=0xcfbdfac8, svsock=0x7fb69054, use_mysql_use_result=0) at >: dbdimp.c:2346 2346 char *salloc = parse_params(svsock, (gdb) bt >: #0 0x092cd922 in mysql_st_internal_execute (h=0x812aac30, >: statement=0x8191c49c, attribs=0x0, num_params=1, params=0x8ae02d80, >: result=0xcfbdfac8, svsock=0x7fb69054, use_mysql_use_result=0) at >: dbdimp.c:2346 #1 0x092d3da0 in XS_DBD__mysql__db_do (cv=0x800cc3e4) >: at mysql.xs:458 #2 0x0433ccc3 in XS_DBI_dispatch () from /usr/local/ >: libdata/perl5/site_perl/i386-openbsd/auto/DBI/DBI.so #3 0x0b174fe4 >: in Perl_pp_entersub () at /usr/src/gnu/usr.bin/perl/pp_hot.c:2890 #4 >: 0x0b1d6c29 in Perl_runops_standard () at /usr/src/gnu/usr.bin/perl/ >: run.c:37 #5 0x0b1c5457 in S_run_body (oldscope=1) at /usr/src/gnu/ >: usr.bin/perl/perl.c:1936 #6 0x0b1c5257 in perl_run >: (my_perl=0x85a10030) at /usr/src/gnu/usr.bin/perl/perl.c:1855 #7 >: 0x1c0012e6 in main () >: >: >: >: This seems to be identical to the problems reported in >: http://rt.cpan.org/Public/Bug/Display.html?id=18884 and >: http://rt.cpan.org/Public/Bug/Display.html?id=20868 >: >: I only see this in bugzilla (not in other apps that use DBD::mysql), >: and it has been reported to bugzilla at >: https://bugzilla.mozilla.org/show_bug.cgi?id=329556 >: >: >: >: -- >: Good leaders being scarce, following yourself is allowed. >: > > >-- >Anything worth doing is worth overdoing. > >
Index: Makefile =================================================================== RCS file: /home/OpenBSD/cvs/ports/databases/p5-DBD-mysql/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile 24 Aug 2006 09:23:38 -0000 1.13 +++ Makefile 16 Oct 2006 16:25:44 -0000 @@ -4,7 +4,7 @@ NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} COMMENT= 'MySQL drivers for the Perl DBI' -DISTNAME= DBD-mysql-2.9004 +DISTNAME= DBD-mysql-3.0008 PKGNAME= p5-${DISTNAME} CATEGORIES= databases perl5 Index: distinfo =================================================================== RCS file: /home/OpenBSD/cvs/ports/databases/p5-DBD-mysql/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 24 Aug 2006 09:23:38 -0000 1.7 +++ distinfo 16 Oct 2006 16:25:57 -0000 @@ -1,4 +1,4 @@ -MD5 (DBD-mysql-2.9004.tar.gz) = fe3e8c65718368a3fa653e592f82248b -RMD160 (DBD-mysql-2.9004.tar.gz) = d31f12b25228adfd7551fe5de185e50be3990460 -SHA1 (DBD-mysql-2.9004.tar.gz) = 1f1d974210a1c429d3679a4fe1816a1d7e17dc24 -SIZE (DBD-mysql-2.9004.tar.gz) = 114043 +MD5 (DBD-mysql-3.0008.tar.gz) = 82b1f898ec26c1a12cc87e00b30f313f +RMD160 (DBD-mysql-3.0008.tar.gz) = cf8de12da4c66ba5283b30149049f38a20f4bca3 +SHA1 (DBD-mysql-3.0008.tar.gz) = d3fa16a62b5648258e97ea27beab51461b657e8f +SIZE (DBD-mysql-3.0008.tar.gz) = 116159