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