SIGABRT on MacOS X + select
OS X V. 10.3.9
web.py framework (http://webpy.infogami.com/install)
% sudo lighttpd -Df code.py
OS X V. 10.4.9
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)
Updated by Napalm-Llama over 15 years ago
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.
Updated by Anonymous over 15 years ago
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.
Also available in: Atom