SIGBUS when executing native code in real hardware

73 views
Skip to first unread message

hongxue.ren

unread,
Mar 26, 2010, 5:52:01 AM3/26/10
to andro...@googlegroups.com, android...@googlegroups.com
Hi all:
    I compiled android-qt, and ported a qt program named htmlviewer.
    The htmlviewer was compiled to a shared library, and another Java Application calls the lib through JNI.
   
    The application runs well in emulator, and can load html files normally.
    However when it runs in real hardware platform(cpu: Marvell pxa310), some html files can load normally,
    and others load failed which SIGBUS signal has received after font loaded.
   

    The strace log section as follow:

Process 342 attached with 9 threads - interrupt to quit
[pid   333]      0.000000 [afe0d4a4] futex(0x1bd0dc, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid   335]      0.002076 [afe0d4a4] futex(0xad084e30, FUTEX_WAIT, -79, NULL <unfinished ...>
[pid   336]      0.003357 [afe0cdcc] rt_sigtimedwait([QUIT USR1],  <unfinished ...>
[pid   337]      0.002075 [afe0d00c] SYS_297(0x11, 0x44886e4c, 0, 0xffffffff, 0x188620 <unfinished ...>
[pid   338]      0.002075 [afe0c51c] ioctl(10, 0xc0186201 <unfinished ...>
[pid   339]      0.001800 [afe0c51c] ioctl(10, 0xc0186201 <unfinished ...>
[pid   340]      0.002045 [afe0c51c] ioctl(10, 0xc0186201 <unfinished ...>
[pid   341]      0.001709 [afe0c644] select(26, [25], [], [], NULL <unfinished ...>
[pid   342]      0.002197 [afe0d4a4] futex(0x838f6f40, FUTEX_WAIT, 0, NULL<unfinished ...>
[pid   338]     76.978150 [afe0c51c] <... ioctl resumed> , 0x44a86e38) = 0                                                   
[pid   338]      0.026459 [afe0d4c0] futex(0x1bd0dc, FUTEX_WAKE, 1) = 1                                                      
[pid   338]      0.002075 [afe0c51c] ioctl(10, 0xc0186201 <unfinished ...>                                                   
[pid   333]      0.001556 [afe0d4a4] <... futex resumed> ) = 0                                                               
[pid   333]      0.001282 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.011444 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6580) = 0                                                   
[pid   333]      0.004181 [afe0cbac] timer_delete(0x1 <unfinished ...>                                                       
[pid   339]      0.025757 [afe0c51c] <... ioctl resumed> , 0x44b86e38) = 0                                                   
[pid   333]      0.003692 [afe0cbac] <... timer_delete resumed> ) = 0                                                        
[pid   339]      0.001160 [afe0cbac] timer_delete(0x1 <unfinished ...>                                                       
[pid   333]      0.007416 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6680) = 0                                                   
[pid   333]      0.002777 [afe0d4a4] futex(0x1bd0dc, FUTEX_WAIT, -1, NULL <unfinished ...>                                   
[pid   339]      0.001648 [afe0cbac] <... timer_delete resumed> ) = 0                                                        
[pid   339]      0.001373 [afe0d4c0] futex(0x1bd0dc, FUTEX_WAKE, 1 <unfinished ...>                                          
[pid   333]      0.001618 [afe0d4a4] <... futex resumed> ) = 0                                                               
[pid   333]      0.001190 [afe0d4a4] futex(0x1bd0d8, FUTEX_WAIT, 2, NULL <unfinished ...>                                    
[pid   339]      0.001678 [afe0d4c0] <... futex resumed> ) = 1                                                               
[pid   339]      0.003449 [afe0d4c0] futex(0x1bd0d8, FUTEX_WAKE, 1 <unfinished ...>                                          
[pid   333]      0.001617 [afe0d4a4] <... futex resumed> ) = 0                                                               
[pid   333]      0.001221 [afe0d4c0] futex(0x1bd0d8, FUTEX_WAKE, 1) = 0                                                      
[pid   333]      0.002106 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.002258 [afe0c55c] writev(3, [{"\5", 1}, {"KeyCharacterMap\0", 16}, {"No keyboard for id 0\0", 21}], 3W/KeyC
haracterMap(  333): No keyboard for id 0                                                                                     
) = 38                                                                                                                       
[pid   333]      0.004913 [afe0c31c] open("/system/usr/keychars/qwerty.kcm.bin", O_RDONLY|O_LARGEFILE) = 35                 
[pid   333]      0.002899 [afe0c37c] lseek(35, 0, SEEK_END) = 912                                                            
[pid   333]      0.001709 [afe0c37c] lseek(35, 0, SEEK_SET) = 0                                                              
[pid   333]      0.001709 [afe0c27c] read(35, "keychar\0xV4\22\2\0\0\0007\0\0\0\3\0\0\0\0\0\0\0\0\0\0"..., 32) = 32          
[pid   333]      0.003052 [afe0c27c] read(35, "\7\0\0\0000\0000\0000\0)\0)\0)\0\10\0\0\0001\0001\0001"..., 880) = 880        
[pid   333]      0.002838 [afe0c35c] close(35) = 0                                                                           
[pid   333]      0.001587 [afe0c55c] writev(3, [{"\5", 1}, {"KeyCharacterMap\0", 16}, {"Using default keymap: /system/us"...,
58}], 3W/KeyCharacterMap(  333): Using default keymap: /system/usr/keychars/qwerty.kcm.bin                                   
) = 75                                                                                                                       
[pid   333]      0.005646 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.002197 [afe0c55c] writev(3, [{"\6", 1}, {"Qt JAVA\0", 8}, {"before remap KeyCode=37\0", 24}], 3E/Qt JAVA (
 333): before remap KeyCode=37                                                                                               
) = 33                                                                                                                       
[pid   333]      0.005310 [afe0c55c] writev(3, [{"\3", 1}, {"Qt\0", 3}, {"###########transmitEvent, url= /"..., 54}], 3D/Qt  
   (  333): ###########transmitEvent, url= /data/tmp/search.html                                                             
) = 58                                                                                                                       
[pid   333]      0.004914 [afe0cb2c] gettimeofday({946686229, 797729}, NULL) = 0                                             
[pid   333]      0.002136 [afe0c29c] write(26, "\0", 1) = 1                                                                  
[pid   333]      0.002289 [afe0c55c] writev(3, [{"\6", 1}, {"Qt JAVA\0", 8}, {"after remap KeyCode=37\0", 23}], 3E/Qt JAVA ( 
333): after remap KeyCode=37                                                                                                 
) = 32                                                                                                                       
[pid   333]      0.004364 [afe0cb2c] gettimeofday({946686229, 806518}, NULL) = 0                                             
[pid   333]      0.002502 [afe0c51c] ioctl(10, 0xc0186201W/WindowManager(   57): TOUCH TO KEY keycode=37                     
, 0xbefc6580) = 0                                                                                                            
[pid   333]      0.007324 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6580) = 0                                                   
[pid   333]      0.002075 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.002015 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6680) = 0                                                   
[pid   333]      0.001922 [afe0d4a4] futex(0x1bd0dc, FUTEX_WAIT, -2, NULL <unfinished ...>                                   
[pid   339]      0.001618 [afe0d4c0] <... futex resumed> ) = 1                            
[pid   339]      0.001403 [afe0c51c] ioctl(10, 0xc0186201 <unfinished ...>                                                   
[pid   340]      0.001465 [afe0c51c] <... ioctl resumed> , 0x44c86e38) = 0                                                   
[pid   340]      0.002106 [afe0d4c0] futex(0x1bd0dc, FUTEX_WAKE, 1 <unfinished ...>                                          
[pid   333]      0.001617 [afe0d4a4] <... futex resumed> ) = 0                                                               
[pid   333]      0.001191 [afe0d4a4] futex(0x1bd0d8, FUTEX_WAIT, 2, NULL <unfinished ...>                                    
[pid   340]      0.001648 [afe0d4c0] <... futex resumed> ) = 1                                                               
[pid   340]      0.001220 [afe0d4c0] futex(0x1bd0d8, FUTEX_WAKE, 1 <unfinished ...>                                          
[pid   333]      0.002960 [afe0d4a4] <... futex resumed> ) = 0                                                               
[pid   333]      0.001221 [afe0d4c0] futex(0x1bd0d8, FUTEX_WAKE, 1) = 0                                                      
[pid   333]      0.001831 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.002198 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6580) = 0                                                   
[pid   333]      0.004119 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.001740 [afe0d4a4] futex(0x1bd0dc, FUTEX_WAIT, -3, NULL <unfinished ...>                                   
[pid   338]      0.001617 [afe0c51c] <... ioctl resumed> , 0x44a86e38) = 0                                                   
[pid   338]      0.003388 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   338]      0.001709 [afe0d4c0] futex(0x1bd0dc, FUTEX_WAKE, 1 <unfinished ...>                                          
[pid   333]      0.001617 [afe0d4a4] <... futex resumed> ) = 0                                                               
[pid   333]      0.001190 [afe0d4a4] futex(0x1bd0d8, FUTEX_WAIT, 2, NULL <unfinished ...>                                    
[pid   338]      0.002015 [afe0d4c0] <... futex resumed> ) = 1                                                               
[pid   338]      0.001220 [afe0d4c0] futex(0x1bd0d8, FUTEX_WAKE, 1 <unfinished ...>                                          
[pid   333]      0.001618 [afe0d4a4] <... futex resumed> ) = 0                                                               
[pid   333]      0.001220 [afe0d4c0] futex(0x1bd0d8, FUTEX_WAKE, 1) = 0                                                      
[pid   333]      0.001831 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.003357 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.002106 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6580) = 0                                                   
[pid   333]      0.003204 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6580) = 0                                                   
[pid   333]      0.002137 [afe0cbac] timer_delete(0x1) = 0                                                                   
[pid   333]      0.001709 [afe0c51c] ioctl(10, 0xc0186201, 0xbefc6680) = 0           
[pid   333]      0.001922 [afe0d4a4] futex(0x1bd0dc, FUTEX_WAIT, -4, NULL <unfinished ...>                                   
[pid   338]      0.001618 [afe0d4c0] <... futex resumed> ) = 1                                                               
[pid   338]      0.002960 [afe0c51c] ioctl(10, 0xc0186201 <unfinished ...>                                                   
[pid   340]      0.001465 [afe0d4c0] <... futex resumed> ) = 1                                                               
[pid   340]      0.001373 [afe0c51c] ioctl(10, 0xc0186201 <unfinished ...>                                                   
[pid   341]      0.001495 [afe0c644] <... select resumed> ) = 1 (in [25])                                                    
[pid   341]      0.001618 [afe0c27c] read(25, "\0", 16) = 1                                                                  
[pid   341]      0.001800 [afe0c27c] read(25, 0x44d86d7c, 16) = -1 EAGAIN (Try again)                                        
[pid   341]      0.002838 [afe0cb2c] gettimeofday({946686229, 895721}, {0, 0}) = 0                                           
[pid   341]      0.004181 [afe0cb2c] gettimeofday({946686229, 899902}, {0, 0}) = 0                                           
[pid   341]      0.002716 [afe0c55c] writev(3, [{"\3", 1}, {"Qt\0", 3}, {"Key_OpenUrl event has received \0", 32}], 3D/Qt    
 (  333): Key_OpenUrl event has received                                                                                     
) = 36                                                                                                                       
[pid   341]      0.004792 [afe0c55c] writev(3, [{"\3", 1}, {"Qt\0", 3}, {"key info e->text()= \"/data/tmp/s"..., 45}], 3D/Qt 
    (  333): key info e->text()= "/data/tmp/search.html"                                                                     
) = 49                                                                                                                       
[pid   341]      0.004821 [afe0c31c] open("/data/tmp/search.html", O_RDONLY|O_LARGEFILE) = 35                                
[pid   341]      0.004212 [afe0c70c] fcntl64(35, F_SETFD, FD_CLOEXEC) = 0                                                    
[pid   341]      0.001831 [afe0c96c] fstat64(35, {st_dev=makedev(31, 3), st_ino=657, st_mode=S_IFREG|0664, st_nlink=1, st_uid=
0, st_gid=0, st_blksize=4096, st_blocks=85, st_size=43087, st_atime=2000/01/01-01:58:25, st_mtime=2010/03/22-10:03:07, st_ctim
e=2000/01/01-01:58:25}) = 0                                                                                                  
[pid   341]      0.012848 [afe0c55c] writev(3, [{"\3", 1}, {"Qt\0", 3}, {"########load url=  QUrl( \"file:/"..., 60}], 3D/Qt 
    (  333): ########load url=  QUrl( "file:///data/tmp/search.html" )                                                       
) = 64                                                                                                                       
[pid   341]      0.006409 [afe0cb2c] gettimeofday({946686229, 937561}, {0, 0}) = 0                                           
[pid   341]      0.004974 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0                                    
[pid   341]      0.002167 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ) = 0                                               
[pid   341]      0.003692 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0              
[pid   341]      0.002075 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ) = 0                                               
[pid   341]      0.003113 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0                                    
[pid   341]      0.002075 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ) = 0                                               
[pid   341]      0.001984 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0                                    
[pid   341]      0.002045 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ) = 0                                               
[pid   341]      0.003540 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0                                    
[pid   341]      0.002075 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ) = 0                                               
[pid   341]      0.001923 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0                                    
[pid   341]      0.002350 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ) = 0                                               
[pid   341]      0.001953 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ|PROT_WRITE) = 0                                    
[pid   341]      0.002075 [afe0c47c] mprotect(0x40008000, 4096, PROT_READ) = 0                                               
[pid   341]      0.004059 [afe0c98c] stat64("/data/tmp/search.html", {st_dev=makedev(31, 3), st_ino=657, st_mode=S_IFREG|0664,
 st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=85, st_size=43087, st_atime=2000/01/01-01:58:25, st_mtime=2010/03/
22-10:03:07, st_ctime=2000/01/01-01:58:25}) = 0                                                                              
[pid   341]      0.006714 [afe0c31c] open("/data/tmp/search.html", O_RDONLY|O_LARGEFILE) = 36                                
[pid   341]      0.002441 [afe0c70c] fcntl64(36, F_SETFD, FD_CLOEXEC) = 0                                                    
[pid   341]      0.001831 [afe0c96c] fstat64(36, {st_dev=makedev(31, 3), st_ino=657, st_mode=S_IFREG|0664, st_nlink=1, st_uid=
0, st_gid=0, st_blksize=4096, st_blocks=85, st_size=43087, st_atime=2000/01/01-01:58:25, st_mtime=2010/03/22-10:03:07, st_ctim
e=2000/01/01-01:58:25}) = 0                                                                                                  
[pid   341]      0.007233 [afe0c98c] stat64("/data/tmp/search.html", {st_dev=makedev(31, 3), st_ino=657, st_mode=S_IFREG|0664,
 st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=85, st_size=43087, st_atime=2000/01/01-01:58:25, st_mtime=2010/03/
22-10:03:07, st_ctime=2000/01/01-01:58:25}) = 0                                                                              
[pid   341]      0.007599 [afe0c29c] write(26, "\0", 1) = 1                                                                  
[pid   341]      0.002777 [afe0c35c] close(35) = 0                                                                           
[pid   341]      0.003967 [afe0cb2c] gettimeofday({946686230, 10223}, {0, 0}) = 0                                            
[pid   341]      0.002380 [afe0cb2c] gettimeofday({946686230, 12573}, {0, 0}) = 0                                            
[pid   341]      0.003144 [afe0cb2c] gettimeofday({946686230, 15747}, NULL) = 0                                              
[pid   341]      0.002044 [afe0cb6c] times({tms_utime=114, tms_stime=121, tms_cutime=0, tms_cstime=0}) = -939411650      
[pid   341]      0.002564 [afe0cb2c] gettimeofday({946686230, 20324}, NULL) = 0                                              
[pid   341]      0.002014 [afe0cb2c] gettimeofday({946686230, 23712}, NULL) = 0                                              
[pid   341]      0.003387 [afe0c644] select(26, [25], [], [], {0, 0}) = 1 (in [25], left {0, 0})                             
[pid   341]      0.002747 [afe0c27c] read(25, "\0", 16) = 1                                                                  
[pid   341]      0.001770 [afe0c27c] read(25, 0x44d86d7c, 16) = -1 EAGAIN (Try again)                                        
[pid   341]      0.003113 [afe0c27c] read(36, "<!DOCTYPE HTML>\n<html><head>\n<me"..., 43087) = 43087                        
[pid   341]      0.004760 [afe0cb2c] gettimeofday({946686230, 39703}, {0, 0}) = 0                                            
[pid   341]      0.003907 [afe0cb2c] gettimeofday({946686230, 42022}, {0, 0}) = 0                                            
[pid   341]      0.002258 [afe0cb2c] gettimeofday({946686230, 44311}, {0, 0}) = 0                                            
[pid   341]      0.002686 [afe0cb2c] gettimeofday({946686230, 46997}, {0, 0}) = 0                                            
[pid   341]      0.002227 [afe0cb2c] gettimeofday({946686230, 49194}, NULL) = 0                                              
[pid   341]      0.003449 [afe0cb2c] gettimeofday({946686230, 52642}, {0, 0}) = 0                                            
[pid   341]      0.007141 [afe0c3f4] mmap2(NULL, 90112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x46161000 
[pid   341]      0.006836 [afe0c41c] munmap(0x46161000, 90112) = 0                                                           
[pid   341]      0.002136 [afe0cb2c] gettimeofday({946686230, 68756}, {0, 0}) = 0                                            
[pid   341]      0.005951 [afe0c3f4] mmap2(NULL, 520192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x46161000
[pid   341]      0.002472 [afe0c41c] munmap(0x46161000, 126976) = 0                                                          
[pid   341]      0.002197 [afe0c41c] munmap(0x461c0000, 131072) = 0                                                          
[pid   341]      0.004303 [afe0c3f4] mmap2(NULL, 520192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x461c0000
[pid   341]      0.002808 [afe0c41c] munmap(0x46200000, 258048) = 0                                                          
[pid   341]      0.005585 [afe0cb2c] gettimeofday({946686230, 92102}, {0, 0}) = 0                                            
[pid   341]      0.013122 [afe0cb2c] gettimeofday({946686230, 105224}, {0, 0}) = 0                                           
[pid   341]      0.004852 [afe0cb2c] gettimeofday({946686230, 110076}, {0, 0}) = 0                                           
[pid   341]      0.052948 [afe0cb2c] gettimeofday({946686230, 163024}, {0, 0}) = 0                                           
[pid   341]      0.013398 [afe0cb2c] gettimeofday({946686230, 176422}, {0, 0}) = 0                                           
[pid   341]      0.002288 [afe0cb2c] gettimeofday({946686230, 179016}, {0, 0}) = 0                                           
[pid   341]      0.005616 [afe0c98c] stat64("/data/local/qt/lib/fonts/DroidSansFallback.ttf", {st_dev=makedev(31, 2), st_ino=4
40, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=6020, st_size=3081908, st_atime=2008/08/0
1-12:00:00, st_mtime=2008/08/01-12:00:00, st_ctime=2000/01/01-00:01:40}) = 0                                                 
[pid   341]      0.021942 [afe0cb2c] gettimeofday({946686230, 206298}, {0, 0}) = 0                                           
[pid   341]      0.036926 [afe0cb2c] gettimeofday({946686230, 243194}, {0, 0}) = 0                                           
[pid   341]      0.006867 [afe0cb2c] gettimeofday({946686230, 250091}, {0, 0}) = 0                                           
[pid   341]      0.006286 [afe0c98c] stat64("/data/tmp/search_files/nav_logo7.png", 0x1c18f8) = -1 ENOENT (No such file or dir
ectory)                                                                                                                      
[pid   341]      0.003174 [afe0c9ac] lstat64("/data/tmp/search_files/nav_logo7.png", 0x44d85a70) = -1 ENOENT (No such file or
directory)                                                                                                                   
[pid   341]      0.003296 [afe0c31c] open("/data/tmp/search_files/nav_logo7.png", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such f
ile or directory)                                                                                                            
[pid   341]      0.004150 [afe0c29c] write(26, "\0", 1) = 1                                                                  
[pid   341]      0.014252 [afe0c98c] stat64("/data/local/qt/lib/fonts/DroidSansFallback.ttf", {st_dev=makedev(31, 2), st_ino=4
40, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=6020, st_size=3081908, st_atime=2008/08/0
1-12:00:00, st_mtime=2008/08/01-12:00:00, st_ctime=2000/01/01-00:01:40}) = 0                                                 
[pid   341]      0.008209 [afe0cd4c] sigprocmask(SIG_BLOCK, [], []) = 0                                                      
[pid   341]      0.003296 [afe0c98c] stat64("/data/local/qt/lib/fonts/DroidSansFallback.ttf", {st_dev=makedev(31, 2), st_ino=4
40, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=6020, st_size=3081908, st_atime=2008/08/0
1-12:00:00, st_mtime=2008/08/01-12:00:00, st_ctime=2000/01/01-00:01:40}) = 0                                                 
[pid   341]      0.008423 [afe0c98c] stat64("/data/local/qt/lib/fonts/DroidSansFallback.ttf", {st_dev=makedev(31, 2), st_ino=4
40, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=6020, st_size=3081908, st_atime=2008/08/0
1-12:00:00, st_mtime=2008/08/01-12:00:00, st_ctime=2000/01/01-00:01:40}) = 0                                                 
[pid   341]      0.009186 [8285a140] --- SIGBUS (Bus error) @ 0 (0) ---                                                      
[pid   341]      0.002502 [b000910c] sigaction(SIGUSR1, {SIG_IGN}, {SIG_DFL}, 0) = 0                                         
[pid   341]      0.002442 [b000209c] gettid() = 341                                                                          
[pid   341]      0.001648 [b00021dc] mq_notify(0x1, 0x1) = 35                                                                
[pid   341]      0.001800 [b00021fc] sys_kexec_load(0x23, 0x44d8618e, 0x14, 0x1, 0x23) = 0                                   
[pid   341]      0.002655 [b00020dc] write(35, "U\1\0\0", 4) = 4                                                             
[pid   341]      0.001923 [b00020bc] read(35, I/DEBUG   (   28): ptrace attach failed: Operation not permitted   
 <unfinished ...>                                                                                                            
[pid   333]      0.109375 [afe0d4a4] <... futex resumed> ) = ? ERESTARTSYS (To be restarted)                                 
[pid   333]      0.001465 [afe0d4a4] --- SIGCONT (Continue) @ 0 (0) ---                                                      
[pid   333]      0.001403 [afe0d4a4] futex(0x1bd0dc, FUTEX_WAIT, -4, NULL <unfinished ...>                                   
[pid   335]      0.002015 [afe0d4a4] <... futex resumed> ) = ? ERESTARTSYS (To be restarted)                                 
[pid   335]      0.001648 [afe0d4a4] futex(0xad084e30, FUTEX_WAIT, -79, NULL <unfinished ...>                                
[pid   341]      0.001678 [b00020bc] <... read resumed> "", 1) = 0                                                           
[pid   341]      0.001282 [b00020fc] close(35) = 0                                                                           
[pid   341]      0.001617 [b000910c] sigaction(SIGBUS, {SIG_IGN}, {0xb0001c85, [], SA_RESTART}, 0) = 0                       
[pid   341]      0.002564 [ffff050c] sigreturn() = ? (mask now [ALRM STKFLT])                                                
[pid   341]      0.002868 [8285a140] --- SIGBUS (Bus error) @ 0 (0) ---                                                      
Process 333 detached                                                                                                         
Process 341 detached                                                                                                         
[pid   335]      0.003083 [afe0d4a4] <... futex resumed> ) = ? ERESTARTSYS (To be restarted)                                 
upeek: ptrace(PTRACE_PEEKUSER,335,60,0): No such process                                                                     
[pid   335]      0.001922 [????????] +++ killed by SIGBUS +++                                                                
PANIC: handle_group_exit: 335 leader 333                                                                                     
[pid   336]      0.002289 [afe0cdcc] <... rt_sigtimedwait resumed> 0x44786e90) = -1 EINTR (Interrupted system call)          
upeek: ptrace(PTRACE_PEEKUSER,336,60,0): No such process                                                                     
[pid   336]      0.001801 [????????] +++ killed by SIGBUS +++                                                                
PANIC: handle_group_exit: 336 leader 333                                                                                     
[pid   337]      0.002563 [afe0d00c] <... SYS_297 resumed> ) = ? ERESTARTSYS (To be restarted)                               
upeek: ptrace(PTRACE_PEEKUSER,337,60,0): No such process                                                                     
[pid   337]      0.001617 [????????] +++ killed by SIGBUS +++                                                                
PANIC: handle_group_exit: 337 leader 333                                                                                     
[pid   338]      0.002198 [afe0c51c] <... ioctl resumed> , 0x44a86e38) = ? ERESTARTSYS (To be restarted)                     
upeek: ptrace(PTRACE_PEEKUSER,338,60,0): No such process                                                       
[pid   338]      0.001648 [????????] +++ killed by SIGBUS +++                                                                
PANIC: handle_group_exit: 338 leader 333                                                                                     
[pid   339]      0.002563 [afe0c51c] <... ioctl resumed> , 0x44b86e38) = ? ERESTARTSYS (To be restarted)                     
upeek: ptrace(PTRACE_PEEKUSER,339,60,0): No such process                                                                     
[pid   339]      0.001740 [????????] +++ killed by SIGBUS +++                                                                
PANIC: handle_group_exit: 339 leader 333                                                                                     
[pid   340]      0.002197 [afe0c51c] <... ioctl resumed> , 0x44c86e38) = ? ERESTARTSYS (To be restarted)                     
upeek: ptrace(PTRACE_PEEKUSER,340,60,0): No such process                                                                     
[pid   340]      0.001648 [????????] +++ killed by SIGBUS +++                                                                
PANIC: handle_group_exit: 340 leader 333                                                                                     
[pid   342]      0.002624 [afe0d4a4] <... futex resumed> ) = ? ERESTARTSYS (To be restarted)                                 
binder: 57:80 transaction failed 29189, size 52-0                                                                            
I/ActivityManager(   57): Process org.example.qt (pid 333) has died.                                                         
I/WindowManager(   57): WIN DEATH: Window{43ae17e8 org.example.qt/org.example.qt.QtHtmlViewer paused=false}                  
D/Zygote  (   30): Process 333 terminated by signal (7)                                                                      
upeek: ptrace(PTRACE_PEEKUSER,342,60,0): No such process                                                                     
[pid   342]      0.036011 [????????] +++ killed by SIGBUS +++                                                                
PANIC: handle_group_exit: 342 leader 333                                                                                     
Process 333 detached                                

BR,
bigcren

Dianne Hackborn

unread,
Mar 26, 2010, 12:49:43 PM3/26/10
to big...@gmail.com, andro...@googlegroups.com, android...@googlegroups.com
There are many subtle differences between the emulator and device.  For example, at least at one time, a data access with bad alignment would silently return garbage on the emulator but crash on the device.  (Or was that the other way around?  Not sure.)


--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
 
To unsubscribe from this group, send email to android-porting+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

Reply all
Reply to author
Forward
0 new messages