Re: hangs in flockfile() during fread() or fclose()
Re: hangs in flockfile() during fread() or fclose()
- Subject: Re: hangs in flockfile() during fread() or fclose()
- From: "Stephen J. Butler" <email@hidden>
- Date: Thu, 10 Jul 2014 00:04:04 -0500
Don't take this the wrong way, but...
Incredible claims -- like stdio being broken -- require incredible evidence. From our perspective, it's much more likely that your code has a memory corruption, double free, or stack smashing bug somewhere than stdio not working correctly. You might want to try Malloc Debug if you haven't already:
valgrind, although a pain to setup, has also helped me find memory related bugs in the past.
Of course, a reproducible test case would point the finger where it belongs. Or it might help you find a bug in your code. I know there have been times I was ready to blame a framework for something, and when writing the test case I discovered it was something I'd misunderstood.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden