Forum Moderators: coopster

Message Too Old, No Replies

how odd, a segmentation fault

php cli segmentation fault

         

nosanity

6:45 pm on Apr 8, 2003 (gmt 0)

10+ Year Member



When trying to do OCILogon using php-cli, I am getting a segmentation fault... but on the same machine, the php apache module works just fine.

Any ideas? and no, I can't find the core file... it doesn't create one (which makes things much...MUCH harder to fix)

noSanty

jatar_k

7:10 pm on Apr 8, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I wandered through bugs.php.net looking for possiblities. There seem to be some seg faults with OCILogon but I don't know if there may be some info in there that might help.

I run Oracle 8 but not through php-cli so I am not sure what you might have to do differently.

jatar_k

7:14 pm on Apr 8, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



maybe try searching bugs for this

"20249 Feedback Apache child segfaults when using OCILogon"

not sure if that is the right one or not.

eaden

4:45 am on Apr 9, 2003 (gmt 0)

10+ Year Member



It may depend on the code you are writing. The fact that it doesn't segfault on the apache mod, may just be good luck.

Check your RAM if all else fails.

I was writing some code that had a recursive function, and it segfaulted php. The cause was my code.

nosanity

12:21 am on Apr 13, 2003 (gmt 0)

10+ Year Member



YEAH! Finally... I had to preload the libraries using a shell script. Now it works just peachy...

noSanity