어떤 시체가이 버그에서 나를 도울 수 있습니까? NSDictionary 얻을 수 hiinIdPair
있지만 tmpId
키 값을 얻으려고 할 때 hiinIdPair
다음 오류가 발생합니다.
error: Execution was interrupted, reason: signal SIGABRT.
아래는 lldb 정보를 따릅니다.
(lldb) po hiinIdPair["tmpId"]
iV_Starter(371,0x198ebb310) malloc: *** error for object 0x10a7ddbb0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
error: Execution was interrupted, reason: signal SIGABRT.
The process has been returned to the state before expression evaluation.
(lldb) po hiinIdPair
{
mongoId = 5521ae815730c6051476f8b1;
tmpId = "#h20150405a215200a506705";
}
이 변수를 사용하고있는 코드 :
var hiinIdPair = idPkg["hiin"] as NSDictionary
if hiinPkg_7.tmpId == hiinIdPair["tmpId"] as String {
hiinPkg_7.hiin.id = hiinIdPair["mongoId"] as String
...
}
코드의 다른 부분에서 버그 인 것 같습니다. 코드는 버그로 종료됩니다.
어쨌든 도움을 주셔서 감사합니다!
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다