#24174 [Opn->Csd]: Seg. fault when calling imagecreatefromstring

From: Date: Mon, 16 Jun 2003 16:54:26 +0000
Subject: #24174 [Opn->Csd]: Seg. fault when calling imagecreatefromstring
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42054@lists.php.net to get a copy of this message
ID: 24174 Updated by: derick@php.net Reported By: legion at altlinux dot org -Status: Open +Status: Closed Bug Type: GD related Operating System: ALTLinux PHP Version: 4.3.2 New Comment: There is the solution then, use the bundled library (which has some bugs fixed the external one hasn't) Previous Comments: ------------------------------------------------------------------------ [2003-06-16 11:49:56] legion at altlinux dot org I did what you asked me. I even got computer for tests. I install last version s of gd-2.0.15 and php4-STABLE-200306161530. When i use the bundled GD library everything is ok, but if i use external GD then happens segfault. ------------------------------------------------------------------------ [2003-06-15 16:40:01] sniper@php.net And if you get the same segfault with --with-gd (ie. the bundled GD), then provide a GDB backtrace. ------------------------------------------------------------------------ [2003-06-15 14:20:00] derick@php.net I would recomment to use the bundled GD library which you can enable by using --with-gd (without path). Can you try that? ------------------------------------------------------------------------ [2003-06-15 11:57:14] legion at altlinux dot org This was my configure command: configure --with-gd=/usr --enable-gd-native-ttf --with-jpeg-dir=/usr --with-xpm-dir=/usr/X11R6 --with-t1lib --with-ttf=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-freetype-dir=/usr What is the version libgd do you use ? Maybe this is problem on my side... ------------------------------------------------------------------------ [2003-06-13 08:36:58] sniper@php.net And what was the configure line you used to configure PHP? (note: This does NOT crash for me) ------------------------------------------------------------------------ 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/24174 -- Edit this bug report at http://bugs.php.net/?id=24174&edit=1

« previous php.bugs (#42054) next »