#37951 [NoF->Opn]: Segfaul when using certain curl_setopt option

From: Date: Thu, 06 Jul 2006 15:23:14 +0000
Subject: #37951 [NoF->Opn]: Segfaul when using certain curl_setopt option
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99164@lists.php.net to get a copy of this message
ID: 37951 User updated by: headhunter at c-plusplus dot de Reported By: headhunter at c-plusplus dot de -Status: No Feedback +Status: Open Bug Type: cURL related Operating System: SLES 10.0 - 64 Bit PHP Version: 5.1.4 New Comment: The newest snapshot of today does not crash. The script works, problem is fixed. Do you still want to see the trace of the buggy php version? Andrew: Use the program "strace" for this. I haven't tried the MySQL thing though, please remember that this one is broken for MySql[4,5] + Php <=5.14 and Suse10.0/RHEL 4.0! Previous Comments: ------------------------------------------------------------------------ [2006-07-06 14:43:46] andrew dot hill at m3 dot net > There is --with-libdir configure option. Configuring PHP with this option set to /usr/lib64, and the copy of the mysql libraries (/usr/lib64/mysql) NOT in /usr/lib/mysql results in the error: "configure: error: Cannot find libmysqlclient under /usr." > Please provide the backtrace I have re-compiled PHP (the snapshot) with --enable-debug, but no core file is generated, as far as I can see... ------------------------------------------------------------------------ [2006-07-06 13:41:47] tony2001@php.net >I have also copied my MySQL 5.0 libraries from >/usr/lib64/mysql to /usr/lib/mysql to allow PHP to compile. There is --with-libdir configure option. >Any ideas? Yeah, please provide the backtrace and try the snapshot. ------------------------------------------------------------------------ [2006-07-06 13:33:39] andrew dot hill at m3 dot net Hi, I have the same issue on a RHEL 4.0 x86_64 machine. The listed example script crashes as described above. I have also copied my MySQL 5.0 libraries from /usr/lib64/mysql to /usr/lib/mysql to allow PHP to compile. In my case I was using PHP 5.0.4, but using the linked PHP 5.2 latest dev release didn't resolve the issue. Any ideas? Thanks! Andrew ------------------------------------------------------------------------ [2006-07-06 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-06-28 18:54:44] tony2001@php.net Apparently it's a snapshot. You don't have to INSTALL it, the only thing you need to do is to compile the snapshot and run your script using it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37951 -- Edit this bug report at http://bugs.php.net/?id=37951&edit=1

« previous php.bugs (#99164) next »