(gdb) bt full
#0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:184
No locals.
#1  0x0000000000543bff in ast_update_module_list (modentry=0x4d9cc0 <modlist_modentry>, like=0x642147 "") at loader.c:1366
        __cur = 0x148f820
        __prev = 0x148f820
        cur = 0x1560f30
        unlock = -1
        total_mod_loaded = 0
        alpha_module_list = {first = 0x148b4c0, last = 0x148f820}
        __PRETTY_FUNCTION__ = "ast_update_module_list"
#2  0x00000000004da4d6 in handle_modlist (e=0x8cc688 <cli_cli+2600>, cmd=-4, a=0x7fffffffc1b0) at cli.c:913
        like = 0x642147 ""
        __PRETTY_FUNCTION__ = "handle_modlist"
#3  0x00000000004e0616 in ast_cli_command_full (uid=-1, gid=-1, fd=1, s=0x946a00 "module show ") at cli.c:2714
        args = {0x8cc688 <cli_cli+2600> "", 0x1e2c380 "module", 0x1e2c387 "show", 0x0, 
          0x7fffffffd650 "Asterisk Console on 'malcolm2' (pid 25896)", 0x7fffffffc240 "", 0x628798 "Asterisk Console on '%s' (pid %ld)", 
          0x7fffffffc3a8 " \bC", 0xff <error: Cannot access memory at address 0xff>, 0x0, 
          0x7fffffffd650 "Asterisk Console on 'malcolm2' (pid 25896)", 0x8c68e0 <fputc@got.plt> "Pcu\365\377\177", 0x0, 
          0x7ffff5aa3760 <main_arena> "", 0xc <error: Cannot access memory at address 0xc>, 0x7fffffffc3e0 "module show", 
          0x7fffffffc430 "f", 0x0, 0x0, 0x7ffff57675f0 <__GI___libc_malloc+96> "H\205\300H\211\302tx\203=u\032\064", 0x7fffffffc430 "f", 
          0x946360 "", 0x948380 "", 0x948380 "", 0x7ffff5aa4400 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>, 
          0x93d290 "P\273\223", 0x942652 ' ' <repeats 122 times>, 0x7ffff5756409 <fputc+185> "\211\302\353\273\367\003", 
          0x942652 ' ' <repeats 122 times>, 0x61194d <term__putc+16> "H\203\304\bÅ\322\017\216\250", 
          0x7ffff5aa4400 <_IO_2_1_stdout_> "\204*\255", <incomplete sequence \373>, 
          0x611986 <term_overwrite+52> "\213E \203\300\001\211E L9\343u\345\213Ux9\302\177_\213\205\200", 0x943d61 "", 
          0x61944a <history+527> "A\211\304\351\331\b", 0x93d290 "P\273\223", 0x1 <error: Cannot access memory at address 0x1>, 
          0x12 <error: Cannot access memory at address 0x12>, 0x611b37 <term_move_to_char+307> <incomplete sequence \351\224>, 
          0x93d290 "P\273\223", 0x93d290 "P\273\223", 0x943d61 "", 0x943d60 "w", 0x942650 "w", ' ' <repeats 123 times>, 
          0x612b56 <re_refresh+3047> "\353\032L\211\353\351:\367\377\377L\213d$HL\213l$@L\211\353\351O\367\377\377H\201ĸ", 
          0x6242d4 "asterisk.c", 0x18 <error: Cannot access memory at address 0x18>, 0x7fffffffc3d0 "", 0x7fffffffc360 "", 0x0, 0x0, 
          0x7fffffffc470 "p\346\377\377\377\177", 0x7fffffffc430 "f", 0x7ffff7fe1780 "\200\027\376\367\377\177", 0x0, 
          0x7fffffffc460 "p\346\377\377\377\177", 0x10 <error: Cannot access memory at address 0x10>, 
          0x7fffffffc450 "p\304\377\377\377\177", 0x430820 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300\060\353a", 
          0x7fffffffe750 "\002", 0x0, 0x0, 0x457086 <ast_el_add_history+253> "\205\300u\a\270", 0x0, 
   0x7ffff575de43 <_IO_new_file_write+67> "H\205\300y\330A\203\f$ L\211\350H)\330I\213\224$\220", 
          0x7320656c75646f6d <error: Cannot access memory at address 0x7320656c75646f6d>}
        e = 0x8cc688 <cli_cli+2600>
        x = 2
        duplicate = 0x1e2c380 "module"
        tmp = "module show\000\000\000\000\000P\347\377\377\377\177\000\000\000j\224\000\000\000\000\000\000j\224\000\000\000\000\000\r\000\000\000\000\000\000\000\340\303\377\377\377\177\000\000\340\303\377\377\377\177\000\000f"
        retval = 0x0
        a = {fd = 1, argc = 2, argv = 0x7fffffffc1e8, line = 0x0, word = 0x0, pos = 0, n = 0}
        __PRETTY_FUNCTION__ = "ast_cli_command_full"
#4  0x0000000000454b5e in consolehandler (s=0x946a00 "module show ") at asterisk.c:2228
No locals.
#5  0x000000000045bd6e in main (argc=2, argv=0x7fffffffe758) at asterisk.c:4622
        title = "Asterisk Console on 'malcolm2' (pid 25896)", '\000' <repeats 14 times>, "\371\v\336\367\377\177", '\000' <repeats 42 times>, "\371\v\336\367\377\177", '\000' <repeats 19 times>, "\020\002\000\000\000\000\000\f\006\002\000\000\000\000\000\f\006\002", '\000' <repeats 13 times>, "\005\000\000\000\000\000\000\000\000\000\"\000\000\000\000\000\000 \"\000\000\000\000\000\200\020\"\000\000\000\000\000\210\020\"\000\000\000\000\000\000\000"...
        c = -1
        filename = "/root/.asterisk_history", '\000' <repeats 56 times>
        hostname = "malcolm2", '\000' <repeats 55 times>
        xarg = 0x0
        x = 2
        f = 0x934ae0
        sigs = {__val = {134238211, 0 <repeats 15 times>}}
        num = 13
        isroot = 1
        rundir_exists = 1
        buf = 0x946a00 "module show "
        runuser = 0x0
        rungroup = 0x0
        remotesock = 0x0
        moduleresult = 0
        l = {rlim_cur = 1024, rlim_max = 4096}
        __PRETTY_FUNCTION__ = "main"
        __FUNCTION__ = "main"