GNU gdb 6.8-debian Copyright (C) 2008 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"... (gdb) run Starting program: /usr/sbin/conf2ael [Thread debugging using libthread_db enabled] [New Thread 0x7f31a044d700 (LWP 26249)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f31a044d700 (LWP 26249)] 0x0000000000402ddd in main (argc=1, argv=0x7fffa8471908) at conf2ael.c:397 397 if (strchr(tmpi->name,'|')==0) { (gdb) bt #0 0x0000000000402ddd in main (argc=1, argv=0x7fffa8471908) at conf2ael.c:397 (gdb) bt full #0 0x0000000000402ddd in main (argc=1, argv=0x7fffa8471908) at conf2ael.c:397 tmp = (struct ast_context *) 0x149d050 e = (struct ast_exten *) 0x7f319f732c00 eroot = (struct ast_exten *) 0x0 tree = (pval *) 0x149d510 tmptree = (pval *) 0x149d470 sws = (pval *) 0x7f31a0472000 tmpi = (struct ast_include *) 0x297d4e45545845 sw = (struct ast_sw *) 0x0 ipi = (struct ast_ignorepat *) 0x0 incl = (pval *) 0x149d770 localdir = 0 i = 1 __PRETTY_FUNCTION__ = "main" (gdb) thread apply all bt Thread 1 (Thread 0x7f31a044d700 (LWP 26249)): #0 0x0000000000402ddd in main (argc=1, argv=0x7fffa8471908) at conf2ael.c:397 (gdb) quit The program is running. Exit anyway? (y or n)