View previous topic :: View next topic |
Author |
Message |
cervajs at fpf.slu.cz Guest
|
Posted: Sun May 29, 2016 3:04 pm Post subject: [asterisk-users] asterisk odbc segfaults (SOLVED) |
|
|
Dne 29.5.2016 v 21:31 Marek Červenka napsal(a):
Quote: | doesnt work for me
|
strange. combination of your tip with
Option = 3
in odbc.ini solved my problem
i'm trying find what option=3 means
Quote: |
Dne 29.5.2016 v 17:48 Niklas Larsson napsal(a):
Quote: | Hi,
On 2016-05-27 18:28, Marek Červenka wrote:
Quote: | after downgrade to 13.8.2
May 27 18:21:06 ast kernel: asterisk[16286]: segfault at 1010024 ip b49162cd sp bfac0940 error 4 in libmysqlclient.so.16.0.0[b48f1000+12e000]
after downgrade to 13.7.2
asterisk is ok
|
Could be https://issues.asterisk.org/jira/browse/ASTERISK-25957 - a solution is to change the order in modules.conf to:
preload => res_odbc.so
preload => res_config_odbc.so
preload => chan_local.so
preload => cdr_adaptive_odbc.so
/niklas
|
Quote: | --
---------------------------------------
Marek Cervenka
=======================================
|
|
Quote: | --
---------------------------------------
Marek Cervenka
=======================================
|
|
|
Back to top |
|
|
cervajs at fpf.slu.cz Guest
|
Posted: Mon May 30, 2016 9:37 am Post subject: [asterisk-users] asterisk odbc segfaults (SOLVED) |
|
|
show continues
*** glibc detected *** /usr/sbin/asterisk: double free or corruption (!prev): 0x0a11e8a0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x70c91)[0xb6e12c91]
/lib/libc.so.6(+0x736f1)[0xb6e156f1]
/usr/lib/libmyodbc5w.so(my_free+0x52)[0xb6160992]
/usr/lib/libmyodbc5w.so(free_result_bind+0x95)[0xb6131045]
/usr/lib/libmyodbc5w.so(free_current_result+0x60)[0xb6133150]
/usr/lib/libmyodbc5w.so(next_result+0x23)[0xb6133193]
/usr/lib/libmyodbc5w.so(my_SQLFreeStmtExtended+0x21b)[0xb6125bbb]
/usr/lib/libmyodbc5w.so(my_SQLFreeStmt+0x2e)[0xb6125e8e]
/usr/lib/libmyodbc5w.so(SQLFreeHandle+0x70)[0xb6126a70]
/usr/lib/libodbc.so.2(+0x1ab39)[0xb654bb39]
/usr/lib/libodbc.so.2(SQLFreeHandle+0x26)[0xb654c4c6]
/usr/lib/asterisk/modules/res_config_odbc.so(+0x4e8f)[0xb5ed3e8f]
/usr/sbin/asterisk(ast_load_realtime_multientry_fields+0x5a)[0x811b7ba]
/usr/lib/asterisk/modules/res_sorcery_realtime.so(+0x125e)[0xb770d25e]
/usr/sbin/asterisk(ast_sorcery_retrieve_by_fields+0x1ed)[0x81f862d]
/usr/lib/asterisk/modules/res_pjsip.so(ast_sip_get_endpoints+0x3b)[0xb593efab]
/usr/lib/asterisk/modules/chan_pjsip.so(+0x955e)[0xb3be055e]
/usr/sbin/asterisk[0x816b1c3]
/usr/sbin/asterisk[0x816e248]
/usr/sbin/asterisk[0x816e986]
/usr/sbin/asterisk[0x80950c2]
/usr/sbin/asterisk[0x8097dae]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb6db8d26]
/usr/sbin/asterisk[0x80719e1]
======= Memory map: ========
08048000-082d9000 r-xp 00000000 08:01 31383 /usr/sbin/asterisk
082d9000-082e5000 rw-p 00291000 08:01 31383 /usr/sbin/asterisk
082e5000-08309000 rw-p 00000000 00:00 0
0966b000-0a137000 rw-p 00000000 00:00 0 [heap]
b2e2a000-b2e2b000 rw-p 00000000 00:00 0
b2e2b000-b2e2c000 ---p 00000000 00:00 0
b2e2c000-b2e67000 rwxp 00000000 00:00 0 [stack:3966]
b2e67000-b2e68000 ---p 00000000 00:00 0
b2e68000-b2ea3000 rwxp 00000000 00:00 0 [stack:3965]
b2ea3000-b2ea4000 ---p 00000000 00:00 0
b2ea4000-b2edf000 rwxp 00000000 00:00 0 [stack:3964]
b2edf000-b2ee0000 ---p 00000000 00:00 0
b2ee0000-b2f1b000 rwxp 00000000 00:00 0 [stack:3963]
b2f1b000-b2f1c000 ---p 00000000 00:00 0
b2f1c000-b2f57000 rwxp 00000000 00:00 0 [stack:3962]
b2f57000-b2f58000 ---p 00000000 00:00 0
b2f58000-b2f93000 rwxp 00000000 00:00 0 [stack:3961]
b2f93000-b2f94000 ---p 00000000 00:00 0
b2f94000-b2fcf000 rwxp 00000000 00:00 0 [stack:3960]
b2fcf000-b2fd0000 ---p 00000000 00:00 0
b2fd0000-b300b000 rwxp 00000000 00:00 0 [stack:3959]
b300b000-b300c000 ---p 00000000 00:00 0
b300c000-b3047000 rwxp 00000000 00:00 0 [stack:3958]
b3047000-b3048000 ---p 00000000 00:00 0
b3048000-b3083000 rwxp 00000000 00:00 0 [stack:3957]
b3083000-b3084000 ---p 00000000 00:00 0
b3084000-b30bf000 rwxp 00000000 00:00 0 [stack:3956]
b30bf000-b30c0000 ---p 00000000 00:00 0
b30c0000-b30fb000 rwxp 00000000 00:00 0 [stack:3955]
b30fb000-b30fc000 ---p 00000000 00:00 0
b30fc000-b3137000 rwxp 00000000 00:00 0 [stack:3954]
b3137000-b3138000 ---p 00000000 00:00 0
b3138000-b3173000 rwxp 00000000 00:00 0 [stack:3953]
b3173000-b31f5000 rw-p 00000000 00:00 0
b31f5000-b31f6000 ---p 00000000 00:00 0
b31f6000-b3231000 rwxp 00000000 00:00 0 [stack:3952]
b3231000-b3232000 ---p 00000000 00:00 0
b3232000-b326d000 rwxp 00000000 00:00 0 [stack:3951]
b326d000-b326e000 ---p 00000000 00:00 0
b326e000-b32a9000 rwxp 00000000 00:00 0 [stack:3950]
b32a9000-b32aa000 ---p 00000000 00:00 0
b32aa000-b3aaa000 rwxp 00000000 00:00 0 [stack:3949]
b3aaa000-b3aab000 ---p 00000000 00:00 0
b3aab000-b3ae6000 rwxp 00000000 00:00 0 [stack:3948]
b3ae6000-b3ae7000 ---p 00000000 00:00 0
b3ae7000-b3b22000 rwxp 00000000 00:00 0 [stack:3947]
b3b22000-b3b23000 ---p 00000000 00:00 0
b3b23000-b3b5e000 rwxp 00000000 00:00 0 [stack:3946]
b3b5e000-b3b5f000 r-xp 00000000 08:01 31283 /usr/lib/asterisk/modules/res_curl.so
b3b5f000-b3b60000 rw-p 00000000 08:01 31283 /usr/lib/asterisk/modules/res_curl.so
b3b60000-b3b66000 r-xp 00000000 08:01 31326 /usr/lib/asterisk/modules/res_pjsip_mwi.so
b3b66000-b3b67000 rw-p 00005000 08:01 31326 /usr/lib/asterisk/modules/res_pjsip_mwi.so
b3b67000-b3b72000 r-xp 00000000 08:01 31333 /usr/lib/asterisk/modules/res_pjsip_outbound_registration.so
b3b72000-b3b73000 rw-p 0000b000 08:01 31333 /usr/lib/asterisk/modules/res_pjsip_outbound_registration.so
b3b73000-b3b74000 r-xp 00000000 08:01 31245 /usr/lib/asterisk/modules/func_vmcount.so
b3b74000-b3b75000 rw-p 00000000 08:01 31245 /usr/lib/asterisk/modules/func_vmcount.so
b3b75000-b3b77000 r-xp 00000000 08:01 31188 /usr/lib/asterisk/modules/format_siren7.so
b3b77000-b3b78000 rw-p 00001000 08:01 31188 /usr/lib/asterisk/modules/format_siren7.so
b3b78000-b3b7a000 r-xp 00000000 08:01 31208 /usr/lib/asterisk/modules/func_dialplan.so
b3b7a000-b3b7b000 rw-p 00001000 08:01 31208 /usr/lib/asterisk/modules/func_dialplan.so
b3b7b000-b3b7e000 r-xp 00000000 08:01 31147 /usr/lib/asterisk/modules/cel_custom.so
b3b7e000-b3b7f000 rw-p 00002000 08:01 31147 /usr/lib/asterisk/modules/cel_custom.so
b3b7f000-b3b82000 r-xp 00000000 08:01 31186 /usr/lib/asterisk/modules/format_pcm.so
b3b82000-b3b83000 rw-p 00002000 08:01 31186 /usr/lib/asterisk/modules/format_pcm.so
b3b83000-b3b84000 r-xp 00000000 08:01 31163 /usr/lib/asterisk/modules/codec_a_mu.so
b3b84000-b3b85000 rw-p 00001000 08:01 31163 /usr/lib/asterisk/modules/codec_a_mu.so
b3b85000-b3b86000 r-xp 00000000 08:01 31074 /usr/lib/asterisk/modules/app_echo.so
b3b86000-b3b87000 rw-p 00000000 08:01 31074 /usr/lib/asterisk/modules/app_echo.so
b3b87000-b3b89000 r-xp 00000000 08:01 31299 /usr/lib/asterisk/modules/res_manager_presencestate.so
b3b89000-b3b8a000 rw-p 00001000 08:01 31299 /usr/lib/asterisk/modules/res_manager_presencestate.so
b3b8a000-b3b8c000 r-xp 00000000 08:01 31274 /usr/lib/asterisk/modules/res_clialiases.so
b3b8c000-b3b8d000 rw-p 00002000 08:01 31274 /usr/lib/asterisk/modules/res_clialiases.so
b3b8d000-b3b95000 r-xp 00000000 08:01 31149 /usr/lib/asterisk/modules/cel_odbc.so
b3b95000-b3b96000 rw-p 00007000 08:01 31149 /usr/lib/asterisk/modules/cel_odbc.so
b3b96000-b3b98000 r-xp 00000000 08:01 31132 /usr/lib/asterisk/modules/app_zapateller.so
b3b98000-b3b99000 rw-p 00001000 08:01 31132 /usr/lib/asterisk/modules/app_zapateller.so
b3b99000-b3b9b000 r-xp 00000000 08:01 31346 /usr/lib/asterisk/modules/res_pjsip_send_to_voicemail.so/usr/sbin/safe_asterisk: line 164: 3901 Aborted (core dumped) nice -n $PRIORITY "${ASTSBINDIR}/asterisk" -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Dne 29.5.2016 v 22:04 Marek Červenka napsal(a):
Quote: | Dne 29.5.2016 v 21:31 Marek Červenka napsal(a):
Quote: | doesnt work for me
|
strange. combination of your tip with
Option = 3
in odbc.ini solved my problem
i'm trying find what option=3 means
Quote: |
Dne 29.5.2016 v 17:48 Niklas Larsson napsal(a):
Quote: | Hi,
On 2016-05-27 18:28, Marek Červenka wrote:
Quote: | after downgrade to 13.8.2
May 27 18:21:06 ast kernel: asterisk[16286]: segfault at 1010024 ip b49162cd sp bfac0940 error 4 in libmysqlclient.so.16.0.0[b48f1000+12e000]
after downgrade to 13.7.2
asterisk is ok
|
Could be https://issues.asterisk.org/jira/browse/ASTERISK-25957 - a solution is to change the order in modules.conf to:
preload => res_odbc.so
preload => res_config_odbc.so
preload => chan_local.so
preload => cdr_adaptive_odbc.so
/niklas
|
Quote: | --
---------------------------------------
Marek Cervenka
=======================================
|
|
Quote: | --
---------------------------------------
Marek Cervenka
=======================================
|
|
Quote: | --
---------------------------------------
Marek Cervenka
=======================================
|
|
|
Back to top |
|
|
|