DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41184>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41184





------- Additional Comments From [EMAIL PROTECTED]  2006-12-15 16:18 -------
(In reply to comment #7)
 
> It did return -1 through, a few lines later in the trace (I had printed before
> the relevant line apparently), but strangely, no errno.

Ah, Ok I missed that. So the other value is just some kind of bogus value that
sometimes appears during debugging.
I am not sure if gdb really displays the correct value for errno here as if you
include errno.h errno is usually a macro to a function rather then a variable in
order to work in threaded environments. So can you please apply the following
patch and have a look what gets shown in the error log in debug mode?

Index: server/mpm/worker/worker.c
===================================================================
--- server/mpm/worker/worker.c  (Revision 487344)
+++ server/mpm/worker/worker.c  (Arbeitskopie)
@@ -606,7 +606,11 @@
     free(ti);

     /* ### check the status */
-    (void) apr_pollset_create(&pollset, num_listensocks, tpool, 0);
+    rv = apr_pollset_create(&pollset, num_listensocks, tpool, 0);
+    if (rv != APR_SUCCESS) {
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, ap_server_conf,
+                                          "Pollset create returned %i", rv);
+    }

     for (lr = ap_listeners; lr != NULL; lr = lr->next) {
         apr_pollfd_t pfd = { 0 };

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to