Exceptionally long voice queue length queuing to Local

so, you tell me i disable all compiler flag, and then compile asterisk again, and when asterisk freeze use this "/var/lib/asterisk/scripts/ast_coredumper --running” to dump backtrace
so dumping backtrace dont need to enable backtrace compiler flag ?

There is no guarantee that the resulting backtrace will be usable without the compiler flags, but as you stated the problem doesn’t occur with them it’s the only option.

1 Like

Debugging real time problems in real time code is very difficult. You seem to be expecting simple solutions. If there were a simple solution to this problem, it would have been found before you ever got to use the code.

In terms of compiler flags, you are being told to set them back to what they were like when it was deadlocking. That probably doesn’t mean turning them all off.

If you can reproduce the fault with no optimise set, that will make debugging a lot easier.

The other thing to do is to look for unusual call patterns immediately preceding the deadlock, and for anywhere where you are pushing the edges of the Asterisk features.

1 Like