[asterisk-bugs] [JIRA] (ASTERISK-28478) Crash performing "core reload" with modified res_config_sqlite3.conf

Sean Bright (JIRA) noreply at issues.asterisk.org
Mon Jul 15 07:28:47 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-28478:
-----------------------------------

    Assignee: Dennis
      Status: Waiting for Feedback  (was: Triage)

I'm not able to reproduce with Asterisk 13.27.1 (or 13 from git). Can you try upgrading to 13.27.1 and see if that resolves the problem?

> Crash performing "core reload" with modified res_config_sqlite3.conf
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-28478
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28478
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_config_sqlite3
>    Affects Versions: 13.25.0
>         Environment: CentOS7
>            Reporter: Dennis
>            Assignee: Dennis
>            Severity: Critical
>
> {code:title=original res_config_sqlite3.conf}
> [asterisk]
> dbfile => /var/lib/asterisk/somefile.sqlite3
> {code}
> {code:title=changed res_config_sqlite3.conf}
> [asterisk]
> dbfile => /var/lib/asterisk/anotherfile.sqlite3
> {code}
> {code:title=journalctl -u asterisk (starting from "core reload")}
> Jul 14 07:46:06 erol asterisk[25998]: [2019-07-14 07:46:06] NOTICE[26113]: cdr.c:4459 cdr_toggle_runtime_options: CDR simple logging enabled.
> Jul 14 07:46:06 erol asterisk[25998]: [2019-07-14 07:46:06] WARNING[26113]: res_digium_phone.c:606 reload: No Valid DPMA License found.
> Jul 14 07:46:06 erol systemd[1]: asterisk.service: main process exited, code=killed, status=11/SEGV
> {code}
> {code:title=backtrace}
> (gdb) bt
> #0  0x00007fe6d082feb1 in pthread_join () from /lib64/libpthread.so.0
> #1  0x00007fe656facb19 in db_destructor (obj=0x7fe6c400e338) at res_config_sqlite3.c:237
> #2  0x000000000045c922 in internal_ao2_ref (func=0x61e1d3 <__FUNCTION__.9420> "__ao2_ref", line=523, file=0x61df78 "astobj2.c", delta=-1, user_data=0x7fe6c400e338)
>     at astobj2.c:456
> #3  __ao2_ref (user_data=user_data at entry=0x7fe6c400e338, delta=delta at entry=-1) at astobj2.c:523
> #4  0x00007fe656facde6 in unref_db (db=<synthetic pointer>) at res_config_sqlite3.c:252
> #5  update_realtime_sqlite3_db (cat=0x7fe6c4007990 "stuffs", config=0x7fe6c400d690, db=0x2ba59b8) at res_config_sqlite3.c:471
> #6  parse_config (reload=reload at entry=1) at res_config_sqlite3.c:1293
> #7  0x00007fe656fad0be in reload () at res_config_sqlite3.c:1312
> #8  0x000000000053a4ca in ast_module_reload (name=name at entry=0x0) at loader.c:1058
> #9  0x00000000004d07ca in handle_core_reload (e=<optimized out>, cmd=<optimized out>, a=<optimized out>) at cli.c:325
> #10 0x00000000004d77ff in ast_cli_command_full (uid=uid at entry=0, gid=gid at entry=0, fd=fd at entry=23, s=s at entry=0x7fe6cce94600 "core reload") at cli.c:2854
> #11 0x00000000004d792b in ast_cli_command_multiple_full (uid=0, gid=0, fd=23, size=12, s=0x7fe6cce948e0 "core reload") at cli.c:2880
> #12 0x0000000000457a48 in netconsole (vconsole=vconsole at entry=0x8e6ee0 <consoles>) at asterisk.c:1554
> #13 0x00000000005f978e in dummy_start (data=<optimized out>) at utils.c:1239
> #14 0x00007fe6d082edd5 in start_thread () from /lib64/libpthread.so.0
> #15 0x00007fe6cfb0bead in clone () from /lib64/libc.so.6
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list