php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57766 Constructor without parameters crashes server
Submitted: 2007-08-02 05:02 UTC Modified: 2007-08-06 11:28 UTC
From: vincent dot hoen at gmail dot com Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.1 OS: windows xp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vincent dot hoen at gmail dot com
New email:
PHP Version: OS:

 

 [2007-08-02 05:02 UTC] vincent dot hoen at gmail dot com
Description:
------------
Instanciating Imagick without parameters causes the server to crash.

Reproduce code:
---------------
$image = new Imagick();

Actual result:
--------------
Here is the apache logs' section corresponding to imagick instanciation


[Tue Jul 31 16:10:13 2007] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Tue Jul 31 16:10:14 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3
configured -- resuming normal operations
[Tue Jul 31 16:10:14 2007] [notice] Server built: Jan  9 2007 23:17:20
[Tue Jul 31 16:10:14 2007] [notice] Parent: Created child process 2328
[Tue Jul 31 16:10:14 2007] [notice] Child 2328: Child process is
running
[Tue Jul 31 16:10:14 2007] [notice] Child 2328: Acquired the start
mutex.
[Tue Jul 31 16:10:14 2007] [notice] Child 2328: Starting 250 worker
threads.
[Tue Jul 31 16:10:14 2007] [notice] Child 2328: Starting thread to
listen on port 80.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-02 08:56 UTC] mkoppanen@php.net
I am unable to reproduce this bug on windows. Can you attach Imagick version? (it can be found in phpinfo())
 [2007-08-02 09:32 UTC] vincent dot hoen at gmail dot com
Php and Imagick version on which bug occurs : 
Php : 5.2.3
Imagick 2.0.0-beta3
 [2007-08-06 09:14 UTC] mkoppanen@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 [2007-08-06 11:28 UTC] vincent dot hoen at gmail dot com
Thanks for the fix. It is now working
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC