Crash problem: EXC_BAD_ACCESS (SIGSEGV)

Hi,

can someone tell me what the following lines mean, please?

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000060f77625

VM Regions Near 0x60f77625:
CG raster data 0000000022cc9000-0000000024df4000 [ 33.2M] r–/r-- SM=COW
–>
__TEXT 0000000070000000-000000007015f000 [ 1404K] r-x/rwx SM=COW /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio

Regards,
Payam

Generally I have seen errors like this when a thread is making an update or property to some other object that has been closed. So if you have a thread running in the background and that thread updates properties in a window, and the window is closed, then you get this sort of crash.

Basically, you are trying to write to a memory location no longer in use by the app.

I take you are doing something with audio since it calls out the CoreAudio components…

Clarification: Should read: “when a thread is making an update TO a property OF some other object that has been closed”

Thank you very much, Jon:)

Is it possible to check whether the closed object has been closed?

Like:

If isnull( object ) then ...