QPainter logs in stdout

Jaime Torres jtamate at gmail.com
Mon Jan 18 19:50:12 GMT 2010


I have much more info now.

I've modified Qt4.6.1 (yes, installed in /usr/lib/qt4.5) to include a kbactrace after every qwarning in QPaint, and here you are why it happens.
But I get lost and can not fix it.


QPainter::begin: Widget painting can only begin as a result of a paintEvent                                       
[                                                                                                                 
0: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439a965d8]                                                              
1: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN8QPainter5beginEP12QPaintDevice+0x5ea) [0x7fe439a9ba9a]                    
2: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN8QPainterC1EP12QPaintDevice+0x146) [0x7fe439a9c206]                        
3: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView10paintEventEP11QPaintEvent+0x39) [0x7fe429d4fd99]                    
4: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView13viewportEventEP6QEvent+0xfa) [0x7fe429d4841a]                       
5: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0xc0) [0x7fe43af16900]                                                                                           
6: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xa1) [0x7fe43994f291]                                                                                                                
7: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]            
8: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                 
9: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                 
10: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x45d) 
[0x7fe4399abfcd]                                                                    
11: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
12: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
13: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
14: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
15: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
16: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
17: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
18: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
19: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
20: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
21: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
22: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
23: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439b7002d]                                                             
24: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate16syncBackingStoreEv+0x42) [0x7fe43999cc02]               
25: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xd75) [0x7fe4399a8fc5]                           
26: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x7b) [0x7fe439d63d5b]                       
27: /opt/kde4/lib/libkdeui.so.5(_ZN13KXmlGuiWindow5eventEP6QEvent+0x30) [0x7fe43bded7c0]                          
28: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN14KonqMainWindow5eventEP6QEvent+0x1dd) [0x7fe43d161fbd]             
29: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb1) [0x7fe43994f2a1]                                                                                                               
30: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]           
31: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                
32: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                
33: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439b6a3d7]                                                             
34: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439b6c55f]                                                             
35: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget7repaintERK5QRect+0xcf) [0x7fe43999f7bf]                          
36: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget7repaintEiiii+0x59) [0x7fe43999f829]                              
37: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView15repaintContentsEiiii+0xe5) [0x7fe429d4bf95]                        
38: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView10timerEventEP11QTimerEvent+0x47e) [0x7fe429d4f1be]                  
39: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0xb3) [0x7fe43af26ad3]                           
40: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x54) [0x7fe4399a82a4]                            
41: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x26) [0x7fe439d48f86]                             
42: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QAbstractScrollArea5eventEP6QEvent+0xb3) [0x7fe439dd0de3]               
43: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView5eventEP6QEvent+0x40d) [0x7fe429d4d52d]                              
44: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb1) [0x7fe43994f2a1]                                                                                                               
45: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]           
46: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                
47: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                
48: /usr/lib/qt4.5/lib/libQtCore.so.4 [0x7fe43af427ce]                                                            
49: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xbc) 
[0x7fe43af42a2c]                                                                                    
50: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe4399f72e7]                                                             
51: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32) [0x7fe43af15a32]                                                                                                        
52: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdd) [0x7fe43af15bcd]
53: /opt/kde4/lib/libkio.so.5(_ZN3KIO9NetAccess10enter_loopEv+0x6c) [0x7fe43c37d7ec]                              
54: 
/opt/kde4/lib/libkio.so.5(_ZN3KIO9NetAccess22synchronousRunInternalEPNS_3JobEP7QWidgetP10QByteArrayP4KUrlP4QMapI7QStringSA_E+0x1b3) 
[0x7fe43c37d9c3]                                                                            
55: /opt/kde4/lib/libkio.so.5(_ZN3KIO9NetAccess14synchronousRunEPNS_3JobEP7QWidgetP10QByteArrayP4KUrlP4QMapI7QStringSA_E+0x71) 
[0x7fe43c37e201]                                                                                     
56: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN18KonqSessionManager19deleteOwnedSessionsEv+0xb8) [0x7fe43d1a4128]  
57: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN18KonqSessionManager15autoSaveSessionEv+0x57) [0x7fe43d1a41c7]      
58: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN18KonqSessionManager11qt_metacallEN11QMetaObject4CallEiPPv+0xa8) [0x7fe43d1a5118]                                                                                                     
59: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x311) [0x7fe43af2d001]         
60: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0xb3) [0x7fe43af26ad3]                           
61: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb1) [0x7fe43994f2a1]                                                                                                               
62: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]           
63: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                
64: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                
65: /usr/lib/qt4.5/lib/libQtCore.so.4 [0x7fe43af427ce]                                                            
66: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xbc) 
[0x7fe43af42a2c]                                                                                    
67: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe4399f72e7]                                                             
68: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32) [0x7fe43af15a32]                                                                                                        
69: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdd) [0x7fe43af15bcd]
70: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbb) [0x7fe43af198fb]                         
71: /opt/kde4/lib/libkdeinit4_konqueror.so(kdemain+0x1b97) [0x7fe43d1b8757]                                       
72: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fe437b2da7d]                                                     
73: /opt/kde4/bin/konqueror [0x400909]                                                                            
]                                                                                                                 

QPainter::translate: Painter not active
[                                      
0: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439a965d8]
1: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN8QPainter9translateERK7QPointF+0x78) [0x7fe439a99978]
2: /opt/kde4/lib/libkio.so.5(_ZN8QPainter9translateEdd+0x24) [0x7fe43c351204]               
3: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView10paintEventEP11QPaintEvent+0xe1) [0x7fe429d4fe41]
4: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView13viewportEventEP6QEvent+0xfa) [0x7fe429d4841a]   
5: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0xc0) [0x7fe43af16900]                                                                                           
6: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xa1) [0x7fe43994f291]                                                                                                                
7: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]            
8: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                 
9: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                 
10: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x45d) 
[0x7fe4399abfcd]                                                                    
11: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
12: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
13: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
14: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
15: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
16: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
17: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
18: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
19: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
20: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
21: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x51a) 
[0x7fe4399acc2a]                                    
22: 
/usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x131) 
[0x7fe4399abca1]                                                                    
23: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439b7002d]                                                             
24: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN14QWidgetPrivate16syncBackingStoreEv+0x42) [0x7fe43999cc02]               
25: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xd75) [0x7fe4399a8fc5]                           
26: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x7b) [0x7fe439d63d5b]                       
27: /opt/kde4/lib/libkdeui.so.5(_ZN13KXmlGuiWindow5eventEP6QEvent+0x30) [0x7fe43bded7c0]                          
28: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN14KonqMainWindow5eventEP6QEvent+0x1dd) [0x7fe43d161fbd]             
29: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb1) [0x7fe43994f2a1]                                                                                                               
30: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]           
31: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                
32: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                
33: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439b6a3d7]                                                             
34: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe439b6c55f]                                                             
35: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget7repaintERK5QRect+0xcf) [0x7fe43999f7bf]                          
36: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget7repaintEiiii+0x59) [0x7fe43999f829]                              
37: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView15repaintContentsEiiii+0xe5) [0x7fe429d4bf95]                        
38: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView10timerEventEP11QTimerEvent+0x47e) [0x7fe429d4f1be]                  
39: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0xb3) [0x7fe43af26ad3]                           
40: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x54) [0x7fe4399a82a4]                            
41: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x26) [0x7fe439d48f86]                             
42: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QAbstractScrollArea5eventEP6QEvent+0xb3) [0x7fe439dd0de3]               
43: /opt/kde4/lib/libkhtml.so.5(_ZN9KHTMLView5eventEP6QEvent+0x40d) [0x7fe429d4d52d]                              
44: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb1) [0x7fe43994f2a1]                                                                                                               
45: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]           
46: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                
47: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                
48: /usr/lib/qt4.5/lib/libQtCore.so.4 [0x7fe43af427ce]                                                            
49: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xbc) 
[0x7fe43af42a2c]                                                                                    
50: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe4399f72e7]                                                             
51: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32) [0x7fe43af15a32]                                                                                                        
52: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdd) [0x7fe43af15bcd]
53: /opt/kde4/lib/libkio.so.5(_ZN3KIO9NetAccess10enter_loopEv+0x6c) [0x7fe43c37d7ec]                              
54: 
/opt/kde4/lib/libkio.so.5(_ZN3KIO9NetAccess22synchronousRunInternalEPNS_3JobEP7QWidgetP10QByteArrayP4KUrlP4QMapI7QStringSA_E+0x1b3) 
[0x7fe43c37d9c3]                                                                            
55: /opt/kde4/lib/libkio.so.5(_ZN3KIO9NetAccess14synchronousRunEPNS_3JobEP7QWidgetP10QByteArrayP4KUrlP4QMapI7QStringSA_E+0x71) 
[0x7fe43c37e201]                                                                                     
56: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN18KonqSessionManager19deleteOwnedSessionsEv+0xb8) [0x7fe43d1a4128]  
57: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN18KonqSessionManager15autoSaveSessionEv+0x57) [0x7fe43d1a41c7]      
58: /opt/kde4/lib/libkdeinit4_konqueror.so(_ZN18KonqSessionManager11qt_metacallEN11QMetaObject4CallEiPPv+0xa8) [0x7fe43d1a5118]                                                                                                     
59: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x311) [0x7fe43af2d001]         
60: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0xb3) [0x7fe43af26ad3]                           
61: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb1) [0x7fe43994f2a1]                                                                                                               
62: /usr/lib/qt4.5/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x29a) [0x7fe439957cea]           
63: /opt/kde4/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x1ae) [0x7fe43bcf2ede]                
64: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83) [0x7fe43af16fc3]                                                                                                                
65: /usr/lib/qt4.5/lib/libQtCore.so.4 [0x7fe43af427ce]                                                            
66: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xbc) 
[0x7fe43af42a2c]                                                                                    
67: /usr/lib/qt4.5/lib/libQtGui.so.4 [0x7fe4399f72e7]                                                             
68: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32) [0x7fe43af15a32]                                                                                                        
69: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdd) [0x7fe43af15bcd]
70: /usr/lib/qt4.5/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbb) [0x7fe43af198fb]                         
71: /opt/kde4/lib/libkdeinit4_konqueror.so(kdemain+0x1b97) [0x7fe43d1b8757]                                       
72: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fe437b2da7d]                                                     
73: /opt/kde4/bin/konqueror [0x400909]                                                                            
]                                                                                                                 

On Miércoles 04 Noviembre 2009 07:06:47 Mark Kretschmann escribió:
> On Sat, Oct 17, 2009 at 8:34 AM, Jaime Torres <jtamate at gmail.com> wrote:
> > Hi,
> > 
> >  Has someone else seen these logs?
> > 
> > QPainter::begin: Widget painting can only begin as a result of a
> > paintEvent QPainter::translate: Painter not active
> > QPainter::setClipRect: Painter not active
> > QPainter::hasClipping: Painter not active
> > QPainter::hasClipping: Painter not active
> > QPainter::setPen: Painter not active
> > QPainter::setBrush: Painter not active
> > QPainter::drawRects: Painter not active
> > QPainter::hasClipping: Painter not active
> > QPainter::setPen: Painter not active
> > QPainter::setBrush: Painter not active
> > QPainter::drawRects: Painter not active
> > 
> >  Has someone any idea where the problem could be?
> >  Is there any way to know the stack in that QPainter logs to know where
> > to search for the problem?
> 
> In fact this _could_ also have a completely different reason, that is
> a bug in QGraphicsView. Alexis Menard recently fixed it for us (which
> we are very thankful for, as it made Amarok crash). The patch should
> arrive in the 4.6 Git repository from Nokia soon.
> 
> That said, it's perfectly possible that what happens here is simply
> misuse of QPainter, as others said. But this Qt bug exposes the same
> symptoms.
> 
> https://bugs.kde.org/show_bug.cgi?id=207382
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100118/ef86a0e1/attachment.sig>


More information about the kde-core-devel mailing list