Your message dated Wed, 27 Jan 2016 12:10:43 +0100
with message-id 
<1453893043.1268168.503903778.228b3...@webmail.messagingengine.com>
and subject line Re: Bug#786957: php-cgi: segfault after exec
has caused the Debian Bug report #786957,
regarding php-cgi: segfault after exec
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
786957: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786957
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php-cgi
Version: php5-cgi
Severity: important

Dear Maintainer,

environment
Apache 2.4.10-10
libapache2-mod-fcgid 1:2.3.9-1+b1
php5-cgi 5.6.7+dfsg-1

---

By calling an php-file with exec statement I receive after 2nd to 3rd call 
errors like following line
[core:notice] [pid 22388] AH00052: child pid 22394 exit signal Segmentation 
fault (11)

After this it isn't able to successfully recall the file.

as an example
<?php
        echo exec('whoami');
?>

I tried this with several other commands, with the same result. 
I also tried to add exec to disabled_functions in php.ini and call the same 
file which results in segfault before, with disabled exec there isn't any 
problem (except there is no execution of course). 
And finaly I also tried to use popen instead of exec, with the same result 
(segfault).
So I'm pretty sure there is something strange with executions in general.


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Version: php5/5.6.7+dfsg-1

Requested information not provided after a long time, closing the bug.

-- 
Ondřej Surý <[email protected]>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

--- End Message ---

Reply via email to