|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2016-11-18 11:16 UTC] minenok at tutu dot ru
[2019-07-21 19:40 UTC] php at delegated dot net
[2020-09-14 15:33 UTC] cmb@php.net
-Status: Open
+Status: Analyzed
-Assigned To:
+Assigned To: cmb
[2020-09-14 15:33 UTC] cmb@php.net
[2020-09-14 15:55 UTC] cmb@php.net
[2020-09-15 14:53 UTC] cmb@php.net
-Status: Analyzed
+Status: Closed
[2020-09-15 14:53 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
Description: ------------ Just using mailparse_msg_parse_file. File is valid. Works in console, works in 2-line script in Apache. Doesn't work in a big app. Btw, part is equal to 0 when coming to php_mimepart_free. (gdb) bt #0 php_mimepart_free (part=0x0) at /var/tmp/mailparse/php_mailparse_mime.c:327 #1 0x00007ffff1a37bfd in zend_hash_destroy (ht=0x7fffcd662558) at /usr/src/debug/php-7.0.13/Zend/zend_hash.c:1265 #2 0x00007fffd6d6d663 in php_mimepart_free (part=0x7fffcd662540) at /var/tmp/mailparse/php_mailparse_mime.c:334 #3 0x00007ffff1a3eff7 in zend_resource_dtor (res=<value optimized out>) at /usr/src/debug/php-7.0.13/Zend/zend_list.c:76 #4 0x00007ffff1a3f033 in zend_close_rsrc (zv=<value optimized out>) at /usr/src/debug/php-7.0.13/Zend/zend_list.c:230 #5 0x00007ffff1a36532 in zend_hash_reverse_apply (ht=0x7ffff1e12b18, apply_func=0x7ffff1a3f020 <zend_close_rsrc>) at /usr/src/debug/php-7.0.13/Zend/zend_hash.c:1629 #6 0x00007ffff1a1c6b3 in shutdown_executor () at /usr/src/debug/php-7.0.13/Zend/zend_execute_API.c:347 #7 0x00007ffff1a295b7 in zend_deactivate () at /usr/src/debug/php-7.0.13/Zend/zend.c:967 #8 0x00007ffff19cb1c2 in php_request_shutdown (dummy=<value optimized out>) at /usr/src/debug/php-7.0.13/main/main.c:1833 #9 0x00007ffff1ac0837 in php_apache_request_dtor (r=0x7ffff85da980) at /usr/src/debug/php-7.0.13/sapi/apache2handler/sapi_apache2.c:518 #10 php_handler (r=0x7ffff85da980) at /usr/src/debug/php-7.0.13/sapi/apache2handler/sapi_apache2.c:690 #11 0x00007ffff7fd64c0 in ap_run_handler (r=0x7ffff85da980) at /usr/src/debug/httpd-2.2.27/server/config.c:158 #12 0x00007ffff7fd9d4e in ap_invoke_handler (r=0x7ffff85da980) at /usr/src/debug/httpd-2.2.27/server/config.c:376 #13 0x00007ffff7fe532c in ap_internal_redirect (new_uri=<value optimized out>, r=<value optimized out>) at /usr/src/debug/httpd-2.2.27/modules/http/http_request.c:554 #14 0x00007fffef859965 in handler_redirect (r=0x7ffff85e2208) at /usr/src/debug/httpd-2.2.27/modules/mappers/mod_rewrite.c:4894 #15 0x00007ffff7fd64c0 in ap_run_handler (r=0x7ffff85e2208) at /usr/src/debug/httpd-2.2.27/server/config.c:158 #16 0x00007ffff7fd9d4e in ap_invoke_handler (r=0x7ffff85e2208) at /usr/src/debug/httpd-2.2.27/server/config.c:376 #17 0x00007ffff7fe54f0 in ap_process_request (r=0x7ffff85e2208) at /usr/src/debug/httpd-2.2.27/modules/http/http_request.c:282 #18 0x00007ffff7fe22d8 in ap_process_http_connection (c=0x7ffff85d1b38) at /usr/src/debug/httpd-2.2.27/modules/http/http_core.c:190 #19 0x00007ffff7fddfd8 in ap_run_process_connection (c=0x7ffff85d1b38) at /usr/src/debug/httpd-2.2.27/server/connection.c:43 #20 0x00007ffff7fea557 in child_main (child_num_arg=<value optimized out>) at /usr/src/debug/httpd-2.2.27/server/mpm/prefork/prefork.c:667 #21 0x00007ffff7fea836 in make_child (s=0x7ffff8212880, slot=0) at /usr/src/debug/httpd-2.2.27/server/mpm/prefork/prefork.c:712 #22 0x00007ffff7feae83 in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at /usr/src/debug/httpd-2.2.27/server/mpm/prefork/prefork.c:988 #23 0x00007ffff7fc1d55 in main (argc=4, argv=0x7fffffffe728) at /usr/src/debug/httpd-2.2.27/server/main.c:753 Test script: --------------- $x = mailparse_msg_parse_file('/some/file')