php 5.6 on bookwork libevent => Segmentation fault
Frequently asked questions
- [ x] I have read Frequently Asked Questions
- [ x] I have looked at the list of the existing issues (including closed issues) and searched if my issue has been already reported
- [ x] I have tried to resolve the issue myself and will describe what I did in clear and consise manner
Describe the bug When i run php5.6 -i it crashed, same as php-fpm56 version - there is error 503 remote IP:44644] AH01067: Failed to read FastCGI header 104)Connection reset by peer: [remote IP:44644] AH01075: Error dispatching request to :
To Reproduce Steps to reproduce the behavior:
- write in console php5.6 -i
- echo $? is 139
- Same as fpm - errors from log described above
- See error
Your understanding of what is happening Something is wrong with libraries ? ive installed ii libevent-2.1-7:amd64 2.1.12-stable-8 amd64 Asynchronous event notification library
here is backtrace
Used Library => Compiled => Linked
libz => 1.2.13 => 1.2.13
libcurl => disabled => disabled
libevent =>
Program received signal SIGSEGV, Segmentation fault.
0x0000555555703e42 in php_info_print_table_row_internal (num_cols=3, value_class=0x55555587fb54 "v", row_elements=0x7fffffffd1d0) at ./ext/standard/info.c:1299
1299 ./ext/standard/info.c: No such file or directory.
(gdb) bt
#0 0x0000555555703e42 in php_info_print_table_row_internal (num_cols=3, value_class=0x55555587fb54 "v", row_elements=0x7fffffffd1d0) at ./ext/standard/info.c:1299
#1 0x00005555557049e0 in php_info_print_table_row (num_cols=<optimized out>) at ./ext/standard/info.c:1334
#2 0x00007fffef72ffad in zm_info_http () from /usr/lib/php/20131226/http.so
#3 0x0000555555704b00 in _display_module_info_func (module=<optimized out>) at ./ext/standard/info.c:178
#4 0x00005555557b8034 in zend_hash_apply (ht=ht@entry=0x7fffffffd340, apply_func=apply_func@entry=0x555555704af0 <_display_module_info_func>) at ./Zend/zend_hash.c:641
#5 0x0000555555705354 in php_print_info (flag=-1) at ./ext/standard/info.c:1071
#6 0x000055555584a5a1 in do_cli (argc=2, argv=0x5555559af3f0) at ./sapi/cli/php_cli.c:694
#7 0x0000555555628e3e in main (argc=2, argv=0x5555559af3f0) at ./sapi/cli/php_cli.c:1382
What steps did you take to resolve issue yourself before reporting it here apt update && apt upgrade - no new updates
Expected behavior Just works :+1:
Distribution (please complete the following information):
- OS: Debian 12 - bookworm
- Architecture: amd64
- Repository: packages.sury.org
Package(s) (please complete the following information):
php5.6-cli:
Installed: 5.6.40-67+0~20230815.79+debian12~1.gbpcb4298
Candidate: 5.6.40-67+0~20230815.79+debian12~1.gbpcb4298
Version table:
*** 5.6.40-67+0~20230815.79+debian12~1.gbpcb4298 500
500 https://packages.sury.org/php bookworm/main amd64 Packages
100 /var/lib/dpkg/status
Additional context Happy debugging