Subject: | segfault in pg_warn() |
Date: | Thu, 21 Jul 2011 20:34:51 +0400 |
To: | bug-DBD-Pg [...] rt.cpan.org |
From: | Ilya Obshadko <ilya.obshadko [...] gmail.com> |
Perl version: v5.8.9 built for amd64-freebsd
DBD::Pg version: 2.18.1
OS: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Sometimes SQL query execution results in SIGSEGV and Perl process dies.
Backtrace is always the same:
#0 0x00000008023b3466 in pg_warn ()
from /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/DBD/Pg/Pg.so
#1 0x00000008024dc96e in pqGetErrorNotice3 () from /usr/local/lib/libpq.so.5
#2 0x00000008024ddab2 in pqParseInput3 () from /usr/local/lib/libpq.so.5
#3 0x00000008024d4b28 in PQsendQuery () from /usr/local/lib/libpq.so.5
#4 0x00000008024d6779 in PQexec () from /usr/local/lib/libpq.so.5
#5 0x00000008023a81df in _result ()
It happens with different queries under different conditions, so the problem
is unpredictable and cannot be reproduced using certain circumstances.
--
Ilya Obshadko