Crash Asterisk Res_odbc

Home » Asterisk Users » Crash Asterisk Res_odbc
Asterisk Users 4 Comments

Dear list,

i have a issue

Asterisk crash (Module res_odbc exactly) after the same log who is
“/ERROR[23805] astobj2.c: bad magic number…/”
you will see on the log :

Today

[2016-02-24 16:00:38] ERROR[23805] *astobj2.c: bad magic number
0x552f302e for 0x7fe3505b3958*
[2016-02-24 16:00:44] Asterisk 11.2-cert1 built by root @ Voice_server on a x86_64 running Linux on 2013-04-09 14:16:57 UTC
[2016-02-24 16:00:44] NOTICE[31321] loader.c: 2 modules will be loaded.
[2016-02-24 16:00:44] NOTICE[31321] res_odbc.c: Connecting asterisk
[2016-02-24 16:00:44] NOTICE[31321] res_odbc.c: res_odbc: Connected to asterisk [MySQL-asterisk]
[2016-02-24 16:00:44] NOTICE[31321] res_odbc.c: Registered ODBC class
‘asterisk’ dsn->[MySQL-asterisk]

Yesterday :

[2016-02-23 15:59:12] ERROR[19824] *astobj2.c: bad magic number 0x20 for
0x27a5558*
[2016-02-23 15:59:18] Asterisk 11.2-cert1 built by root @ Voice_server on a x86_64 running Linux on 2013-04-09 14:16:57 UTC
[2016-02-23 15:59:18] NOTICE[23791] loader.c: 2 modules will be loaded.
[2016-02-23 15:59:18] NOTICE[23791] res_odbc.c: Connecting asterisk
[2016-02-23 15:59:18] NOTICE[23791] res_odbc.c: res_odbc: Connected to asterisk [MySQL-asterisk]
[2016-02-23 15:59:18] NOTICE[23791] res_odbc.c: Registered ODBC class
‘asterisk’ dsn->[MySQL-asterisk]

Effect : many trunk sip are down during few minutes Oddness : same hours

On google i found many times “memory corruption was the assumption” …

Have you ever seen this kind of problem ?

thank you in advance

Version : Asterisk 11.2-cert1
Os : Debian 7-64

4 thoughts on - Crash Asterisk Res_odbc

  • Which operating system are you using? I have experienced the same problem on several OS except for CentOS 6. I suppose an ODBC problem on newer OS
    version.

    Leandro Il 24/Feb/2016 05:30 PM, “Maxime” ha scritto:

  • CiAgICAKSSDCoGFtIHN1cmUgaXQgaXM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OiBBc3Rlcmlz ayAxMS4yLWNlcnQxCgogICAgT3MgOiBEZWJpYW4gNy02NAoKICAgIAoKICAgIC0tIAoKICAgICAg CgogICAgICBNYXhpbWUKCiAgICAKICAKCgotLQoKX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCgotLSBCYW5kd2lkdGgg YW5kIENvbG9jYXRpb24gUHJvdmlkZWQgYnkgaHR0cDovL3d3dy5hcGktZGlnaXRhbC5jb20gLS0K
    Ck5ldyB0byBBc3Rlcmlzaz8gSm9pbiB1cyBmb3IgYSBsaXZlIGludHJvZHVjdG9yeSB3ZWJpbmFy IGV2ZXJ5IFRodXJzOgoKwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqBodHRwOi8vd3d3LmFzdGVyaXNr Lm9yZy9oZWxsbwoKCgphc3Rlcmlzay11c2VycyBtYWlsaW5nIGxpc3QKClRvIFVOU1VCU0NSSUJF
    IG9yIHVwZGF0ZSBvcHRpb25zIHZpc2l0OgoKwqAgwqBodHRwOi8vbGlzdHMuZGlnaXVtLmNvbS9t YWlsbWFuL2xpc3RpbmZvL2FzdGVyaXNrLXVzZXJzCgo

  • Hi,

    Thank you for the reply.

    My OS is : Debian 7.

    But i have more than 20 servers with the same features/resources (OS, material, … ) without the issue.

    Regards.

    Le 28/02/2016 21:49, Leandro Dardini a