<div class="gmail_quote">On Mon, Apr 19, 2010 at 3:44 AM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 18.04.10 23:58:54, Sandro Andrade wrote:<br>
> I was running some problems in controlflowgraph plugin regarding cmakeutils<br>
> and kconfig thread-safety stuff. Basically when I had<br>
><br>
> multiple threads generating graphs occasionally I got the crash display<br>
> below. After including a QMutex in duchaincontrolflow.cpp:500 crashes were<br>
> solved, multiple graph generation threads can now live together. However,<br>
> the same crash (and backtrace) is occasionally produced when generating a<br>
> lot of graphs while background parsing is running.<br>
><br>
><br>
> Apparently some thread from background parser or cmakemanager stuff running<br>
> along with controlflowgraph thread is causing<br>
><br>
> the creash. IIRC, that would be a case for the foreground lock but, while it<br>
> isn't already fully usable, how should I address this issue by now ? I<br>
> wouldn't like to disable graph generation while parser is running since that<br>
> might make graphs unavailable for a long time.<br>
<br>
</div>You're not by any chance running libc 2.10.0 or 2.10.1? It had a bug in<br>
its malloc_printerr implementation causing race conditions which would<br>
result in such backtraces.<br></blockquote><div><br>Hi Andreas, I'm currently using glibc 2.11.1.<br><br>Sandro<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
If thats not the problem it would be interesting to see where the other<br>
threads are, i.e. if the problem is that two threads access kconfig or<br>
kstandarddirs or inside the cmake support...<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You will be recognized and honored as a community leader.<br>
</font><div><div></div><div class="h5"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br>