[Qt-interest] UI Interaction Freezing when using QGraphicsView - How to Debug?

Josiah Bryan jbryan at productiveconcepts.com
Fri Sep 18 21:52:26 CEST 2009


Hey All -

I'm here again with yet more fun questions. On linux, the app I'm 
developing *sometimes* freezes for approx 4sec during user interaction 
(for example, when resizing items via resize handles, or dragging items 
around, etc.)

Its a rather extreem freeze - in fact, even the system mouse freezes 
(under gdb, when not running in gdb, mouse doesn't freeze but unrelated 
apps still do, like the charts in gkrellm.)

And, since mouse and other apps freeze during the app freeze, I can't 
get back over to the terminal running gdb to issue Ctrl+C and check out 
the stack trace to see why its freezing. (Note the system never crashes 
- it *always* comes back to responding after almost exactly 4 seconds.)

This is the same app that I just so foolishly bragged about running fine 
under linux. :-) It's using QGLwidget as the viewport for the QGraphicsView.

Any ideas on how to debug or trace why its freezing?

Regards,
-josiah

-=-=-=-=-=-=-=-=-=-=-=-=-
Josiah Bryan
Productive Concepts, Inc.
jbryan at pciint.com
(765) 964-6009, ext. 224




More information about the Qt-interest-old mailing list