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

2008-09-11 Thread Andy Spitzer
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!

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


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

2008-09-11 Thread Michael Jerris
Fixed in svn r9527, thanks for the report.

Mike

On Sep 11, 2008, at 3:32 PM, Andy Spitzer wrote:

 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!

 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


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

2008-09-11 Thread Andy Spitzer
Woof!

On Thu, 11 Sep 2008 15:57:26 -0400, Michael Jerris [EMAIL PROTECTED] wrote:

 Fixed in svn r9527, thanks for the report.


Verified.  Thanks.


--Woof!

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org