Summary:ASTERISK-09530: Asterisk segfaults with realtime dynamic engine mysql if macro is mapped
Reporter:Denes Dolhay (denke)Labels:
Date Opened:2007-05-27 14:48:58Date Closed:2007-05-31 11:28:42
Versions:Frequency of
Environment:Attachments:( 0) bt
( 1) debug
Description:Hello Everyone!
I'm trying to map the extensions.conf to the relatime configuration engine Mysql.
If I map a macro to the mysql database, asterisk suddenly crashes after requesting the first priority from the mysql server.

In that case, if it is not a macro, than it just works fine.
If the mapped macro dose not exists in the database I get an error, (about the non-existent context) but asterisk dose not crash.


I'n useing the last svn snapshot from the asterisk, and the asterisk-addons as well. (2007-05-27) Asterisk:(66276) asterisk-addons: (384).
My system is:
tyan s2882-d, dual opteron
fedora core 6 (x86_64)

I also attach the debug information from the asterisk console.

ps.: This is the first time for me to report a bug, so please let me know if I did anything wrong.
Comments:By: Denes Dolhay (denke) 2007-05-29 08:15:22

And I have attached the backtrace too.

By: Tilghman Lesher (tilghman) 2007-05-30 12:37:42

The problem is inherent in the API... I need to be able to see what pbx_realtime is executing, and there is no way for me to see that.

By: Denes Dolhay (denke) 2007-05-30 15:48:23

The problem seems 100% reproduceable, by mapping any macro to realtime for me, and calling it from the dialplan.
But if I can help anyway, please, just let me know!

I can be found usually at the irc channel #asterisk too.

By: Tilghman Lesher (tilghman) 2007-05-31 11:28:42

Fixed in 66744, merged in 66770, 66771.