FRACK Bad Magic Number 0x0

[2021-06-15 08:14:56] ERROR[22295][C-000001cc] pbx_variables.c: FRACK!, Failed assertion bad magic number 0x0 for object 0x7f23e407f7e0 (0)
[2021-06-15 08:15:01] Asterisk 16.17.0 built by mockbuild @ jenkins7 on a x86_64 running Linux on 2021-04-22 07:22:22 UTC

Installed a new server to replace one that sucked a fan blade. Ever since, we’ve been getting these random Asterisk restarts. The one above is the latest. The system drops all of its calls and restarts. I looked through the forum, recognizing the FRACK issue, but the results don’t seem to jive with the conditions I’m seeing.

What else should I look for?

There’s nothing really to look for exactly, the message occurs if a freed object is used. Why that is isn’t easy to answer and generally requires a backtrace[1] and a filed issue[2].

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
[2] https://issues.asterisk.org/jira

Thanks - I’ll try to hook that up after everyone gets off the phone tonight.

It happens two or three times a day, so it’s just annoying enough to make everyone whine, but not enough to clear everyone off the system while I try to fix it…

Good news. Did the core analysis and it turned out to be my own fault. I upgraded the Asterisk version and forgot to update my chan-sccp-b driver for my Cisco phones. The magic number error should have been my first clue.

https://github.com/chan-sccp/sccp_manager/archive/refs/heads/Legacy.zip
Here’s the address of the Chan-SCCP Manager that you can connect directly from the Module Admin page.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.