Project

General

Profile

Actions

Bug #1835

closed

Lighty crashes due to memory corruption

Added by rahulmittal321 over 15 years ago. Updated over 15 years ago.

Status:
Invalid
Priority:
High
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

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..

Actions #1

Updated by stbuehler over 15 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.

Actions

Also available in: Atom