Debian Bug report logs -
#440775
Crash when changing gettext (*.mo) file
Reported by: Michal Čihař <nijel@debian.org>
Date: Tue, 4 Sep 2007 06:09:02 UTC
Severity: normal
Tags: upstream
Found in version php7.0/7.0.14-2
Fixed in version 7.0.32-1+rm
Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Bug is archived. No further changes may be made.
Forwarded to http://bugs.php.net/45943
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#440775; Package php5-cgi.
(full text, mbox, link).
Acknowledgement sent to Michal Čihař <nijel@debian.org>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-cgi
Version: 5.2.3-1+b2
Severity: normal
Hi
I use gettext for localisation of my PHP application. Whenever I change
templates/translation and then regenerate .mo files, PHP instances start
to crash. Most likely they do not detect file change and still treate it
as old one. Restarting PHP solves this.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-1-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages php5-cgi depends on:
ii libbz2-1.0 1.0.3-7 high-quality block-sorting file co
ii libc6 2.6.1-2 GNU C Library: Shared libraries
ii libcomerr2 1.40.2-1 common error description library
ii libdb4.4 4.4.20-9 Berkeley v4.4 Database Libraries [
ii libkrb53 1.6.dfsg.1-6 MIT Kerberos runtime libraries
ii libmagic1 4.21-3 File type determination library us
ii libpcre3 7.3-1 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8e-8 SSL shared libraries
ii libxml2 2.6.30.dfsg-2 GNOME XML library
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii php5-common 5.2.3-1+b2 Common files for packages built fr
ii ucf 3.001 Update Configuration File: preserv
ii zlib1g 1:1.2.3.3.dfsg-5 compression library - runtime
php5-cgi recommends no packages.
-- no debconf information
Message sent on to Michal Čihař <nijel@debian.org>:
Bug#440775.
(full text, mbox, link).
Message #8 received at 440775-submitter@bugs.debian.org (full text, mbox, reply):
On Tuesday 04 September 2007, Michal Čihař wrote:
> Package: php5-cgi
> Version: 5.2.3-1+b2
> Severity: normal
>
> Hi
>
> I use gettext for localisation of my PHP application. Whenever I change
> templates/translation and then regenerate .mo files, PHP instances start
> to crash. Most likely they do not detect file change and still treate it
> as old one. Restarting PHP solves this.
Can you still reproduce the problem in 5.2.6-3 (latest version in sid)?
If you do, please install php5-gdb and provide a backtrace that can be
forwarded to upstream or that can help us fix the problem.
Cheers,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#440775; Package php5-cgi.
(full text, mbox, link).
Acknowledgement sent to Michal Čihař <nijel@debian.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #16 received at 440775-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi
Dne Tue, 26 Aug 2008 14:02:07 -0500
Raphael Geissert <atomo64@gmail.com> napsal(a):
> Can you still reproduce the problem in 5.2.6-3 (latest version in sid)?
I can reproduce it with 5.2.6-2, I will upgrade and retest with latest
version, but I don't see anything in changelog what might be related.
> If you do, please install php5-gdb and provide a backtrace that can be
> forwarded to upstream or that can help us fix the problem.
I guess you mean php5-dbg?
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
[signature.asc (application/pgp-signature, attachment)]
Acknowledgement sent to Michal Čihař <nijel@debian.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #21 received at 440775-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi
Dne Tue, 26 Aug 2008 14:02:07 -0500
Raphael Geissert <atomo64@gmail.com> napsal(a):
> Can you still reproduce the problem in 5.2.6-3 (latest version in sid)?
> If you do, please install php5-gdb and provide a backtrace that can be
> forwarded to upstream or that can help us fix the problem.
With php5-dbg and php 5.2.6-3 I get following backtrace:
#0 0x00007fdf99718f81 in ?? () from /lib/libc.so.6
#1 0x00007fdf9971a0e6 in ?? () from /lib/libc.so.6
#2 0x00000000004c75b0 in zif_gettext (ht=17334608, return_value=0x10877d8, return_value_ptr=0xe61230, this_ptr=0xffffffff, return_value_used=-16843009)
at /tmp/buildd/php5-5.2.6/ext/gettext/gettext.c:192
#3 0x00007fdf9596f90d in ?? () from /usr/lib/php5/20060613/suhosin.so
#4 0x00000000006a0059 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa3f7e3e0) at /tmp/buildd/php5-5.2.6/Zend/zend_vm_execute.h:202
#5 0x000000000068b8c4 in execute (op_array=0x1074d58) at /tmp/buildd/php5-5.2.6/Zend/zend_vm_execute.h:92
#6 0x00007fdf9596fd96 in ?? () from /usr/lib/php5/20060613/suhosin.so
#7 0x0000000000667678 in zend_execute_scripts (type=32767, retval=0x0, file_count=-1544034840) at /tmp/buildd/php5-5.2.6/Zend/zend.c:1215
#8 0x0000000000621fa8 in php_execute_script (primary_file=Cannot access memory at address 0x8000a3f7d550
) at /tmp/buildd/php5-5.2.6/main/main.c:2026
#9 0x00000000006df7ed in main (argc=-1544016504, argv=0x7fffa3f80980) at /tmp/buildd/php5-5.2.6/sapi/cgi/cgi_main.c:1927
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
[signature.asc (application/pgp-signature, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#440775; Package php5-cgi.
(full text, mbox, link).
Acknowledgement sent to "Raphael Geissert" <atomo64@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #26 received at 440775@bugs.debian.org (full text, mbox, reply):
2008/8/28 Michal Čihař <nijel@debian.org>:
> Hi
>
> Dne Tue, 26 Aug 2008 14:02:07 -0500
> Raphael Geissert <atomo64@gmail.com> napsal(a):
>
>> Can you still reproduce the problem in 5.2.6-3 (latest version in sid)?
>
> I can reproduce it with 5.2.6-2, I will upgrade and retest with latest
> version, but I don't see anything in changelog what might be related.
Well, there's nothing special with -3, but just wanted to make sure
you tried with 5.2.6.
By the way, are you using php5-cgi with fastcgi/fcgid?
>
>> If you do, please install php5-gdb and provide a backtrace that can be
>> forwarded to upstream or that can help us fix the problem.
>
> I guess you mean php5-dbg?
Err, right.
>
> --
> Michal Čihař | http://cihar.com | http://blog.cihar.com
>
Cheers,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Noted your statement that Bug has been forwarded to http://bugs.php.net/45943.
Request was from Raphael Geissert <atomo64@gmail.com>
to control@bugs.debian.org.
(Fri, 29 Aug 2008 01:15:03 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#440775; Package php5-cgi.
(full text, mbox, link).
Acknowledgement sent to Michal Čihař <nijel@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #33 received at 440775@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Dne Thu, 28 Aug 2008 19:46:16 -0500
"Raphael Geissert" <atomo64@gmail.com> napsal(a):
> By the way, are you using php5-cgi with fastcgi/fcgid?
Yes, fastcgi (+lighttpd).
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
[signature.asc (application/pgp-signature, attachment)]
Tags added: upstream, wontfix
Request was from bts-link-upstream@lists.alioth.debian.org
to control@bugs.debian.org.
(Mon, 20 Jul 2009 20:15:11 GMT) (full text, mbox, link).
Reply sent
to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility.
(Wed, 27 Apr 2011 08:33:17 GMT) (full text, mbox, link).
Notification sent
to Michal Čihař <nijel@debian.org>:
Bug acknowledged by developer.
(Wed, 27 Apr 2011 08:33:17 GMT) (full text, mbox, link).
Message #40 received at 440775-done@bugs.debian.org (full text, mbox, reply):
Version: 5.3.3-7
Hi,
since lenny is oldstable it will not get any updates now (except
security)[1], I am closing all segfault bugs filled against php5 in
lenny. (This is kind of saying that we don't care much about php5 in
lenny anymore).
If you believe the bug is still there, please provide evidence[2] and
a (preferably complete) test case with up-to-date squeeze (and/or
testing or unstable) version of php5 and reopen the bug.
O.
1. http://wiki.debian.org/PHP#Notes_on_PHP_and_security
2. Install php5-dbg and provide backtrace:
http://bugs.php.net/bugs-generating-backtrace.php
--
Ondřej Surý <ondrej@sury.org>
Bug No longer marked as fixed in versions 5.3.3-7 and reopened.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 27 Apr 2011 08:51:05 GMT) (full text, mbox, link).
Bug Marked as found in versions php5/5.3.6-8.
Request was from Michal Čihař <nijel@debian.org>
to control@bugs.debian.org.
(Wed, 27 Apr 2011 08:51:06 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#440775; Package php5-cgi.
(Wed, 27 Apr 2011 08:57:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michal Čihař <nijel@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Wed, 27 Apr 2011 08:57:32 GMT) (full text, mbox, link).
Message #49 received at 440775@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi
Dne Wed, 27 Apr 2011 08:33:17 +0000
owner@bugs.debian.org (Debian Bug Tracking System) napsal(a):
> If you believe the bug is still there, please provide evidence[2] and
> a (preferably complete) test case with up-to-date squeeze (and/or
> testing or unstable) version of php5 and reopen the bug.
The bug still exists in unstable. Attaching test case, backtrace is:
#0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#1 0x00000000004bbba9 in zif_gettext (ht=-134438320, return_value=0xfdcfa8, return_value_ptr=0x1,
this_ptr=0x7ffff7fca25d, return_value_used=-134438307) at /tmp/buildd/php5-5.3.6/ext/gettext/gettext.c:199
#2 0x00000000006d2e2d in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7ebc068)
at /tmp/buildd/php5-5.3.6/Zend/zend_vm_execute.h:316
#3 0x00000000006abc24 in execute (op_array=0xfdd918) at /tmp/buildd/php5-5.3.6/Zend/zend_vm_execute.h:107
#4 0x0000000000686886 in zend_execute_scripts (type=0, retval=0x7fffffffc2d0, file_count=3)
at /tmp/buildd/php5-5.3.6/Zend/zend.c:1266
#5 0x0000000000632153 in php_execute_script (primary_file=0x2) at /tmp/buildd/php5-5.3.6/main/main.c:2296
#6 0x0000000000720449 in main (argc=-5656, argv=0x2c4bf84) at /tmp/buildd/php5-5.3.6/sapi/cli/php_cli.c:1197
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
[php-gettext-crash.tar.bz2 (application/x-bzip, attachment)]
[signature.asc (application/pgp-signature, attachment)]
Bug No longer marked as found in versions php5/5.3.6-8.
Request was from Ondřej Surý <ondrej@sury.org>
to control@bugs.debian.org.
(Wed, 27 Apr 2011 12:21:05 GMT) (full text, mbox, link).
Removed tag(s) wontfix.
Request was from Ondřej Surý <ondrej@sury.org>
to control@bugs.debian.org.
(Wed, 27 Apr 2011 12:21:05 GMT) (full text, mbox, link).
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Fri, 13 Jan 2017 13:06:20 GMT) (full text, mbox, link).
Notification sent
to Michal Čihař <nijel@debian.org>:
Bug acknowledged by developer.
(Fri, 13 Jan 2017 13:06:21 GMT) (full text, mbox, link).
Message #58 received at 440775-done@bugs.debian.org (full text, mbox, reply):
Version: 5.6.26+dfsg-1+rm
Dear submitter,
as the package php5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/841781
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Bug reassigned from package 'php5-cgi' to 'src:php7.0'.
Request was from Michal Čihař <nijel@debian.org>
to control@bugs.debian.org.
(Tue, 17 Jan 2017 10:21:05 GMT) (full text, mbox, link).
No longer marked as found in versions php5/5.2.3-1.
Request was from Michal Čihař <nijel@debian.org>
to control@bugs.debian.org.
(Tue, 17 Jan 2017 10:21:06 GMT) (full text, mbox, link).
No longer marked as fixed in versions 5.6.26+dfsg-1+rm.
Request was from Michal Čihař <nijel@debian.org>
to control@bugs.debian.org.
(Tue, 17 Jan 2017 10:21:06 GMT) (full text, mbox, link).
Marked as found in versions php7.0/7.0.14-2 and reopened.
Request was from Michal Čihař <nijel@debian.org>
to control@bugs.debian.org.
(Tue, 17 Jan 2017 10:21:06 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#440775; Package src:php7.0.
(Tue, 17 Jan 2017 10:24:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Michal Čihař <nijel@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Tue, 17 Jan 2017 10:24:05 GMT) (full text, mbox, link).
Message #71 received at 440775@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi
This bug still exists in php7:
$ php7.0 test.php
Jméno pohledu
Chyba na sběrnici (neplatná adresa) (SIGBUS)
Backtrace:
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007fffebbf6861 in zif_gettext () from
/usr/lib/php/20151012/gettext.so
#2 0x000055555580833d in ZEND_DO_ICALL_SPEC_HANDLER () at
./Zend/zend_vm_execute.h:586
#3 0x00005555557f948b in execute_ex (ex=<optimized out>) at
./Zend/zend_vm_execute.h:414
#4 0x000055555584d957 in zend_execute (op_array=op_array@entry=0x7ffff
347f000, return_value=return_value@entry=0x7ffff34693a0)
at ./Zend/zend_vm_execute.h:458
#5 0x00005555557b8c43 in zend_execute_scripts (type=-213831632, type@e
ntry=8, retval=0x7ffff34693a0, retval@entry=0x0,
file_count=file_count@entry=3) at ./Zend/zend.c:1437
#6 0x00005555557579c0 in php_execute_script
(primary_file=0x7fffffffd1f0) at ./main/main.c:2494
#7 0x000055555584f5fc in do_cli (argc=2, argv=0x555555bbda30) at
./sapi/cli/php_cli.c:974
#8 0x00005555556391ae in main (argc=2, argv=0x555555bbda30) at
./sapi/cli/php_cli.c:1344
--
Michal Čihař | https://cihar.com/ | https://weblate.org/
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Mon, 08 Oct 2018 19:00:04 GMT) (full text, mbox, link).
Notification sent
to Michal Čihař <nijel@debian.org>:
Bug acknowledged by developer.
(Mon, 08 Oct 2018 19:00:04 GMT) (full text, mbox, link).
Message #76 received at 440775-done@bugs.debian.org (full text, mbox, reply):
Version: 7.0.32-1+rm
Dear submitter,
as the package php7.0 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/910071
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 06 Nov 2018 07:40:54 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 01:11:46 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.