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.

Reply via email to