<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 11:01 PM, Jaydeep Solanki <span dir="ltr"><<a href="mailto:jaydp17@gmail.com" target="_blank">jaydp17@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Running it under helgrind, gives <a href="https://www.dropbox.com/s/5v3bh1v6le8adkr/helg.txt" target="_blank">this</a> output.<br>
<br></div>It shows a warning near the region where we get a crash saying "<i>conflicts with a previous write of size 4 by thread #4</i>", L117 in helgrind output file<br>
<br></div>Also, can you please throw some light on what the warning is trying to say. What is a 'conflict on previous write' ?<br></div></blockquote><div>I read the documentation and understood what it is, but it doesn't give any insight about what's going wrong.<br>
<br></div><div>BTW, I tried a few times with helgrind & it didn't crash. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 1:40 PM, Jaydeep Solanki <span dir="ltr"><<a href="mailto:jaydp17@gmail.com" target="_blank">jaydp17@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Mon, Sep 23, 2013 at 3:17 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El Dilluns, 23 de setembre de 2013, a les 02:05:23, Jaydeep Solanki va<br>
<div><div>escriure:<br>
> On Sun, Sep 22, 2013 at 9:21 PM, Albert Astals Cid <<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>> wrote:<br>
> > El Dissabte, 21 de setembre de 2013, a les 23:16:56, Jaydeep Solanki va<br>
> ><br>
> > escriure:<br>
> > > On Sat, Sep 21, 2013 at 9:25 PM, Albert Astals Cid <<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>><br>
> ><br>
> > wrote:<br>
> > > > El Dissabte, 21 de setembre de 2013, a les 14:50:50, Jaydeep Solanki<br>
> > > > va<br>
> > > ><br>
> > > > escriure:<br>
> > > > > Hi,<br>
> > > ><br>
> > > > Hi<br>
> > > ><br>
> > > > > @Albert,<br>
> > > > > Welcome back :)<br>
> > > ><br>
> > > > Thanks :-)<br>
> > > ><br>
> > > > > As you might be aware GSoC is coming to an end, I want to wrap<br>
> > > > > things<br>
> > > > > up.<br>
> > > > ><br>
> > > > > I have a few days, and I want to finish multi-threading support for<br>
> > > > > ePubs<br>
> > > > > before GSoC ends. I have created a patch, but it crashes sometimes,<br>
> ><br>
> > I'm<br>
> ><br>
> > > > > unable to find a reason to that.<br>
> > > ><br>
> > > > Where's the patch?<br>
> > ><br>
> > > Diff attached<br>
> > ><br>
> > > File to test on :<br>
> > > link<<br>
> ><br>
> > <a href="https://www.dropbox.com/s/x63kkjf8q4h4fdy/Getting%20Gold%20by%20J_C_F_J" target="_blank">https://www.dropbox.com/s/x63kkjf8q4h4fdy/Getting%20Gold%20by%20J_C_F_J</a><br>
> ><br>
> > > ohnson.epub><br>
> > ><br>
> > > > Do you have a backtrace of the crash?<br>
> > ><br>
> > > I have got two different backtraces, using the same ePub<br>
> > ><br>
> > > Backtrace 1 : <a href="http://paste.kde.org/p0b9a1e1e/" target="_blank">http://paste.kde.org/p0b9a1e1e/</a><br>
> > ><br>
> > > Backtrace 2 : <a href="http://paste.kde.org/pa4e31b12/" target="_blank">http://paste.kde.org/pa4e31b12/</a><br>
> ><br>
> > Any reason you have not installed debug symbols for Qt to get a better<br>
> > bracktrace (less ??)?<br>
><br>
> Installed it.<br>
> still I'm not able to make any sense out of it.<br>
><br>
> Updated backtrace :  <a href="http://paste.kde.org/pa8f27933/" target="_blank">http://paste.kde.org/pa8f27933/</a><br>
<br>
</div></div>How are you getting the backtrace? </blockquote></div></div><div>I use Qt Creator, when it crashes I use create full backtrace option to get this backtrace.<br></div><div>Further more using gdb + terminal I get <a href="http://paste.kde.org/p11fad1cf/" target="_blank">this</a> backtrace.<br>


<br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Can you mark in which thread the crash is<br>
happening?<br></blockquote></div><div>I get an ABORT signal when TextDocumentGeneratorPrivate::createTextPage(. . .) is called inside core/textdocumentgenerator.cpp. Now inside that 99% of the times I get a crash on L81 (my branch).<br>


</div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers,<br>
  Albert<br>
<div><div><br>
><br>
> > Cheers,<br>
> ><br>
> >   Albert<br>
> ><br>
> > > > What has changed<br>
> > > > since last time we tried to do this?<br>
> > ><br>
> > > I have noticed that it only crashes when the epub has an adequate amount<br>
> ><br>
> > of<br>
> ><br>
> > > images. Epubs with no images or 1 or 2 images are less likely to crash.<br>
> ><br>
> > The<br>
> ><br>
> > > more the images the more likely it is to crash.<br>
> > ><br>
> > > Now we don't have to guess if it will crash on this file or not.<br>
> > > Considering all this, I have given you an ePub that is most likely to<br>
> ><br>
> > crash<br>
> ><br>
> > > atleast once before completing a round trip (top to bottom & bottom to<br>
> > > top).<br>
> > ><br>
> > > > Cheers,<br>
> > > ><br>
> > > >   Albert<br>
> > > ><br>
> > > > > So, can we please help, me get this done.<br>
> > > > > It's the same bug that we once tried to fix on IRC.<br>
> > > > ><br>
> > > > > I'll be available on #okular, same time as usual.<br>
> > > > ><br>
> > > > > Cheers,<br>
> > > > > Jaydeep<br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > Okular-devel mailing list<br>
> > > > <a href="mailto:Okular-devel@kde.org" target="_blank">Okular-devel@kde.org</a><br>
> > > > <a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
> ><br>
> > _______________________________________________<br>
> > Okular-devel mailing list<br>
> > <a href="mailto:Okular-devel@kde.org" target="_blank">Okular-devel@kde.org</a><br>
> > <a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
<br>
_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org" target="_blank">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>