Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id AE226133655C for ; Tue, 15 Feb 2011 05:38:07 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 11276-03 for ; Tue, 15 Feb 2011 09:37:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iy0-f174.google.com (mail-iy0-f174.google.com [209.85.210.174]) by mail.postgresql.org (Postfix) with ESMTP id 9DD2A13364DE for ; Tue, 15 Feb 2011 05:37:57 -0400 (AST) Received: by iyj8 with SMTP id 8so5730531iyj.19 for ; Tue, 15 Feb 2011 01:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=lUCzCeHMr8L+3uOb9t+KexkdJa5lAKhCIcngdryiqQM=; b=xSQsa3Uw3RZQtN8NfKBGafnF22yk5eOVkVEHL9kP0gV9SKT+jU9s5ZTxLCo+jhcp7j ApOibWwCy2aZ9PPKnyWsorFFtU1rqjIRXSpox30ZFYi4Z3PoOESzBU6RGTpTMJrfuB/J oYuSC0QlEu6M49H6dY04zB3IPkoXH3ozyvCSQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Q5aB2Up3d/K8jYk34aJRSPmxwELNCew+PB+cn1IRBZWCTMXbdT9azAe9460fr/2w1T YimV3QAmfr6i50dBdddK/bzrWSCEIrK5Sz6fhKgltxj9/BvCtqtxMl6cCEMvqeHZBcrr x9ACRhHjCXpcL1MF3Lz0SLjc25+J3XFq+lDDk= MIME-Version: 1.0 Received: by 10.231.13.197 with SMTP id d5mr3875477iba.6.1297762674148; Tue, 15 Feb 2011 01:37:54 -0800 (PST) Received: by 10.231.205.201 with HTTP; Tue, 15 Feb 2011 01:37:54 -0800 (PST) In-Reply-To: References: <2779.212.6.96.243.1297324662.squirrel@webmail.uni-oldenburg.de> Date: Tue, 15 Feb 2011 20:07:54 +1030 Message-ID: Subject: Re: Perl Libraries and Postgres From: Sam Stearns To: Alex Hunsaker Cc: Norbert Zacharias , pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201102/122 X-Sequence-Number: 36761 Thanks, Alex! I will take a look at your recommendations and keep you posted. Sam On Sat, Feb 12, 2011 at 3:28 AM, Alex Hunsaker wrote: > On Thu, Feb 10, 2011 at 03:24, Sam Stearns wrote: >> Thanks, Norbert! >> >> I'll run the perl 5.10 upgrade past the guys. >> >> Sam >> >> On Thu, Feb 10, 2011 at 6:27 PM, Norbert Zacharias wrote: > >>>>> perl -V >>>> Summary of my perl5 (revision 5 version 8 subversion 8) configuration: >>> >>> May be an upgrade to 5.10 will solve the problem ? > > Doubtful :-( > >>> From gdb: > >>> #0 0x080bf4ef in Perl_sv_vcatpvfn () >>> #1 0x080bdb30 in Perl_sv_vsetpvfn () >>> #2 0x080a1363 in Perl_vmess () >>> #3 0x080a1d06 in Perl_vwarn () >>> #4 0x080a1fde in Perl_warn () >>> #5 0xfe7f9d58 in pg_warn () from /usr/local/stow/perl-5.8.8/lib/site_perl/5.8.8/i86pc-solaris/auto/DBD/Pg/Pg.so >>> #6 0xfe7c704e in defaultNoticeReceiver () from /usr/local/lib/libpq.so.4 >>> #7 0xfe7cf0bc in pqGetErrorNotice3 () from /usr/local/lib/libpq.so.4 > .... > > So it looks like it you are receiving a notice and DBD::Pg is trying > to warn() it. > > What versions of DBD::Pg and DBI are you using? I'd look at > http://cpansearch.perl.org/src/TURNSTEP/DBD-Pg-2.17.2/Changes and > http://search.cpan.org/~timb/DBI-1.616/Changes for any known bugs you > might be hitting. > > If upgrading those do not fix it, the next step would be to try and > make a reproducible test case. I'd start by by cranking up the > postgres log level so you can find out what the notice is. From there > you might be able to find a way to trigger it reliably. > > If all else fails it never hurts to run it under valgrind to see if it > can pinpoint some obvious memory corruption. >