Asterisk Crashing - bad magic number

== Spawn extension (hangup, s, 14) exited non-zero on ‘SIP/66.241.99.28-00000000’
[Feb 21 21:12:35] NOTICE[23967][C-00000001]: app_stack.c:1054 gosub_run: SIP/66.241.99.28-00000000 Abnormal ‘Gosub(hangup,s,1(hangup))’ exit. Popping routine return locations.
[Feb 21 21:13:01] ERROR[24163][C-00000003]: astobj2.c:161 INTERNAL_OBJ: bad magic number for object 0x7f0170009b08. Object is likely destroyed.
telco*CLI>

Any ideas?

Edit

It seems to have something to do with when I play a sound to the bridge using channel originate I get these two stale channels that don’t go away:

Bridge/0x7fd5f00023a8-input!default!s!1!Up!(None)!!!3!3!(None)!1456115163.5
Bridge/0x7fd5f00023a8-output!default!s!1!Up!(None)!!!3!3!(None)!1456115163.6

This just started happening out of nowhere.

Think I figured it out actually.

Its cause I had these two sounds set again:

sound_join=/root/Dropbox/t1x/wav/tensilence
sound_leave=/root/Dropbox/t1x/wav/tensilence

I changed them back to:

sound_join=null
sound_leave=null

and while that throws an error it doesn’t crash anymore. I really hate those variables and the fact that there is no sane way to stop them from being used.