Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 18:30:41 -0500
From:      Bjorn Nelson <bnelson@baruch.cuny.edu>
To:        apache@FreeBSD.org
Subject:   p5-gd with mod_perl problem
Message-ID:  <890874AA-3370-11D9-BEA6-003065B84EC8@baruch.cuny.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?890874AA-3370-11D9-BEA6-003065B84EC8>