| Summary: | Apache-2.2 on booster segfaults when siege is run. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Raghavendra G <raghavendra> |
| Component: | quick-read | Assignee: | Raghavendra G <raghavendra> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0.6 | CC: | lakshmipathi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTNR | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Apache was running with worker mpm loaded, which means each connection is served by a thread instead of a separate process. |
Client configuration consists of quick-read on protocol/client. Backtrace is given below. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6c45b90 (LWP 6355)] 0xb747e1d1 in list_del (old=0xa883188c) at ../../../../../libglusterfs/src/list.h:60 60 old->prev->next = old->next; (gdb) bt #0 0xb747e1d1 in list_del (old=0xa883188c) at ../../../../../libglusterfs/src/list.h:60 #1 0xb7483637 in protocol_client_mark_fd_bad (this=0x80d5c80) at ../../../../../xlators/protocol/client/src/client-protocol.c:5666 #2 0xb7484896 in notify (this=0x80d5c80, event=4, data=0x810e6d0) at ../../../../../xlators/protocol/client/src/client-protocol.c:6248 #3 0xb7f61a2a in socket_event_poll_err (this=0x810e6d0) at ../../../../transport/socket/src/socket.c:420 #4 0xb7f625f4 in socket_event_handler (fd=9, idx=0, data=0x810e6d0, poll_in=1, poll_out=0, poll_err=0) at ../../../../transport/socket/src/socket.c:818 #5 0xb7d159e9 in event_dispatch_epoll_handler (event_pool=0x80d0fc8, events=0x810f448, i=0) at ../../../libglusterfs/src/event.c:804 #6 0xb7d15ba8 in event_dispatch_epoll (event_pool=0x80d0fc8) at ../../../libglusterfs/src/event.c:867 #7 0xb7d15ea2 in event_dispatch (event_pool=0x80d0fc8) at ../../../libglusterfs/src/event.c:975 #8 0xb7cd0581 in poll_proc (ptr=0x80d0ed8) at ../../../libglusterfsclient/src/libglusterfsclient.c:633 #9 0xb7e75383 in start_thread () from /lib/libpthread.so.0 #10 0xb7df605e in clone () from /lib/libc.so.6 (gdb) p *old $1 = {next = 0xbabebabe, prev = 0xcafecafe} (gdb) info thr 3 Thread 0xb7445b90 (LWP 6354) 0xb7db579c in nanosleep () from /lib/libc.so.6 * 2 Thread 0xb6c45b90 (LWP 6355) 0xb747e1d1 in list_del (old=0xa883188c) at ../../../../../libglusterfs/src/list.h:60 1 Thread 0xb7cc9980 (LWP 6353) 0xb7e7c65e in accept () from /lib/libpthread.so.0 (gdb) thr 1 [Switching to thread 1 (Thread 0xb7cc9980 (LWP 6353))]#0 0xb7e7c65e in accept () from /lib/libpthread.so.0 (gdb) bt #0 0xb7e7c65e in accept () from /lib/libpthread.so.0 #1 0xb7ee41ed in apr_socket_accept (new=0xbf921090, sock=0x8114a88, connection_context=0x81c9828) at network_io/unix/sockets.c:184 #2 0x080addb5 in unixd_accept (accepted=0xbf9210c0, lr=0x8114a68, ptrans=0x81c9828) at unixd.c:506 #3 0x080abf08 in child_main (child_num_arg=0) at prefork.c:631 #4 0x080ac066 in make_child (s=0x811b1b0, slot=0) at prefork.c:690 #5 0x080ac550 in ap_mpm_run (_pconf=0x8116578, plog=0x8154670, s=0x811b1b0) at prefork.c:966 #6 0x08064304 in main (argc=4, argv=0xbf920fdc) at main.c:740 (gdb) thr 3 [Switching to thread 3 (Thread 0xb7445b90 (LWP 6354))]#0 0xb7db579c in nanosleep () from /lib/libc.so.6 (gdb) bt #0 0xb7db579c in nanosleep () from /lib/libc.so.6 #1 0xb7def43c in usleep () from /lib/libc.so.6 #2 0xb7d04c57 in gf_timer_proc (ctx=0x80d0ed8) at ../../../libglusterfs/src/timer.c:177 #3 0xb7e75383 in start_thread () from /lib/libpthread.so.0 #4 0xb7df605e in clone () from /lib/libc.so.6 (gdb) thr 2 [Switching to thread 2 (Thread 0xb6c45b90 (LWP 6355))]#0 0xb747e1d1 in list_del (old=0xa883188c) at ../../../../../libglusterfs/src/list.h:60 60 old->prev->next = old->next; (gdb) up #1 0xb7483637 in protocol_client_mark_fd_bad (this=0x80d5c80) at ../../../../../xlators/protocol/client/src/client-protocol.c:5666 warning: Source file is more recent than executable. 5666 list_del (&fdctx->sfd_pos); (gdb) p fdctx $2 = (client_fd_ctx_t *) 0xa8831888 (gdb) p *fdctx $3 = {remote_fd = 0, sfd_pos = {next = 0xbabebabe, prev = 0xcafecafe}, fd = 0xaff136a0} (gdb) p *fdctx->fd $4 = {pid = -1346093408, flags = 1668444975, refcount = 1852402735, inode_list = {next = 0x322d7875, prev = 0x322e362e}, inode = 0x2f352e34, ctx = 0x69726373, lock = 7566448, _ctx = 0x0}