|
Crash with buggy FCGI: msg#00018web.lighttpd
I've been running PHP as a fastcgi under Lighttpd, and I found a script that crashes PHP unmercifully. Lighttpd goes with it when it tries to free the fdevent fdnode for the connection that never made it. This fixes it for me: --- fdevent.c~ 2004-08-03 03:11:59.000000000 -0600 +++ fdevent.c 2004-09-08 01:02:32.020938472 -0600 @@ -115,6 +115,7 @@ int fdevent_unregister(fdevents *ev, int fd) { fdnode *fdn; if (!ev) return 0; + if (fd == -1) return 0; fdn = ev->fdarray[fd]; fdnode_free(fdn); |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: fcgi - lighttpd 1.2.7 problems as well: 00018, Paul Mackiewicz |
|---|---|
| Next by Date: | Re: Crash with buggy FCGI: 00018, Aredridel |
| Previous by Thread: | spawn-fcgi question - number of php processesi: 00018, Viktors Rotanovs |
| Next by Thread: | Re: Crash with buggy FCGI: 00018, Aredridel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |