application crashed after compiled with libev-4.15

马承珂 fatmck at
Tue Apr 16 10:11:13 CEST 2013

It runs well with libev-4.04.
I am using Scientific Linux release 6.3.
Some infomation:

[root at r210-4g-03 lib]# uname -a
Linux r210-4g-03.localdomain 2.6.32-279.19.1.el6.x86_64 #1 SMP Tue Dec 18 17:22:54 CST 2012 x86_64 x86_64 x86_64 GNU/Linux

[root at r210-4g-03 lib]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj- --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)

(gdb) bt
#0  0x0000003e6f075a35 in malloc_consolidate () from /lib64/
#1  0x0000003e6f078bb5 in _int_malloc () from /lib64/
#2  0x0000003e6f07b1ba in _int_realloc () from /lib64/
#3  0x0000003e6f07b4d5 in realloc () from /lib64/
#4  0x00007fc038da96ea in ev_realloc (ptr=<value optimized out>, size=1504) at ev.c:1441
#5  0x00007fc038dabc1c in ev_timer_start (loop=0x7fc038fb1d40, w=0x1ebba70) at ev.c:3593
#6  0x000000000041968c in svr_timer::start (this=0x1ebba68) at ../../fsi_svr_lib/svr/svr_timer.h:53
#7  0x00000000004196b2 in svr_timer::reset (this=0x1ebba68) at ../../fsi_svr_lib/svr/svr_timer.h:56
#8  0x000000000044e53e in inr_crypted_clt::on_connected (this=0x1ebb6f0) at inr_clt.cpp:465
#9  0x0000000000460292 in svr_tcp_client_on_connect (sock=0x1ebb700, result=0) at svr_tcp_client.cpp:35
#10 0x0000000000466c48 in svr_tcp_sock::_on_connect (this=0x1ebb700, events=2) at svr_tcp_sock.cpp:77
#11 0x0000000000466a08 in svr_tcp_sock_on_connect (watcher=0x1ebb748, events=2) at svr_tcp_sock.cpp:16
#12 0x00007fc038da92bd in ev_invoke_pending (loop=0x7fc038fb1d40) at ev.c:2994
#13 0x00007fc038dadad2 in ev_run (loop=0x7fc038fb1d40, flags=<value optimized out>) at ev.c:3394
#14 0x000000000045f030 in svr_common_loop () at svr_global.cpp:132
#15 0x000000000040756b in main (argc=1, argv=0x7fffbf83f6d8) at conn_svr.cpp:294 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the libev mailing list