Bug #1161
closedLighttpd 1.5.0 pre-release dies quickly on Mac OS X
Description
I'm running on Mac OS X with lighttpd 1.5.0.
After making certain calls on my application, lighttpd shuts down completely, with the following error message:
services/lighty/dev: line 1: 22577 Abort trap /usr/local/sbin/lighttpd -D -f services/lighty/lighttpd-dev.conf
-- pete
Files
Updated by jwmcglynn over 17 years ago
Please post your lighttpd-dev.conf file and a ktrace.
To make a ktrace check this URL: http://trac.lighttpd.net/trac/wiki/HowToReportABug#ktrace
Updated by Anonymous over 17 years ago
Thanks for the tip. I've posted the ktrace + lighttd-dev.conf.
The ktrace revealed something interesting. It looks like it's failing to open my Flash SWF file that's in the doc-root.
One more thing: this works beautifully on our production server boxes. The failure only happens on my development MacBook Pro - which has all the same config files + software versions.
8387 lighttpd 1178210335.991975 GIO fd 7 wrote 236 bytes "HTTP/1.1 200 OK\r Content-Type: application/x-shockwave-flash\r ETag: "-245056966"\r Accept-Ranges: bytes\r Last-Modified: Thu, 03 May 2007 03:17:31 GMT\r Content-Length: 38744\r Date: Thu, 03 May 2007 16:38:55 GMT\r Server: lighttpd/1.5.0\r \r " 8387 lighttpd 1178210335.991981 RET writev 236/0xec 8387 lighttpd 1178210335.992264 CALL open(4374800,0,4265472) 8387 lighttpd 1178210335.992273 NAMI "/nextweb/production/public/flash/nextwiki.swf" 8387 lighttpd 1178210335.992311 RET open 9 8387 lighttpd 1178210335.992317 CALL fcntl(9,2,1) 8387 lighttpd 1178210335.992322 RET fcntl 0 8387 lighttpd 1178210335.992328 CALL mmap(0,0,3,4097,-1,0) 8387 lighttpd 1178210335.992332 RET mmap 0 8387 lighttpd 1178210335.992343 CALL write(2,-1073746496,68) 8387 lighttpd 1178210335.992350 GIO fd 2 wrote 68 bytes "network_posix_aio.c:294: failed assertion `c->file.copy.length > 0' " 8387 lighttpd 1178210335.992355 RET write 68/0x44 8387 lighttpd 1178210335.992362 CALL sigprocmask(3,-1073744856,0) 8387 lighttpd 1178210335.992368 RET sigprocmask 0 8387 lighttpd 1178210335.992373 CALL kill(8387,6) 8387 lighttpd 1178210335.992380 RET kill 0 8387 lighttpd 1178210335.992384 PSIG SIGABRT SIG_DFL
-- pete
Updated by Anonymous over 17 years ago
I get the same error trying to use x-sendfile. Similar environment to the above poster.
16448 lighttpd GIO fd 9 wrote 316 bytes "HTTP/1.1 200 OK\r Date: Tue, 10 Jul 2007 00:34:11 GMT\r Set-Cookie: _session_id=72b07254e0068155a5e972a54f3b565f; path=/\r Last-Modified: Tue, 10 Jul 2007 00:25:55 GMT\r Cache-Control: no-cache\r Server: Mongrel 1.0.1\r Content-Type: text/html; charset=utf-8\r ETag: "595112525"\r Accept-Ranges: bytes\r Content-Length: 1\r \r " 16448 lighttpd RET writev 316/0x13c 16448 lighttpd CALL open(0x5279b0,0,0x50c280) 16448 lighttpd NAMI "/disk0s3/rails/store/trunk/tmp/cache/DATA/mystore2.com/1.cache" 16448 lighttpd RET open 10/0xa 16448 lighttpd CALL fcntl(0xa,0x2,0x1) 16448 lighttpd RET fcntl 0 16448 lighttpd CALL mmap(0,0,0x3,0x1001,0xffffffff,0) 16448 lighttpd RET mmap 0 16448 lighttpd CALL write(0x2,0xbfffebc0,0x44) 16448 lighttpd GIO fd 2 wrote 68 bytes "network_posix_aio.c:333: failed assertion `c->file.copy.length > 0' " 16448 lighttpd RET write 68/0x44 16448 lighttpd CALL sigprocmask(0x3,0xbffff228,0) 16448 lighttpd RET sigprocmask 0 16448 lighttpd CALL kill(0x4040,0x6) 16448 lighttpd RET kill 0 16448 lighttpd PSIG SIGABRT SIG_DFL
-- court3nay
Updated by gstrauss over 8 years ago
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Status changed from New to Duplicate
- Assignee deleted (
jan) - Missing in 1.5.x set to Yes
Also available in: Atom