dcsimg
"mprotect reset: bad address" error in my app which does file IO.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dhiraj_sindhu
Posted On:   Saturday, December 22, 2001 02:57 AM

Hi,

I am running an application that uses FileOutputStream to write data to a file. Multiple threads write to this file concurrently using their own instances of FileOutputStream. After a random period of time my app crashes with the message "mprotect reset: bad address". When i run my app without writing to this file, it doesnt crash, so it seems that the way i doing file IO is the problem.

Thank you
Dhiraj

Re: "mprotect reset: bad address" error in my app which does file IO.

Posted By:   John_Zukowski  
Posted On:   Sunday, December 30, 2001 10:01 PM

They should share the same instance of FieOutputStream, not create their own.
About | Sitemap | Contact