Debian Bug report logs - #525345
php5-mysql: Loading both mysql and mysqli (default config) causes issues

version graph

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

Reported by: Damon Buckwalter <buckwad@gmail.com>

Date: Thu, 23 Apr 2009 21:21:01 UTC

Severity: important

Found in version php5/5.2.9.dfsg.1-1

Fixed in versions php5/5.2.10.dfsg.1-1, php5/5.3.3-7, 5.2.10.dfsg.1-1

Done: Ondřej Surý <ondrej@sury.org>

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, buckwad@gmail.com, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#525345; Package php5-mysql. (Thu, 23 Apr 2009 21:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Damon Buckwalter <buckwad@gmail.com>:
New Bug report received and forwarded. Copy sent to buckwad@gmail.com, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Thu, 23 Apr 2009 21:21:04 GMT) (full text, mbox, link).


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

From: Damon Buckwalter <buckwad@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-mysql: Loading both mysql and mysqli (default config) causes issues
Date: Thu, 23 Apr 2009 14:05:25 -0700
[Message part 1 (text/plain, inline)]
Package: php5-mysql
Version: 5.2.9.dfsg.1-1
Severity: important

If both the mysql.so and mysqli.so extensions are enabled and I use this under
apache2/mod_php5 the server is unable to shutdown the last apache2 process,
blocking on a futex() call.  By disabling the mysqli.so module (I moved the
config file that loads it at /etc/php5/conf.d/mysqli.ini), the Apache process
can then be shut down normally.

This is a single-CPU system running PHP5 under the mpm-prefork

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-mysql depends on:
ii  libapache2-mod-php5 [phpa 5.2.9.dfsg.1-1 server-side, HTML-embedded scripti
ii  libc6                     2.9-7          GNU C Library: Shared libraries
ii  libmysqlclient15off       5.1.19beta-1   mysql database client library
ii  php5-cli [phpapi-20060613 5.2.9.dfsg.1-1 command-line interpreter for the p
ii  php5-common               5.2.9.dfsg.1-1 Common files for packages built fr

php5-mysql recommends no packages.

php5-mysql suggests no packages.

-- no debconf information
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#525345; Package php5-mysql. (Mon, 15 Jun 2009 08:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Anderton, Philip" <Phil.Anderton@t-mobile.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 15 Jun 2009 08:42:02 GMT) (full text, mbox, link).


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

From: "Anderton, Philip" <Phil.Anderton@t-mobile.net>
To: <525345@bugs.debian.org>
Subject: Re: php5-mysql: Loading both mysql and mysqli (default config) causes issues
Date: Mon, 15 Jun 2009 10:32:30 +0200
Here's a very simple test case:

$ php -r 'echo "done\n";'

This hangs after printing "done" if both the mysql.so and mysqli.so extensions are enabled.


T-Mobile International AG
Aufsichtsrat/ Supervisory Board: René Obermann (Vorsitzender/ Chairman)
Vorstand/ Board of Management: Hamid Akhavan (Vorsitzender/ Chairman), Michael Günther
Handelsregister/Commercial Register Entry: Amtsgericht Bonn, HRB 12276
Steuer-Nr./Tax No.: 205 / 5777/ 0518
USt.-ID./VAT Reg.No.: DE189669124
Sitz der Gesellschaft/ Corporate Headquarters: Bonn




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#525345; Package php5-mysql. (Fri, 08 Jan 2010 15:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Fri, 08 Jan 2010 15:18:03 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: Damon Buckwalter <buckwad@gmail.com>, 525345@bugs.debian.org
Subject: Re: #525345: php5-mysql: Loading both mysql and mysqli (default config) causes issues
Date: Fri, 8 Jan 2010 16:15:22 +0100
Hi Damon,

does this still happen with 5.2.11 or later?

Thanks,
-- 
Ondřej Surý <ondrej@sury.org>
http://blog.rfc1925.org/




Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Mon, 18 Jan 2010 10:27:05 GMT) (full text, mbox, link).


Notification sent to Damon Buckwalter <buckwad@gmail.com>:
Bug acknowledged by developer. (Mon, 18 Jan 2010 10:27:05 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: 525345-done@bugs.debian.org
Subject: #525345: php5-mysql: Loading both mysql and mysqli (default config) causes issues
Date: Mon, 18 Jan 2010 11:25:41 +0100
Version: 5.2.10.dfsg.1-1

Marking bug as closed, unable to reproduce with any later version of php5.

root@howl:/# cat /etc/php5/cli/conf.d/mysql.ini
; configuration for php MySQL module
extension=mysql.so
root@howl:/# cat /etc/php5/cli/conf.d/mysqli.ini
; configuration for php MySQL module
extension=mysqli.so
root@howl:/# php -r 'echo "done\n";'
done
root@howl:/#


Ondrej
-- 
Ondřej Surý <ondrej@sury.org>
http://blog.rfc1925.org/




Bug Marked as fixed in versions php5/5.2.10.dfsg.1-1. Request was from Ondřej Surý <ondrej@sury.org> to control@bugs.debian.org. (Fri, 18 Mar 2011 08:45:08 GMT) (full text, mbox, link).


Marked as fixed in versions php5/5.3.3-7. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Tue, 22 May 2012 07:27:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 20 Jun 2012 07:40:09 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 00:50:14 2023; Machine Name: bembo

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.