Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2011 12:49:25 +0300
From:      Mikhail Tsatsenko <michael@fun-box.ru>
To:        ports@freebsd.org, perl@freebsd.org
Subject:   perl DBI related coredump
Message-ID:  <4D2ECAA5.3020908@fun-box.ru>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070004090604090302070109
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi, All!
I'm running very simple perl daemon script on my 8.1-STABLE FreeBSD 
8.1-STABLE #1 r214205 (amd64) box which constantly segfaults.
Backtrace is in the attachement.

[/usr/ports/lang/perl5.10]$ make showconfig
===> The following configuration options are available for perl-5.10.1_3:
      DEBUGGING=off "Build with debugging support"
      GDBM=off "Build GDBM_File extension"
      PERL_MALLOC=off "Use Perl malloc"
      PERL_64BITINT=on "Use 64 bit integers (on i386)"
      THREADS=off "Build threaded perl"
      MULTIPLICITY=off "Use multiplicity"
      SUIDPERL=off "Build set-user-id suidperl binary"
      SITECUSTOMIZE=off "Run-time customization of @INC"
      USE_PERL=on "Rewrite links in /usr/bin"
===> Use 'make config' to modify these settings

I have most recent versions of p5-DBD-Pg and p5-DBI installed.

Any ideas? How to debug the problem?

--
  Mikhail
  michael@fun-box.ru

--------------070004090604090302070109
Content-Type: text/plain;
 name="perl.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="perl.txt"

#0  0x0000000803228a53 in pg_st_FETCH_attrib () from /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/DBD/Pg/Pg.so
#1  0x000000080321974c in XS_DBD__Pg__st_FETCH_attrib () from /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/DBD/Pg/Pg.so
#2  0x0000000801e1568b in XS_DBI_dispatch () from /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/DBI/DBI.so
#3  0x00000008006d9ee9 in Perl_pp_entersub () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#4  0x00000008006d863e in Perl_runops_standard () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#5  0x0000000800688b0f in Perl_call_sv () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#6  0x00000008006cee19 in S_magic_methpack () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#7  0x00000008006cef71 in Perl_magic_getpack () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#8  0x00000008006d10fd in Perl_mg_get () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#9  0x00000008006e7bc5 in Perl_sv_setsv_flags () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#10 0x00000008006edca0 in Perl_newSVsv () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#11 0x0000000801e0be0e in XS_DBD_____st_fetchrow_hashref () from /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/DBI/DBI.so
#12 0x0000000801e1568b in XS_DBI_dispatch () from /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/DBI/DBI.so
#13 0x00000008006d9ee9 in Perl_pp_entersub () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#14 0x00000008006d863e in Perl_runops_standard () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#15 0x0000000800689822 in perl_run () from /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so
#16 0x0000000000400bda in main ()


--------------070004090604090302070109--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D2ECAA5.3020908>