[Bug 235917] lang/php7x core dumped. Reason: php7x-imap module

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 21 14:05:12 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235917

            Bug ID: 235917
           Summary: lang/php7x core dumped. Reason: php7x-imap module
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: admin at 5034.ru

Hi All,

# uname -rv
12.0-STABLE FreeBSD 12.0-STABLE #2 r343904M: Wed Feb 13 08:53:51 MSK 2019    
root at server.5034.ru:/usr/obj/usr/src/amd64.amd64/sys/SERVER

I have issues with php7x. This is my build options:

[x] CLI      Build CLI version                        
[x] CGI      Build CGI version                        
[x] FPM      Build FPM version                        
[x] EMBED    Build embedded library                   
[x] PHPDBG   Interactive PHP debugger                 
[x] DEBUG    Build with debugging support             
[x] DTRACE   Build with DTrace probes                 
[x] IPV6     IPv6 protocol support                    
[x] MYSQLND  Build with MySQL Native Driver           
[x] LINKTHR  Link thread lib (for threaded extensions)
[ ] ZTS      Force Zend Thread Safety (ZTS) build    

The issue: php core dumped when php7x-imap module installed.

This is debug:

root at server:/usr/ports/mail/php72-imap# gdb
GNU gdb (GDB) 8.2.1 [GDB v8.2.1 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) run php -v
Starting program:  php -v
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) quit
root at server:/usr/ports/mail/php72-imap# gdb php
GNU gdb (GDB) 8.2.1 [GDB v8.2.1 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from php...done.
(gdb) run php -v
Starting program: /usr/bin/php php -v

Program received signal SIGSEGV, Segmentation fault.
0x0000000802628eda in hash_lookup () from /usr/local/lib/libc-client4.so.9
(gdb) bt
#0  0x0000000802628eda in hash_lookup () from /usr/local/lib/libc-client4.so.9
#1  0x000000080333161f in find_alias () from /usr/local/lib/librecode.so.3
#2  0x0000000803333576 in recode_new_outer () from
/usr/local/lib/librecode.so.3
#3  0x00000008032740a7 in zm_startup_recode () from
/usr/local/lib/php/20170718-debug/recode.so
#4  0x00000000006a27bd in zend_startup_module_ex (module=0x800f87800) at
Zend/zend_API.c:1873
#5  0x00000000006a3100 in zend_startup_module_zval (zv=0x800fa5ee0) at
Zend/zend_API.c:1888
#6  0x00000000006b4d7d in zend_hash_apply (ht=0x8517b0 <module_registry>,
apply_func=0x6a30e0 <zend_startup_module_zval>) at Zend/zend_hash.c:1508
#7  0x00000000006a2f27 in zend_startup_modules () at Zend/zend_API.c:1999
#8  0x00000000005ed95c in php_module_startup (sf=0x7dc168 <cli_sapi_module>,
additional_modules=0x0, num_additional_modules=0) at main/main.c:2309
#9  0x00000000007be23b in php_cli_startup (sapi_module=0x7dc168
<cli_sapi_module>) at sapi/cli/php_cli.c:431
#10 0x00000000007bc56c in main (argc=3, argv=0x7fffffffea38) at
sapi/cli/php_cli.c:1370
(gdb) frame 0
#0  0x0000000802628eda in hash_lookup () from /usr/local/lib/libc-client4.so.9
(gdb) frame 1
#1  0x000000080333161f in find_alias () from /usr/local/lib/librecode.so.3
(gdb) frame 2
#2  0x0000000803333576 in recode_new_outer () from
/usr/local/lib/librecode.so.3
(gdb) frame 3
#3  0x00000008032740a7 in zm_startup_recode () from
/usr/local/lib/php/20170718-debug/recode.so
(gdb) frame 4
#4  0x00000000006a27bd in zend_startup_module_ex (module=0x800f87800) at
Zend/zend_API.c:1873
1873    Zend/zend_API.c: No such file or directory.
(gdb) frame 5
#5  0x00000000006a3100 in zend_startup_module_zval (zv=0x800fa5ee0) at
Zend/zend_API.c:1888
1888    in Zend/zend_API.c
(gdb) frame 6
#6  0x00000000006b4d7d in zend_hash_apply (ht=0x8517b0 <module_registry>,
apply_func=0x6a30e0 <zend_startup_module_zval>) at Zend/zend_hash.c:1508
1508    Zend/zend_hash.c: No such file or directory.
(gdb) frame 7
#7  0x00000000006a2f27 in zend_startup_modules () at Zend/zend_API.c:1999
1999    Zend/zend_API.c: No such file or directory.
(gdb) frame 8
#8  0x00000000005ed95c in php_module_startup (sf=0x7dc168 <cli_sapi_module>,
additional_modules=0x0, num_additional_modules=0) at main/main.c:2309
2309    main/main.c: No such file or directory.
(gdb) frame 9
#9  0x00000000007be23b in php_cli_startup (sapi_module=0x7dc168
<cli_sapi_module>) at sapi/cli/php_cli.c:431
431     sapi/cli/php_cli.c: No such file or directory.
(gdb) frame 10
#10 0x00000000007bc56c in main (argc=3, argv=0x7fffffffea38) at
sapi/cli/php_cli.c:1370
1370    in sapi/cli/php_cli.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list