Bug #1197
closed
SIGABRT on MacOS X + select
Added by Anonymous almost 18 years ago.
Updated over 1 year ago.
ASK QUESTIONS IN Forums:
No
Description
OS X V. 10.3.9
lighttpd-1.4.15
Python 2.5.1
web.py framework (http://webpy.infogami.com/install)
Shell output:
% sudo lighttpd -Df code.py
Abort trap
%
Abort trap occurs when I visit the page http://localhost:8080 or remotely at http://ip:8080. This same setup works fine on my other mac, which has the following versions:
OS X V. 10.4.9
Python 2.5
I have the following files:
code.conf (lighttpd config)
code.py (simple hello world using web.py)
code.trace.txt (a kdump of a ktrace ; The first request attempt from localhost worked, the second attempt from a remote computer caused the crash )
gdb_bt.txt (a gdb backtrace)
Files
Yup, I'm seeing this exact same problem (SIGABRT on first TCP connection, and an identical gdb backtrace).
I'm on a uClibc-based embedded Linux box though. The processor, however, is PPC. I'm guessing that could be what's causing the problem. I'm using the -mcpu=603e option for GCC, if that's any help.
I don't know much about coding, (at least not in C), but I'm willing to do what it takes to help get this bug ironed out if you can't reproduce it at your end.
Cheers :)
does the same happen with kqueue or poll as fdevent handler ?
- Status changed from New to Assigned
Replying to jan:
does the same happen with kqueue or poll as fdevent handler ?
I'm sorry, I don't know what that means. How would I find out?
I'll add my comment to the list -- I'm seeing the same issue on MacOS, albeit with an FCGI handler implemented in Haskell (and then compiled to native). For me, the server will take ~500 hits before crashing.
This is with the freebsd-kqueue event handler setting.
-- paulrbrown
Configuring the "poll" event handler instead yields an apparently stable server (under hammering by ab).
-- paulrbrown
- Status changed from Assigned to Missing Feedback
- Pending changed from Yes to No
- Patch available set to No
- Status changed from Missing Feedback to Obsolete
- ASK QUESTIONS IN Forums set to No
lighttpd 1.5.x branch has been abandoned.
lighttpd 1.4.x branch is now far more advanced and continues to be maintained.
Also available in: Atom