[php-maint] Bug#329799: php4-pear: Segfault when doing pear upgrade-all

Nicholas Fechner fechner at ponton-consulting.de
Fri Sep 23 13:04:32 UTC 2005


Package: php4-pear
Version: 4:4.3.10-16
Severity: important

When I run "pear list-upgrades", I get:

Available Upgrades (stable):
============================
Package     Local          Remote         Size
Archive_Tar 1.1 (stable)   1.3.1 (stable) 14.8kB
DB          1.6.2 (stable) 1.7.6 (stable) 122kB
HTTP        1.2.2 (stable) 1.3.6 (stable) 4.7kB
Mail        1.1.3 (stable) 1.1.9 (stable) 16.1kB
Net_SMTP    1.2.6 (stable) 1.2.7 (stable) 10.1kB
Net_Socket  1.0.1 (stable) 1.0.6 (stable) 4.5kB
PEAR        1.3.2 (stable) 1.4.0 (stable) 261kB
XML_Parser  1.0.1 (stable) 1.2.6 (stable) 12.7kB
XML_RPC     1.1.0 (stable) 1.4.2 (stable) 27kB

But when I try to do " pear -vvv upgrade-all" I get a segfault:

Will upgrade archive_tar
Will upgrade db
Will upgrade http
Will upgrade mail
Will upgrade net_smtp
Will upgrade net_socket
Will upgrade pear
Will upgrade xml_parser
Will upgrade xml_rpc
+ tmp dir created at /tmp/tmpPDaXEE
downloading Archive_Tar-1.3.1.tgz ...
Starting to download Archive_Tar-1.3.1.tgz (15,102 bytes)
.....done: 15,102 bytes
+ tmp dir created at /tmp/tmpvQTiMI
downloading DB-1.7.6.tgz ...
Starting to download DB-1.7.6.tgz (124,807 bytes)
...done: 124,807 bytes
+ tmp dir created at /tmp/tmpNInPtl
downloading HTTP-1.3.6.tgz ...
Starting to download HTTP-1.3.6.tgz (4,805 bytes)
...done: 4,805 bytes
+ tmp dir created at /tmp/tmpNDPJzV
downloading Mail-1.1.9.tgz ...
Starting to download Mail-1.1.9.tgz (16,411 bytes)
...done: 16,411 bytes
+ tmp dir created at /tmp/tmp1I8YMe
downloading Net_SMTP-1.2.7.tgz ...
Starting to download Net_SMTP-1.2.7.tgz (10,240 bytes)
...done: 10,240 bytes
+ tmp dir created at /tmp/tmpdHkOZz
downloading Net_Socket-1.0.6.tgz ...
Starting to download Net_Socket-1.0.6.tgz (4,623 bytes)
...done: 4,623 bytes
+ tmp dir created at /tmp/tmpv6eEYJ
downloading PEAR-1.4.0.tgz ...
Starting to download PEAR-1.4.0.tgz (266,597 bytes)
...done: 266,597 bytes
+ tmp dir created at /tmp/tmpbCpCUy
downloading XML_Parser-1.2.6.tgz ...
Starting to download XML_Parser-1.2.6.tgz (12,944 bytes)
...done: 12,944 bytes
+ tmp dir created at /tmp/tmpV0iQdm
downloading XML_RPC-1.4.2.tgz ...
Starting to download XML_RPC-1.4.2.tgz (27,050 bytes)
...done: 27,050 bytes
Segmentation fault


A strace shows (just the last few lines):

getcwd("/root", 4096)                   = 6
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=130, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/php", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/php/PEAR", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
lstat64("/usr/share/php/PEAR/Dependency.php", {st_mode=S_IFREG|0644,
st_size=167 29, ...}) = 0
open("/usr/share/php/PEAR/Dependency.php", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=16729, ...}) = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=16729, ...}) = 0
lseek(7, 0, SEEK_CUR)                   = 0
lseek(7, 0, SEEK_SET)                   = 0
close(7)                                = 0
close(3)                                = 0
brk(0)                                  = 0x875d000
brk(0x877e000)                          = 0x877e000
brk(0)                                  = 0x877e000
brk(0x879f000)                          = 0x879f000
brk(0)                                  = 0x879f000
brk(0x87c0000)                          = 0x87c0000
brk(0)                                  = 0x87c0000
brk(0x87e1000)                          = 0x87e1000
brk(0)                                  = 0x87e1000
brk(0x8802000)                          = 0x8802000
brk(0)                                  = 0x8802000
brk(0x8823000)                          = 0x8823000
brk(0)                                  = 0x8823000
brk(0x8844000)                          = 0x8844000
brk(0)                                  = 0x8844000
brk(0x8865000)                          = 0x8865000
brk(0)                                  = 0x8865000
brk(0x8886000)                          = 0x8886000
brk(0)                                  = 0x8886000
brk(0x88a7000)                          = 0x88a7000
brk(0)                                  = 0x88a7000
brk(0x88c8000)                          = 0x88c8000
brk(0)                                  = 0x88c8000
brk(0x88e9000)                          = 0x88e9000
brk(0)                                  = 0x88e9000
brk(0x890a000)                          = 0x890a000
brk(0)                                  = 0x890a000
brk(0x892b000)                          = 0x892b000
brk(0)                                  = 0x892b000
brk(0x894c000)                          = 0x894c000
brk(0)                                  = 0x894c000
brk(0x896d000)                          = 0x896d000
brk(0)                                  = 0x896d000
brk(0x898e000)                          = 0x898e000
brk(0)                                  = 0x898e000
brk(0x89af000)                          = 0x89af000
brk(0)                                  = 0x89af000
brk(0x89d0000)                          = 0x89d0000
brk(0)                                  = 0x89d0000
brk(0x89f1000)                          = 0x89f1000
brk(0)                                  = 0x89f1000
brk(0x8a12000)                          = 0x8a12000
brk(0)                                  = 0x8a12000
brk(0x8a33000)                          = 0x8a33000
brk(0)                                  = 0x8a33000
brk(0x8a54000)                          = 0x8a54000
brk(0)                                  = 0x8a54000
brk(0x8a75000)                          = 0x8a75000
brk(0)                                  = 0x8a75000
brk(0x8a96000)                          = 0x8a96000
brk(0)                                  = 0x8a96000
brk(0x8ab7000)                          = 0x8ab7000
brk(0)                                  = 0x8ab7000
brk(0x8ad8000)                          = 0x8ad8000
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x b72e4000
brk(0)                                  = 0x8ad8000
brk(0x8af9000)                          = 0x8af9000
brk(0)                                  = 0x8af9000
brk(0x8b1a000)                          = 0x8b1a000
brk(0)                                  = 0x8b1a000
brk(0x8b3b000)                          = 0x8b3b000
brk(0)                                  = 0x8b3b000
brk(0x8b5c000)                          = 0x8b5c000
brk(0)                                  = 0x8b5c000
brk(0x8b7d000)                          = 0x8b7d000
brk(0)                                  = 0x8b7d000
brk(0x8b9e000)                          = 0x8b9e000
brk(0)                                  = 0x8b9e000
brk(0x8bbf000)                          = 0x8bbf000
brk(0)                                  = 0x8bbf000
brk(0x8be0000)                          = 0x8be0000
brk(0)                                  = 0x8be0000
brk(0x8c01000)                          = 0x8c01000
mmap2(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x b72af000
brk(0)                                  = 0x8c01000
brk(0x8c22000)                          = 0x8c22000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


If you need more information, let me know.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php4-pear depends on:
ii  php4-cli                     4:4.3.10-16 command-line interpreter for the p
ii  php4-common                  4:4.3.10-16 Common files for packages built fr

-- no debconf information




More information about the pkg-php-maint mailing list