Public bug reported:

Binary package hint: php5

Ok, my script is very ugly, but I think it should not crash the PHP
interpreter.

I am attaching a PHP script in this bug report. It causes a crash either
when running from CLI or from an Apache server.

Environments tested:

#1 (running an Apache server)
Ubuntu Gutsy x86
apache2-mpm-prefork 2.2.4-3ubuntu0.1
libapache2-mod-php5 5.2.3-1ubuntu6.3

#2 (running from command line)
Debian Etch x86
php5-cli 5.2.0-8+etch10

#3 (running an Apache server)
Debian Etch x86
apache2-mpm-prefork 2.2.3-4+etch4
libapache2-mod-php5 5.2.0-8+etch10

#4 (running an Apache server)
Debian Etch x86
apache 1.3.34-4.1+etch1
libapache-mod-php4 4.4.4-8+etch4

#5 (running an Apache server)
Ubuntu Gutsy x86_64
apache2-mpm-prefork 2.2.4-3ubuntu0.1
libapache2-mod-php5 5.2.3-1ubuntu6.3


All of them generated a SIGSEGV:

#1
[Tue Apr 01 17:00:25 2008] [notice] child pid 8251 exit signal Segmentation 
fault (11)
[Tue Apr 01 17:00:25 2008] [notice] child pid 9531 exit signal Segmentation 
fault (11)
[Tue Apr 01 17:00:25 2008] [notice] child pid 10964 exit signal Segmentation 
fault (11)

#2 
$ php php-SIGSEGV.php
Segmentation Fault
$

#3
[Tue Apr 01 16:58:52 2008] [notice] child pid 32095 exit signal Segmentation 
fault (11)

#4
[Tue Apr  1 17:35:22 2008] [notice] child pid 22088 exit signal Segmentation 
fault (11)
[Tue Apr  1 17:35:22 2008] [notice] child pid 22968 exit signal Segmentation 
fault (11)
[Tue Apr  1 17:35:22 2008] [notice] child pid 24165 exit signal Segmentation 
fault (11)

#5
[Tue Apr 01 17:40:46 2008] [notice] child pid 3890 exit signal Segmentation 
fault (11)

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
PHP crashes when running my sample script
https://bugs.launchpad.net/bugs/210461
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to