Summary: | ASTERISK-19815: Crash in core show locks when BETTER_BACKTRACES is enabled | ||
Reporter: | Mark Murawski (kobaz) | Labels: | |
Date Opened: | 2012-04-30 09:47:05 | Date Closed: | 2012-04-30 10:54:19 |
Priority: | Blocker | Regression? | |
Status: | Closed/Complete | Components: | Core/General |
Versions: | SVN 1.8.11.1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) bt-full ( 1) bt-full-threads | |
Description: | core show locks #0 0xb75348e3 in strrchr () from /lib/i686/cmov/libc.so.6 #1 0x0811ee18 in ast_bt_get_symbols (addresses=0x9405c34, num_frames=6) at logger.c:1388 #2 0x08192a97 in append_backtrace_information (str=0xb5adec94, bt=0x9405c34) at utils.c:775 #3 0x08192ca8 in append_lock_information (str=0xb5adec94, lock_info=0x932e9e8, i=0) at utils.c:805 #4 0x0819302f in handle_show_locks (e=0x8204de0, cmd=-4, a=0xb5adecd4) at utils.c:916 #5 0x080caf47 in ast_cli_command_full (uid=0, gid=0, fd=11, s=0xb5adee74 "core show locks") at cli.c:2619 #6 0x080cb05c in ast_cli_command_multiple_full (uid=0, gid=0, fd=11, size=16, s=0xb5adf0c8 "core show locks") at cli.c:2642 #7 0x0807e27d in netconsole (vconsole=0x822acc0) at asterisk.c:1290 #8 0x08193268 in dummy_start (data=0x824cf10) at utils.c:1004 #9 0xb7380955 in start_thread () from /lib/i686/cmov/libpthread.so.0 #10 0xb758ce7e in clone () from /lib/i686/cmov/libc.so.6 | ||
Comments: | By: Matt Jordan (mjordan) 2012-04-30 10:02:57.180-0500 (09:52:07 AM) Kobaz: if (!file) { file = ""; } (09:52:11 AM) Kobaz: that's my fix for now (09:52:21 AM) Kobaz: right after if (!bfd_find_nearest_line(bfdobj, section, syms, offset - section->vma, &file, &func, &line)) { (09:52:24 AM) Kobaz: fule is null (09:52:27 AM) Kobaz: file, rather |