PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 21 - memory corruption when executing test_dynamic_slot
: memory corruption when executing test_dynamic_slot
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P1 critical
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-08-27 19:25 EEST by Hugo Parente Lima
Modified: 2009-10-14 10:55 EEST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2009-08-27 19:25:44 EEST
Start processing tests                                
Test project /home/hugo/src/pyside/build              
111/113 Testing dynamic_slot                  *** glibc detected ***
/home/hugo/src/pyside/build/tests/base/test_dynamic_slot: double free or
corruption (out): 0x00007fff41478040 ***
======= Backtrace: =========                                                    
/lib/libc.so.6[0x7ff1d2c69dd6]                                                  
/lib/libc.so.6(cfree+0x6c)[0x7ff1d2c6e71c]                                      
/usr/lib/libQtCore.so.4(_ZN7QObjectD0Ev+0x40f)[0x7ff1d483d8bf]                  
/home/hugo/src/pyside/build/base/libpysidebase.so.0(_ZN6PySide9qptr_base7destroyEv+0x3f)[0x7ff1d3709acb] 
/home/hugo/src/pyside/build/base/libpysidebase.so.0[0x7ff1d3710393]             
/home/hugo/src/pyside/build/base/libpysidebase.so.0(_ZN6PySide14signal_manager12find_triggerEP7QObject+0x5b)[0x7ff1d370cd97] 
/home/hugo/src/pyside/build/base/libpysidebase.so.0(_ZN6PySide14signal_manager21register_dynamic_slotEP7QObjectRKN5boost6python3api6objectER7QString+0x1a)[0x7ff1d370cec0] 
/home/hugo/src/pyside/build/tests/base/test_dynamic_slot[0x402719]              
/home/hugo/src/pyside/build/tests/base/test_dynamic_slot[0x402a9d]              
/usr/lib/libQtCore.so.4(_ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_+0x6e7)[0x7ff1d482ff17] 
/usr/lib/libQtCore.so.4(_ZN11QMetaObject12invokeMethodEP7QObjectPKcN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS7_S7_S7_S7_S7_S7_S7_S7_S7_+0x52e)[0x7ff1d483059e] 
/usr/lib/libQtTest.so.4[0x7ff1d391fd30]                                         
/usr/lib/libQtTest.so.4[0x7ff1d3920f84]                                         
/usr/lib/libQtTest.so.4(_ZN5QTest5qExecEP7QObjectiPPc+0x271)[0x7ff1d3921201]    
/home/hugo/src/pyside/build/tests/base/test_dynamic_slot[0x40221d]              
/lib/libc.so.6(__libc_start_main+0xfd)[0x7ff1d2c179ed]                          
/home/hugo/src/pyside/build/tests/base/test_dynamic_slot[0x402009]              
======= Memory map: ========                                                    
00400000-00404000 r-xp 00000000 fe:00 510537                            
/home/hugo/src/pyside/build/tests/base/test_dynamic_slot                        
00603000-00604000 rw-p 00003000 fe:00 510537                            
/home/hugo/src/pyside/build/tests/base/test_dynamic_slot                        
00692000-0073a000 rw-p 00000000 00:00 0                                  [heap] 
7ff1c8000000-7ff1c8021000 rw-p 00000000 00:00 0                                 
7ff1c8021000-7ff1cc000000 ---p 00000000 00:00 0                                 
7ff1cf6b8000-7ff1cf83a000 r--p 00000000 fe:00 205233                    
/usr/lib/locale/locale-archive                                                  
7ff1cf83a000-7ff1cf83f000 r-xp 00000000 fe:00 46101                     
/usr/lib/libXdmcp.so.6.0.0                                                      
7ff1cf83f000-7ff1cfa3e000 ---p 00005000 fe:00 46101                     
/usr/lib/libXdmcp.so.6.0.0                                                      
7ff1cfa3e000-7ff1cfa3f000 rw-p 00004000 fe:00 46101                     
/usr/lib/libXdmcp.so.6.0.0                                                      
7ff1cfa3f000-7ff1cfa5a000 r-xp 00000000 fe:00 46225                     
/usr/lib/libxcb.so.1.1.0                                                        
7ff1cfa5a000-7ff1cfc5a000 ---p 0001b000 fe:00 46225                     
/usr/lib/libxcb.so.1.1.0                                                        
7ff1cfc5a000-7ff1cfc5b000 rw-p 0001b000 fe:00 46225                     
/usr/lib/libxcb.so.1.1.0                                                        
7ff1cfc5b000-7ff1cfc5d000 r-xp 00000000 fe:00 46109                     
/usr/lib/libXau.so.6.0.0                                                        
7ff1cfc5d000-7ff1cfe5c000 ---p 00002000 fe:00 46109                     
/usr/lib/libXau.so.6.0.0                                                        
7ff1cfe5c000-7ff1cfe5d000 rw-p 00001000 fe:00 46109                     
/usr/lib/libXau.so.6.0.0                                                        
7ff1cfe5d000-7ff1cfe84000 r-xp 00000000 fe:00 8663                      
/usr/lib/libexpat.so.1.5.2                                                      
7ff1cfe84000-7ff1d0083000 ---p 00027000 fe:00 8663                      
/usr/lib/libexpat.so.1.5.2                                                      
7ff1d0083000-7ff1d0086000 rw-p 00026000 fe:00 8663                      
/usr/lib/libexpat.so.1.5.2                                                      
7ff1d0086000-7ff1d0089000 r-xp 00000000 fe:00 14645                     
/lib/libuuid.so.1.3.0                                                           
7ff1d0089000-7ff1d0289000 ---p 00003000 fe:00 14645                     
/lib/libuuid.so.1.3.0                                                           
7ff1d0289000-7ff1d028a000 rw-p 00003000 fe:00 14645                     
/lib/libuuid.so.1.3.0                                                           
7ff1d028a000-7ff1d02ba000 r-xp 00000000 fe:00 10559                     
/lib/libpcre.so.0.0.1                                                           
7ff1d02ba000-7ff1d04b9000 ---p 00030000 fe:00 10559                     
/lib/libpcre.so.0.0.1                                                           
7ff1d04b9000-7ff1d04ba000 rw-p 0002f000 fe:00 10559                     
/lib/libpcre.so.0.0.1                                                           
7ff1d04ba000-7ff1d05ef000 r-xp 00000000 fe:00 47371                     
/usr/lib/libX11.so.6.2.0                                                        
7ff1d05ef000-7ff1d07ef000 ---p 00135000 fe:00 47371                     
/usr/lib/libX11.so.6.2.0                                                        
7ff1d07ef000-7ff1d07f5000 rw-p 00135000 fe:00 47371                     
/usr/lib/libX11.so.6.2.0                                                        
7ff1d07f5000-7ff1d0806000 r-xp 00000000 fe:00 47500                     
/usr/lib/libXext.so.6.4.0                                                       
7ff1d0806000-7ff1d0a06000 ---p 00011000 fe:00 47500                     
/usr/lib/libXext.so.6.4.0                                                       
7ff1d0a06000-7ff1d0a07000 rw-p 00011000 fe:00 47500                     
/usr/lib/libXext.so.6.4.0                                                       
7ff1d0a07000-7ff1d0a37000 r-xp 00000000 fe:00 49403                     
/usr/lib/libfontconfig.so.1.3.0                                                 
7ff1d0a37000-7ff1d0c36000 ---p 00030000 fe:00 49403                     
/usr/lib/libfontconfig.so.1.3.0                                                 
7ff1d0c36000-7ff1d0c38000 rw-p 0002f000 fe:00 49403                     
/usr/lib/libfontconfig.so.1.3.0                                                 
7ff1d0c38000-7ff1d0c41000 r-xp 00000000 fe:00 48938                     
/usr/lib/libXrender.so.1.3.0                                                    
7ff1d0c41000-7ff1d0e40000 ---p 00009000 fe:00 48938                     
/usr/lib/libXrender.so.1.3.0                                                    
7ff1d0e40000-7ff1d0e41000 rw-p 00008000 fe:00 48938                     
/usr/lib/libXrender.so.1.3.0                                                    
7ff1d0e41000-7ff1d0e58000 r-xp 00000000 fe:00 47936                     
/usr/lib/libICE.so.6.3.0                                                        
7ff1d0e58000-7ff1d1057000 ---p 00017000 fe:00 47936                     
/usr/lib/libICE.so.6.3.0                                                        
7ff1d1057000-7ff1d1059000 rw-p 00016000 fe:00 47936                     
/usr/lib/libICE.so.6.3.0                                                        
7ff1d1059000-7ff1d105c000 rw-p 00000000 00:00 0                                 
7ff1d105c000-7ff1d1063000 r-xp 00000000 fe:00 47949                     
/usr/lib/libSM.so.6.0.0                                                         
7ff1d1063000-7ff1d1263000 ---p 00007000 fe:00 47949                     
/usr/lib/libSM.so.6.0.0                                                         
7ff1d1263000-7ff1d1264000 rw-p 00007000 fe:00 47949                     
/usr/lib/libSM.so.6.0.0                                                         
7ff1d1264000-7ff1d12a6000 r-xp 00000000 fe:00 45228                     
/usr/lib/libgobject-2.0.so.0.2000.4                                             
7ff1d12a6000-7ff1d14a5000 ---p 00042000 fe:00 45228                     
/usr/lib/libgobject-2.0.so.0.2000.4                                             
7ff1d14a5000-7ff1d14a7000 rw-p 00041000 fe:00 45228                     
/usr/lib/libgobject-2.0.so.0.2000.4                                             
7ff1d14a7000-7ff1d1538000 r-xp 00000000 fe:00 47673                     
/usr/lib/libfreetype.so.6.3.20                                                  
7ff1d1538000-7ff1d1738000 ---p 00091000 fe:00 47673                     
/usr/lib/libfreetype.so.6.3.20                                                  
7ff1d1738000-7ff1d173e000 rw-p 00091000 fe:00 47673                     
/usr/lib/libfreetype.so.6.3.20                                                  
7ff1d173e000-7ff1d1766000 r-xp 00000000 fe:00 50249                     
/usr/lib/libpng12.so.0.38.0                                                     
7ff1d1766000-7ff1d1965000 ---p 00028000 fe:00 50249                     
/usr/lib/libpng12.so.0.38.0                                                     
7ff1d1965000-7ff1d1966000 rw-p 00027000 fe:00 50249                     
/usr/lib/libpng12.so.0.38.0                                                     
7ff1d1966000-7ff1d1a28000 r-xp 00000000 fe:00 45234                     
/usr/lib/libglib-2.0.so.0.2000.4                                                
7ff1d1a28000-7ff1d1c27000 ---p 000c2000 fe:00 45234                     
/usr/lib/libglib-2.0.so.0.2000.4                                                
7ff1d1c27000-7ff1d1c29000 rw-p 000c1000 fe:00 45234                     
/usr/lib/libglib-2.0.so.0.2000.4                                                
7ff1d1c29000-7ff1d1c2d000 r-xp 00000000 fe:00 45216                     
/usr/lib/libgthread-2.0.so.0.2000.4                                             
7ff1d1c2d000-7ff1d1e2c000 ---p 00004000 fe:00 45216                     
/usr/lib/libgthread-2.0.so.0.2000.4                                             
7ff1d1e2c000-7ff1d1e2d000 rw-p 00003000 fe:00 45216                     
/usr/lib/libgthread-2.0.so.0.2000.4                                             
7ff1d1e2d000-7ff1d1e42000 r-xp 00000000 fe:00 6672                      
/usr/lib/libz.so.1.2.3.3                                                        
7ff1d1e42000-7ff1d2041000 ---p 00015000 fe:00 6672                      
/usr/lib/libz.so.1.2.3.3                                                        
7ff1d2041000-7ff1d2042000 rw-p 00014000 fe:00 6672                      
/usr/lib/libz.so.1.2.3.3                                                        
7ff1d2042000-7ff1d20c3000 r-xp 00000000 fe:00 2746                      
/lib/libm-2.10.1.so                                                             
7ff1d20c3000-7ff1d22c2000 ---p 00081000 fe:00 2746                      
/lib/libm-2.10.1.so                                                             
7ff1d22c2000-7ff1d22c3000 r--p 00080000 fe:00 2746                      
/lib/libm-2.10.1.so                                                             
7ff1d22c3000-7ff1d22c4000 rw-p 00081000 fe:00 2746                      
/lib/libm-2.10.1.so                                                             
7ff1d22c4000-7ff1d22cb000 r-xp 00000000 fe:00 2766                      
/lib/librt-2.10.1.so                                                            
7ff1d22cb000-7ff1d24ca000 ---p 00007000 fe:00 2766                      
/lib/librt-2.10.1.so                                                            
7ff1d24ca000-7ff1d24cb000 r--p 00006000 fe:00 2766                      
/lib/librt-2.10.1.so                                                            
7ff1d24cb000-7ff1d24cc000 rw-p 00007000 fe:00 2766                      
/lib/librt-2.10.1.so                                                            
7ff1d24cc000-7ff1d24ce000 r-xp 00000000 fe:00 2747                      
/lib/libdl-2.10.1.so                                                            
7ff1d24ce000-7ff1d26ce000 ---p 00002000 fe:00 2747                      
/lib/libdl-2.10.1.so                                                            
7ff1d26ce000-7ff1d26cf000 r--p 00002000 fe:00 2747                      
/lib/libdl-2.10.1.so                                                            
7ff1d26cf000-7ff1d26d0000 rw-p 00003000 fe:00 2747                      
/lib/libdl-2.10.1.so                                                            
7ff1d26d0000-7ff1d26e6000 r-xp 00000000 fe:00 2754                      
/lib/libpthread-2.10.1.so                                                       
7ff1d26e6000-7ff1d28e5000 ---p 00016000 fe:00 2754                      
/lib/libpthread-2.10.1.so
7ff1d28e5000-7ff1d28e6000 r--p 00015000 fe:00 2754                      
/lib/libpthread-2.10.1.so
7ff1d28e6000-7ff1d28e7000 rw-p 00016000 fe:00 2754                      
/lib/libpthread-2.10.1.so
7ff1d28e7000-7ff1d28eb000 rw-p 00000000 00:00 0
7ff1d28eb000-7ff1d29db000 r-xp 00000000 fe:00 6928                      
/usr/lib/libstdc++.so.6.0.12
7ff1d29db000-7ff1d2bdb000 ---p 000f0000 fe:00 6928                      
/usr/lib/libstdc++.so.6.0.12
7ff1d2bdb000-7ff1d2be2000 r--p 000f0000 fe:00 6928                      
/usr/lib/libstdc++.so.6.0.12
7ff1d2be2000-7ff1d2be4000 rw-p 000f7000 fe:00 6928                      
/usr/lib/libstdc++.so.6.0.12
7ff1d2be4000-7ff1d2bf9000 rw-p 00000000 00:00 0
7ff1d2bf9000-7ff1d2d42000 r-xp 00000000 fe:00 2790                      
/lib/libc-2.10.1.so
7ff1d2d42000-7ff1d2f42000 ---p 00149000 fe:00 2790                      
/lib/libc-2.10.1.so
7ff1d2f42000-7ff1d2f46000 r--p 00149000 fe:00 2790                      
/lib/libc-2.10.1.so
7ff1d2f46000-7ff1d2f47000 rw-p 0014d000 fe:00 2790                      
/lib/libc-2.10.1.so
7ff1d2f47000-7ff1d2f4c000 rw-p 00000000 00:00 0
7ff1d2f4c000-7ff1d2f62000 r-xp 00000000 fe:00 166856                    
/usr/lib/libgcc_s.so.1
7ff1d2f62000-7ff1d3161000 ---p 00016000 fe:00 166856                    
/usr/lib/libgcc_s.so.1
7ff1d3161000-7ff1d3162000 rw-p 00015000 fe:00 166856                    
/usr/lib/libgcc_s.so.1
7ff1d3162000-7ff1d32b6000 r-xp 00000000 fe:00 65563                     
/usr/lib/libpython2.6.so.1.0
7ff1d32b6000-7ff1d34b6000 ---p 00154000 fe:00 65563                     
/usr/lib/libpython2.6.so.1.0
7ff1d34b6000-7ff1d34f1000 rw-p 00154000 fe:00 65563                     
/usr/lib/libpython2.6.so.1.0
7ff1d34f1000-7ff1d34ff000 rw-p 00000000 00:00 0
7ff1d34ff000-7ff1d3501000 r-xp 00000000 fe:00 2786                      
/lib/libutil-2.10.1.so
7ff1d3501000-7ff1d3700000 ---p 00002000 fe:00 2786                      
/lib/libutil-2.10.1.so
7ff1d3700000-7ff1d3701000 r--p 00001000 fe:00 2786                      
/lib/libutil-2.10.1.so
7ff1d3701000-7ff1d3702000 rw-p 00002000 fe:00 2786                      
/lib/libutil-2.10.1.so
7ff1d3702000-7ff1d3716000 r-xp 00000000 fe:00 510602                    
/home/hugo/src/pyside/build/base/libpysidebase.so.0.1
7ff1d3716000-7ff1d3916000 ---p 00014000 fe:00 510602                    
/home/hugo/src/pyside/build/base/libpysidebase.so.0.1
7ff1d3916000-7ff1d3917000 rw-p 00014000 fe:00 510602                    
/home/hugo/src/pyside/build/base/libpysidebase.so.0.1
7ff1d3917000-7ff1d3931000 r-xp 00000000 fe:00 51953                     
/usr/lib/libQtTest.so.4.5.2
7ff1d3931000-7ff1d3b31000 ---p 0001a000 fe:00 51953                     
/usr/lib/libQtTest.so.4.5.2
7ff1d3b31000-7ff1d3b32000 rw-p 0001a000 fe:00 51953                     
/usr/lib/libQtTest.so.4.5.2
7ff1d3b32000-7ff1d3b34000 rw-p 00000000 00:00 0
7ff1d3b34000-7ff1d44a2000 r-xp 00000000 fe:00 51819                     
/usr/lib/libQtGui.so.4.5.2
7ff1d44a2000-7ff1d46a2000 ---p 0096e000 fe:00 51819                     
/usr/lib/libQtGui.so.4.5.2
7ff1d46a2000-7ff1d46e1000 rw-p 0096e000 fe:00 51819                     
/usr/lib/libQtGui.so.4.5.2
7ff1d46e1000-7ff1d46e4000 rw-p 00000000 00:00 0
7ff1d46e4000-7ff1d490f000 r-xp 00000000 fe:00 51984                     
/usr/lib/libQtCore.so.4.5.2
7ff1d490f000-7ff1d4b0e000 ---p 0022b000 fe:00 51984                     
/usr/lib/libQtCore.so.4.5.2
7ff1d4b0e000-7ff1d4b18000 rw-p 0022a000 fe:00 51984                     
/usr/lib/libQtCore.so.4.5.2
7ff1d4b18000-7ff1d4b19000 rw-p 00000000 00:00 0
7ff1d4b19000-7ff1d4b65000 r-xp 00000000 fe:00 74306                     
/usr/lib/libboost_python-mt.so
7ff1d4b65000-7ff1d4d65000 ---p 0004c000 fe:00 74306                     
/usr/lib/libboost_python-mt.so
7ff1d4d65000-7ff1d4d68000 rw-p 0004c000 fe:00 74306                     
/usr/lib/libboost_python-mt.so
7ff1d4d68000-7ff1d4d69000 rw-p 00000000 00:00 0
7ff1d4d69000-7ff1d4d86000 r-xp 00000000 fe:00 2787                      
/lib/ld-2.10.1.so
7ff1d4e5f000-7ff1d4f61000 rw-p 00000000 00:00 0
7ff1d4f82000-7ff1d4f85000 rw-p 00000000 00:00 0
7ff1d4f85000-7ff1d4f86000 r--p 0001c000 fe:00 2787                      
/lib/ld-2.10.1.so
7ff1d4f86000-7ff1d4f87000 rw-p 0001d000 fe:00 2787                      
/lib/ld-2.10.1.so
7fff41461000-7fff4147b000 rw-p 00000000 00:00 0                         
[stack]
7fff415ff000-7fff41600000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]
***Exception: Other

0% tests passed, 1 tests failed out of 1

The following tests FAILED:
        111 - dynamic_slot (OTHER_FAULT)
Errors while running CTest
Comment 1 renato filho 2009-09-05 23:56:49 EEST
fixed on GIT mainline.