From owner-freebsd-apache@FreeBSD.ORG Thu Jan 6 21:35:56 2005 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD74016A4CE for ; Thu, 6 Jan 2005 21:35:56 +0000 (GMT) Received: from einstein.baruch.cuny.edu (einstein.baruch.cuny.edu [150.210.155.52]) by mx1.FreeBSD.org (Postfix) with SMTP id EB69843D3F for ; Thu, 6 Jan 2005 21:35:55 +0000 (GMT) (envelope-from bnelson@baruch.cuny.edu) Received: (qmail 56830 invoked by uid 27); 6 Jan 2005 21:35:55 -0000 Received: from bnelson@baruch.cuny.edu by einstein by uid 82 with qmail-scanner-1.20 (uvscan: v4.3.20/v4418. Clear:RC:1(10.1.2.45):. Processed in 0.014468 secs); 06 Jan 2005 21:35:55 -0000 Received: from unknown (HELO ?10.1.2.45?) (10.1.2.45) by einstein.baruch.cuny.edu with SMTP; 6 Jan 2005 21:35:55 -0000 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: apache@FreeBSD.org From: Bjorn Nelson Date: Thu, 6 Jan 2005 16:35:50 -0500 X-Mailer: Apple Mail (2.619) Subject: Fwd: p5-gd with mod_perl problem X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 21:35:56 -0000 Figured out this problem. Apparently this is caused by a conflict between php4 with the gd extension enabled on the same apache server as the one I was trying to draw an image using the gd perl module under mod_perl. Disabled the extension for php4 and now it works. Thanks, Bjorn Begin forwarded message: > From: Bjorn Nelson > Date: November 10, 2004 6:30:41 PM EST > To: apache@FreeBSD.org > Subject: p5-gd with mod_perl problem > > Hello, > > I am e-mailing you because you are the maintainer of www/mod_perl. I > was wondering if you have ever run into this. When running the png > method on a GD:Image object through httpd and mod_perl, my httpd > process dies. It works find when run directly from perl but for some > reason this happens when I am using mod_perl and httpd. > > The error message is: > httpd in free(): error: modified (page-) pointer > [Wed Nov 10 21:44:51 2004] [notice] child pid 11970 exit signal Abort > trap (6) > > I tried looking at it through ktrace and what I get is a bunch of > break() calls: > 14764 httpd CALL break(0x8547000) > 14764 httpd RET break 0 > 14764 httpd CALL break(0x8540000) > 14764 httpd RET break 0 > 14764 httpd CALL issetugid > 14764 httpd RET issetugid 1 > 14764 httpd CALL write(0x2,0xbfbfee40,0x5) > 14764 httpd GIO fd 2 wrote 5 bytes > "httpd" > 14764 httpd RET write 5 > 14764 httpd CALL write(0x2,0x281b261f,0xb) > 14764 httpd GIO fd 2 wrote 11 bytes > " in free():" > 14764 httpd RET write 11/0xb > 14764 httpd CALL write(0x2,0x281b774b,0x8) > 14764 httpd GIO fd 2 wrote 8 bytes > " error: " > 14764 httpd RET write 8 > 14764 httpd CALL write(0x2,0x281b2571,0x19) > 14764 httpd GIO fd 2 wrote 25 bytes > "modified (page-) pointer > " > 14764 httpd RET write 25/0x19 > 14764 httpd CALL sigprocmask(0x3,0xbfbfe7b8,0) > 14764 httpd RET sigprocmask 0 > 14764 httpd CALL getpid > 14764 httpd RET getpid 14764/0x39ac > 14764 httpd CALL kill(0x39ac,0x6) > 14764 httpd RET kill 0 > 14764 httpd PSIG SIGIOT SIG_DFL > > Have you ever seen this before? I am using the generic example given > on cpan.org. > > Thanks, > Bjorn >