Description:
Hello, I'm testing mysql-proxy-0.8.0 with rw-splitting.lua. It runs well when the count of select and insert is small,but every time I increase the stress with a great number of select and insert it crash soon. I got the following error log when mysql-proxy crash.
[disconnect_client] 127.0.0.1:56441
#0 0x008777a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00acb2f3 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#2 0x00f36409 in IA__g_on_error_stack_trace (prg_name=0x8a56f08 "mysql-proxy")
#3 0x0804a00b in sigsegv_handler (signum=11) at chassis.c:301
#4 <signal handler called>
#5 0x001bf934 in network_connection_pool_add (pool=0x8a5d1c0, sock=0x8ad80d8)
#6 0x001bfe11 in network_connection_pool_lua_add_connection (con=0x8ace888)
#7 0x001b7c47 in proxy_connection_set (L=0x8a93ce0)
#8 0x0046fbdc in luaD_precall (L=0x8a93ce0, func=0x8af5704, nresults=0)
#9 0x0046fd8f in luaD_call (L=0x8a93ce0, func=0x8af5704, nResults=0)
#10 0x00477e3e in callTM (L=0x8a93ce0, f=0x8a5ea74, p1=0x8af5674,
#11 0x00478067 in luaV_settable (L=0x8a93ce0, t=0x8af5674, key=0x8a8b264,
#12 0x00478b64 in luaV_execute (L=0x8a93ce0, nexeccalls=1) at lvm.c:454
#13 0x0046fda1 in luaD_call (L=0x8a93ce0, func=0x8af565c, nResults=1)
#14 0x0046c341 in f_call (L=0x8a93ce0, ud=0x0) at lapi.c:800
#15 0x0046f4ae in luaD_rawrunprotected (L=0x8a93ce0, f=0x46c32b <f_call>,
#16 0x00470011 in luaD_pcall (L=0x8a93ce0, func=0x46c32b <f_call>,
#17 0x0046c3ac in lua_pcall (L=0x8a93ce0, nargs=Variable "nargs" is not available.
#18 0x00cbdb59 in proxy_lua_disconnect_client (con=0x8ace888)
#19 0x00cbdce6 in proxy_disconnect_client (chas=0x8a562e0, con=0x8ace888)
#20 0x001b55a9 in plugin_call_cleanup (srv=0x8a562e0, con=0x8ace888)
#21 0x001b63a7 in network_mysqld_con_handle (event_fd=36, events=2,
#22 0x00dd66c9 in event_process_active (base=0x8a5d220) at event.c:387
#23 0x00dd69cf in event_base_loop (base=0x8a5d220, flags=0) at event.c:536
#24 0x00dd672f in event_base_dispatch (event_base=0x8a5d220) at event.c:407
#25 0x001398f1 in chassis_event_thread_loop (event_thread=0x8a56f18)
#26 0x00139317 in chassis_mainloop (_chas=0x8a562e0) at chassis-mainloop.c:337
#27 0x0804b13a in main_cmdline (argc=1, argv=0xbff4a9e4) at chassis.c:945
#28 0x0804b3b1 in main (argc=12, argv=0xbff4a9e4) at chassis.c:1113
I'm confuse in this error.Dose anyone meet this problem?
How to repeat:
It comes out every time when the amount of insert and selcet is great.