group-compress Internal Firewalls 57.230.29.20 besfw02.resource.tiauto.com # noconn 57.230.37.184 biefw01.resource.tiauto.com # noconn 57.230.37.19 biefw02.resource.tiauto.com # noconn 57.230.96.19 cadfw01.resource.tiauto.com # noconn 57.230.59.145 deefw01.resource.tiauto.com # noconn Theses lines makes bbgen crash instantly: hobbit@ndcmon03:~/server/bin> rm -f core; ./bbgen; gdb bbgen core 2007-02-01 10:17:44 xstrdup: Cannot dup NULL string Aborted (core dumped) GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `./bbgen'. Program terminated with signal 6, Aborted. warning: current_sos: Can't read pathname for load map: Input/output error Reading symbols from /usr/lib/libpcre.so.0...done. Loaded symbols for /usr/lib/libpcre.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0xffffe410 in ?? () (gdb) man qQuit (gdb) quit hobbit@ndcmon03:~/server/bin> man strdup No manual entry for strdup hobbit@ndcmon03:~/server/bin> rm -f core; ./bbgen; gdb bbgen core 2007-02-01 10:18:33 xstrdup: Cannot dup NULL string Aborted (core dumped) GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `./bbgen'. Program terminated with signal 6, Aborted. warning: current_sos: Can't read pathname for load map: Input/output error Reading symbols from /usr/lib/libpcre.so.0...done. Loaded symbols for /usr/lib/libpcre.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0xffffe410 in ?? () (gdb) bt #0 0xffffe410 in ?? () #1 0xbffe84f8 in ?? () #2 0x00000006 in ?? () #3 0x00000877 in ?? () #4 0x40051581 in raise () from /lib/tls/libc.so.6 #5 0x40052e65 in abort () from /lib/tls/libc.so.6 #6 0x0805f373 in xstrdup (s=0x0) at memory.c:175 #7 0x0804c54b in init_host (hostname=0xbfff47b0 "biefw01.resource.tiauto.com", issummary=0, displayname=0x0, clientalias=0x0, comment=0x0, description=0x0, ip1=57, ip2=230, ip3=37, ip4=184, dialup=0, warnpct=97, reporttime=0x0, alerts=0x0, nktime=1, waps=0x0, nopropyellowtests=0x0, nopropredtests=0x8132630 "-snmp", noproppurpletests=0x0, nopropacktests=0x0) at loadbbhosts.c:232 #8 0x0804d386 in load_bbhosts (pgset=0x806f9b0 "") at loadbbhosts.c:685 #9 0x08049fad in main (argc=1, argv=0xbfffdbe4) at bbgen.c:574 (gdb) If we remove # noconn flag after biefw01.resource.tiauto.com, we could see the followings: hobbit@ndcmon03:~/server/bin> rm -f core; ./bbgen; gdb bbgen core 2007-02-01 10:20:03 xstrdup: Cannot dup NULL string Aborted (core dumped) GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `./bbgen'. Program terminated with signal 6, Aborted. warning: current_sos: Can't read pathname for load map: Input/output error Reading symbols from /usr/lib/libpcre.so.0...done. Loaded symbols for /usr/lib/libpcre.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0xffffe410 in ?? () (gdb) bt #0 0xffffe410 in ?? () #1 0xbffe9378 in ?? () #2 0x00000006 in ?? () #3 0x00000c9a in ?? () #4 0x40051581 in raise () from /lib/tls/libc.so.6 #5 0x40052e65 in abort () from /lib/tls/libc.so.6 #6 0x0805f373 in xstrdup (s=0x0) at memory.c:175 #7 0x0804c54b in init_host (hostname=0xbfff5630 "biefw02.resource.tiauto.com", issummary=0, displayname=0x0, clientalias=0x0, comment=0x0, description=0x0, ip1=57, ip2=230, ip3=37, ip4=19, dialup=0, warnpct=97, reporttime=0x0, alerts=0x0, nktime=1, waps=0x0, nopropyellowtests=0x0, nopropredtests=0x81327c8 "-snmp", noproppurpletests=0x0, nopropacktests=0x0) at loadbbhosts.c:232 #8 0x0804d386 in load_bbhosts (pgset=0x806f9b0 "") at loadbbhosts.c:685 #9 0x08049fad in main (argc=1, argv=0xbfffea64) at bbgen.c:574 (gdb) It switched to next lines ...