{"action":"closed","issue":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/560","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/560/comments","events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/560/events","html_url":"https://github.com/OP-TEE/optee_os/issues/560","id":118850238,"number":560,"title":"run optee test script error","user":{"login":"neil1899","id":5242551,"avatar_url":"https://avatars.githubusercontent.com/u/5242551?v=3","gravatar_id":"","url":"https://api.github.com/users/neil1899","html_url":"https://github.com/neil1899","followers_url":"https://api.github.com/users/neil1899/followers","following_url":"https://api.github.com/users/neil1899/following{/other_user}","gists_url":"https://api.github.com/users/neil1899/gists{/gist_id}","starred_url":"https://api.github.com/users/neil1899/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neil1899/subscriptions","organizations_url":"https://api.github.com/users/neil1899/orgs","repos_url":"https://api.github.com/users/neil1899/repos","events_url":"https://api.github.com/users/neil1899/events{/privacy}","received_events_url":"https://api.github.com/users/neil1899/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-25T14:41:05Z","updated_at":"2015-11-28T14:15:06Z","closed_at":"2015-11-28T14:15:06Z","body":"hi,all\r\nI run a script to test optee os\r\nsuch as\r\nwhile [ 1 ]\r\ndo\r\ntee_xtest\r\nsleep 2\r\ndone\r\n\r\nbut after a few  minutes, it will occursomething wrong,  like\"out of memory \"\r\nlog is:\r\nTEE-CORE:write_one_block:818: Failed to allocate plaintext buffer,  case is _6 or _4\r\n\r\n* XTEST_TEE_6001 Test TEE_CreatePersistentObject\r\nERR ERR TEE-CORE:write_one_block:818: Failed to allocate plaintext buffer, size=4096\r\n[-149644308] TEEC:TEEC_InvokeCommand:412: Function returns with [-267386879]\r\nvendor/amlogic/tdk-1.0.1/demos/optee_test/host/xtest/xtest_6000.c:615: fs_create(&sess, file_00, sizeof(file_00), 0x00000002 | 0x00000ERR TEE-CORE:write_one_block:818: Failed to allocate plaintext buffer, size=4096\r\n004, 0, data_00, sizeof(data_00), &obj) has an unexpected value: 0xf0100001 = TEE_ERROR_CORRUPT_OBJECT, expected 0x0 = TEEC_SUCCESS\r\n  XTEST_TEE_6001 FAILED\r\n \r\n* XTEST_TEE_6002 Test TEE_OpenPersistentObject\r\nERERR TEE-CORE:write_one_block:818: Failed to allocate plaintext buffer, size=4096\r\nR [-149644308] TEEC:TEEC_InvokeCommand:412: Function returns with [-267386879]\r\nvendor/amlogic/tdk-1.0.1/demos/optee_test/host/xtest/xtest_6000.c:640: fs_create(&sess, file_01, sizeof(file_01), 0x00000002, 0, datERR TEE-CORE:write_one_block:818: Failed to allocate plaintext buffer, size=4096\r\na_00, sizeof(data_00), &obj) has an unexpected value: 0xf0100001 = TEE_ERROR_CORRUPT_OBJECT, expected 0x0 = TEEC_SUCCESS\r\n  XTEST_TEE_6002 FAILED\r\nwhat's the problem?\r\n\r\neverytime, when run 14times, it must occur\r\nthanks in advance!"}}