Fwd: p5-gd with mod_perl problem

Bjorn Nelson bnelson at baruch.cuny.edu
Thu Jan 6 13:35:56 PST 2005


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 <bnelson at baruch.cuny.edu>
> Date: November 10, 2004 6:30:41 PM EST
> To: apache at 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
>



More information about the freebsd-apache mailing list