Demistrify崩溃报告

时间:2013-10-05 07:03:44

标签: ios asihttprequest

enter image description here我在大约30-40分钟后崩溃了......我正在做的是在单独的线程中连续调用api 发送线程我不确定崩溃报告是什么..崩溃报告的一些快照

异常类型:EXC_BAD_ACCESS(SIGBUS) 例外代码:KERN_PROTECTION_FAILURE位于0x053639c0 崩溃的线程:5

我正在使用的代码是

 ASIFormDataRequest *request=[[ASIFormDataRequest alloc] initWithURL:url];

    [request setRequestMethod:@"POST"];
    [request addRequestHeader:@"Accept" value:@"application/json"];

    NSLog(@"%@",app.userName);
    [request addPostValue:app.userName forKey:@"username"];
    [request addPostValue:app.token forKey:@"token"];
            [request setTimeOutSeconds:40];
    [request startSynchronous];
if (!error)
{
if(not accurate value)
{
    [[NSRunLoop currentRunLoop] addTimer:[NSTimer scheduledTimerWithTimeInterval:5       target:self selector:@selector(checkCourse) userInfo:nil repeats:NO]forMode:NSDefaultRunLoopMode];
    [[NSRunLoop currentRunLoop] run];
}
else
{
  //got value 
}

}

0 个答案:

没有答案