Am 21.05.2011 13:23, schrieb Cedric Sodhi: > Dear list, > > it has emerged that there is a problem with Cairo 1.10.2-r1 and > Xournal++ that, at least on this system, causes Xournal to frequently > freeze unrecoverably when using any selection tool and selecting more > than a few strokes. > > If further info is required please ask so publicly, Andreas can you > provide you with more technical details, I'm merely the person who ran > into it.
Technical it's a double free or memory corruption within cairo, because of the stacktrace I would say it's a cairo problem. I still use older cairo version, but I'll update my Notebook within the summer holidays so I can try it out, and maybe write a cairo bug report. If somebody want to do this earlier, Cedric has a stacktrace;-) > It turned out that downgrading to 1.8.10 solved that problem with > freezes but, so I think to have confirmed by now, comes with performance > issues: Often, making strokes or erasing is delayed by up to one second > before visual effects can be seen. I know this problem, it happens sometimes, and sometimes not. If I try to reproduce it don't happen for sure;-) If you would test if you have the same problem you can use the ruler tool, if you move your pen and the line is not redrawn you have the same problem. But I think this is not a cairo problem, but the cairo version may affect this because it behaves a little different, and so affect other things. It has something to do with the repaint behaviour of X11, which I may don't know enough good, once I found out there are no expose event between a time, so my application don't repaint. This can be because of other influences, because of a bug in Xournal++ or maybe because everything... I don't know and I cannot reproduce this. If I restart Xournal++ usually the problem is gone. If somebody has also the same problem and know more about it it may helps me to find the problem... Andreas > I switched between the two versions 1.8.10 and 1.10.2-r1 a few times and > think that I can by now conclude that > > 1.10.2-r1 freezes upon selecting > 1.8.10 causes performance to degrade > > At first, I'd like those with the specific cairo versions to provide > feedback to the list whether you can confirm any of the above behaviour > or possibly reproduce it by changing your version. > > Then, not to mention, we all would be happy if someone could think of > the cause for that problem (especially the freeze in 1.10.2, of course) > and how fix it or how to tell the cairo-guys about it in usable detail. > > kindly, > a fellow X++ user > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Xournal-devel mailing list > Xournal-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xournal-devel ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel