Pavel Sanda schreef:
Vincent van Ravesteijn wrote:
One hypothesis might be that we're doing not so thread-safe things. You
emit a qt-signal to flush the stream, but at the time that we are flushing
it, we might already be writing stuff to it.
does such kind of patch help? probably combined with patch above.
maybe even to put it on the begining/end of the whole function.
pavel
It's only half of the story. You'll have to put the same in GuiProgress
and they should use the same QMutex object of course, so that they know
about each other.
First, I'm not sure how this QMutex object should be accessed..
Second, I got a deadLock detection on exit :S.
Anyway, the crash wasn't there anymore.
Vincent