RE: [PHP] Segmentation Fault

This is a discussion on RE: [PHP] Segmentation Fault within the PHP General forums, part of the PHP Programming Forums category; [snip] I am running a PHP script from the command line that is returning "Segmentation Fault". I run ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-15-2003
Jay Blanchard
 
Posts: n/a
Default RE: [PHP] Segmentation Fault

[snip]
I am running a PHP script from the command line that is returning
"Segmentation Fault". I run a lot of script from the command line and
have
never seen this before. I don't even know where to begin.

I know that PHP is set up to run scripts from the command line and plent
of
other scripts run.

This particular script is not doing anything out of the ordinary. It is

opening a database connection, opening a .csv file and inserting rows
into
the database. How in the world could this Seg Fault?
[/snip]

segmentation fault: n.
[Unix]

1. [techspeak] An error in which a running program attempts to access
memory not allocated to it and core dumps with a segmentation violation
error. This is often caused by improper usage of pointers in the source
code, dereferencing a null pointer, or (in C) inadvertently using a
non-pointer variable as a pointer.

This script has no doubt worked before, so some other codition exists.
Things like this are generally created by infinite loops or improper
variables.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0