[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#561203: FTBFS [hppa] - pthread_create() (QThread) + fork() = crash



tags 561203 - pending
thanks

Hello,

On pirmadienis 04 Sausis 2010 17:18:40 Helge Deller wrote:
> libc6-2.10.2-3 made it much, *much* better (I'm not sure yet why!!).
> But I can still reproduce the bug on my system with your testcases. It's
>  just much harder to reproduce it, but it still happens. So, it's not fixed
>  yet, it just happens much less often.

Indeed, you are right. I was able to run `./minifail qt` 90k times without a 
hang, but it hang at the 3000+th run next time. Anyway, probability of hitting 
this bug has become much much lower now so maybe KDE will finally build on 
hppa now. Even if build fails with a timeout like previously, it should be 
enough to give back it once again.

Btw, backtrace of the hang is different now:

(gdb) t 2
[Switching to thread 2 (Thread 0x41d26480 (LWP 4088))]#0  0x0000046c in ?? ()
(gdb) bt                                                                     
#0  0x0000046c in ?? ()                                                      
#1  0x40a06380 in ?? () from /lib/libc.so.6                                  
#2  0x40a06380 in ?? () from /lib/libc.so.6                                  
#3  0x40a060b4 in malloc () from /lib/libc.so.6                              
#4  0x4093b2b4 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6 
#5  0x404e45e8 in QThreadPrivate::createEventDispatcher (data=0x16c40) at 
thread/qthread_unix.cpp:159
#6  0x404e4858 in QThreadPrivate::start (arg=0x168f8) at 
thread/qthread_unix.cpp:183                 
#7  0x403080a0 in start_thread () from /lib/libpthread.so.0                                          
#8  0x40a66898 in clone () from /lib/libc.so.6                                                       
#9  0x04010300 in ?? ()                                                                              
#10 0x04010300 in ?? ()                                                                              
Backtrace stopped: previous frame identical to this frame (corrupt stack?)                           
(gdb) x/20i 0x40a060b4
0x40a060b4 <malloc+1208>:       b,l 0x40a05d60 <malloc+356>,r0
0x40a060b8 <malloc+1212>:       copy ret0,r5                  
0x40a060bc <malloc+1216>:       mfctl tr3,ret0                
0x40a060c0 <malloc+1220>:       ldi 0,r23                     
0x40a060c4 <malloc+1224>:       ldw -478(ret0),r25            
0x40a060c8 <malloc+1228>:       ldi 1,r24                     
0x40a060cc <malloc+1232>:       depwi -1,31,1,r25             
0x40a060d0 <malloc+1236>:       copy r3,r26                   
0x40a060d4 <malloc+1240>:       copy r19,r4                   
0x40a060d8 <malloc+1244>:       be,l 100(sr2,r0),sr0,r31      
0x40a060dc <malloc+1248>:       ldi d2,r20                    
0x40a060e0 <malloc+1252>:       copy r4,r19                   
0x40a060e4 <malloc+1256>:       b,l 0x40a05d28 <malloc+300>,r0
0x40a060e8 <malloc+1260>:       ldo -8(r5),r20                
0x40a060ec <malloc+1264>:       mfctl tr3,ret0                
0x40a060f0 <malloc+1268>:       ldi 0,r23                     
0x40a060f4 <malloc+1272>:       ldw -478(ret0),r25            
0x40a060f8 <malloc+1276>:       ldi 1,r24                     
0x40a060fc <malloc+1280>:       depwi -1,31,1,r25             
0x40a06100 <malloc+1284>:       copy r7,r26                   
(gdb) x/20i 0x40a06380
0x40a06380:     b,l 0x40a0622c,r0
0x40a06384:     copy r4,r19      
0x40a06388:     mfctl tr3,ret0   
0x40a0638c:     copy r5,r26      
0x40a06390:     ldw -478(ret0),r25
0x40a06394:     ldi 0,r23         
0x40a06398:     depwi -1,31,1,r25 
0x40a0639c:     ldi 1,r24         
0x40a063a0:     copy r19,r4       
0x40a063a4:     be,l 100(sr2,r0),sr0,r31
0x40a063a8:     ldi d2,r20              
0x40a063ac:     copy r4,r19             
0x40a063b0:     b,l,n 0x40a06290,r0     
0x40a063b4:     stw rp,-14(sp)          
0x40a063b8:     addil L%1000,r19,r1     
0x40a063bc:     ldo 40(sp),sp           
0x40a063c0:     ldw 35c(r1),ret0        
0x40a063c4:     stw r4,-34(sp)
0x40a063c8:     copy r19,r4
0x40a063cc:     stw r19,-20(sp)


-- 
Modestas Vainius <modestas@vainius.eu>

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: