Ticket #1197 (assigned defect)

Opened 1 year ago

Last modified 10 months ago

SIGABRT on MacOS X + select

Reported by: anonymous Assigned to: jan (accepted)
Priority: normal Milestone: 1.5.0
Component: core Version: 1.4.15
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 1

Description

OS X V. 10.3.9
lighttpd-1.4.15
Python 2.5.1
web.py framework (http://webpy.infogami.com/install)[[BR]][[BR]]

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)

Attachments

code.conf (11.3 kB) - added by anonymous on 05/24/2007 06:50:01 PM.
code.py (305 bytes) - added by anonymous on 05/24/2007 06:51:25 PM.
code.trace.txt (12.9 kB) - added by anonymous on 05/24/2007 06:51:42 PM.
gdb_bt.txt (0.8 kB) - added by anonymous on 05/24/2007 06:52:58 PM.

Change History

05/24/2007 06:50:01 PM changed by anonymous

  • attachment code.conf added.

05/24/2007 06:51:25 PM changed by anonymous

  • attachment code.py added.

05/24/2007 06:51:42 PM changed by anonymous

  • attachment code.trace.txt added.

05/24/2007 06:52:58 PM changed by anonymous

  • attachment gdb_bt.txt added.

06/03/2007 12:10:43 AM changed by Napalm Llama

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 :)

(follow-up: ↓ 4 ) 08/23/2007 03:14:34 PM changed by jan

  • pending set to 1.

does the same happen with kqueue or poll as fdevent handler ?

08/23/2007 03:15:12 PM changed by jan

  • status changed from new to assigned.
  • summary changed from lighttpd crashes on http request to SIGABRT on MacOS X + select.

(in reply to: ↑ 2 ) 08/23/2007 03:23:53 PM changed by Napalm Llama

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?

09/09/2007 06:56:28 AM changed by paulrbrown@gmail.com

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.

09/09/2007 06:59:44 AM changed by paulrbrown@gmail.com

Configuring the "poll" event handler instead yields an apparently stable server (under hammering by ab).


Add/Change #1197 (SIGABRT on MacOS X + select)




Change Properties