# gdb menuselect/nmenuselect GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/src/asterisk-1.8.8.1/menuselect/nmenuselect...done. (gdb) run menuselect.makeopts Starting program: /usr/src/asterisk-1.8.8.1/menuselect/nmenuselect menuselect.makeopts Program received signal SIGSEGV, Segmentation fault. 0x000000000060f810 in strcmp@@GLIBC_2.2.5 () (gdb) bt #0 0x000000000060f810 in strcmp@@GLIBC_2.2.5 () #1 0x0000000000408bcf in mxml_load_data (top=0x0, p=0x610010, cb=0x40a1b2 , getc_cb=0x409475 ) at mxml-file.c:1488 #2 0x00000000004022f2 in parse_tree (tree_file=0x40a5d8 "menuselect-tree") at menuselect.c:232 #3 0x0000000000403bb3 in build_member_list () at menuselect.c:794 #4 0x0000000000405df3 in main (argc=2, argv=0x7fffffffe718) at menuselect.c:1623 (gdb) bt full #0 0x000000000060f810 in strcmp@@GLIBC_2.2.5 () No symbol table info available. #1 0x0000000000408bcf in mxml_load_data (top=0x0, p=0x610010, cb=0x40a1b2 , getc_cb=0x409475 ) at mxml-file.c:1488 node = first = 0x0 parent = 0x0 ch = 63 whitespace = 0 buffer = 0x610270 "?" bufptr = 0x610270 "?" bufsize = 64 type = MXML_TEXT encoding = 0 types = {0x40ba8c "MXML_ELEMENT", 0x40ba99 "MXML_INTEGER", 0x40baa6 "MXML_OPAQUE", 0x40bab2 "MXML_REAL", 0x40babc "MXML_TEXT", 0x40bac6 "MXML_CUSTOM"} #2 0x00000000004022f2 in parse_tree (tree_file=0x40a5d8 "menuselect-tree") at menuselect.c:232 f = 0x610010 tree = 0x610250 mem = 0x7ffff7ff0048 dep = 0x0 cnf = 0x7ffff7de7722 use = 0xf63d4e2e cur = 0x7ffff7ffe128 cur2 = 0x7fffffffe678 cur3 = 0x7ffff7ff0048 menu = 0x7fffffffe650 tmp = 0x7ffff7ffe480 "\340\343\377\367\377\177" #3 0x0000000000403bb3 in build_member_list () at menuselect.c:794 i = 0 res = -1 #4 0x0000000000405df3 in main (argc=2, argv=0x7fffffffe718) at menuselect.c:1623 res = 0 list_group = 0x0 x = 0 do_menu = 1 do_settings = 1 c = 0 option_index = 0 long_options = {{name = 0x40b11e "check-deps", has_arg = 0, flag = 0x60f944, val = 1}, {name = 0x40b129 "enable", has_arg = 1, flag = 0x0, val = 101}, {name = 0x40b130 "enable-category", has_arg = 1, flag = 0x0, val = 69}, {name = 0x40b140 "enable-all", has_arg = 0, flag = 0x0, val = 97}, {name = 0x40b14b "disable", has_arg = 1, flag = 0x0, val = 100}, { name = 0x40b153 "disable-category", has_arg = 1, flag = 0x0, val = 68}, {name = 0x40b164 "disable-all", has_arg = 0, flag = 0x0, val = 65}, {name = 0x40b170 "list-options", has_arg = 0, flag = 0x60f948, val = 1}, {name = 0x40b17d "list-category", has_arg = 1, flag = 0x0, val = 76}, {name = 0x40b18b "category-list", has_arg = 0, flag = 0x60f94c, val = 1}, { name = 0x40b199 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}} (gdb)