if you launch the webserver by 

flx tools/webserver --root=INSTALL_DIR

then you can now browse the library "lib" using hyperlinked include
statements. A good link is:

http://localhost:1234/std/__init__.flx

as it includes most of the standard library.

On the downside:

BUGGER the old problem of losing the tail of some pages,
even with a 1 second delay before closing the socket.

BUGGER WORSE the dang thing crashes, sometimes with
an error from malloc saying it is freeing an unallocated pointer.

So there is STILL a bug in the socket handling, losing the tail
of the file, and there's a serious bug in the Felix core somewhere
causing the crash, probably in the gc, or perhaps the interaction
of the gc with the async stuff.

The gc doesn't track ANY data managed by the demux thread.
I'm not sure if an fthread on the async sleep or ready queues
is considered rooted async I/O shouldn't touch these fthreads
other than by filling in fields, eg buffers, which should be harmless.
So it should be safe to scan those fthreads and do gc on them.
However the control blocky thing is another story, perhaps that's
being removed from under the demuxer.

Not sure. One thing I recall is that the gc crashes reliably if you squeeze 
the initial allocation down to a few bytes. It shouldn't.

It is marginally possible the problem is that the gc is running in the middle
of an fthread being swapped from one queue to another from the demux
thread (but I doubt it, and the chance of that timing is low: the crash is 
after only a couple of minutes of loading pages).

It is NOT specific to the file being served, but it IS related to the chopping
off of the tail... 

Hmmm error code 11

Oh, if I do fast loads it crashes every time, gets that broken pipe thing ..
only now the interrupt is masked, so it doesn't crash directly due to the
signal. Looks like it gets confused if there is a request coming in whilst
still transmitting.

--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to