php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39006 PHP crashes at shutdown if browscap is on
Submitted: 2006-10-01 09:05 UTC Modified: 2006-10-10 01:00 UTC
Votes:2
Avg. Score:3.5 ± 1.5
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: alt2k4 at yandex dot ru Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.2.0RC4 OS: windows (xp sp2)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alt2k4 at yandex dot ru
New email:
PHP Version: OS:

 

 [2006-10-01 09:05 UTC] alt2k4 at yandex dot ru
Description:
------------
PHP crashes at shutdown if browscap file is specified(even if get_browser() not used). (tested on CGI)

Reproduce code:
---------------
ANYTHING, browscap enabled

Expected result:
----------------
normal shutdown.

Actual result:
--------------
php crash.
(I am REALLY sorry if this is not php problem, but mine installation)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-01 22:38 UTC] phpbugs at thequod dot de
Have you tried reproducing it with a php.ini file where 
just browscap is defined?
 [2006-10-02 09:29 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2006-10-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2010-04-14 23:08 UTC] mike at blueroot dot co dot uk
I also have this error, this is the backtrace.  Can this be reopened, I can 
provide any help if necessary.

#0  0x00007fed7590ba75 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fed7590f5c0 in *__GI_abort () at abort.c:92
#2  0x00007fed759454fb in __libc_message (do_abort=<value optimized out>, 
fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3  0x00007fed7594f5b6 in malloc_printerr (action=3, str=0x7fed75a1e2e2 
"corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6264
#4  0x00007fed75952a25 in _int_free (av=0x7fed75c55e40, p=0x1671ec0) at 
malloc.c:4954
#5  0x00007fed75955e53 in *__GI___libc_free (mem=<value optimized out>) at 
malloc.c:3738
#6  0x0000000000692c58 in browscap_entry_dtor (zvalue=0x1670c48) at 
/usr/src/php-5.3.2/ext/standard/browscap.c:41
#7  0x0000000000750750 in zend_hash_destroy (ht=0xebdcc0) at /usr/src/php-
5.3.2/Zend/zend_hash.c:526
#8  0x0000000000692bfb in zm_shutdown_browscap (type=<value optimized out>, 
module_number=<value optimized out>) at /usr/src/php-
5.3.2/ext/standard/browscap.c:236
#9  0x000000000068fc65 in zm_shutdown_basic (type=1, module_number=32) at 
/usr/src/php-5.3.2/ext/standard/basic_functions.c:3685
#10 0x000000000074a56f in module_destructor (module=0x1170bf0) at /usr/src/php-
5.3.2/Zend/zend_API.c:2098
#11 0x00000000007503e2 in zend_hash_apply_deleter (ht=0xec4f40, p=0x1170b90) at 
/usr/src/php-5.3.2/Zend/zend_hash.c:611
#12 0x0000000000750698 in zend_hash_graceful_reverse_destroy (ht=0xec4f40) at 
/usr/src/php-5.3.2/Zend/zend_hash.c:646
#13 0x0000000000744d18 in zend_shutdown () at /usr/src/php-5.3.2/Zend/zend.c:759
#14 0x00000000006f097d in php_module_shutdown () at /usr/src/php-
5.3.2/main/main.c:2138
#15 0x00000000007cc9e5 in main (argc=1, argv=0x7fffab6ce008) at /usr/src/php-
5.3.2/sapi/cgi/cgi_main.c:2231
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 09:01:31 2025 UTC