As far as I know, surface flinger, and the requisite graphics 
libraries/services have changed quite a bit, especially in the timing dept. 
(All part of project butter, which you can read/watch more about in the 
"project butter" google io session on youtube.

Weston

On Monday, July 16, 2012 9:46:35 AM UTC-7, Giveen wrote:
>
>
> Surfaceflinger wouldn't start up in my Android 4.1.1 port, so I copied my 
> ICS version over and now it is having illegal operations.
>
> Ideas?
>
>
> I/DEBUG   (   80): pid: 476, tid: 477, name: SurfaceFlinger  >>> 
>> /system/bin/surfaceflinger <<<
>>
>> I/DEBUG   (   80): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 
>> 401067de
>>
>> I/DEBUG   (   80):     r0 00000000  r1 40a9ff81  r2 00000000  r3 2aaaaff8
>>
>> I/DEBUG   (   80):     r4 2aaaaed0  r5 40110491  r6 00000000  r7 400098d7
>>
>> I/DEBUG   (   80):     r8 2aaaaed0  r9 2aaab030  sl 2aaaae60  fp 00000001
>>
>> I/DEBUG   (   80):     ip 00000076  sp 40ecccf0  lr 40144049  pc 
>> 401067de  cpsr 40000030
>>
>> I/DEBUG   (   80):     d0  0000000000000000  d1  0000007f000001e0
>>
>> I/DEBUG   (   80):     d2  404e000042700000  d3  4024000000000000
>>
>> I/DEBUG   (   80):     d4  0000000000000000  d5  3d928e0000000000
>>
>> I/DEBUG   (   80):     d6  3fe0000000009470  d7  3f40000000000078
>>
>> I/DEBUG   (   80):     d8  0000000043200000  d9  0000000000000000
>>
>> I/DEBUG   (   80):     d10 0000000000000000  d11 0000000000000000
>>
>> I/DEBUG   (   80):     d12 0000000000000000  d13 0000000000000000
>>
>> I/DEBUG   (   80):     d14 0000000000000000  d15 0000000000000000
>>
>> I/DEBUG   (   80):     scr 20000010
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): backtrace:
>>
>> I/DEBUG   (   80):     #00  pc 0001d7de  /system/lib/libsurfaceflinger.so 
>> (android::DisplayHardware::init(unsigned int)+365)
>>
>> I/DEBUG   (   80):     #01  pc 0001dd0d  /system/lib/libsurfaceflinger.so 
>> (android::DisplayHardware::DisplayHardware(android::sp<android::SurfaceFlinger>
>>  
>> const&, unsigned int)+76)
>>
>> I/DEBUG   (   80):     #02  pc 000222f7  /system/lib/libsurfaceflinger.so 
>> (android::SurfaceFlinger::readyToRun()+54)
>>
>> I/DEBUG   (   80):     #03  pc 00010ee5  /system/lib/libutils.so 
>> (android::Thread::_threadLoop(void*)+72)
>>
>> I/DEBUG   (   80):     #04  pc 00010a75  /system/lib/libutils.so
>>
>> I/DEBUG   (   80):     #05  pc 00012dd0  /system/lib/libc.so 
>> (__thread_entry+48)
>>
>> I/DEBUG   (   80):     #06  pc 00012528  /system/lib/libc.so 
>> (pthread_create+172)
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): stack:
>>
>> I/DEBUG   (   80):          40ecccb0  0000002d  
>>
>> I/DEBUG   (   80):          40ecccb4  40144049  /system/lib/libc.so 
>> (__system_property_find+56)
>>
>> I/DEBUG   (   80):          40ecccb8  2aaaaff8  [heap]
>>
>> I/DEBUG   (   80):          40ecccbc  40eccdb0  
>>
>> I/DEBUG   (   80):          40ecccc0  40eccdb0  
>>
>> I/DEBUG   (   80):          40ecccc4  00000000  
>>
>> I/DEBUG   (   80):          40ecccc8  400098d7  /system/lib/libui.so 
>> (android::FramebufferNativeWindow::query(ANativeWindow const*, int, int*))
>>
>> I/DEBUG   (   80):          40eccccc  2aaaaed0  [heap]
>>
>> I/DEBUG   (   80):          40ecccd0  2aaab030  [heap]
>>
>> I/DEBUG   (   80):          40ecccd4  401440a9  /system/lib/libc.so 
>> (__system_property_get+8)
>>
>> I/DEBUG   (   80):          40ecccd8  2aaaaed0  [heap]
>>
>> I/DEBUG   (   80):          40ecccdc  40170573  /system/lib/libcutils.so 
>> (property_get+10)
>>
>> I/DEBUG   (   80):          40eccce0  2aaaaed0  [heap]
>>
>> I/DEBUG   (   80):          40eccce4  40110491  
>> /system/lib/libsurfaceflinger.so
>>
>> I/DEBUG   (   80):          40eccce8  df0027ad  
>>
>> I/DEBUG   (   80):          40ecccec  00000000  
>>
>> I/DEBUG   (   80):     #00  40ecccf0  00000000  
>>
>> I/DEBUG   (   80):          40ecccf4  00000000  
>>
>> I/DEBUG   (   80):          40ecccf8  00000000  
>>
>> I/DEBUG   (   80):          40ecccfc  00000000  
>>
>> I/DEBUG   (   80):          40eccd00  00000000  
>>
>> I/DEBUG   (   80):          40eccd04  00000000  
>>
>> I/DEBUG   (   80):          40eccd08  00000000  
>>
>> I/DEBUG   (   80):          40eccd0c  40169a4c  
>>
>> I/DEBUG   (   80):          40eccd10  00000001  
>>
>> I/DEBUG   (   80):          40eccd14  00000000  
>>
>> I/DEBUG   (   80):          40eccd18  00000000  
>>
>> I/DEBUG   (   80):          40eccd1c  00000000  
>>
>> I/DEBUG   (   80):          40eccd20  00000000  
>>
>> I/DEBUG   (   80):          40eccd24  00000000  
>>
>> I/DEBUG   (   80):          40eccd28  00000000  
>>
>> I/DEBUG   (   80):          40eccd2c  00000000  
>>
>> I/DEBUG   (   80):          ........  ........
>>
>> I/DEBUG   (   80):     #01  40ecce40  2aaaaaf0  [heap]
>>
>> I/DEBUG   (   80):          40ecce44  4010ff30  
>> /system/lib/libsurfaceflinger.so
>>
>> I/DEBUG   (   80):          40ecce48  40115fd4  
>> /system/lib/libsurfaceflinger.so
>>
>> I/DEBUG   (   80):          40ecce4c  4010b2fb  
>> /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::readyToRun()+58)
>>
>> I/DEBUG   (   80):     #02  40ecce50  40177750  /system/lib/libcutils.so
>>
>> I/DEBUG   (   80):          40ecce54  00080001  
>>
>> I/DEBUG   (   80):          40ecce58  401706cd  /system/lib/libcutils.so
>>
>> I/DEBUG   (   80):          40ecce5c  00080001  
>>
>> I/DEBUG   (   80):          40ecce60  40177716  /system/lib/libcutils.so
>>
>> I/DEBUG   (   80):          40ecce64  4017a024  /system/lib/libcutils.so
>>
>> I/DEBUG   (   80):          40ecce68  00000000  
>>
>> I/DEBUG   (   80):          40ecce6c  2aaaaaf0  [heap]
>>
>> I/DEBUG   (   80):          40ecce70  4017a29c  /system/lib/libcutils.so
>>
>> I/DEBUG   (   80):          40ecce74  000001dd  
>>
>> I/DEBUG   (   80):          40ecce78  40169a4c  
>>
>> I/DEBUG   (   80):          40ecce7c  00000004  
>>
>> I/DEBUG   (   80):          40ecce80  40169a4c  
>>
>> I/DEBUG   (   80):          40ecce84  2aaaab04  [heap]
>>
>> I/DEBUG   (   80):          40ecce88  40eccea8  
>>
>> I/DEBUG   (   80):          40ecce8c  40115fd4  
>> /system/lib/libsurfaceflinger.so
>>
>> I/DEBUG   (   80):          ........  ........
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near r1:
>>
>> I/DEBUG   (   80):     40a9ff60 00000000 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     40a9ff70 00000000 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     40a9ff80 65646976 63612e6f 656c6563 65746172  
>> video.accelerate
>>
>> I/DEBUG   (   80):     40a9ff90 0077682e 00000000 00000000 00000000  
>> .hw.............
>>
>> I/DEBUG   (   80):     40a9ffa0 01000000 00000031 00000000 00000000  
>> ....1...........
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near r3:
>>
>> I/DEBUG   (   80):     2aaaafd8 40009923 40009987 40009b4f 400098d7  
>> #..@...@O..@...@
>>
>> I/DEBUG   (   80):     2aaaafe8 4000989d 00000000 00000000 00000000  
>> ...@............
>>
>> I/DEBUG   (   80):     2aaaaff8 00000001 2aaab030 2aac83c8 2aac8438  
>> ....0..*...*8..*
>>
>> I/DEBUG   (   80):     2aaab008 2aac84a0 00000000 00000000 00000000  
>> ...*............
>>
>> I/DEBUG   (   80):     2aaab018 00000002 00000002 00000001 00000000  
>> ................
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near r4:
>>
>> I/DEBUG   (   80):     2aaaaeb0 000001dd 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     2aaaaec0 00000001 00000000 40eccf00 0000008b  
>> ...........@....
>>
>> I/DEBUG   (   80):     2aaaaed0 40114e20 2aaaaf58 00000001 2aaaaaf0   
>> N.@X..*.......*
>>
>> I/DEBUG   (   80):     2aaaaee0 00000000 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     2aaaaef0 43200000 43206bca 42700000 3f400000  .. 
>> C.k C..pB..@?
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near r5:
>>
>> I/DEBUG   (   80):     40110470 65622074 66656420 64656e69 20736120  t be 
>> defined as 
>>
>> I/DEBUG   (   80):     40110480 75622061 20646c69 706f7270 79747265  a 
>> build property
>>
>> I/DEBUG   (   80):     40110490 6d657100 66732e75 64636c2e 6e65645f  
>> .qemu.sf.lcd_den
>>
>> I/DEBUG   (   80):     401104a0 79746973 62656400 732e6775 77682e66  
>> sity.debug.sf.hw
>>
>> I/DEBUG   (   80):     401104b0 572f4800 6d6f6320 69736f70 6e6f6974  .H/W 
>> composition
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near r7:
>>
>> I/DEBUG   (   80):     400098b4 4c98f641 010cea02 0025f06f f06fb909  
>> A..L....o.%...o.
>>
>> I/DEBUG   (   80):     400098c4 b0030001 30684770 b9faf002 f0023060  
>> ....pGh0....`0..
>>
>> I/DEBUG   (   80):     400098d4 b5f8b9f7 0780f100 46164604 460d4638  
>> .........F.F8F.F
>>
>> I/DEBUG   (   80):     400098e4 ee5af7ff 22006ee3 d8102d08 f005e8df  
>> ..Z..n.".-......
>>
>> I/DEBUG   (   80):     400098f4 0f09050b 050b0d0d 6c9b000d 24006033  
>> ...........l3`.$
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near r8:
>>
>> I/DEBUG   (   80):     2aaaaeb0 000001dd 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     2aaaaec0 00000001 00000000 40eccf00 0000008b  
>> ...........@....
>>
>> I/DEBUG   (   80):     2aaaaed0 40114e20 2aaaaf58 00000001 2aaaaaf0   
>> N.@X..*.......*
>>
>> I/DEBUG   (   80):     2aaaaee0 00000000 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     2aaaaef0 43200000 43206bca 42700000 3f400000  .. 
>> C.k C..pB..@?
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near r9:
>>
>> I/DEBUG   (   80):     2aaab010 00000000 00000000 00000002 00000002  
>> ................
>>
>> I/DEBUG   (   80):     2aaab020 00000001 00000000 00000000 00002b53  
>> ............S+..
>>
>> I/DEBUG   (   80):     2aaab030 48574454 00000001 40aad28c 00000000  
>> TDWH.......@....
>>
>> I/DEBUG   (   80):     2aaab040 00000000 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     2aaab050 00000000 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near sl:
>>
>> I/DEBUG   (   80):     2aaaae40 2aaaae48 0000001b 00000001 00000001  
>> H..*............
>>
>> I/DEBUG   (   80):     2aaaae50 2aaaae3c 00000000 00000000 0000001b  
>> <..*............
>>
>> I/DEBUG   (   80):     2aaaae60 00000001 00000001 2aaaaf84 00000000  
>> ...........*....
>>
>> I/DEBUG   (   80):     2aaaae70 00000018 0000001b 00000010 00000000  
>> ................
>>
>> I/DEBUG   (   80):     2aaaae80 40b0b52b 00000002 00000002 00000043  
>> [email protected]...
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory near sp:
>>
>> I/DEBUG   (   80):     40ecccd0 2aaab030 401440a9 2aaaaed0 40170573  
>> 0..*.@.@...*s..@
>>
>> I/DEBUG   (   80):     40eccce0 2aaaaed0 40110491 df0027ad 00000000  
>> ...*...@.'......
>>
>> I/DEBUG   (   80):     40ecccf0 00000000 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80):     40eccd00 00000000 00000000 00000000 40169a4c  
>> ............L..@
>>
>> I/DEBUG   (   80):     40eccd10 00000001 00000000 00000000 00000000  
>> ................
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): code around pc:
>>
>> I/DEBUG   (   80):     401067bc 0a90ee01 1ae1eeb8 1a09ed84 1a08ed84  
>> ................
>>
>> I/DEBUG   (   80):     401067cc 1a08ee81 1a0bed84 2a17ed99 0ac2eef7  
>> ...........*....
>>
>> I/DEBUG   (   80):     401067dc 1b40eddf 2a0aed84 27004d4a 0850f10d  
>> ..@....*JM.'..P.
>>
>> I/DEBUG   (   80):     401067ec eec1447d ec510ba0 f7fb0b30 970aee82  
>> }D....Q.0.......
>>
>> I/DEBUG   (   80):     401067fc 0114e9c4 e8a8cd0f a919000f 4842682a  
>> ............*hBH
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): code around lr:
>>
>> I/DEBUG   (   80):     40144028 46074b20 f855e00e ebb76b04 d1086f16   
>> K.F..U..k...o..
>>
>> I/DEBUG   (   80):     40144038 467ff026 444e4640 4631463a ee64f7e2  
>> &..F@FND:F1F..d.
>>
>> I/DEBUG   (   80):     40144048 3c01b118 d1ee2c00 46304626 83f8e8bd  
>> ...<.,..&F0F....
>>
>> I/DEBUG   (   80):     40144058 000197de 43f8e92d 460f4604 f1004691  
>> ....-..C.F.F.F..
>>
>> I/DEBUG   (   80):     40144068 e0040820 46294640 f7e22200 6a25ee04   
>> ...@F)F."....%j
>>
>> I/DEBUG   (   80): 
>>
>> I/DEBUG   (   80): memory map around fault addr 401067de:
>>
>> I/DEBUG   (   80):     400e6000-400e7000 
>>
>> I/DEBUG   (   80):     400e9000-40112000 /system/lib/libsurfaceflinger.so
>>
>> I/DEBUG   (   80):     40112000-40113000 
>>
>> E/PrintK  (    1): <3>init: untracked pid 455 exited
>>
>> E/PrintK  (    1): <3>init: untracked pid 459 exited
>>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to