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

Nicholas Fechner fechner at ponton-consulting.de
Fri Sep 23 14:42:41 UTC 2005


Ondrej Sury wrote:

>On Fri, 2005-09-23 at 15:55 +0200, Nicholas Fechner wrote:
>  
>
>>Adam Conrad wrote:
>>    
>>
>>>Nicholas Fechner wrote:
>>>
>>>      
>>>
>>>>But when I try to do " pear -vvv upgrade-all" I get a segfault:
>>>>
>>>>If you need more information, let me know.
>>>>        
>>>>
>>>A gdb backtrace of the segfault might be helpful.
>>>
>>>... Adam
>>>      
>>>
>>Hi,
>>how do I do that?
>>    
>>
>
>Run:
># gdb /usr/bin/php
>gdb> run -C -q -d include_path=/usr/share/php -d output_buffering=1 /usr/share/php/pearcmd.php -vvv upgrade-all
>
>after it crashes run:
>
>gdb> bt
>
>Ondrej.
>  
>
Ok, I went with Ondrej's version, since the one from Adam complained 
about not being able to find pear or something.

So here goes nothing:

(gdb) run -C -q -d include_path=/usr/share/php 
/usr/share/php/pearcmd.php -vvv upgrade-all
Starting program: /usr/bin/php -C -q -d include_path=/usr/share/php 
/usr/share/php/pearcmd.php -vvv upgrade-all
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
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/tmpOo0lKT
(no debugging symbols found)
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/tmpsmYe3d
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/tmpwiGd7z
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/tmpgibwYZ
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/tmpsNCPG7
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/tmp2sdepl
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/tmpMB61Ik
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/tmp4Y4cxU
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/tmpyCrDr7
downloading XML_RPC-1.4.2.tgz ...
Starting to download XML_RPC-1.4.2.tgz (27,050 bytes)
...done: 27,050 bytes

Program received signal SIGSEGV, Segmentation fault.
0x0819d926 in execute ()
(gdb) bt
#0  0x0819d926 in execute ()
#1  0x0819b235 in execute ()
#2  0x0819b235 in execute ()
#3  0x0819b235 in execute ()
#4  0x0819b235 in execute ()
#5  0x0819b235 in execute ()
#6  0x0819b235 in execute ()
#7  0x0819b235 in execute ()
#8  0x0819b235 in execute ()
#9  0x0819b235 in execute ()
#10 0x0819b235 in execute ()
#11 0x0819b235 in execute ()
#12 0x0819b235 in execute ()
#13 0x0819b235 in execute ()
#14 0x0819b235 in execute ()
#15 0x0819b235 in execute ()
#16 0x0819b235 in execute ()
#17 0x0819b235 in execute ()
#18 0x0819b235 in execute ()
#19 0x0819b235 in execute ()
#20 0x0819b235 in execute ()
#21 0x0819b235 in execute ()
#22 0x0819b235 in execute ()
#23 0x0819b235 in execute ()
#24 0x0819b235 in execute ()
#25 0x0819b235 in execute ()
#26 0x0819b235 in execute ()
#27 0x0819b235 in execute ()
#28 0x0819b235 in execute ()
#29 0x0819b235 in execute ()
#30 0x0819b235 in execute ()
#31 0x0819b235 in execute ()
#32 0x0819b235 in execute ()
#33 0x0819b235 in execute ()
#34 0x0819b235 in execute ()
#35 0x0819b235 in execute ()
#36 0x0819b235 in execute ()
#37 0x0819b235 in execute ()
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb)

Somehow I'm afraid, this backtrace wont help much. :(

What else can I do?

Bye, Nicholas





More information about the pkg-php-maint mailing list