Activity log for bug #880756

Date Who What changed Old value New value Message
2011-10-24 09:47:22 Laurent POLESE bug added bug
2011-10-24 09:49:22 Laurent POLESE description I reproduced this problem on 2 very different computers. Running this simple php script makes apache to seg fault : <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://google.fr'); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,15); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT,30); echo(curl_exec($ch)); curl_close($ch); Here is the trace I get : fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 mmap(NULL, 418, PROT_READ, MAP_SHARED, 48, 0) = 0x7fdac3b1f000 munmap(0x7fdac3b1f000, 418) = 0 close(48) = 0 stat("/tmp/cachegrind.out.6982", 0x7fffe57b85d0) = -1 ENOENT (No such file or directory) open("/tmp/cachegrind.out.6982", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 48 flock(48, LOCK_EX|LOCK_NB) = 0 fstat(48, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdac3b1f000 write(48, "version: 1\ncreator: xdebug 2.1.2"..., 115) = 115 write(48, "fl=php:internal\nfn=php::curl_ini"..., 34) = 34 write(48, "10 40\n\n", 7) = 7 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "11 5\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "12 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "13 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "14 0\n\n", 6) = 6 --- SIGSEGV (Segmentation fault) @ 0 (0) --- chdir("/*****/apache2-gdb-dump/") = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7fdac917f060}, {SIG_DFL, [], SA_RESTORER|SA_RESETHAND, 0x7fdac917f060}, 8) = 0 kill(6982, SIGSEGV) = 0 rt_sigreturn(0x1b46) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Here are binary versions Ubuntu 11.10 PHP 5.3.6-13ubuntu3.2 with Suhosin-Patch (cli) (built: Oct 13 2011 23:09:42) Server version: Apache/2.2.20 (Ubuntu) curl 7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 Regards Laurent I reproduced this problem on 2 very different computers. Running this simple php script makes apache to seg fault : <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://google.fr'); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,15); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT,30); echo(curl_exec($ch)); curl_close($ch); Here is the trace I get : fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 mmap(NULL, 418, PROT_READ, MAP_SHARED, 48, 0) = 0x7fdac3b1f000 munmap(0x7fdac3b1f000, 418) = 0 close(48) = 0 stat("/tmp/cachegrind.out.6982", 0x7fffe57b85d0) = -1 ENOENT (No such file or directory) open("/tmp/cachegrind.out.6982", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 48 flock(48, LOCK_EX|LOCK_NB) = 0 fstat(48, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdac3b1f000 write(48, "version: 1\ncreator: xdebug 2.1.2"..., 115) = 115 write(48, "fl=php:internal\nfn=php::curl_ini"..., 34) = 34 write(48, "10 40\n\n", 7) = 7 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "11 5\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "12 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "13 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "14 0\n\n", 6) = 6 --- SIGSEGV (Segmentation fault) @ 0 (0) --- chdir("/*****/apache2-gdb-dump/") = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7fdac917f060}, {SIG_DFL, [], SA_RESTORER|SA_RESETHAND, 0x7fdac917f060}, 8) = 0 kill(6982, SIGSEGV) = 0 rt_sigreturn(0x1b46) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Here are binary versions Ubuntu 11.10 PHP 5.3.6-13ubuntu3.2 with Suhosin-Patch (cli) (built: Oct 13 2011 23:09:42) Server version: Apache/2.2.20 (Ubuntu) curl 7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 Regards Laurent EDIT : forgot to mention, same script works just fine launched in cli.
2011-10-25 11:44:37 Haitao Li bug added subscriber Haitao Li
2011-10-28 16:03:55 Haitao Li curl (Ubuntu): status New Incomplete
2011-10-31 07:12:07 Laurent POLESE tags apport-collected oneiric
2011-10-31 07:12:08 Laurent POLESE description I reproduced this problem on 2 very different computers. Running this simple php script makes apache to seg fault : <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://google.fr'); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,15); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT,30); echo(curl_exec($ch)); curl_close($ch); Here is the trace I get : fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 mmap(NULL, 418, PROT_READ, MAP_SHARED, 48, 0) = 0x7fdac3b1f000 munmap(0x7fdac3b1f000, 418) = 0 close(48) = 0 stat("/tmp/cachegrind.out.6982", 0x7fffe57b85d0) = -1 ENOENT (No such file or directory) open("/tmp/cachegrind.out.6982", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 48 flock(48, LOCK_EX|LOCK_NB) = 0 fstat(48, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdac3b1f000 write(48, "version: 1\ncreator: xdebug 2.1.2"..., 115) = 115 write(48, "fl=php:internal\nfn=php::curl_ini"..., 34) = 34 write(48, "10 40\n\n", 7) = 7 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "11 5\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "12 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "13 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "14 0\n\n", 6) = 6 --- SIGSEGV (Segmentation fault) @ 0 (0) --- chdir("/*****/apache2-gdb-dump/") = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7fdac917f060}, {SIG_DFL, [], SA_RESTORER|SA_RESETHAND, 0x7fdac917f060}, 8) = 0 kill(6982, SIGSEGV) = 0 rt_sigreturn(0x1b46) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Here are binary versions Ubuntu 11.10 PHP 5.3.6-13ubuntu3.2 with Suhosin-Patch (cli) (built: Oct 13 2011 23:09:42) Server version: Apache/2.2.20 (Ubuntu) curl 7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 Regards Laurent EDIT : forgot to mention, same script works just fine launched in cli. I reproduced this problem on 2 very different computers. Running this simple php script makes apache to seg fault : <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://google.fr'); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,15); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT,30); echo(curl_exec($ch)); curl_close($ch); Here is the trace I get : fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 fstat(48, {st_mode=S_IFREG|0664, st_size=418, ...}) = 0 mmap(NULL, 418, PROT_READ, MAP_SHARED, 48, 0) = 0x7fdac3b1f000 munmap(0x7fdac3b1f000, 418) = 0 close(48) = 0 stat("/tmp/cachegrind.out.6982", 0x7fffe57b85d0) = -1 ENOENT (No such file or directory) open("/tmp/cachegrind.out.6982", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 48 flock(48, LOCK_EX|LOCK_NB) = 0 fstat(48, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdac3b1f000 write(48, "version: 1\ncreator: xdebug 2.1.2"..., 115) = 115 write(48, "fl=php:internal\nfn=php::curl_ini"..., 34) = 34 write(48, "10 40\n\n", 7) = 7 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "11 5\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "12 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "13 0\n\n", 6) = 6 write(48, "fl=php:internal\nfn=php::curl_set"..., 36) = 36 write(48, "14 0\n\n", 6) = 6 --- SIGSEGV (Segmentation fault) @ 0 (0) --- chdir("/*****/apache2-gdb-dump/") = 0 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7fdac917f060}, {SIG_DFL, [], SA_RESTORER|SA_RESETHAND, 0x7fdac917f060}, 8) = 0 kill(6982, SIGSEGV) = 0 rt_sigreturn(0x1b46) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Here are binary versions Ubuntu 11.10 PHP 5.3.6-13ubuntu3.2 with Suhosin-Patch (cli) (built: Oct 13 2011 23:09:42) Server version: Apache/2.2.20 (Ubuntu) curl 7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 Regards Laurent EDIT : forgot to mention, same script works just fine launched in cli. --- ApportVersion: 1.23-0ubuntu3 Architecture: amd64 DistroRelease: Ubuntu 11.10 InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427) NonfreeKernelModules: fglrx Package: curl 7.21.6-3ubuntu3 PackageArchitecture: amd64 ProcEnviron: LANGUAGE= LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Tags: oneiric Uname: Linux 3.0.0-12-generic x86_64 UpgradeStatus: Upgraded to oneiric on 2011-10-15 (16 days ago) UserGroups: adm admin cdrom dialout lp lpadmin netdev plugdev sambashare www-data
2011-10-31 07:12:09 Laurent POLESE attachment added Dependencies.txt https://bugs.launchpad.net/bugs/880756/+attachment/2579810/+files/Dependencies.txt
2011-10-31 17:35:52 Haitao Li curl (Ubuntu): status Incomplete New
2011-11-23 18:26:33 Launchpad Janitor curl (Ubuntu): status New Confirmed
2011-11-23 19:22:51 Alex Frenkel bug added subscriber Alex Frenkel
2012-01-10 00:20:50 its me bug added subscriber its me
2012-03-10 20:36:58 Samuel Carlier bug added subscriber Samuel Carlier