I just upgraded a production server to -current (needed latest PostgreSQL)

I also am using a forum and wanted to add a second forum using PostgreSQL (first has been using mysql)
This software supports doing this.

All is working fine, except one script called from crontab to send out subscriptions is working fine except for an occasional Segmentation fault.

I have notified script maintainer, waiting to hear back

Is this core file providing any useful information for diagnosing problem?

# gdb /usr/bin/perl perl.core
...
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
...

(gdb) bt
#0 0x0d321693 in pg_st_split_statement () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Pg/Pg.so #1 0x0d320f34 in pg_st_prepare () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Pg/Pg.so #2 0x0d316727 in XS_DBD__Pg__st__prepare () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Pg/Pg.so #3 0x015f6e99 in Perl_pp_entersub () at /usr/src/gnu/usr.bin/perl/pp_hot.c:2888 #4 0x01634b85 in Perl_runops_standard () at /usr/src/gnu/usr.bin/perl/run.c:40 #5 0x01630700 in Perl_call_sv (sv=0x8538b430, flags=0) at /usr/src/gnu/usr.bin/perl/perl.c:2769 #6 0x0e8788fe in XS_DBI_dispatch () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBI/DBI.so #7 0x015f6e99 in Perl_pp_entersub () at /usr/src/gnu/usr.bin/perl/pp_hot.c:2888 #8 0x01634b85 in Perl_runops_standard () at /usr/src/gnu/usr.bin/perl/run.c:40 #9 0x016300e7 in S_run_body (oldscope=1) at /usr/src/gnu/usr.bin/perl/perl.c:2436 #10 0x0163003b in perl_run (my_perl=0x835a80e0) at /usr/src/gnu/usr.bin/perl/perl.c:2354
#11 0x1c000c0e in main ()
(gdb) bt full
#0 0x0d321693 in pg_st_split_statement () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Pg/Pg.so
No symbol table info available.
#1 0x0d320f34 in pg_st_prepare () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Pg/Pg.so
No symbol table info available.
#2 0x0d316727 in XS_DBD__Pg__st__prepare () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Pg/Pg.so
No symbol table info available.
#3 0x015f6e99 in Perl_pp_entersub () at /usr/src/gnu/usr.bin/perl/pp_hot.c:2888
       av = (AV * const) 0x15de6c1
       items = -1966228880
       markix = 0
       sp = (SV **) 0x80901808
       sv = (SV *) 0x7f56e640
       gv = (GV *) 0x80901808
       cv = (CV *) 0x8acdba70
       cx = (PERL_CONTEXT *) 0x8acdba70
       gimme = 0
#4 0x01634b85 in Perl_runops_standard () at /usr/src/gnu/usr.bin/perl/run.c:40
No locals.
#5 0x01630700 in Perl_call_sv (sv=0x8538b430, flags=0) at /usr/src/gnu/usr.bin/perl/perl.c:2769
       sp = (SV **) 0x80901808
myop = {op_next = 0x0, op_sibling = 0x0, op_ppaddr = 0, op_targ = 0, op_type = 0, op_opt = 0, op_latefree = 0, op_latefreed = 0, op_attached = 0, op_spare = 0, op_flags = 66 'B', op_private = 0 '\0', op_first = 0x0, op_other = 0x0} method_op = {op_next = 0x8908c750, op_sibling = 0x7f5a7314, op_ppaddr = 0xcfbf1c18, op_targ = 23126673, op_type = 336, op_opt = 1, op_latefree = 1, op_latefreed = 0, op_attached = 0, op_spare = 6, op_flags = 8 '\b',
 op_private = 137 '\211', op_first = 0x7f5a7314}
       oldmark = 0
       retval = 0
       oldscope = 5
       oldcatch = 0 '\0'
       oldop = (OP * const) 0x80ed77c0
cur_env = {je_prev = 0x8730f760, je_buf = {559762180, -809559096, 23125185, -1995913392, 2136634132, 7, 48, 0, 0,
   -809559093, 23125026}, je_ret = -1997449076, je_mustcatch = 12 '\f'}
#6 0x0e8788fe in XS_DBI_dispatch () from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBI/DBI.so
No symbol table info available.
#7 0x015f6e99 in Perl_pp_entersub () at /usr/src/gnu/usr.bin/perl/pp_hot.c:2888
       av = (AV * const) 0x0
       items = -2128428720
       markix = 0
       sp = (SV **) 0x80901808
       sv = (SV *) 0x8122c150
       gv = (GV *) 0xebb897af
       cv = (CV *) 0x8122c150
       cx = (PERL_CONTEXT *) 0x8122c150
       gimme = 0
#8 0x01634b85 in Perl_runops_standard () at /usr/src/gnu/usr.bin/perl/run.c:40
No locals.
#9 0x016300e7 in S_run_body (oldscope=1) at /usr/src/gnu/usr.bin/perl/perl.c:2436
No locals.
#10 0x0163003b in perl_run (my_perl=0x835a80e0) at /usr/src/gnu/usr.bin/perl/perl.c:2354
       oldscope = 1
       ret = -2061856768
cur_env = {je_prev = 0x215d7480, je_buf = {23264750, 559762180, -809558340, -809558200, 1006645983, 1006645728, -809558152, 0, -2081185628, 32, -809566157}, je_ret = 0, je_mustcatch = 1 '\001'}
#11 0x1c000c0e in main ()
No symbol table info available.

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein

Reply via email to