Bug #1835
closedLighty crashes due to memory corruption
Description
Hi guys,
I have modified the staticfile module to introduce a trigger function in that.
In the trigger function, i am stat()ing a file to know its size and then appending the newly added data (in file) to the chunkqueue.
What is happening is that each time i use stat() or fstat() the lighty crashes at random points while if i remove this line which does the stat rest all remaining same, the crash is not there.
I am suspecting there's is some kinda race condition somewhere.
Also i am not using stat_cache_get_entry because it takes a lot of time to refresh the entry and the file that i need to read is being updated very fastly and i need to push out the data asap.
Pls comment..
Updated by stbuehler over 16 years ago
- Status changed from New to Invalid
Obviously not our fault. And if you need help with bugs in your code you should a) post your code b) give a backtrace of the crash c) not mark it as "High" priority d) not report it in the official bug tracker.
Also available in: Atom