On Wed, Jul 17, 2002 at 05:00:25PM +0100, Tim Bunce wrote:
: Try adding this line
: 
:       void *xxx = PL_markstack_ptr++;
: 
: as the *first* line (just above the dXSARGS;) line of the
: dbixst_bounce_method() function in the Driver_xst.h file.
: 
: Either edit the file in the DBI 1.29 source directory and
: reinstall, or edit the installed copy.
: 
: Can everyone else who's had a "Can't call method prepare" problem
: with DBI 1.29 please try this.

I still get a core dump when I try to trace(), with the patched
version.  This is a clean build of DBI-1.29 (no upgrade) and
DBD::mysql-2.1017.  I'm not up on XS, so I'll let someone else fix
it.  Here's the backtrace:

#0  0xff139d14 in XS_DBI_dispatch (cv=0xf2b70) at DBI.xs:2024
2024            PerlIO_printf(logfp,"    >> %-11s DISPATCH (%s rc%ld/%ld @%ld g%x 
ima%lx thr#%p pid#%ld)",
(gdb) bt
#0  0xff139d14 in XS_DBI_dispatch (cv=0xf2b70) at DBI.xs:2024
#1  0x745fc in Perl_pp_entersub ()
#2  0x6cfdc in Perl_runops_standard ()
#3  0x24e20 in S_call_body ()
#4  0x248a4 in Perl_call_sv ()
#5  0x24648 in Perl_call_method ()
#6  0xff0e85d8 in dbixst_bounce_method ()
   from /home/philip/test/perl/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/mysql/mysql.so
#7  0xff0e8fc4 in XS_DBD__mysql__db_selectall_arrayref ()
   from /home/philip/test/perl/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/mysql/mysql.so
#8  0xff13ab6c in XS_DBI_dispatch (cv=0xf2c00) at DBI.xs:2295
#9  0x745fc in Perl_pp_entersub ()
#10 0x6cfdc in Perl_runops_standard ()
#11 0x2433c in S_run_body ()
#12 0x23fb0 in perl_run ()
#13 0x213bc in main ()

* Philip Molter
* Texas.net Internet
* http://www.texas.net/
* [EMAIL PROTECTED]

Reply via email to