php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15253 The console version of php crashes
Submitted: 2002-01-28 06:42 UTC Modified: 2002-06-15 09:50 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: Zydox at Smurfa dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.1.1 OS: Linux Red Hat 7.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Zydox at Smurfa dot com
New email:
PHP Version: OS:

 

 [2002-01-28 06:42 UTC] Zydox at Smurfa dot com
Hello... I love PHP... = )
But now I've got a problem... when I load a lot of data from MySQL into the Console version of PHP (around 3-400MB) the PHP krashes when the script has ended... 

I guess it's when the PHP are freeing all data... Here is what the output is...

"<br>
<b>Fatal error</b>:  Maximum execution time of 30 seconds exceeded in <b>Unknown</b> on line <b>0</b><br>
Segmentation fault (core dumped)"

The script does what IT should... so it doesen't krash untill it's completed... The PHP even close down the MySQL Connection before it crashes... But I realy don't wanna have a 400MB core file afterwards... = )

// Zydox [Erik Persson]
   Stockholm, Sweden
   (sorry about my bad english)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-28 07:03 UTC] bate@php.net
Please make an example script to reproduce this Coredump.

Try lates CVS Snap from http://snaps.php.net
 [2002-01-28 07:35 UTC] mfischer@php.net
Do you really need the execution time when using the console script? Try to remove the maximum execution time with set_time_limit(0) and see if the problem still occurs.
 [2002-01-28 09:35 UTC] Zydox at Smurfa dot com
---> mfischer@php.net
I'm using set_time_limit (3600); though the page only takes 560 seconds to execute...
// Zydox
 [2002-06-15 09:50 UTC] derick@php.net
This should be fixed in CVS. Can you try the latest NON-stable snapshot from snaps.php.net and reopen this bug if the problem still persists.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 23:01:29 2025 UTC