php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70383 Segmentation fault
Submitted: 2015-08-28 18:01 UTC Modified: 2015-09-06 04:22 UTC
From: rodsouza at pr dot gov dot br Assigned:
Status: No Feedback Package: Output Control
PHP Version: 7.0.0RC1 OS: Debian 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 - 4 = ?
Subscribe to this entry?

 
 [2015-08-28 18:01 UTC] rodsouza at pr dot gov dot br
Description:
------------
.

Actual result:
--------------
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/php...done.
(gdb) run
Starting program: /usr/bin/php core/imap.php
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
zend_mm_shutdown (heap=0x7ffff5800040, full=1, silent=<optimized out>) at /root/INSTALL/PHP/php-src/Zend/zend_alloc.c:2143
2143                    list = list->next;
(gdb) zbacktrace
Undefined command: "zbacktrace".  Try "help".
(gdb) backtrace
#0  zend_mm_shutdown (heap=0x7ffff5800040, full=1, silent=<optimized out>) at /root/INSTALL/PHP/php-src/Zend/zend_alloc.c:2143
#1  0x000000000067d8ab in php_module_shutdown () at /root/INSTALL/PHP/php-src/main/main.c:2355
#2  0x0000000000434679 in main (argc=2, argv=0xeba820) at /root/INSTALL/PHP/php-src/sapi/cli/php_cli.c:1353
(gdb) frame 0
#0  zend_mm_shutdown (heap=0x7ffff5800040, full=1, silent=<optimized out>) at /root/INSTALL/PHP/php-src/Zend/zend_alloc.c:2143
2143                    list = list->next;
(gdb) frame 1
#1  0x000000000067d8ab in php_module_shutdown () at /root/INSTALL/PHP/php-src/main/main.c:2355
2355            shutdown_memory_manager(CG(unclean_shutdown), 1);
(gdb) frame 2
#2  0x0000000000434679 in main (argc=2, argv=0xeba820) at /root/INSTALL/PHP/php-src/sapi/cli/php_cli.c:1353
1353                    php_module_shutdown();
(gdb) 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-29 03:36 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2015-08-29 03:36 UTC] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2015-09-06 04:22 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 05:05:54 2022 UTC