[asterisk-bugs] [Asterisk 0017330]: Asterisk crash on ODBC /usr/lib/libodbc.so.1 and /lib/i686/cmov/libc.so.6

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 28 17:05:17 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17330 
====================================================================== 
Reported By:                kowalma
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17330
Category:                   Functions/func_odbc
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-13 04:06 CDT
Last Modified:              2011-03-28 17:05 CDT
====================================================================== 
Summary:                    Asterisk crash on ODBC /usr/lib/libodbc.so.1 and
/lib/i686/cmov/libc.so.6
Description: 
Hi,

 On quite heavy load I expirience Asterisk crash. 
Asterisk 1.6.1.19 + following ODBC version

ii  libiodbc2                            3.52.6-2                   iODBC
Driver Manager
ii  libmyodbc                            3.51.15r409-4              the
MySQL ODBC driver
ii  libodbcinstq1c2                      2.2.11-16                 
Qt-based ODBC configuration library
ii  odbcinst1debian1                     2.2.11-16                 
Support library and helper program for acces
ii  unixodbc                             2.2.11-16                  ODBC
tools libraries
ii  unixodbc-bin                         2.2.11-16                 
Graphical tools for ODBC management and brow
ii  unixodbc-dev                         2.2.11-16                  ODBC
libraries for UNIX (development files)


I'm using ODBC quite hard for dialplan (checking permissions, setting up
database variables for Queues, sip realtime, etc)
Same I saw in 1.6.1.18 - I upgraded yesterday to .19 and this did not
solve issue.


BT Full says:
(gdb) bt full
https://issues.asterisk.org/view.php?id=0  0xb7d5f872 in free () from
/lib/i686/cmov/libc.so.6
No symbol table info available.
https://issues.asterisk.org/view.php?id=1  0xb769ebe1 in ?? () from
/usr/lib/libodbc.so.1
No symbol table info available.
https://issues.asterisk.org/view.php?id=2  0x00000001 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=3  0xb76b9d2c in ?? () from
/usr/lib/libodbc.so.1
No symbol table info available.
https://issues.asterisk.org/view.php?id=4  0xad343658 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=5  0xb76b9d2c in ?? () from
/usr/lib/libodbc.so.1
No symbol table info available.
https://issues.asterisk.org/view.php?id=6  0x09f22968 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=7  0x00000003 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=8  0xad343718 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=9  0xb7662908 in ?? () from
/usr/lib/libodbc.so.1
No symbol table info available.
https://issues.asterisk.org/view.php?id=10 0xac202a20 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=11 0xac202a20 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=12 0x00007fb8 in ?? ()
No symbol table info available.
https://issues.asterisk.org/view.php?id=13 0x080808f2 in __ao2_ref
(user_data=0xac202a20, delta=-1407178208) at
astobj2.c:307
        obj = (struct astobj2 *) 0xb76b9d2c
        current_value = 166865256
        ret = 3
        __PRETTY_FUNCTION__ = "__ao2_ref"
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018295 [patch] Call to SQLDescribeCol returns ...
====================================================================== 

---------------------------------------------------------------------- 
 (0133145) tilghman (manager) - 2011-03-28 17:05
 https://issues.asterisk.org/view.php?id=17330#c133145 
---------------------------------------------------------------------- 
What happens when you add:  wait_timeout=999999 in the [mysqld] context to
/etc/mysql/my.cnf (or wherever your distribution puts my.cnf) and restart
the MySQL server? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-28 17:05 tilghman       Note Added: 0133145                          
======================================================================




More information about the asterisk-bugs mailing list