Hi,
 
 I have problem With AOLserver 4.0.10 and nspostgres version 4.
 When Postgresql database is unaccessible for a while AOLserver is dying
 with the error:
 
 19/May/2008:09:55:51][14192.3068214160][-conn:server1::29] Error:
 dbinit: error(10.0.200.200::server1,server closed the connection
 unexpectedly
         This probably means the server terminated abnormally
         before or while processing the request.
 ): 'select sec_id_seq.nextval'
 
 Program received signal SIGSEGV, Segmentation fault.
 
 In GDB, backtrace shows:
 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1226753136 (LWP 14239)]
 0x00a708ef in DbFail (interp=0x139ac2c0, handle=0x8dbf3b8,
 cmd=0x18b436f0 "0or1row", sql=0x18b4c8f0 "select sec_id_seq.nextval")
 at nspostgres.c:1131
 1131      if (pqerror[0] != '\0') {
 (gdb) bt
 #0  0x00a708ef in DbFail (interp=0x139ac2c0, handle=0x8dbf3b8,
 cmd=0x18b436f0 "0or1row", sql=0x18b4c8f0 "select sec_id_seq.nextval")
 at nspostgres.c:1131
 #1  0x00a71565 in PgBindCmd (dummy=0x0, interp=0x139ac2c0, argc=4,
 argv=0xb6e0dc38) at nspostgres.c:1477
 #2  0x006e0145 in TclInvokeStringCommand (clientData=0x13989bb8,
 interp=0x139ac2c0, objc=4, objv=0xb6e0de5c) at
 ./../generic/tclBasic.c:1778
 #3  0x006e17c5 in TclEvalObjvInternal (interp=0x139ac2c0, objc=4,
 objv=0xb6e0de5c, command=0x774072 "", length=0, flags=262144)
     at ./../generic/tclBasic.c:3088
 
 I've tried to change nspostgres.so to newer version (4r1) from CVS but
 the problem still exists:
 
 [19/May/2008:10:37:55][15960.3068312464][-conn:server1::23] Notice:
 Ns_PgExec: Trying to reopen database connection
 [19/May/2008:10:37:55][15960.3068312464][-conn:server1::23] Fatal:
 received fatal signal 11
 
 And backtrace is:
 gdb) bt
 #0  0x004f1402 in __kernel_vsyscall ()
 #1  0x009eada0 in *__GI_raise (sig=6) at
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #2  0x009ec781 in *__GI_abort () at abort.c:88
 #3  0x00a2196b in __libc_message (do_abort=2, fmt=0xae8564 "*** glibc
 detected *** %s: %s: 0x%s ***\n") at
 ../sysdeps/unix/sysv/linux/libc_fatal.c:170
 #4  0x00a296a6 in _int_free (av=0xb02120, mem=0x9d6aa88) at
 malloc.c:5758
 #5  0x00a2cc10 in *__GI___libc_free (mem=0x9d6aa88) at malloc.c:3541
 #6  0x005b14b0 in DLFreeList (list=0x9ccb688) at dllist.c:69
 #7  0x005a29ae in closePGconn (conn=0xb587d70) at fe-connect.c:2119
 #8  0x005a2c05 in PQfinish (conn=0xb587d70) at fe-connect.c:2148
 #9  0x0013f004 in Ns_PgExec (handle=0x97b35b8, sql=0xefca8a8 "select
 sec_id_seq.nextval") at nspostgres.c:368
 #10 0x001337af in Ns_DbExec (handle=0x97b35b8, sql=0xefca8a8 "select
 sec_id_seq.nextval") at dbdrv.c:415
 #11 0x001336d0 in Ns_DbSelect (handle=0x97b35b8, sql=0xefca8a8 "select
 sec_id_seq.nextval") at dbdrv.c:372
 #12 0x00137381 in Ns_Db0or1Row (handle=0x97b35b8, sql=0xefca8a8 "select
 sec_id_seq.nextval", nrows=0xb6d11af4) at dbutil.c:103
 #13 0x00141b13 in PgBindCmd (dummy=0x0, interp=0xeb49d58, argc=4,
 argv=0xb6d11c38) at nspostgres.c:1628
 #14 0x00209145 in TclInvokeStringCommand (clientData=0xeb64818,
 interp=0xeb49d58, objc=4, objv=0xb6d11e5c) at
 ./../generic/tclBasic.c:1778
 #15 0x0020a7c5 in TclEvalObjvInternal (interp=0xeb49d58, objc=4,
 objv=0xb6d11e5c, command=0x29d072 "", length=0, flags=262144)
     at ./../generic/tclBasic.c:3088
 
 Best regards
 Agnieszka Kukalowicz


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to