[Freeswitch-dev] QUESTION: Additional info on a core dump?

Michael Collins msc at freeswitch.org
Tue Nov 18 16:06:00 PST 2008


FYI,

I have a non-reproducible core dump and I noticed I get output I'd not
seen before. I was just curious if some extra goodies had been added
to tree? I noticed that it said "*** glibc detected ***" and I don't
recall seeing that previously. Anyway, I was just curious. This
particular segfault happened during shutdown after I'd made about 1300
openzap calls and 22 of 23 PRI B chans were stuck in HANGUP or
TERMINATING mode. (See OPENZAP-9)

Is this extra output normal and should we expect to see it going
forward if we have seg faults? I want to make sure I tell people what
to include in bug reports, pastebins, etc.

Thanks,
MC

() Returning 388 recycled log node(s) 72944 bytes
*** glibc detected *** freeswitch: munmap_chunk(): invalid pointer: 0x09d1d680 *
**
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1bb)[0x22e19b]
/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_memory_reclaim_logger+0
x81)[0xbc20f1]
/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_log_shutdown+0x4b)[0xbc215b]
/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_destroy+0x17c)[0xb8c13c
]
freeswitch[0x8049f69]
/lib/libc.so.6(__libc_start_main+0xdc)[0x1d7dec]
freeswitch[0x8048d41]
======= Memory map: ========
00110000-00113000 r-xp 00000000 fd:00 2388258    /lib/libuuid.so.1.2
00113000-00114000 rwxp 00003000 fd:00 2388258    /lib/libuuid.so.1.2
0013c000-0014b000 r-xp 00000000 fd:00 2388979    /lib/libresolv-2.5.so
0014b000-0014c000 r-xp 0000e000 fd:00 2388979    /lib/libresolv-2.5.so
0014c000-0014d000 rwxp 0000f000 fd:00 2388979    /lib/libresolv-2.5.so
0014d000-0014f000 rwxp 0014d000 00:00 0
00195000-001a0000 r-xp 00000000 fd:00 2387485    /lib/libgcc_s-4.1.2-20080102.so
.1
001a0000-001a1000 rwxp 0000a000 fd:00 2387485    /lib/libgcc_s-4.1.2-20080102.so
.1
001a4000-001be000 r-xp 00000000 fd:00 2387430    /lib/ld-2.5.so
001be000-001bf000 r-xp 00019000 fd:00 2387430    /lib/ld-2.5.so
001bf000-001c0000 rwxp 0001a000 fd:00 2387430    /lib/ld-2.5.so
001c2000-002ff000 r-xp 00000000 fd:00 2388935    /lib/libc-2.5.so
002ff000-00301000 r-xp 0013c000 fd:00 2388935    /lib/libc-2.5.so
00301000-00302000 rwxp 0013e000 fd:00 2388935    /lib/libc-2.5.so
00302000-00305000 rwxp 00302000 00:00 0
00307000-0032c000 r-xp 00000000 fd:00 2388975    /lib/libm-2.5.so
0032c000-0032d000 r-xp 00024000 fd:00 2388975    /lib/libm-2.5.so
0032d000-0032e000 rwxp 00025000 fd:00 2388975    /lib/libm-2.5.so
00330000-00332000 r-xp 00000000 fd:00 2388973    /lib/libdl-2.5.so
00332000-00333000 r-xp 00001000 fd:00 2388973    /lib/libdl-2.5.so
00333000-00334000 rwxp 00002000 fd:00 2388973    /lib/libdl-2.5.so
00336000-00349000 r-xp 00000000 fd:00 2388968    /lib/libpthread-2.5.so
00349000-0034a000 r-xp 00012000 fd:00 2388968    /lib/libpthread-2.5.so
0034a000-0034b000 rwxp 00013000 fd:00 2388968    /lib/libpthread-2.5.so
0034b000-0034d000 rwxp 0034b000 00:00 0
00364000-0036b000 r-xp 00000000 fd:00 2388969    /lib/librt-2.5.so
0036b000-0036c000 r-xp 00006000 fd:00 2388969    /lib/librt-2.5.so
0036c000-0036d000 rwxp 00007000 fd:00 2388969    /lib/librt-2.5.so
00386000-003e3000 r-xp 00000000 fd:00 8850999    /usr/lib/libsqlite3.so.0.8.6
003e3000-003e5000 rwxp 0005c000 fd:00 8850999    /usr/lib/libsqlite3.so.0.8.6
003e5000-003ee000 r-xp 00000000 fd:00 2387441    /lib/libnss_files-2.5.so
003ee000-003ef000 r-xp 00008000 fd:00 2387441    /lib/libnss_files-2.5.so
003ef000-003f0000 rwxp 00009000 fd:00 2387441    /lib/libnss_files-2.5.so
003f0000-00401000 r-xp 00000000 fd:00 425418     /usr/local/freeswitch/lib/libop
enzap.so
00401000-00402000 rwxp 00011000 fd:00 425418     /usr/local/freeswitch/lib/libop
enzap.so
00491000-0049c000 r-xp 00000000 fd:00 425251     /usr/local/freeswitch/mod/mod_o
penzap.so
0049c000-0049d000 rwxp 0000b000 fd:00 425251     /usr/local/freeswitch/mod/mod_o
penzap.so
0049d000-004c2000 rwxp 0049d000 00:00 0
0053c000-0054f000 r-xp 00000000 fd:00 425272     /usr/local/freeswitch/mod/mod_v
oicemail.so
0054f000-00550000 rwxp 00012000 fd:00 425272     /usr/local/freeswitch/mod/mod_v
oicemail.so
005e7000-005e9000 r-xp 00000000 fd:00 425268     /usr/local/freeswitch/mod/mod_s
pidermonkey_socket.so
005e9000-005ea000 rwxp 00002000 fd:00 425268     /usr/local/freeswitch/mod/mod_s
pidermonkey_socket.so
007d5000-007ff000 r-xp 00000000 fd:00 425696     /usr/local/freeswitch/lib/libns
pr4.so
007ff000-00801000 rwxp 00029000 fd:00 425696     /usr/local/freeswitch/lib/libns
pr4.so
00801000-00802000 rwxp 00801000 00:00 0
00802000-00815000 r-xp 00000000 fd:00 2388972    /lib/libnsl-2.5.so
00815000-00816000 r-xp 00012000 fd:00 2388972    /lib/libnsl-2.5.so
00816000-00817000 rwxp 00013000 fd:00 2388972    /lib/libnsl-2.5.so
00817000-00819000 rwxp 00817000 00:00 0
00937000-00954000 r-xp 00000000 fd:00 752256     /opt/swift/lib/libceplang_en.so
.5.0
00954000-0095a000 rwxp 0001c000 fd:00 752256     /opt/swift/lib/libceplang_en.so
.5.0
0096a000-00978000 r-xp 00000000 fd:00 425218     /usr/local/freeswitch/mod/mod_c
ommands.so
00978000-00979000 rwxp 0000d000 fd:00 425218     /usr/local/freeswitch/mod/mod_c
ommands.so
00979000-00a20000 r-xp 00000000 fd:00 425265     /usr/Aborted (core dumped)
[root at freeswitch2 freeswitch.trunk]#



More information about the Freeswitch-dev mailing list