Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 8869
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: aa29 [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 1.40



Subject: [WIN32] Segfault while using bind values
CVS version of dbdpg v5.8.5 built for MSWin32-x86-multi-thread MS Winodws XP use DBD::Pg; my $dbh = DBI->connect("dbi:Pg:dbname=testdb;...") or die $!; my $sth = $dbh->prepare("SELECT * FROM pg_ts_cfg OFFSET ?"); $sth->execute(10); 'OFFSET' may be changed to 'WHERE' clause, only presence of the placeholder is essential. This code gives segfault after 'Free to wrong pool xxxxx not xxxx' warning. Call Stack: VMem::Free(void * 0x002295e0) line 208 + 3 bytes PerlMemFree(IPerlMem * 0x002224bc, void * 0x002295e0) line 302 Perl_safesysfree(void * 0x002295e0) line 144 + 24 bytes dbd_st_execute(sv * 0x01a03ad4, imp_sth_st * 0x01a0ccb4) line 1586 + 8 bytes XS_DBD__Pg__st_execute(interpreter * 0x00224414, cv * 0x019fe330) line 548 + 11 bytes XS_DBI_dispatch(interpreter * 0x00224414, cv * 0x019933ec) line 2663 + 23 bytes Perl_pp_entersub(interpreter * 0x00224414) line 2857 + 14 bytes Perl_runops_standard(interpreter * 0x00224414) line 24 + 12 bytes S_run_body(interpreter * 0x00224414, long 0x00000001) line 1924 + 12 bytes perl_run(interpreter * 0x00224414) line 1843 + 11 bytes RunPerl(int 0x00000002, char * * 0x00223fd0, char * * 0x00222dc8) line 202 + 11 bytes main(int 0x00000002, char * * 0x00223fd0, char * * 0x00222dc8) line 18 + 15 bytes PERL! mainCRTStartup + 227 bytes KERNEL32! Creat