You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I use the optee qemu run the xtest,
when the optee is start,I run the commond at the linux:
root@Vexpress:/ tee-supplicant &
root@Vexpress:/ ./sh.sh &
the sh.sh is like this :
!/bin/sh
i=1
while [ true ]
do
echo -----------------begin------------
xtest
let i=i+1
echo $i > file
echo -----------------end-------------
done
it will execute xtest continuously , the front is normal ,but to the back(seventy-first times) will lead to optee os panic ,some log of the linux and the optee os is that:
Linux:
XTEST_TEE_20521 Sanity Test Corrupt Block File : first byte
o XTEST_TEE_20521.1 | filename: file_4097B , data size: 4097 byte(s)
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490: obj_create(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000002, 0, filedata, tv->data_len, &obj_id) has an unexpected value: 0xf0100001, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:493: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:505: Expression "0 != is_obj_present(&uuid, filename, ARRAY_SIZE(filename), file_type, tv->block_num, tv->version)" (0 != 0) is false
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:510: obj_open(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000001 | 0x00000004, &obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:513: obj_read(&sess, obj_id, buffer, tv->data_len, &nb) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:516: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
stat("/data/tee/A7F289B6DF8A7A479F9932E90C0AD0A2/66696C655F343039374200000000000000000000/block0.1"): No such file or directory/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:554: obj_corrupt(&uuid, filename, (sizeof(filename) / sizeof((filename)[0])), offset, file_type, tv->block_num, tv->version) has an unexpected value: 0xffff0001, expected 0x0
XTEST_TEE_20521.1 FAILED
XTEST_TEE_20521 FAILED
XTEST_TEE_20522 Sanity Test Corrupt Block File : last byte
o XTEST_TEE_20522.1 | filename: file_4097B , data size: 4097 byte(s)
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490: obj_create(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000002, 0, filedata, tv->data_len, &obj_id) has an unexpected value: 0xf0100001, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:493: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:505: Expression "0 != is_obj_present(&uuid, filename, ARRAY_SIZE(filename), file_type, tv->block_num, tv->version)" (0 != 0) is false
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:510: obj_open(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000001 | 0x00000004, &obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:513: obj_read(&sess, obj_id, buffer, tv->data_len, &nb) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:516: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
stat("/data/tee/A7F289B6DF8A7A479F9932E90C0AD0A2/66696C655F343039374200000000000000000000/block0.1"): No such file or directory/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:554: obj_corrupt(&uuid, filename, (sizeof(filename) / sizeof((filename)[0])), offset, file_type, tv->block_num, tv->version) has an unexpected value: 0xffff0001, expected 0x0
XTEST_TEE_20522.1 FAILED
XTEST_TEE_20522 FAILED
XTEST_TEE_20523 Sanity Test Corrupt Block File : random byte
o XTEST_TEE_20523.1 | filename: file_4097B , data size: 4097 byte(s)
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490: obj_create(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000002, 0, filedata, tv->data_len, &obj_id) has an unexpected value: 0xf0100001, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:493: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:505: Expression "0 != is_obj_present(&uuid, filename, ARRAY_SIZE(filename), file_type, tv->block_num, tv->version)" (0 != 0) is false
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:510: obj_open(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000001 | 0x00000004, &obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:513: obj_read(&sess, obj_id, buffer, tv->data_len, &nb) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:516: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
stat("/data/tee/A7F289B6DF8A7A479F9932E90C0AD0A2/66696C655F343039374200000000000000000000/block0.1"): No such file or directory/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:554: obj_corrupt(&uuid, filename, (sizeof(filename) / sizeof((filename)[0])), offset, file_type, tv->block_num, tv->version) has an unexpected value: 0xffff0001, expected 0x0
XTEST_TEE_20523.1 FAILED
XTEST_TEE_20523 FAILED
+-----------------------------------------------------
Result of testsuite XTEST_TEE_TEST:
XTEST_TEE_1001 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:378
XTEST_TEE_1004 OK
XTEST_TEE_1005 OK
XTEST_TEE_1006 OK
XTEST_TEE_1007 OK
XTEST_TEE_1008 OK
XTEST_TEE_1009 OK
XTEST_TEE_1010 OK
XTEST_TEE_1011 OK
XTEST_TEE_1012 OK
XTEST_TEE_1013.1.2 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.3 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.4 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.5 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.6 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.7 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.8 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.12 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.14 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.16 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.17 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.18 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.19 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.20 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.21 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.22 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1 FAILED
XTEST_TEE_1013.2.6 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.7 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.8 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.9 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.10 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.11 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.12 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.21 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.22 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.23 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.24 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2 FAILED
XTEST_TEE_1013 FAILED
XTEST_TEE_4001 OK
XTEST_TEE_4002.18 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:1745
XTEST_TEE_4002 FAILED
XTEST_TEE_4003_NO_XTS.11 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:2360
XTEST_TEE_4003_NO_XTS FAILED
XTEST_TEE_4003_XTS OK
XTEST_TEE_4004 OK
XTEST_TEE_4005 OK
XTEST_TEE_4006.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:3735
XTEST_TEE_4006 FAILED
XTEST_TEE_4007.11 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4402
XTEST_TEE_4007.12.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4402
XTEST_TEE_4007.12 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4402
XTEST_TEE_4007 FAILED
XTEST_TEE_4008.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4797
XTEST_TEE_4008 FAILED
XTEST_TEE_4009.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4910
XTEST_TEE_4009 FAILED
XTEST_TEE_4010 OK
XTEST_TEE_6001 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:639
XTEST_TEE_6002 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:664
XTEST_TEE_6003 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:707
XTEST_TEE_6004 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:749
XTEST_TEE_6005 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:807
XTEST_TEE_6006 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:844
XTEST_TEE_6007.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:335
XTEST_TEE_6007.2 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:382
XTEST_TEE_6007.3 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:431
XTEST_TEE_6007 FAILED
XTEST_TEE_6008 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:892
XTEST_TEE_6009 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:957
XTEST_TEE_6012 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:1226
XTEST_TEE_6013 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:1273
XTEST_TEE_6014 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:1292
XTEST_TEE_7001 OK
XTEST_TEE_7003 OK
XTEST_TEE_7004 OK
XTEST_TEE_7005 OK
XTEST_TEE_7006 OK
XTEST_TEE_7007 OK
XTEST_TEE_7008 OK
XTEST_TEE_7009 OK
XTEST_TEE_7010 OK
XTEST_TEE_7013 OK
XTEST_TEE_7016 OK
XTEST_TEE_7017 OK
XTEST_TEE_7018 OK
XTEST_TEE_7019 OK
XTEST_TEE_10001 OK
XTEST_TEE_10002 OK
XTEST_TEE_20001.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20001 FAILED
XTEST_TEE_20002.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20002 FAILED
XTEST_TEE_20003.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20003 FAILED
XTEST_TEE_20004.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20004 FAILED
XTEST_TEE_20021.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20021 FAILED
XTEST_TEE_20022.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20022 FAILED
XTEST_TEE_20023.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20023 FAILED
XTEST_TEE_20501.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20501 FAILED
XTEST_TEE_20502.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20502 FAILED
XTEST_TEE_20503.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20503 FAILED
XTEST_TEE_20521.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20521 FAILED
XTEST_TEE_20522.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20522 FAILED
XTEST_TEE_20523.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20523 FAILED
+-----------------------------------------------------
19813 subtests of which 145 failed
63 test cases of which 33 failed
0 test case was skipped
TEE test application done!
-----------------end-------------
-----------------begin------------
Run test suite with level=0
XTEST_TEE_1004 Test User Crypt TA
o XTEST_TEE_1004.1 AES encrypt
XTEST_TEE_1004.1 OK
o XTEST_TEE_1004.2 AES decrypt
XTEST_TEE_1004.2 OK
o XTEST_TEE_1004.3 SHA-256 test, 3 bytes input
XTEST_TEE_1004.3 OK
o XTEST_TEE_1004.4 AES-256 ECB encrypt test, 32 bytes input, with fixed key
XTEST_TEE_1004.4 OK
o XTEST_TEE_1004.5 AES-256 ECB decrypt test, 32 bytes input, with fixed key
XTEST_TEE_1004.5 OK
XTEST_TEE_1004 OK
XTEST_TEE_1005 Many sessions
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:445: xtest_teec_open_session(&sessions[i], &os_test_ta_uuid, ((void *)0), &ret_orig) has an unexpected value: 0xffff000f = TEEC_ERROR_SECURITY, expected 0x0 = TEEC_SUCCESS
XTEST_TEE_1005 FAILED
XTEST_TEE_1006 Test Basic OS features
XTEST_TEE_1006 OK
XTEST_TEE_1007 Test Panic
XTEST_TEE_1007 OK
XTEST_TEE_1008 TEE internal client API
o XTEST_TEE_1008.1 Invoke command
XTEST_TEE_1008.1 OK
o XTEST_TEE_1008.2 Invoke command with timeout
XTEST_TEE_1008.2 OK
o XTEST_TEE_1008.3 Create session fail
n = 0
n = 1
n = 2
n = 3
n = 4
n = 5
n = 6
n = 7
n = 8
n = 9
n = 10
n = 11
n = 12
n = 13
n = 14
n = 15
n = 16
n = 17
n = 18
n = 19
n = 20
n = 21
n = 22
n = 23
n = 24
n = 25
n = 26
n = 27
n = 28
n = 29
n = 30
n = 31
n = 32
n = 33
n = 34
n = 35
n = 36
n = 37
n = 38
n = 39
n = 40
n = 41
n = 42
n = 43
n = 44
n = 45
n = 46
n = 47
n = 48
n = 49
n = 50
n = 51
n = 52
n = 53
n = 54
n = 55
n = 56
n = 57
n = 58
n = 59
n = 60
n = 61
n = 62
n = 63
n = 64
n = 65
n = 66
n = 67
n = 68
n = 69
n = 70
n = 71
n = 72
n = 73
n = 74
n = 75
n = 76
n = 77
n = 78
n = 79
n = 80
n = 81
n = 82
n = 83
n = 84
n = 85
n = 86
n = 87
n = 88
n = 89
n = 90
n = 91
n = 92
n = 93
n = 94
n = 95
n = 96
n = 97
n = 98
n = 99
XTEST_TEE_1008.3 OK
o XTEST_TEE_1008.4 Load fake uuid TA
XTEST_TEE_1008.4 OK
o XTEST_TEE_1008.5 Load corrupt TA
XTEST_TEE_1008.5 OK
XTEST_TEE_1008 OK
XTEST_TEE_1009 TEE Wait
o XTEST_TEE_1009.1 TEE Wait 0.1s
XTEST_TEE_1009.1 OK
o XTEST_TEE_1009.2 TEE Wait 0.5s
XTEST_TEE_1009.2 OK
o XTEST_TEE_1009.3 TEE Wait 2s cancel
XTEST_TEE_1009.3 OK
o XTEST_TEE_1009.4 TEE Wait 2s
XTEST_TEE_1009.4 OK
XTEST_TEE_1009 OK
XTEST_TEE_1010 Invalid memory access
o XTEST_TEE_1010.1 Invalid memory access 1
XTEST_TEE_1010.1 OK
o XTEST_TEE_1010.2 Invalid memory access 2
XTEST_TEE_1010.2 OK
o XTEST_TEE_1010.3 Invalid memory access 3
XTEST_TEE_1010.3 OK
o XTEST_TEE_1010.4 Invalid memory access 4
XTEST_TEE_1010.4 OK
o XTEST_TEE_1010.5 Invalid memory access 5
XTEST_TEE_1010.5 OK
XTEST_TEE_1010 OK
XTEST_TEE_1011 Test RPC features with User Crypt TA
o XTEST_TEE_1011.1 AES encrypt
i=1
while [ true ]
do
echo -----------------begin------------
xtest
let i=i+1
echo $i > file
echo -----------------end-------------
done
root@Vexpress:/
and the TEE is:
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df61c48)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df63368)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df60360)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df60de8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df66ff0)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df64588)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df60f28)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df67488)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df63e08)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df65c08)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df64628)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df643a8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df61428)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 7e0a0900-586b-11e5-931f0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 100
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df648a8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 500
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df63ea8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 2000
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff0002 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df650c8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 2000
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df62788)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA data-abort at address 0x0 (translation fault)
ERROR: TEE-CORE: fsr 0x00000805 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000130
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x00000000 r6 0x001026e8 r10 0x52a7b32c lr 0x001057b9
ERROR: TEE-CORE: r3 0x00000000 r7 0x00102718 r11 0x00000000 pc 0x00105648
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df65ca8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA data-abort at address 0x40102720 (translation fault)
ERROR: TEE-CORE: fsr 0x00000805 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000130
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x40102720 r6 0x001026e8 r10 0x52a7b32c lr 0x001057b9
ERROR: TEE-CORE: r3 0x00000000 r7 0x00102718 r11 0x00000000 pc 0x00105658
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df62648)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA prefetch-abort at address 0x0 (translation fault)
ERROR: TEE-CORE: fsr 0x00000005 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000110
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x0010565d r6 0x001026e8 r10 0x52a7b32c lr 0x00105663
ERROR: TEE-CORE: r3 0x00000000 r7 0x00102718 r11 0x00000000 pc 0x00000000
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df657a8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA prefetch-abort at address 0x40102720 (translation fault)
ERROR: TEE-CORE: fsr 0x00000005 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000110
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x00105665 r6 0x001026e8 r10 0x52a7b32c lr 0x0010566d
ERROR: TEE-CORE: r3 0x40102720 r7 0x00102718 r11 0x00000000 pc 0x40102720
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df64e48)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA prefetch-abort at address 0x130df0 (read permission fault)
ERROR: TEE-CORE: fsr 0x0000000f ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x60000110
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x0010566f r6 0x00102720 r10 0x52a7b32c lr 0x00105675
ERROR: TEE-CORE: r3 0x00130df0 r7 0x00102718 r11 0x00000000 pc 0x00130df0
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df65208)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA d17f73a0-36ef-11e1-984a0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x102000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : d17f73a0-36ef-11e1-984a0002a5d5c51b
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA cb3e5ba0-adf1-11e0-998b0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
ERROR: TEE-CORE: Assertion '((ctx && (ctx->flags & TA_FLAG_USER_MODE) ? to_user_ta_ctx(ctx)->mmu : NULL) == NULL) == !core_mmu_user_mapping_is_active()' failed at core/kernel/tee_ta_manager.c:637
I use the qemu default.xml and update yesterday,so ,is there a problem with the way I test? I would like to simulate optee long time to be used in the scene.
The text was updated successfully, but these errors were encountered:
We're closing this issue since the we cannot reproduce the error. If you however feel that you have additional questions or still thinks this is an issue, please feel free to re-open the issue again.
Hi, I use the optee qemu run the xtest,
when the optee is start,I run the commond at the linux:
root@Vexpress:/ tee-supplicant &
root@Vexpress:/ ./sh.sh &
the sh.sh is like this :
!/bin/sh
i=1
while [ true ]
do
echo -----------------begin------------
xtest
let i=i+1
echo $i > file
echo -----------------end-------------
done
it will execute xtest continuously , the front is normal ,but to the back(seventy-first times) will lead to optee os panic ,some log of the linux and the optee os is that:
Linux:
o XTEST_TEE_20521.1 | filename: file_4097B , data size: 4097 byte(s)
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490: obj_create(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000002, 0, filedata, tv->data_len, &obj_id) has an unexpected value: 0xf0100001, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:493: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:505: Expression "0 != is_obj_present(&uuid, filename, ARRAY_SIZE(filename), file_type, tv->block_num, tv->version)" (0 != 0) is false
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:510: obj_open(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000001 | 0x00000004, &obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:513: obj_read(&sess, obj_id, buffer, tv->data_len, &nb) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:516: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
stat("/data/tee/A7F289B6DF8A7A479F9932E90C0AD0A2/66696C655F343039374200000000000000000000/block0.1"): No such file or directory/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:554: obj_corrupt(&uuid, filename, (sizeof(filename) / sizeof((filename)[0])), offset, file_type, tv->block_num, tv->version) has an unexpected value: 0xffff0001, expected 0x0
XTEST_TEE_20521.1 FAILED
XTEST_TEE_20521 FAILED
o XTEST_TEE_20522.1 | filename: file_4097B , data size: 4097 byte(s)
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490: obj_create(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000002, 0, filedata, tv->data_len, &obj_id) has an unexpected value: 0xf0100001, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:493: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:505: Expression "0 != is_obj_present(&uuid, filename, ARRAY_SIZE(filename), file_type, tv->block_num, tv->version)" (0 != 0) is false
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:510: obj_open(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000001 | 0x00000004, &obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:513: obj_read(&sess, obj_id, buffer, tv->data_len, &nb) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:516: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
stat("/data/tee/A7F289B6DF8A7A479F9932E90C0AD0A2/66696C655F343039374200000000000000000000/block0.1"): No such file or directory/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:554: obj_corrupt(&uuid, filename, (sizeof(filename) / sizeof((filename)[0])), offset, file_type, tv->block_num, tv->version) has an unexpected value: 0xffff0001, expected 0x0
XTEST_TEE_20522.1 FAILED
XTEST_TEE_20522 FAILED
o XTEST_TEE_20523.1 | filename: file_4097B , data size: 4097 byte(s)
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490: obj_create(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000002, 0, filedata, tv->data_len, &obj_id) has an unexpected value: 0xf0100001, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:493: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:505: Expression "0 != is_obj_present(&uuid, filename, ARRAY_SIZE(filename), file_type, tv->block_num, tv->version)" (0 != 0) is false
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:510: obj_open(&sess, filename, (sizeof(filename) / sizeof((filename)[0])), 0x00000001 | 0x00000004, &obj_id) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:513: obj_read(&sess, obj_id, buffer, tv->data_len, &nb) has an unexpected value: 0xffff3024, expected 0x0
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:516: obj_close(&sess, obj_id) has an unexpected value: 0xffff3024, expected 0x0
stat("/data/tee/A7F289B6DF8A7A479F9932E90C0AD0A2/66696C655F343039374200000000000000000000/block0.1"): No such file or directory/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:554: obj_corrupt(&uuid, filename, (sizeof(filename) / sizeof((filename)[0])), offset, file_type, tv->block_num, tv->version) has an unexpected value: 0xffff0001, expected 0x0
XTEST_TEE_20523.1 FAILED
XTEST_TEE_20523 FAILED
+-----------------------------------------------------
Result of testsuite XTEST_TEE_TEST:
XTEST_TEE_1001 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:378
XTEST_TEE_1004 OK
XTEST_TEE_1005 OK
XTEST_TEE_1006 OK
XTEST_TEE_1007 OK
XTEST_TEE_1008 OK
XTEST_TEE_1009 OK
XTEST_TEE_1010 OK
XTEST_TEE_1011 OK
XTEST_TEE_1012 OK
XTEST_TEE_1013.1.2 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.3 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.4 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.5 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.6 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.7 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.8 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.12 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.14 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.16 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.17 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.18 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.19 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.20 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1.21 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.1.22 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.1 FAILED
XTEST_TEE_1013.2.6 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.7 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.8 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.9 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.10 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.11 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.12 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.21 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.22 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2.23 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1110
XTEST_TEE_1013.2.24 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:1148
XTEST_TEE_1013.2 FAILED
XTEST_TEE_1013 FAILED
XTEST_TEE_4001 OK
XTEST_TEE_4002.18 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:1745
XTEST_TEE_4002 FAILED
XTEST_TEE_4003_NO_XTS.11 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:2360
XTEST_TEE_4003_NO_XTS FAILED
XTEST_TEE_4003_XTS OK
XTEST_TEE_4004 OK
XTEST_TEE_4005 OK
XTEST_TEE_4006.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:3735
XTEST_TEE_4006 FAILED
XTEST_TEE_4007.11 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4402
XTEST_TEE_4007.12.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4402
XTEST_TEE_4007.12 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4402
XTEST_TEE_4007 FAILED
XTEST_TEE_4008.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4797
XTEST_TEE_4008 FAILED
XTEST_TEE_4009.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_4000.c:4910
XTEST_TEE_4009 FAILED
XTEST_TEE_4010 OK
XTEST_TEE_6001 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:639
XTEST_TEE_6002 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:664
XTEST_TEE_6003 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:707
XTEST_TEE_6004 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:749
XTEST_TEE_6005 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:807
XTEST_TEE_6006 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:844
XTEST_TEE_6007.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:335
XTEST_TEE_6007.2 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:382
XTEST_TEE_6007.3 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:431
XTEST_TEE_6007 FAILED
XTEST_TEE_6008 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:892
XTEST_TEE_6009 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:957
XTEST_TEE_6012 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:1226
XTEST_TEE_6013 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:1273
XTEST_TEE_6014 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_6000.c:1292
XTEST_TEE_7001 OK
XTEST_TEE_7003 OK
XTEST_TEE_7004 OK
XTEST_TEE_7005 OK
XTEST_TEE_7006 OK
XTEST_TEE_7007 OK
XTEST_TEE_7008 OK
XTEST_TEE_7009 OK
XTEST_TEE_7010 OK
XTEST_TEE_7013 OK
XTEST_TEE_7016 OK
XTEST_TEE_7017 OK
XTEST_TEE_7018 OK
XTEST_TEE_7019 OK
XTEST_TEE_10001 OK
XTEST_TEE_10002 OK
XTEST_TEE_20001.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20001 FAILED
XTEST_TEE_20002.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20002 FAILED
XTEST_TEE_20003.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20003 FAILED
XTEST_TEE_20004.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20004 FAILED
XTEST_TEE_20021.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20021 FAILED
XTEST_TEE_20022.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20022 FAILED
XTEST_TEE_20023.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20023 FAILED
XTEST_TEE_20501.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20501 FAILED
XTEST_TEE_20502.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20502 FAILED
XTEST_TEE_20503.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20503 FAILED
XTEST_TEE_20521.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20521 FAILED
XTEST_TEE_20522.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20522 FAILED
XTEST_TEE_20523.1 FAILED first error at /home/liushiwei/devel/optee/optee_test/host/xtest/xtest_20000.c:490
XTEST_TEE_20523 FAILED
+-----------------------------------------------------
19813 subtests of which 145 failed
63 test cases of which 33 failed
0 test case was skipped
TEE test application done!
-----------------end-------------
-----------------begin------------
Run test suite with level=0
TEE test application started with device [(null)]
XTEST_TEE_TEST
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:378: TEEC_InvokeCommand( &session, 2, ((void *)0), &ret_orig) has an unexpected value: 0xffff0000 = TEEC_ERROR_GENERIC, expected 0x0 = TEEC_SUCCESS
XTEST_TEE_1001 FAILED
o XTEST_TEE_1004.1 AES encrypt
XTEST_TEE_1004.1 OK
o XTEST_TEE_1004.2 AES decrypt
XTEST_TEE_1004.2 OK
o XTEST_TEE_1004.3 SHA-256 test, 3 bytes input
XTEST_TEE_1004.3 OK
o XTEST_TEE_1004.4 AES-256 ECB encrypt test, 32 bytes input, with fixed key
XTEST_TEE_1004.4 OK
o XTEST_TEE_1004.5 AES-256 ECB decrypt test, 32 bytes input, with fixed key
XTEST_TEE_1004.5 OK
XTEST_TEE_1004 OK
/home/liushiwei/devel/optee/optee_test/host/xtest/xtest_1000.c:445: xtest_teec_open_session(&sessions[i], &os_test_ta_uuid, ((void *)0), &ret_orig) has an unexpected value: 0xffff000f = TEEC_ERROR_SECURITY, expected 0x0 = TEEC_SUCCESS
XTEST_TEE_1005 FAILED
XTEST_TEE_1006 OK
XTEST_TEE_1007 OK
o XTEST_TEE_1008.1 Invoke command
XTEST_TEE_1008.1 OK
o XTEST_TEE_1008.2 Invoke command with timeout
XTEST_TEE_1008.2 OK
o XTEST_TEE_1008.3 Create session fail
n = 0
n = 1
n = 2
n = 3
n = 4
n = 5
n = 6
n = 7
n = 8
n = 9
n = 10
n = 11
n = 12
n = 13
n = 14
n = 15
n = 16
n = 17
n = 18
n = 19
n = 20
n = 21
n = 22
n = 23
n = 24
n = 25
n = 26
n = 27
n = 28
n = 29
n = 30
n = 31
n = 32
n = 33
n = 34
n = 35
n = 36
n = 37
n = 38
n = 39
n = 40
n = 41
n = 42
n = 43
n = 44
n = 45
n = 46
n = 47
n = 48
n = 49
n = 50
n = 51
n = 52
n = 53
n = 54
n = 55
n = 56
n = 57
n = 58
n = 59
n = 60
n = 61
n = 62
n = 63
n = 64
n = 65
n = 66
n = 67
n = 68
n = 69
n = 70
n = 71
n = 72
n = 73
n = 74
n = 75
n = 76
n = 77
n = 78
n = 79
n = 80
n = 81
n = 82
n = 83
n = 84
n = 85
n = 86
n = 87
n = 88
n = 89
n = 90
n = 91
n = 92
n = 93
n = 94
n = 95
n = 96
n = 97
n = 98
n = 99
XTEST_TEE_1008.3 OK
o XTEST_TEE_1008.4 Load fake uuid TA
XTEST_TEE_1008.4 OK
o XTEST_TEE_1008.5 Load corrupt TA
XTEST_TEE_1008.5 OK
XTEST_TEE_1008 OK
o XTEST_TEE_1009.1 TEE Wait 0.1s
XTEST_TEE_1009.1 OK
o XTEST_TEE_1009.2 TEE Wait 0.5s
XTEST_TEE_1009.2 OK
o XTEST_TEE_1009.3 TEE Wait 2s cancel
XTEST_TEE_1009.3 OK
o XTEST_TEE_1009.4 TEE Wait 2s
XTEST_TEE_1009.4 OK
XTEST_TEE_1009 OK
o XTEST_TEE_1010.1 Invalid memory access 1
XTEST_TEE_1010.1 OK
o XTEST_TEE_1010.2 Invalid memory access 2
XTEST_TEE_1010.2 OK
o XTEST_TEE_1010.3 Invalid memory access 3
XTEST_TEE_1010.3 OK
o XTEST_TEE_1010.4 Invalid memory access 4
XTEST_TEE_1010.4 OK
o XTEST_TEE_1010.5 Invalid memory access 5
XTEST_TEE_1010.5 OK
XTEST_TEE_1010 OK
o XTEST_TEE_1011.1 AES encrypt
root@Vexpress:/ cat file
71
root@Vexpress:/
root@Vexpress:/ cat sh.sh
!/bin/sh
i=1
while [ true ]
do
echo -----------------begin------------
xtest
let i=i+1
echo $i > file
echo -----------------end-------------
done
root@Vexpress:/
and the TEE is:
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df61c48)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df63368)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df60360)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df60de8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df66ff0)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df64588)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df60f28)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df67488)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df63e08)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df65c08)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df64628)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df643a8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x101000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df61428)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
ERROR: TEE-CORE: Failed. Return error 0xffff0000
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff0000 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 7e0a0900-586b-11e5-931f0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA c3f6e2c0-3548-11e1-b86c0800200c9a66
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
DEBUG: [0x0] TEE-CORE:tee_dispatch_open_session:127: => Error: ffff000f of 3
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 100
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df648a8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 500
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df63ea8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 2000
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff0002 of 4
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df650c8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE: [ta log] ta_entry_wait: waiting 2000
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df62788)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA data-abort at address 0x0 (translation fault)
ERROR: TEE-CORE: fsr 0x00000805 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000130
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x00000000 r6 0x001026e8 r10 0x52a7b32c lr 0x001057b9
ERROR: TEE-CORE: r3 0x00000000 r7 0x00102718 r11 0x00000000 pc 0x00105648
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df65ca8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA data-abort at address 0x40102720 (translation fault)
ERROR: TEE-CORE: fsr 0x00000805 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000130
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x40102720 r6 0x001026e8 r10 0x52a7b32c lr 0x001057b9
ERROR: TEE-CORE: r3 0x00000000 r7 0x00102718 r11 0x00000000 pc 0x00105658
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df62648)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA prefetch-abort at address 0x0 (translation fault)
ERROR: TEE-CORE: fsr 0x00000005 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000110
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x0010565d r6 0x001026e8 r10 0x52a7b32c lr 0x00105663
ERROR: TEE-CORE: r3 0x00000000 r7 0x00102718 r11 0x00000000 pc 0x00000000
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df657a8)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA prefetch-abort at address 0x40102720 (translation fault)
ERROR: TEE-CORE: fsr 0x00000005 ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x80000110
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x00105665 r6 0x001026e8 r10 0x52a7b32c lr 0x0010566d
ERROR: TEE-CORE: r3 0x40102720 r7 0x00102718 r11 0x00000000 pc 0x40102720
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df64e48)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x103000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : 5b9e0e40-2636-11e1-ad9e0002a5d5c51b
ERROR: TEE-CORE:
ERROR: TEE-CORE: user TA prefetch-abort at address 0x130df0 (read permission fault)
ERROR: TEE-CORE: fsr 0x0000000f ttbr0 0x7df6d46a ttbr1 0x7df6806a cidr 0x1
ERROR: TEE-CORE: cpu #0 cpsr 0x60000110
ERROR: TEE-CORE: r0 0x00000001 r4 0x001027b8 r8 0x7df70d10 r12 0x7df70c9c
ERROR: TEE-CORE: r1 0x0010275c r5 0x00122175 r9 0x7df13f41 sp 0x00102718
ERROR: TEE-CORE: r2 0x0010566f r6 0x00102720 r10 0x52a7b32c lr 0x00105675
ERROR: TEE-CORE: r3 0x00130df0 r7 0x00102718 r11 0x00000000 pc 0x00130df0
ERROR: TEE-CORE: Status of TA 5b9e0e40-2636-11e1-ad9e0002a5d5c51b (0x7df67cf0) (active)
ERROR: TEE-CORE: - load addr : 0x103000 ctx-idr: 1
ERROR: TEE-CORE: - code area : 0x7e000000 1159168
ERROR: TEE-CORE: - stack: 0x7e11b000 stack:10240
DEBUG: [0x0] TEE-CORE:get_fault_type:493: [abort] abort in User mode (TA will panic)
DEBUG: [0x0] TEE-CORE:user_ta_enter:521: tee_user_ta_enter: TA panicked with code 0xdeadbeef
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:561: => Error: ffff3024 of 3
DEBUG: [0x0] TEE-CORE:tee_ta_invoke_command:537: Panicked !
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:317: tee_ta_close_session(0x7df65208)
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:336: ... Destroy session
DEBUG: [0x0] TEE-CORE:tee_ta_close_session:355: ... Destroy TA ctx
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA d17f73a0-36ef-11e1-984a0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:ta_load:394: Loaded TA at 0x7e000000
DEBUG: [0x0] TEE-CORE:ta_load:395: ELF load address 0x102000
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:616: dyn TA : d17f73a0-36ef-11e1-984a0002a5d5c51b
DEBUG: [0x0] TEE-CORE:tee_ta_init_static_ta_session:159: Lookup for Static TA cb3e5ba0-adf1-11e0-998b0002a5d5c51b
DEBUG: [0x0] TEE-CORE:init_session_with_signed_ta:610: Load dynamic TA
DEBUG: [0x0] TEE-CORE:tee_ta_open_session:474: init session failed 0xffff000f
ERROR: TEE-CORE: Assertion '((ctx && (ctx->flags & TA_FLAG_USER_MODE) ? to_user_ta_ctx(ctx)->mmu : NULL) == NULL) == !core_mmu_user_mapping_is_active()' failed at core/kernel/tee_ta_manager.c:637
I use the qemu default.xml and update yesterday,so ,is there a problem with the way I test? I would like to simulate optee long time to be used in the scene.
The text was updated successfully, but these errors were encountered: