On Wed, Oct 04, 2006 at 02:26:08PM +0200, Abdelrazak Younes wrote:
> Enrico Forestieri wrote:
> >I am getting crashes with Qt4 while scrolling a document (no matter if
> >using the mouse wheel, or PageDown, or the scrollbar).
> >
> >Everything seems fine, but after scrolling a while the crash invariably
> >occurs. I attach here two backtraces obtained with two different documents.
> >The Qt3 frontend does not show this problem.
> 
> This is with your modified Qt4 right?

Yes, but I don't think that it is due to my modifications as it was
working like a charm until a couple of weeks ago. Then I was not able
to use it due to the wchar_t problem (it was crashing when loading a
document), and now that I can use it again (thanks to Georg) it
crashes when scrolling. So I cannot exactly say at which point the
bug appeared.

Note that Qt3 works ok and that I am not able to set "Cursor follows
scrollbar" (I get "E2BIG  There is not sufficient room at *outbuf.").
I seem to remember that this setting was crucial(?)

Rather, I think that it may be due to some nasty difference between
MSVC and GCC. I'll try building Qt4 on *nix and test it there.

> I cannot reproduce the crash.

This hints to some difference between compilers, as there are crashes
occurring with MSVC that I cannot reproduce with GCC.

> Could you post a document that shows the 
> problem?

No need to post one, every document that can be scrolled triggers the
crash for me :(

-- 
Enrico

Reply via email to