|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-01-22 12:53 UTC] fjbejarano at gmail dot com
Description:
------------
Hi
I have installed expect extension (0.3.1, 0.3.0, 0.2.9) with php 5.3.21 and expect 5.44.1.15 for CentOS 6.3 64 bits.
I do it with pecl and with manual compilation but in all cases I obtain a segmentation fault.
kernel: php[30886]: segfault at 191 ip 00007fbd6ce51556 sp 00007fff7349c060 error 4 in expect.so[7fbd6ce4f000+3000]
With gdb
(gdb) run -i
Starting program: /usr/local/php/bin/php -i
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffed551700 (LWP 919)]
[Thread 0x7fffed551700 (LWP 919) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007fffedcb3556 in OnSetExpectLogFile (entry=0x13d1c60, new_value=0x7fffedcb3843 "", new_value_length=0, mh_arg1=0x0, mh_arg2=0x0, mh_arg3=0x0, stage=1, tsrm_ls=0x107b0e0)
at /tmp/pear/temp/expect/expect.c:130
130 /tmp/pear/temp/expect/expect.c: No existe el fichero o el directorio.
in /tmp/pear/temp/expect/expect.c
Regards
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 09:00:01 2025 UTC |
I have no expect settings in php.ini, but I set the following at runtime ini_set("expect.timeout",-1); ini_set("expect.loguser","Off");