ios - Aplication crashes when returning to previous View - Thread 1: EXC_BAD_ACCESS -


i have 2 basic views labels, text fields , swiches:
owerview first view root view of navigation controller. there named segue first view second view "next" called when clicking bar button "İleri" in first view. here code both viewcontroller:

hmxnewpersonelstep1viewcontroller.h

hmxnewpersonelstep1viewcontroller.m

hmxnewpersonelstep2viewcontroller.h

hmxnewpersonelstep2viewcontroller.m

i running application clicking button "İleri" in first view , navigating second view no problem. when click button "geri" in second view, program navigates firs view, can see fisrt view short time, , application crashes following error:

thread 1: exc_bad_access 

it crashes on:
crash point

debug trace:

debug trace

debug detail [_nsdictionarym dealloc]:

libobjc.a.dylib`-[nsobject release]: 0x11339d0:  pushl  %ebp 0x11339d1:  movl   %esp, %ebp 0x11339d3:  pushl  %edi 0x11339d4:  pushl  %esi 0x11339d5:  subl   $16, %esp 0x11339d8:  calll  0x11339dd                 ; -[nsobject release] + 13 0x11339dd:  popl   %edi 0x11339de:  movl   8(%ebp), %esi 0x11339e1:  movl   %esi, (%esp) 0x11339e4:  calll  0x1132541                 ; _objc_rootreleasewaszero 0x11339e9:  testb  %al, %al 0x11339eb:  je     0x11339ff                 ; -[nsobject release] + 47 0x11339ed:  movl   995643(%edi), %eax 0x11339f3:  movl   %eax, 4(%esp) 0x11339f7:  movl   %esi, (%esp) 0x11339fa:  calll  0x113108c                 ; objc_msgsend 0x11339ff:  addl   $16, %esp                 ; line highlighted 0x1133a02:  popl   %esi 0x1133a03:  popl   %edi 0x1133a04:  popl   %ebp 0x1133a05:  ret 

i have enabled zombie objects suggested , here message before crash:

2013-10-07 17:07:23.113 arendi[5783:c07] *** -[uidevicergbcolor release]: message sent deallocated instance 0x8171e90 

i have changed uiswitch thumb tint color default , problem solved. hate xcode! answers , tips.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -