Bug #50722 [Fbk->NoF]: Memory corruption / SegFault with WSDL in-memory cache

From: Date: Sun, 21 Feb 2021 04:22:08 +0000
Subject: Bug #50722 [Fbk->NoF]: Memory corruption / SegFault with WSDL in-memory cache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232294@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=50722&edit=1

 ID:               50722
 Updated by:       php-bugs@lists.php.net
 Reported by:      meatloafninja at gmail dot com
 Summary:          Memory corruption / SegFault with WSDL in-memory cache
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          SOAP related
 Operating System: CentOS 5.x
 PHP Version:      5.2.12
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2021-02-11 21:39:17] cmb@php.net

If this is a duplicate of #71931, this is supposed to be fixed as of PHP 7.1.14 and 7.2.2,
respectively.

------------------------------------------------------------------------
[2016-11-02 23:02:45] gcarrette at wayfair dot com

Experienced this bug in PHP 7.0.12 and
posted a script to reproduce in Bug #71931
since that has a lot more recent activity.
My backtrace was

Program received signal SIGSEGV, Segmentation fault.
#0  zend_hash_destroy (ht=0x24dec60) at php-7.0.12/Zend/zend_hash.c:1278
#1  0x000000000061720e in delete_type_persistent (zv=<optimized out>) at
php-7.0.12/ext/soap/php_schema.c:2459
#2  0x000000000072f2dd in zend_hash_destroy (ht=0x2e23850) at php-7.0.12/Zend/zend_hash.c:1265
#3  0x000000000061e2a1 in delete_psdl_int (p=<optimized out>)  at
php-7.0.12/ext/soap/php_sdl.c:3130
#4  0x000000000061e30f in delete_psdl (zv=0x23b9c30) at php-7.0.12/ext/soap/php_sdl.c:3150
#5  0x000000000072f221 in zend_hash_destroy (ht=0x11652a0) at php-7.0.12/Zend/zend_hash.c:1284
#6  0x00000000005ef729 in zm_shutdown_soap (type=<optimized out>, module_number=23) at
php-7.0.12/ext/soap/soap.c:598
#7  0x00000000007252f3 in module_destructor (module=module@entry=0xf468c0) at
php-7.0.12/Zend/zend_API.c:2503
#8  0x000000000071de4c in module_destructor_zval (zv=<optimized out>) at
php-7.0.12/Zend/zend.c:615
#9  0x000000000072fd48 in _zend_hash_del_el_ex (prev=<optimized out>, p=<optimized out>,
idx=<optimized out>, ht=<optimized out>) at php-7.0.12/Zend/zend_hash.c:1026
#10 _zend_hash_del_el (p=0xf23500, idx=22, ht=0xf15e60 <module_registry>) at
php-7.0.12/Zend/zend_hash.c:1050
#11 zend_hash_graceful_reverse_destroy (ht=ht@entry=0xf15e60 <module_registry>) at
php-7.0.12/Zend/zend_hash.c:1502
#12 0x000000000072372c in zend_destroy_modules () at php-7.0.12/Zend/zend_API.c:1982
#13 0x000000000071edb5 in zend_shutdown () at php-7.0.12/Zend/zend.c:840
#14 0x00000000006c340b in php_module_shutdown () at php-7.0.12/main/main.c:2362
#15 0x0000000000435855 in main (argc=3, argv=0xf19c80) at php-7.0.12/sapi/cli/php_cli.c:135

------------------------------------------------------------------------
[2010-01-14 23:30:16] meatloafninja at gmail dot com

It is not fixed, I can still reproduce the segmentation fault with the snapshot version.

------------------------------------------------------------------------
[2010-01-13 13:34:10] srinatar@php.net

thanks for taking time to report this issue to us. can u please try to 
reproduce this issue with the latest snapshot. i am currently not able 
to reproduce with the latest snapshot. 

you can get the latest snapshot php source from

http://snaps.php.net/

For Windows:

http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2010-01-11 20:48:56] srinatar@php.net

sounds similar to bug #50675 (See Also)

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=50722


--
Edit this bug report at https://bugs.php.net/bug.php?id=50722&edit=1


Thread (7 messages)

« previous php.bugs (#232294) next »