#34662 [Opn->Fbk]: Segmetation fault at the end of execution
ID: 34662
Updated by: johannes@php.net
Reported By: nik at optim dot com dot ru
-Status: Open
+Status: Feedback
Bug Type: PostgreSQL related
Operating System: Fedora Core 4
PHP Version: 5.0.5
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Additionally it would be good if you could try to make a
short reproduce script which fails.
Previous Comments:
------------------------------------------------------------------------
[2005-09-27 19:17:08] nik at optim dot com dot ru
Description:
------------
My CLI scripts that use PostgreSQL function finish with
"segmentation fault". Besides that the entire process is what it should
be. Looks like the problem is somewhere in the very finalization.
The problem persists in RPM-versions
5.0.4-10.4, 5.0.4-10, 5.0.5.
Looks like there is nothing similar reported.
I googled the suggestion about SELECT permissions on
pg_ tables as a possible workaround. but it didn't help.
I noticed, that the problem appears when I use TCP/IP
connection to my Postgres daemon, i.e. with a hostname.
When I switch to a local socket connection, i.e. with NULL hostname,
the problem dissappeares.
5.0.4_2 version compiled for FreeBSD works fine.
Other scripts without postgres function call work fine.
Please, let me know what to do, I can try to compile different versions
and see what happens.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34662&edit=1
Thread (9 messages)