Bug#508815: php5-symfony1.0: postinst script hangs

2008-12-15 Thread Laurent Bonnaud
Package: php5-symfony1.0
Version: 1.0.19-1
Severity: grave


Hi,

when I try to upgrade this package, here is what happens:

Setting up php5-symfony1.0 (1.0.19-1) ...
[hangs indefinitely]

The hung process is this one:

# ps aux | grep /usr/bin/php
root 16898  0.0  1.6  67712 17112 pts/1S+   18:31   0:00 /usr/bin/php 
-C -q -d include_path=/usr/share/php -d output_buffering=
1 -d variables_order=EGPCS -d open_basedir= -d safe_mode=0 -d 
register_argc_argv=On -d auto_prepend_file= -d auto_append_file= /usr/sha
re/php/pearcmd.php config-get data_dir

and according to strace it hangs on this syscall:

# strace -p 16898
Process 16898 attached - interrupt to quit
futex(0xb470aea0, FUTEX_WAIT_PRIVATE, 2, NULL


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-symfony1.0 depends on:
ii  libapache2-mod-php5  5.2.6.dfsg.1-0.1+b1 server-side, HTML-embedded scripti
ii  php5 5.2.6.dfsg.1-0.1server-side, HTML-embedded scripti
ii  php5-cgi 5.2.6.dfsg.1-0.1+b1 server-side, HTML-embedded scripti
ii  php5-cli 5.2.6.dfsg.1-0.1+b1 command-line interpreter for the p

php5-symfony1.0 recommends no packages.

php5-symfony1.0 suggests no packages.

-- no debconf information

-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508815: php5-symfony1.0: postinst script hangs

2008-12-15 Thread Martin Meredith
Can you confirm the version of php5-cli installed, and can you also do the 
following

gdb
attach pid
bt full


and send the backtrace? (so I can find out where this comes from)





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508815: php5-symfony1.0: postinst script hangs

2008-12-15 Thread Martin Meredith
also, what version of libmysqlclient15off have you got installed?

I see you're running mixed/experimental - 




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508815: php5-symfony1.0: postinst script hangs

2008-12-15 Thread Martin Meredith
On Mon, 2008-12-15 at 18:25 +, Martin Meredith wrote:
 Can you confirm the version of php5-cli installed, and can you also do the 
 following
 
 gdb
 attach pid
 bt full
 
 
 and send the backtrace? (so I can find out where this comes from)

You may need to install php5-dbg for this to be meaningful




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508815: php5-symfony1.0: postinst script hangs

2008-12-15 Thread Laurent Bonnaud
On Mon, 2008-12-15 at 18:25 +, Martin Meredith wrote:
 Can you confirm the version of php5-cli installed, 

ii  php5-cli5.2.6.dfsg.1-0.1+b1 command-line 
interpreter for the php5 scripting language


 and can you also do the following
 
 gdb
 attach pid
 bt full
 
 
 and send the backtrace? (so I can find out where this comes from)

Here it is:

(gdb) bt full
#0  0xb7f4f424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb778bce3 in __lll_lock_wait_private () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb7788f6e in _L_lock_23 () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#3  0xb7788dc8 in pthread_cond_destroy@@GLIBC_2.3.2 () from 
/lib/i686/cmov/libpthread.so.0
No symbol table info available.
#4  0xb79db8c6 in pthread_cond_destroy@@GLIBC_2.3.2 () from 
/lib/i686/cmov/libc.so.6
No symbol table info available.
#5  0xb4594053 in my_thread_global_end () from /usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#6  0xb458f04c in my_end () from /usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#7  0xb458db01 in mysql_server_end () from /usr/lib/libmysqlclient_r.so.15
No symbol table info available.
#8  0xb65dcdd7 in zm_shutdown_mysql (type=1, module_number=54) at 
/build/buildd/php5-5.2.6.dfsg.1/ext/mysql/php_mysql.c:426
module_number = -512
#9  0x082d738a in module_destructor (module=0x8f4ce68) at 
/build/buildd/php5-5.2.6.dfsg.1/Zend/zend_API.c:1921
module = (zend_module_entry *) 0x8f4ce68
#10 0x082dd9ba in zend_hash_apply_deleter (ht=0x0, p=0x8f4ce38) at 
/build/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c:805
retval = (Bucket *) 0x82dd92f
#11 0x082ddc87 in zend_hash_graceful_reverse_destroy (ht=0x855ea40) at 
/build/buildd/php5-5.2.6.dfsg.1/Zend/zend_hash.c:840
p = (Bucket *) 0xb4735ea0
ht = (HashTable *) 0x8f4ce38
#12 0x082d342c in zend_shutdown () at 
/build/buildd/php5-5.2.6.dfsg.1/Zend/zend.c:814
No locals.
#13 0x08288b0d in php_module_shutdown () at 
/build/buildd/php5-5.2.6.dfsg.1/main/main.c:1906
No locals.
#14 0x083551ef in main (argc=22, argv=0xbfe6ba44) at 
/build/buildd/php5-5.2.6.dfsg.1/sapi/cli/php_cli.c:1341
exit_status = 0
c = -512
file_handle = {type = 2 '\002', filename = 0xbfe6be08 
/usr/share/php/pearcmd.php, opened_path = 0x0, handle = {fd = 
152388288, fp = 0x91542c0, stream = {handle = 0x91542c0, reader = 0x82e8890 
zend_stream_stdio_reader, closer = 
0x82e8860 zend_stream_stdio_closer, fteller = 0x82e8830 
zend_stream_stdio_fteller, interactive = 0}}, free_filename = 0 '\0'}
behavior = 1
reflection_what = 0x0
orig_optind = 1
orig_optarg = 0x0
arg_excp = (char **) 0xbfe6ba90
script_file = 0xbfe6be08 /usr/share/php/pearcmd.php
interactive = 0
module_started = 1
request_started = 1
lineno = 1
exec_direct = 0x0
exec_run = 0x0
exec_begin = 0x0
exec_end = 0x0
param_error = 0x855e620 
hide_argv = 0
ini_entries_len = 0
argc = 22
argv = (char **) 0xbfe6ba44

-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508815: php5-symfony1.0: postinst script hangs

2008-12-15 Thread Laurent Bonnaud
On Mon, 2008-12-15 at 18:32 +, Martin Meredith wrote:
 also, what version of libmysqlclient15off have you got installed?

ii  libmysqlclient15off  5.1.19beta-1   
mysql database client library

The rest of my mysql installation is version 5.1.30-2.

Downgrading this package to version 5.0.67-2 fixes the problem.

Since libmysqlclient15off version 5.1.19beta-1 no longer exists, this
bug is moot.  It would be interesting to see what happens with a PHP
linked with libmysqlclient16...  How about retitling this bug and
transforming it into a wishlist report to have an experimental PHP
version ?

-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org