On 18/10/2010, at 10:10 PM, john skaller wrote: > > HOWEVER .. none of this explains why the webserver is CRASHING: > writing on a dead connection shouldn't cause a problem as long > as the actual socket is open. > > I just got another crash with a "call to pure virtual" diagnostic. I promise > you, > there aren't any such calls.. it has to be a memory corruption problem. > > The webserver IS using the collector, it uses some functions that use > the option type to return a value or error (eg, searching a string for > another string). Still .. the crash seems to happen much too soon > for the gc to be doing a collection: I will have to check this. > > The gc itself has been checked and checked and checked so many > times, it is known to crash when squeezed, and it may be that the > pthread waiting and stack checking code is causing the problems.
Well i have just run the webserver with FLX_DEBUG on and I got a crash whilst garbage collecting: .... Garbage 0x10010e8c0=address Garbage 0x10010e8d0=address Garbage 0x10010e900=_at19582 Segmentation fault Actually I don't know whether the collector itself is crashing, whether the collector is collecting non-garbage leading to a crash later, or whether the demux notification thread (which also does the actual asyc I/O) is causing a problem.. but at least this is some progress! -- 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