Bug #81316 [NEW]: Segmentation fault

From: Date: Fri, 30 Jul 2021 20:07:29 +0000
Subject: Bug #81316 [NEW]: Segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235492@lists.php.net to get a copy of this message
From:             kontakt at xlu dot pl
Operating system: FreeBSD 12.2-RELEASE-p5
PHP version:      7.3.29
Package:          Scripting Engine problem
Bug Type:         Bug
Bug description:Segmentation fault 

Description:
------------
After installation as per the guide:
https://github.com/BadChoice/handesk/tree/1.4.2

I am getting the problem:

$ php artisan handesk:parseNewEmails
In Mailbox.php line 67:
  Connection error: No such host as smtp.yourmail.com
Segmentation fault (core dumped)


TB:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000800b499e0 in strncmp () from /lib/libc.so.7
#0  0x0000000800b499e0 in strncmp () from /lib/libc.so.7
#1  0x0000000800b450e8 in getenv () from /lib/libc.so.7
#2  0x00000000004e0ae9 in module_destructor ()
#3  0x00000000004d7c11 in module_destructor_zval ()
#4  0x00000000004eac38 in zend_hash_graceful_reverse_destroy ()
#5  0x00000000004d7d14 in zend_shutdown ()
#6  0x0000000000473beb in php_module_shutdown ()
#7  0x0000000000591346 in main ()


The problem already without full configuration. Just crete database in
.env and install on the official readme.
The code tested causes a segmentation fault for php versions: 7.2.x,
7.3.x, 7.4.x.


Test script:
---------------
https://github.com/BadChoice/handesk/tree/1.4.2


Actual result:
--------------
Segmentation Fault


-- 
Edit bug report at https://bugs.php.net/bug.php?id=81316&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81316&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81316&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81316&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81316&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81316&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81316&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81316&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81316&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81316&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81316&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81316&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81316&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81316&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81316&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81316&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81316&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81316&r=mysqlcfg


Thread (15 messages)

« previous php.bugs (#235492) next »