hi
The webserver in /usr/local/bin/webserver respond to static html
requests. But when I try to call a fdoc it crashes with the following
message:
$ /usr/local/bin/webserver
[...]
Spawned fthread running for socket 5
got line from socket 5: GET /web/document_index.fdoc HTTP/1.1
well formed get...
base=
file=web/document_index.fdoc
Loaded fdoc file web/document_index.fdoc, len=229
Segmentation fault
Unfortunately this is not very helping I guess. Maybe somebody can do
something with the crash report?
~/Library/Logs/DiagnosticReports/webserver_2012-04-11-165317_bens-imac.crash:
Process: webserver [49323]
Path: /usr/local/bin/webserver
Identifier: webserver
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Date/Time: 2012-04-11 16:53:17.606 +0200
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
Thread 1:
0 libSystem.B.dylib 0x00007fff86d0ba6a
__semwait_signal + 10
1 libSystem.B.dylib 0x00007fff86d0f881
_pthread_cond_wait + 1286
2 webserver 0x00000001000898a9
flx::pthread::flx_condv_t::wait(flx::pthread::flx_mutex_t*) + 9
3 webserver 0x0000000100089ddb
flx::pthread::bound_queue_t::dequeue() + 43
4 webserver 0x000000010008a84a
flx::pthread::worker_fifo::thread_start(void*) + 42
5 webserver 0x000000010008be06
flx_pthread_start_wrapper + 150
6 libSystem.B.dylib 0x00007fff86d09fd6 _pthread_start
+ 331
7 libSystem.B.dylib 0x00007fff86d09e89 thread_start + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff86d0ba6a
__semwait_signal + 10
1 libSystem.B.dylib 0x00007fff86d0f881
_pthread_cond_wait + 1286
2 webserver 0x00000001000898a9
flx::pthread::flx_condv_t::wait(flx::pthread::flx_mutex_t*) + 9
3 webserver 0x0000000100089ddb
flx::pthread::bound_queue_t::dequeue() + 43
4 webserver 0x000000010008a84a
flx::pthread::worker_fifo::thread_start(void*) + 42
5 webserver 0x000000010008be06
flx_pthread_start_wrapper + 150
6 libSystem.B.dylib 0x00007fff86d09fd6 _pthread_start
+ 331
7 libSystem.B.dylib 0x00007fff86d09e89 thread_start + 13
Thread 3:
0 libSystem.B.dylib 0x00007fff86d0ba6a
__semwait_signal + 10
1 libSystem.B.dylib 0x00007fff86d0f881
_pthread_cond_wait + 1286
2 webserver 0x00000001000898a9
flx::pthread::flx_condv_t::wait(flx::pthread::flx_mutex_t*) + 9
3 webserver 0x0000000100089ddb
flx::pthread::bound_queue_t::dequeue() + 43
4 webserver 0x000000010008a84a
flx::pthread::worker_fifo::thread_start(void*) + 42
5 webserver 0x000000010008be06
flx_pthread_start_wrapper + 150
6 libSystem.B.dylib 0x00007fff86d09fd6 _pthread_start
+ 331
7 libSystem.B.dylib 0x00007fff86d09e89 thread_start + 13
Thread 4:
0 libSystem.B.dylib 0x00007fff86d0ba6a
__semwait_signal + 10
1 libSystem.B.dylib 0x00007fff86d0f881
_pthread_cond_wait + 1286
2 webserver 0x00000001000898a9
flx::pthread::flx_condv_t::wait(flx::pthread::flx_mutex_t*) + 9
3 webserver 0x0000000100089ddb
flx::pthread::bound_queue_t::dequeue() + 43
4 webserver 0x000000010008a84a
flx::pthread::worker_fifo::thread_start(void*) + 42
5 webserver 0x000000010008be06
flx_pthread_start_wrapper + 150
6 libSystem.B.dylib 0x00007fff86d09fd6 _pthread_start
+ 331
7 libSystem.B.dylib 0x00007fff86d09e89 thread_start + 13
Thread 5:
0 libSystem.B.dylib 0x00007fff86ce9c0a kevent + 10
1 webserver 0x000000010008909c
flx::demux::kqueue_demuxer::get_evts(bool) + 44
2 webserver 0x0000000100086dfa
flx::demux::pthread_thread(void*) + 26
3 webserver 0x000000010008be06
flx_pthread_start_wrapper + 150
4 libSystem.B.dylib 0x00007fff86d09fd6 _pthread_start
+ 331
5 libSystem.B.dylib 0x00007fff86d09e89 thread_start + 13
Thread 6:
0 libSystem.B.dylib 0x00007fff86d0ba6a
__semwait_signal + 10
1 libSystem.B.dylib 0x00007fff86d0f881
_pthread_cond_wait + 1286
2 webserver 0x00000001000898a9
flx::pthread::flx_condv_t::wait(flx::pthread::flx_mutex_t*) + 9
3 webserver 0x0000000100087add
flx::demux::posix_timer_queue::thread_loop_body() + 429
4 webserver 0x0000000100087b38
flx::demux::posix_timer_queue::thread_start(void*) + 24
5 webserver 0x000000010008be06
flx_pthread_start_wrapper + 150
6 libSystem.B.dylib 0x00007fff86d09fd6 _pthread_start
+ 331
7 libSystem.B.dylib 0x00007fff86d09e89 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000100200500 rbx: 0x0000000000000000 rcx:
0x00007fff5fbfd530 rdx: 0x00007fff5fbfd540
rdi: 0x00007fff5fbfca80 rsi: 0x0000000000000000 rbp:
0x00007fff5fbfca80 rsp: 0x00007fff5fbfbd28
r8: 0x0000000000000001 r9: 0x000000010020ec90 r10:
0x000000010020ea30 r11: 0x0000000000000001
r12: 0x00007fff5fbfd530 r13: 0x00007fff5fbfd540 r14:
0x000000010081a698 r15: 0x0000000100819c00
rip: 0x0000000000000000 rfl: 0x0000000000010206 cr2: 0x0000000000000000
Binary Images:
0x100000000 - 0x1000f2fef +webserver ??? (???)
<DD1B22A0-41B4-8361-5647-A7381620E3E9> /usr/local/bin/webserver
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???)
<69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld
0x7fff85929000 - 0x7fff8592dff7 libmathCommon.A.dylib 315.0.0
(compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5>
/usr/lib/system/libmathCommon.A.dylib
0x7fff86cd0000 - 0x7fff86e91fef libSystem.B.dylib 125.2.11
(compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69>
/usr/lib/libSystem.B.dylib
0x7fff8a300000 - 0x7fff8a37dfef libstdc++.6.dylib 7.9.0
(compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C>
/usr/lib/libstdc++.6.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???)
<9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language