----- Original Message ----- > Greetz, > > Using C++, Qt 4.7, openSUSE 11.4, Valgrind, GCC > > Actually this application runs very fine on Linux, but "crashes" on > Windows if I "move the mouse wheel". > I have NOT written any event for wheel handling in the code. > > How to know whether problem is in my code or not?
Well usually in heavily used code like Qt, the error is in the client code. Not always. > `valgrind --leak-check=full -v offline` > > results in: > First off, the problem could be platform specific. There are quite big differences between X11 and Win32. However, my guess is that you have a problem in your 'model' (Qt 4 uses a form of MVC). You're getting uninitialized reads when Qt is looking for something in a hash table, which looks like a redraw resulting from setting the conent of a text control. A+ Paul ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users