php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35489 Memory crash
Submitted: 2005-11-30 14:03 UTC Modified: 2005-11-30 14:04 UTC
From: dark_soul279 at hotmail dot com Assigned:
Status: Not a bug Package: COM related
PHP Version: 5.1.1 OS: Windows 2000
Private report: No CVE-ID: None
 [2005-11-30 14:03 UTC] dark_soul279 at hotmail dot com
Description:
------------
I placed php.ini (recommended version) in the same path as the executable that was going to run the script.
My program uses Microsoft Script Control and i have a class module which i use to collect feedback from my scripts.
I add the class module as an object using
Dim rep as class1
set rep = new class1
ScriptControl1.AddObject "rep",rep,false

(reply is a method in the class module)
hence, rep.reply "hello world" will display a message box
saying "hello world"
the script doesn't run and when the program exits
php crashes with a memory cannot be read error message.
also, the same thing happens with WScript but it displays the message and when the script ends PHP crashes

Reproduce code:
---------------
$rep->reply("Hello world");

Expected result:
----------------
message box appears saying Hello World

Actual result:
--------------
php crashes with memory cannot be read error

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-30 14:04 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC