Debian Bug report logs - #508815
php5-cli hangs in futex() when calling pear config-get

Package: php5; Maintainer for php5 is (unknown);

Reported by: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>

Date: Mon, 15 Dec 2008 17:48:02 UTC

Severity: grave

Tags: unreproducible

Done: Martin Meredith <mez@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Martin Meredith <mez@ubuntu.com>:
Bug#508815; Package php5-symfony1.0. (Mon, 15 Dec 2008 17:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>:
New Bug report received and forwarded. Copy sent to Martin Meredith <mez@ubuntu.com>. (Mon, 15 Dec 2008 17:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>
To: Debian BTS submission <submit@bugs.debian.org>
Subject: php5-symfony1.0: postinst script hangs
Date: Mon, 15 Dec 2008 18:47:12 +0100
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/1    S+   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.1    server-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/






Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#508815; Package php5-symfony1.0. (Mon, 15 Dec 2008 18:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Meredith <mez@ubuntu.com>:
Extra info received and forwarded to list. (Mon, 15 Dec 2008 18:27:04 GMT) (full text, mbox, link).


Message #10 received at 508815@bugs.debian.org (full text, mbox, reply):

From: Martin Meredith <mez@ubuntu.com>
To: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>, 508815@bugs.debian.org
Subject: Re: Bug#508815: php5-symfony1.0: postinst script hangs
Date: Mon, 15 Dec 2008 18:25:46 +0000
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)






Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#508815; Package php5-symfony1.0. (Mon, 15 Dec 2008 18:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Meredith <mez@ubuntu.com>:
Extra info received and forwarded to list. (Mon, 15 Dec 2008 18:33:02 GMT) (full text, mbox, link).


Message #15 received at 508815@bugs.debian.org (full text, mbox, reply):

From: Martin Meredith <mez@ubuntu.com>
To: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>, 508815@bugs.debian.org
Subject: Re: Bug#508815: php5-symfony1.0: postinst script hangs
Date: Mon, 15 Dec 2008 18:32:17 +0000
also, what version of libmysqlclient15off have you got installed?

I see you're running mixed/experimental - 





Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#508815; Package php5-symfony1.0. (Mon, 15 Dec 2008 18:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Meredith <mez@ubuntu.com>:
Extra info received and forwarded to list. (Mon, 15 Dec 2008 18:36:02 GMT) (full text, mbox, link).


Message #20 received at 508815@bugs.debian.org (full text, mbox, reply):

From: Martin Meredith <mez@ubuntu.com>
To: 508815@bugs.debian.org
Cc: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>
Subject: Re: Bug#508815: php5-symfony1.0: postinst script hangs
Date: Mon, 15 Dec 2008 18:35:03 +0000
On Mon, 2008-12-15 at 18:25 +0000, 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





Bug reassigned from package `php5-symfony1.0' to `php5'. Request was from Martin Meredith <mez@ubuntu.com> to control@bugs.debian.org. (Mon, 15 Dec 2008 18:39:12 GMT) (full text, mbox, link).


Changed Bug title to `php5-cli hangs in futex() when calling pear config-get' from `php5-symfony1.0: postinst script hangs'. Request was from Martin Meredith <mez@ubuntu.com> to control@bugs.debian.org. (Mon, 15 Dec 2008 18:51:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#508815; Package php5. (Mon, 15 Dec 2008 19:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 15 Dec 2008 19:03:08 GMT) (full text, mbox, link).


Message #29 received at 508815@bugs.debian.org (full text, mbox, reply):

From: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>
To: Martin Meredith <mez@ubuntu.com>
Cc: 508815@bugs.debian.org
Subject: Re: Bug#508815: php5-symfony1.0: postinst script hangs
Date: Mon, 15 Dec 2008 20:01:09 +0100
On Mon, 2008-12-15 at 18:25 +0000, Martin Meredith wrote:
> Can you confirm the version of php5-cli installed, 

ii  php5-cli                    5.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/






Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#508815; Package php5. (Mon, 15 Dec 2008 19:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 15 Dec 2008 19:12:04 GMT) (full text, mbox, link).


Message #34 received at 508815@bugs.debian.org (full text, mbox, reply):

From: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>
To: Martin Meredith <mez@ubuntu.com>
Cc: 508815@bugs.debian.org
Subject: Re: Bug#508815: php5-symfony1.0: postinst script hangs
Date: Mon, 15 Dec 2008 20:10:59 +0100
On Mon, 2008-12-15 at 18:32 +0000, 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/






Tags added: unreproducible Request was from Martin Meredith <mez@ubuntu.com> to control@bugs.debian.org. (Mon, 15 Dec 2008 20:00:03 GMT) (full text, mbox, link).


Reply sent to Martin Meredith <mez@ubuntu.com>:
You have taken responsibility. (Mon, 15 Dec 2008 20:00:05 GMT) (full text, mbox, link).


Notification sent to Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>:
Bug acknowledged by developer. (Mon, 15 Dec 2008 20:00:05 GMT) (full text, mbox, link).


Message #41 received at 508815-done@bugs.debian.org (full text, mbox, reply):

From: Martin Meredith <mez@ubuntu.com>
To: Laurent Bonnaud <Laurent.Bonnaud@inpg.fr>, control@bugs.debian.org, 508815-done@bugs.debian.org
Subject: Re: Bug#508815: php5-symfony1.0: postinst script hangs
Date: Mon, 15 Dec 2008 19:57:29 +0000
tags 508815 +unreproducible
thanks

I'm afraid you'll have to create a new bug for that, closing this now as
issue addressed.

On Mon, 2008-12-15 at 20:10 +0100, Laurent Bonnaud wrote:
> On Mon, 2008-12-15 at 18:32 +0000, 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 ?
> 





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 13 Jan 2009 07:26:56 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 02:23:55 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.