[ejabberd] Ejabberd crash, core dumped

Vladimir Stafievsky vladimir.stafievsky at syncopate.ru
Tue Aug 5 11:32:48 MSK 2014


Hi all!
Cann't understand why ejabberd crashed (1-2 per day), may be anybody can 
help.
There is some info about dump:

gdb /usr/local/lib/erlang/erts-5.10.4/bin/beam.smp --core beam.smp.core
GNU gdb 6.1.1 [FreeBSD]
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 "amd64-marcel-freebsd"...(no debugging 
symbols found)...
Core was generated by `beam.smp'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libutil.so.9...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libncurses.so.8...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libncurses.so.8
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/p1_yaml.so...done.
Loaded symbols for 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/p1_yaml.so
Reading symbols from /usr/local/lib/libyaml-0.so.2...done.
Loaded symbols for /usr/local/lib/libyaml-0.so.2
Reading symbols from 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/p1_sha.so...done.
Loaded symbols for 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/p1_sha.so
Reading symbols from /usr/lib/libssl.so.7...done.
Loaded symbols for /usr/lib/libssl.so.7
Reading symbols from /lib/libcrypto.so.7...done.
Loaded symbols for /lib/libcrypto.so.7
Reading symbols from 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/p1_tls_drv.so...done.
Loaded symbols for 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/p1_tls_drv.so
Reading symbols from 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/expat_erl.so...done.
Loaded symbols for 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/expat_erl.so
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/stringprep.so...done.
Loaded symbols for 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/stringprep.so
Reading symbols from 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/ezlib_drv.so...done.
Loaded symbols for 
/usr/local/lib/erlang/lib/ejabberd-14.05/priv/lib/ezlib_drv.so
Reading symbols from 
/usr/local/lib/erlang/lib/crypto-3.2/priv/lib/crypto.so...done.
Loaded symbols for /usr/local/lib/erlang/lib/crypto-3.2/priv/lib/crypto.so
Reading symbols from 
/usr/local/lib/erlang/lib/crypto-3.2/priv/lib/crypto_callback.so...done.
Loaded symbols for 
/usr/local/lib/erlang/lib/crypto-3.2/priv/lib/crypto_callback.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000004e1a2e in erts_garbage_collect_hibernate ()
[New Thread 801c0c400 (LWP 100635/beam.smp)]
[New Thread 801c0c000 (LWP 100631/beam.smp)]
[New Thread 801c0bc00 (LWP 100624/beam.smp)]
[New Thread 801c0b800 (LWP 100610/beam.smp)]
[New Thread 801c0b400 (LWP 100607/beam.smp)]
[New Thread 801c0b000 (LWP 100576/beam.smp)]
[New Thread 801c0ac00 (LWP 100548/beam.smp)]
[New Thread 801c0a800 (LWP 100544/beam.smp)]
[New Thread 801c0a400 (LWP 100532/beam.smp)]
[New Thread 801c0a000 (LWP 100453/beam.smp)]
[New Thread 801c09c00 (LWP 100433/beam.smp)]
[New Thread 801c09800 (LWP 100418/beam.smp)]
[New Thread 801c09400 (LWP 100397/beam.smp)]
[New Thread 801c09000 (LWP 100384/beam.smp)]
[New Thread 801c08c00 (LWP 100364/beam.smp)]
[New Thread 801c08800 (LWP 100322/beam.smp)]
[New Thread 801c08400 (LWP 100313/beam.smp)]
[New Thread 801c08000 (LWP 100216/beam.smp)]
[New Thread 801c07c00 (LWP 100120/beam.smp)]
[New Thread 801c07800 (LWP 100118/beam.smp)]
[New Thread 801c07400 (LWP 100090/beam.smp)]
[New Thread 801c06c00 (LWP 100088/beam.smp)]
[New Thread 801c06400 (LWP 100580/beam.smp)]
(gdb) bt
#0  0x00000000004e1a2e in erts_garbage_collect_hibernate ()
#1  0x00000000004df4a6 in erts_garbage_collect ()
#2  0x0000000000512f18 in process_main ()
#3  0x000000000048c5c9 in erts_start_schedulers ()
#4  0x0000000000586a8c in ethr_get_ts_event ()
#5  0x00000008010814a4 in pthread_create () from /lib/libthr.so.3
#6  0x0000000000000000 in ?? ()
(gdb) p erts_garbage_collect_hibernate
$1 = {<text variable, no debug info>} 0x4e0b90 
<erts_garbage_collect_hibernate>
(gdb) info thread
   23 Thread 801c06400 (LWP 100580/beam.smp)  0x00000008013d206a in 
select () from /lib/libc.so.7
   22 Thread 801c06c00 (LWP 100088/beam.smp)  0x00000008013d20e8 in read 
() from /lib/libc.so.7
   21 Thread 801c07400 (LWP 100090/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   20 Thread 801c07800 (LWP 100118/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   19 Thread 801c07c00 (LWP 100120/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   18 Thread 801c08000 (LWP 100216/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   17 Thread 801c08400 (LWP 100313/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   16 Thread 801c08800 (LWP 100322/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   15 Thread 801c08c00 (LWP 100364/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   14 Thread 801c09000 (LWP 100384/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   13 Thread 801c09400 (LWP 100397/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   12 Thread 801c09800 (LWP 100418/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   11 Thread 801c09c00 (LWP 100433/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   10 Thread 801c0a000 (LWP 100453/beam.smp)  0x0000000801322d98 in 
wait4 () from /lib/libc.so.7
   9 Thread 801c0a400 (LWP 100532/beam.smp)  0x0000000000464a24 in 
copy_struct ()
   8 Thread 801c0a800 (LWP 100544/beam.smp)  0x00000000004e0630 in 
erts_garbage_collect ()
   7 Thread 801c0ac00 (LWP 100548/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   6 Thread 801c0b000 (LWP 100576/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
* 5 Thread 801c0b400 (LWP 100607/beam.smp)  0x00000000004e1a2e in 
erts_garbage_collect_hibernate ()
   4 Thread 801c0b800 (LWP 100610/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   3 Thread 801c0bc00 (LWP 100624/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   2 Thread 801c0c000 (LWP 100631/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3
   1 Thread 801c0c400 (LWP 100635/beam.smp)  0x000000080108c89c in 
__error () from /lib/libthr.so.3

10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:8:8] 
[async-threads:10] [kernel-poll:false]
Ejabberd 14.05

Thanks!

-- 
Wbr,

Vladimir Stafievsky



More information about the ejabberd mailing list