|
发表于 2009-6-3 10:15:32
|
显示全部楼层
你好,我碰到了和你同样的问题,我加的是第三方应用,ram和media共用,但是释放的时候med_free_ext_mem();就会导致重启,我抓到的trace是这样的:
Frame #: 1080474 Time: 42758 Local Time: 09:46:16:453 2009/06/03 Message: [1] Assert fail: ADM_MB_STATE(adm_mb_head) == ADM_INUSE kal_adm.c 705 0x0 0x0 0x0 - MMI
然后:
0:0 [Trace] 09:46:16:437 2009/06/03 MOD_TST, TRACE_WARNING "System lost 174 traces, 0 primtives and 0 others"
1080474:42758 [Trace] 09:46:16:453 2009/06/03 MOD_NIL, TRACE_ERROR "Exception type: assert"
1080474:42758 [Trace] 09:46:16:453 2009/06/03 MOD_NIL, TRACE_ERROR "software version: 9D_LY_V09_QQ"
1080474:42758 [Trace] 09:46:16:453 2009/06/03 MOD_NIL, TRACE_ERROR "boot mode: normal mode"
1080474:42758 [Trace] 09:46:16:453 2009/06/03 MOD_NIL, TRACE_ERROR "rtc sec = 16, rtc min = 3, rtc hour = 0"
1080474:42758 [Trace] 09:46:16:468 2009/06/03 MOD_NIL, TRACE_ERROR "rtc day = 1, rtc mon = 1, rtc wday = 1, rtc year = 9"
1080474:42758 [Trace] 09:46:16:468 2009/06/03 MOD_NIL, TRACE_ERROR "execution unit: MMIMMI "
1080474:42758 [Trace] 09:46:16:468 2009/06/03 MOD_NIL, TRACE_ERROR "status: 0x00000000"
1080474:42758 [Trace] 09:46:16:468 2009/06/03 MOD_NIL, TRACE_ERROR "stack pointer: 0x0819A5AC"
1080474:42758 [Trace] 09:46:16:468 2009/06/03 MOD_NIL, TRACE_ERROR "stack dump:"
1080474:42758 [Trace] 09:46:16:468 2009/06/03 MOD_NIL, TRACE_ERROR " 0x005D305B"
1080474:42758 [Trace] 09:46:16:484 2009/06/03 MOD_NIL, TRACE_ERROR " 0x000002C1"
1080474:42758 [Trace] 09:46:16:484 2009/06/03 MOD_NIL, TRACE_ERROR " 0x0034B665"
1080474:42758 [Trace] 09:46:16:484 2009/06/03 MOD_NIL, TRACE_ERROR " 0x0053C31D"
1080474:42758 [Trace] 09:46:16:484 2009/06/03 MOD_NIL, TRACE_ERROR " 0x0036F61B"
1080474:42758 [Trace] 09:46:16:484 2009/06/03 MOD_NIL, TRACE_ERROR " 0x0056CCAB"
1080474:42758 [Trace] 09:46:16:484 2009/06/03 MOD_NIL, TRACE_ERROR " 0x0056CB45"
1080474:42758 [Trace] 09:46:16:500 2009/06/03 MOD_NIL, TRACE_ERROR " 0x0048045B"
1080474:42758 [Trace] 09:46:16:500 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00480463"
1080474:42758 [Trace] 09:46:16:500 2009/06/03 MOD_NIL, TRACE_ERROR " 0x0037BC51"
1080474:42758 [Trace] 09:46:16:500 2009/06/03 MOD_NIL, TRACE_ERROR "number of messages in the external queue: 12"
1080474:42758 [Trace] 09:46:16:500 2009/06/03 MOD_NIL, TRACE_ERROR "messages in the external queue:"
1080474:42758 [Trace] 09:46:16:500 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_MMI_NW_RX_LEVEL_IND"
1080474:42758 [Trace] 09:46:16:515 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_APP_SOC_BEARER_INFO_IND"
1080474:42758 [Trace] 09:46:16:515 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_APP_SOC_BEARER_INFO_IND"
1080474:42758 [Trace] 09:46:16:515 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_APP_SOC_DEACTIVATE_CNF"
1080474:42758 [Trace] 09:46:16:515 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_MMI_NW_MMRR_SERVICE_STATUS_IND"
1080474:42758 [Trace] 09:46:16:515 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_MMI_PS_GPRS_STATUS_UPDATE_IND"
1080474:42758 [Trace] 09:46:16:515 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_APP_SOC_BEARER_INFO_IND"
1080474:42758 [Trace] 09:46:16:515 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_APP_SOC_DEACTIVATE_CNF"
1080474:42758 [Trace] 09:46:16:531 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_MMI_PS_GPRS_STATUS_UPDATE_IND"
1080474:42758 [Trace] 09:46:16:531 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_MMI_NW_SET_ATTACH_RSP"
1080474:42758 [Trace] 09:46:16:531 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_MMI_NW_ATTACH_IND"
1080474:42758 [Trace] 09:46:16:531 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_TIMER_EXPIRY"
1080474:42758 [Trace] 09:46:16:531 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:531 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:546 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:546 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:546 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:546 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:546 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:546 2009/06/03 MOD_NIL, TRACE_ERROR " MSG_ID_INVALID_TYPE"
1080474:42758 [Trace] 09:46:16:562 2009/06/03 MOD_NIL, TRACE_ERROR "interrupt mask: 0xF9DE5A00 0x00000000"
1080474:42758 [Trace] 09:46:16:562 2009/06/03 MOD_NIL, TRACE_ERROR "processing_lisr: 0x00000000"
1080474:42758 [Trace] 09:46:16:562 2009/06/03 MOD_NIL, TRACE_ERROR "lr: 0x002BA310"
1080474:42758 [Trace] 09:46:16:562 2009/06/03 MOD_NIL, TRACE_ERROR "diagnosis: healthy"
1080474:42758 [Trace] 09:46:16:562 2009/06/03 MOD_NIL, TRACE_ERROR "owner: "
1080474:42758 [Trace] 09:46:16:562 2009/06/03 MOD_NIL, TRACE_ERROR "timing check: 0 0 0 0 0 0"
1080474:42758 [Trace] 09:46:16:578 2009/06/03 MOD_NIL, TRACE_ERROR "filename: kal_adm.c"
1080474:42758 [Trace] 09:46:16:578 2009/06/03 MOD_NIL, TRACE_ERROR "line: 705"
1080474:42758 [Trace] 09:46:16:578 2009/06/03 MOD_NIL, TRACE_ERROR "ext1: 0x00000000"
1080474:42758 [Trace] 09:46:16:578 2009/06/03 MOD_NIL, TRACE_ERROR "ext2: 0x00000000"
1080474:42758 [Trace] 09:46:16:578 2009/06/03 MOD_NIL, TRACE_ERROR "ext3: 0x00000000"
1080474:42758 [Trace] 09:46:16:593 2009/06/03 MOD_NIL, TRACE_ERROR "dump:"
1080474:42758 [Trace] 09:46:16:593 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:593 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:593 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:593 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:609 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:609 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:609 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:609 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:625 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:625 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:625 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:625 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:625 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:640 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:640 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:640 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:640 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:656 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:656 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:656 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:656 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
1080474:42758 [Trace] 09:46:16:671 2009/06/03 MOD_NIL, TRACE_ERROR " 0x00000000 0x00000000 0x00000000 0x00000000"
怎么会释放不了呢,有时同一边代码走第一遍可以,第二遍时就释放不了了[em07] |
|