Edit report at https://bugs.php.net/bug.php?id=55238&edit=1

 ID:                 55238
 Comment by:         k dot joe at freemail dot hu
 Reported by:        k dot joe at freemail dot hu
 Summary:            Configure throws segfault with libc-client2007e
 Status:             Open
 Type:               Bug
 Package:            *Compile Issues
 Operating System:   Debian GNU/Linux 6.0.2
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

/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


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to