<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 17, 2013 at 2:06 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 Divendres, 16 d'agost de 2013, a les 22:29:38, Jaydeep Solanki va escriure:<br>
<div class="im">> How it occurs :<br>
><br>
> 1) Open an ePub<br>
> 2) As soon as it opens, hold Right arrow key, till it reaches the end of<br>
> document or crashes<br>
><br>
> another way would be<br>
><br>
> 2) Hold PgUp/ PgDn key, till it reaches the end of document or crashes.<br>
><br>
</div>> *Note:* it doesn't always crash. In fact the probability of it crashing is<br>
<div class="im">> very low, thus it gets difficult to debug.<br>
<br>
</div>Have you tried with the helgrind tool of valgrind?<br></blockquote><div>yes<br><br></div><div>The only information related to us, that I got is <a href="http://paste.kde.org/p14eda246/">http://paste.kde.org/p14eda246/</a><br>
</div><div>It says nothing about QTextDocument::drawContents(..).<br></div><div> <br></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 class=""><div class="h5"><br>
><br>
> On Tue, Aug 13, 2013 at 3:17 AM, Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> wrote:<br>
> > El Dissabte, 10 d'agost de 2013, a les 01:19:14, Jaydeep Solanki va<br>
> ><br>
> > escriure:<br>
> > > Hi,<br>
> > > I have tested yesterday's patch (without lock) with about 15 different<br>
> > > epubs, and it crashed only once. I tried the same epub that made it<br>
> > > crash<br>
> > > once a few more times, but it didn't crash. Thus, crash doesn't depend<br>
> > > on<br>
> > > the epub.<br>
> > ><br>
> > > I observed a few things, it crashes only when I'm scrolling the pages at<br>
> > > super fast speed (like pressing PgDn or right arrow key), this tells<br>
> > > that<br>
> > > generating pixmaps fast makes it break, so I set the performance to<br>
> ><br>
> > Greedy,<br>
> ><br>
> > > which makes Okular generate all the pixmaps as soon as possible, but it<br>
> > > never crashes there!<br>
> > ><br>
> > > The error that it gave me when crash occurred was "memory corrupted", so<br>
> ><br>
> > I<br>
> ><br>
> > > tried valgrind, but it didn't detect any invalid memory.<br>
> > ><br>
> > > May be whenever you get time give it a try. Let's see if it crashes with<br>
> > > you.<br>
> ><br>
> > Can you please exactly tell me what you are doing and describe the crash<br>
> > you<br>
> > are getting?<br>
> ><br>
> > Cheers,<br>
> ><br>
> > Albert<br>
> ><br>
> > > Cheers,<br>
> > > Jaydeep<br>
> ><br>
> > _______________________________________________<br>
> > Okular-devel mailing list<br>
> > <a href="mailto:Okular-devel@kde.org">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">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><br></div></div>