[Freeswitch-users] Assertion and core dump on FreeSWITCH shutdown

Andy Spitzer woof at nortel.com
Thu Sep 11 12:32:41 PDT 2008


Woof!

We've been seeing core dumps on FreeSWITCH shutdown.  I just updated to  
today's revision (r9526) and still see them:

freeswitch: src/switch_core_hash.c:59: switch_core_hash_destroy: Assertion  
`hash != ((void *)0) && *hash != ((void *)0)' failed.

Core was generated by `/usr/local/freeswitch/bin/freeswitch -nc -nf -core'.
Program terminated with signal 6, Aborted.
#0  0x00110416 in __kernel_vsyscall ()
(gdb) where
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00b69690 in raise () from /lib/libc.so.6
#2  0x00b6af91 in abort () from /lib/libc.so.6
#3  0x00b6293e in __assert_fail () from /lib/libc.so.6
#4  0x0014c53a in switch_core_hash_destroy (hash=0x2768dc)
     at src/switch_core_hash.c:59
#5  0x00274bde in mod_console_shutdown () at mod_console.c:345
#6  0x0015e113 in do_shutdown (module=0x9801360, shutdown=SWITCH_FALSE,
     unload=SWITCH_FALSE) at src/switch_loadable_module.c:1129
#7  0x0015e2b5 in switch_loadable_module_shutdown ()
     at src/switch_loadable_module.c:1158
#8  0x00156b6e in switch_core_destroy () at src/switch_core.c:1344
#9  0x08049b02 in main (argc=4, argv=0xbf85ff54) at src/switch.c:559

This occurs when using "freeswitch -stop", as well as directly sending  
SIGTERM to the freeswitch process.

Fully reproducable.  Core files available if you need 'em.

Thanks,

--Woof!




More information about the FreeSWITCH-users mailing list