Segmentation fault :-(

"David Wantia" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <op.u166x0pcqvboyb@evb-turbine-five>
HI,

i have a problem with my fcgi. it can be execute in two ways.

Normally, from /usr/lib/fcgi-bin/req.fcgi (from fastcgi.conf as static  
(apache)) OR
  in a console with an argument, e.g. ./req.fast arg0 (then without  
FCGI_Accept)

Commands
In the first case, i can control my fcgi by browser  
"localhost/fcgi-bin/req.fcgi?PUSH@21D1,23D2"
In the second case, i can control my fcgi with the stdin. eg  
"PUSH@21D1,23D2"

But in the first case, my fcgi restarted by apache sometime and the apache  
errorlog say:

[Thu Oct 22 10:20:14 2009] [warn] FastCGI: server  
"/usr/lib/fcgi-bin/req.fcgi" (pid 22514) terminated due to uncaught signal  
'11' (Segmentation fault)
[Thu Oct 22 10:20:14 2009] [warn] FastCGI: server  
"/usr/lib/fcgi-bin/req.fcgi" restarted (pid 22521)


Is was NEVER happen in the second case. So i must find a way to debug the  
fcgi with the apache.
What can i do? i have no idea how to do this. And i have no idea where the  
error be triggered.

Please answer directly to david at wanscha dot com

David



-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.