Bug #55238 [Fbk->NoF]: Configure throws segfault with libc-client2007e

From: Date: Sun, 14 Mar 2021 04:22:08 +0000
Subject: Bug #55238 [Fbk->NoF]: Configure throws segfault with libc-client2007e
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232690@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55238&edit=1 ID: 55238 Updated by: php-bugs@lists.php.net Reported by: k dot joe at freemail dot hu Summary: Configure throws segfault with libc-client2007e -Status: Feedback +Status: No Feedback Type: Bug Package: IMAP related Operating System: Debian GNU/Linux 6.0.2 PHP Version: Irrelevant Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-03-04 13:49:50] cmb@php.net This doesn't look like a PHP issue, but anyhow, is that still an issue with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2015-08-29 04:36:43] readmin at levigo dot de The problem still exists in PHP 5.5.28 (dotdeb packages). # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.8 (wheezy) Release: 7.8 Codename: wheezy # uname -a Linux shop-web01 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux # dpkg -l | grep libc-client ii libc-client2007e 8:2007f~dfsg-2 amd64 c-client library for mail protocols - library files ii libc-client2007e-dev 8:2007f~dfsg-2 amd64 c-client library for mail protocols - development files ------------------------------------------------------------------------ [2011-07-25 17:01:54] fa@php.net Didn't throw a segfault for me (same debian+libc-client, only 32bit), instead (with trunk) I got this (configure exited with code 1): checking for U8T_DECOMPOSE... configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. In config.log I have: | #define HAVE_IMAP 1 | #define HAVE_NEW_MIME2TEXT 1 | /* end confdefs.h. */ | | #include <c-client.h> | | int | main () | { | | int i = U8T_CANONICAL; | | ; | return 0; | } configure:49601: result: configure:49606: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. ------------------------------------------------------------------------ [2011-07-19 06:54:00] k dot joe at freemail dot hu /usr/src/php-5.3.7RC3/a# gdb conftest This GDB was configured as "x86_64-linux-gnu". Reading symbols from /usr/src/php-5.3.7RC3/a/conftest...done. (gdb) run Starting program: /usr/src/php-5.3.7RC3/a/conftest [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b147b8 in utf8_to_mutf7 () from /usr/lib/libc-client.so.2007e (gdb) bt #0 0x00007ffff7b147b8 in utf8_to_mutf7 () from /usr/lib/libc-client.so.2007e #1 0x0000000000400a3c in main () at configure:50618 ------------------------------------------------------------------------ [2011-07-19 06:27:37] k dot joe at freemail dot hu Description: ------------ Configure with imap throws segfaults into the underlying system (when testing with conftest files), but the configuring and compiling continues fine. # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 6.0.2 (squeeze) Release: 6.0.2 Codename: squeeze # uname -a Linux titan-debian6 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux # dpkg -l | grep libc-client ii libc-client2007e 8:2007e~dfsg-3.1 ii libc-client2007e-dev 8:2007e~dfsg-3.1 Tested PHP versions: PHP 5.3.3 PHP 5.3.6 PHP 5.3.7RC3 PHP 5.4.0alpha2 PHP 201107190830 (snapshot) Test script: --------------- simply run: ./configure --with-imap --with-imap-ssl --with-kerberos Expected result: ---------------- Expecting failed configure or display an error. Actual result: -------------- reproducible dmesg output: conftest[21201]: segfault at 1 ip 00007fe3a8b8a7b8 sp 00007fffff905ae0 error 4 in libc-client.so.2007e.0[7fe3a8b48000+102000] gdb output (don't have debug info): # gdb -c core This GDB was configured as "x86_64-linux-gnu". Core was generated by `./conftest'. Program terminated with signal 11, Segmentation fault. #0 0x00007fe3a8b8a7b8 in ?? () ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55238&edit=1

« previous php.bugs (#232690) next »