[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgi-list
Subject:    Re: [CGI] Interpreting a core file
From:       Daniel Lo <danlo () jps ! net>
Date:       1998-06-23 5:04:04
[Download RAW message or body]

I found that putting

print "Content-type: text/plain\n\n";
at the very begining of a script helps, a lot.. That way I get to
see the headers...

-daniel

Keith T. Sherry wrote:

> All,
>         I'm hoping one of you can shed some light as to what this means and how I
> can resolve the
> problem (BTW, I'm using the beloved Devel::CoreStack to trace thru the core
> file):
>
>         SIGSEGV: Segmentation Fault
>         regmatch() + c
>         data address not found
>
>         I might also add that in my Apache error_log I get the following error when
> the "core" dump occurs:
>
>         "premature end of script header ..yadda yadda"
>
>         I have no idea why it affects my this code
>
>                 print $q->header() <---method call within CGI.pm
>
>         so I changed it to the hard-coded version
>
>                 print "Content-Type..yadda..yadda"
>
>         but it still screws it up.
>
> Regards,
> Keith T. Sherry
>
> -----------------------------------------------------------------
> For subscription information, http://www.jann.com/lwgate/lwgate.pl/CGI-LIST/.
>
> The CGI Tips & Tricks website (and archive of the list) is located
> at http://www.jann.com/Perl/
>
> cgi-list is hosted by Wizards of the Web (http://wizweb.com).
> -----------------------------------------------------------------



--

   * Daniel Lo & Associates
   * danlo@jps.net
   * Homepage: http://www.jps.net/danlo/dla/index.html
   * Netscape Conference Address: netdls.four11.com, danlo@jps.net


-----------------------------------------------------------------
For subscription information, http://www.jann.com/lwgate/lwgate.pl/CGI-LIST/.

The CGI Tips & Tricks website (and archive of the list) is located
at http://www.jann.com/Perl/

cgi-list is hosted by Wizards of the Web (http://wizweb.com).
-----------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic