Re: Apache with PHP and PGSQL crashing ...

From: Thomas Seifert <TS77(at)gmx(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Apache with PHP and PGSQL crashing ...
Date: 2001-06-18 20:24:24
Message-ID: 5.1.0.14.2.20010618222245.0341d6f0@pop.gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 17:23 18.06.2001, you wrote:
>Thomas Seifert <TS77(at)gmx(dot)de> writes:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x400252ef in resetPQExpBuffer () from /usr/local/pgsql/lib/libpq.so.2
>
> > Do you have any idea what went wrong?
>
>No ... could we see a debugger backtrace from the core dump?

I don't know if I did it right:

I made '"gdb httpd;r -X" and as it segfaults I made "where" or "back"
(produced the same output).
If I made it wrong please give me some instructions ...

The output was:
#0 0x400252ef in resetPQExpBuffer () from /usr/local/pgsql/lib/libpq.so.2
#1 0x4002537d in printfPQExpBuffer () from /usr/local/pgsql/lib/libpq.so.2
#2 0x400213e7 in PQgetResult () from /usr/local/pgsql/lib/libpq.so.2
#3 0x40021467 in PQexec () from /usr/local/pgsql/lib/libpq.so.2
#4 0x80eafa3 in _rollback_transactions (rsrc=0x8378268) at pgsql.c:168
#5 0x8146ee4 in zend_hash_apply (ht=0x82c0ad4,
apply_func=0x80eaf80 <_rollback_transactions>) at zend_hash.c:692
#6 0x80eb140 in php_rshutdown_pgsql (type=1, module_number=20) at pgsql.c:246
#7 0x8144409 in module_registry_cleanup (module=0x831bcf8) at zend_API.c:785
#8 0x8146ee4 in zend_hash_apply (ht=0x82c0c80,
apply_func=0x81443dc <module_registry_cleanup>) at zend_hash.c:692
#9 0x81437d4 in zend_deactivate_modules () at zend.c:522
#10 0x80be0b0 in php_request_shutdown (dummy=0x0) at main.c:670
#11 0x80bbf80 in php_apache_request_shutdown ()
#12 0x81723f9 in run_cleanups ()
#13 0x817091d in ap_clear_pool ()
#14 0x817099f in ap_destroy_pool ()
#15 0x8181703 in child_main ()
#16 0x8181881 in make_child ()
#17 0x81819fc in startup_children ()
#18 0x818206c in standalone_main ()
#19 0x81828bc in main ()
#20 0x40162a42 in __libc_start_main () from /lib/libc.so.6

Regards,

Thomas

> regards, tom lane

--
Thomas Seifert
mailto:ts77(at)gmx(dot)de

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Konstantinos Agouros 2001-06-18 20:26:22 General Security-Question
Previous Message Konstantinos Agouros 2001-06-18 20:15:22 Re: jdbc-question...