php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6510 PHP crashes when error occurs
Submitted: 2000-09-03 04:16 UTC Modified: 2000-12-30 11:54 UTC
From: goba@php.net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.2 OS: Win2000
Private report: No CVE-ID: None
 [2000-09-03 04:16 UTC] goba@php.net
PHP crashes when an error occurs. A test program for
this:

<?php
  mysql_connect("localhost","catalog","catalog");
?>

error_reporting is on 
track_errors is on
log_errors is off

I have seen that Zeev done something in main.c doing this :(

There is no hangup, if I disable error_reporting, ex.:
@mysql_connect("localhost","catalog","catalog");


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-03 04:18 UTC] goba@php.net
Missed from the first explanation: PHP crashes if MySQL is not running (this is the error in mysql_connect).
 [2000-11-21 04:20 UTC] sniper@php.net
Does this happen also with PHP 4.0.3pl1 ?
Or latest CVS ?

--Jani
 [2000-12-30 11:54 UTC] sniper@php.net
No feedback., considered fixed.

--Jani

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC