Bug #79124 [Opn->Dup]: Failed to init .Net runtime

[email protected]
Newsgroups gmane.comp.php.quality-assurance
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=79124&edit=1

 ID:                 79124
 Updated by:         [email protected]
 Reported by:        v-altruo at microsoft dot com
 Summary:            Failed to init .Net runtime
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows Server 2016
 PHP Version:        7.3.14RC1
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

This looks like a duplicate of bug #79123.


Previous Comments:
------------------------------------------------------------------------
[2020-01-15 18:17:49] v-altruo at microsoft dot com

Description:
------------
Test fails for x64 builds (did not have x86 machine to test this) regardless of nts/ts and opcache on/off. It also fails for php-7.4.2RC1.

Failed Test Location: ext\com_dotnet\tests\bug77177.phpt


Same output as: https://bugs.php.net/bug.php?id=79123

Expected result:
----------------
Exception: Serialization of 'com' is not allowed
Exception: Serialization of 'dotnet' is not allowed
Exception: Serialization of 'variant' is not allowed
Exception: Unserialization of 'com' is not allowed
Exception: Unserialization of 'dotnet' is not allowed
Exception: Unserialization of 'variant' is not allowed

Warning: Erroneous data format for unserializing 'com' in %s on line %d

Notice: unserialize(): Error at offset 13 of 14 bytes in %s on line %d
bool(false)

Warning: Erroneous data format for unserializing 'dotnet' in %s on line %d

Notice: unserialize(): Error at offset 16 of 17 bytes in %s on line %d
bool(false)

Warning: Erroneous data format for unserializing 'variant' in %s on line %d

Notice: unserialize(): Error at offset 17 of 18 bytes in %s on line %d
bool(false)
===DONE===

Actual result:
--------------
Fatal error: Uncaught com_exception: Failed to init .Net runtime [CoCreateInstance] Class not registered
 in C:\..\php-test-pack-7.3.14RC1\ext\com_dotnet\tests\bug77177.php:3
Stack trace:
#0 C:\..\php-test-pack-7.3.14RC1\ext\com_dotnet\tests\bug77177.php(3): dotnet->dotnet('mscorlib', 'System.Collecti...')
#1 {main}
  thrown in C:\..\php-test-pack-7.3.14RC1\ext\com_dotnet\tests\bug77177.php on line 3


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=79124&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.