Comment #2 on issue 403 by arne.cl...@gmail.com: Memcached 1.4.23 crashes
on stats command
https://code.google.com/p/memcached/issues/detail?id=403
Built with ./configure -O0 -g
FreeBSD 10.1-RELEASE-p9 #0
Memcached 1.4.23
libevent2-2.0.22_1
GDB output
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 801806800 (LWP 100454/memcached)]
0x0000000800854631 in pthread_mutex_destroy () from /lib/libthr.so.3
(gdb) bt
#0 0x0000000800854631 in pthread_mutex_destroy () from /lib/libthr.so.3
#1 0x0000000000418aef in item_stats_totals (add_stats=0x40e5a0
<append_stats>, c=0x80195a200) at items.c:506
#2 0x00000000004145a6 in get_stats (stat_type=0x0, nkey=0,
add_stats=0x40e5a0 <append_stats>, c=0x80195a200) at slabs.c:309
#3 0x0000000000412026 in process_stat (c=0x80195a200,
tokens=0x7fffffbfdbc0, ntokens=2) at memcached.c:2808
#4 0x00000000004100a8 in process_command (c=0x80195a200,
command=0x801967800 "stats") at memcached.c:3491
#5 0x0000000000409c95 in try_read_command (c=0x80195a200) at
memcached.c:3796
#6 0x00000000004086a8 in drive_machine (c=0x80195a200) at memcached.c:4141
#7 0x000000000040380e in event_handler (fd=26, which=2, arg=0x80195a200)
at memcached.c:4386
#8 0x0000000800c7b3be in event_base_loop () from
/usr/local/lib/libevent-2.0.so.5
#9 0x000000000041edcb in worker_libevent (arg=0x801924000) at thread.c:379
#10 0x000000080084e4f5 in pthread_create () from /lib/libthr.so.3
#11 0x0000000000000000 in ?? ()
(gdb) info threads
6 Thread 801806400 (LWP 100441/memcached) 0x0000000800fd204a in kevent
() from /lib/libc.so.7
* 5 Thread 801806800 (LWP 100454/memcached) 0x0000000800854631 in
pthread_mutex_destroy () from /lib/libthr.so.3
4 Thread 801806c00 (LWP 100455/memcached) 0x0000000800fd204a in kevent
() from /lib/libc.so.7
3 Thread 801807000 (LWP 100456/memcached) 0x0000000800fd204a in kevent
() from /lib/libc.so.7
2 Thread 801807400 (LWP 100457/memcached) 0x0000000800fd204a in kevent
() from /lib/libc.so.7
1 Thread 801807800 (LWP 100458/memcached) 0x00000008008598cc in __error
() from /lib/libthr.so.3
(gdb) thread 1
[Switching to thread 1 (Thread 801807800 (LWP 100458/memcached))]#0
0x00000008008598cc in __error () from /lib/libthr.so.3
(gdb) bt
#0 0x00000008008598cc in __error () from /lib/libthr.so.3
#1 0x0000000800857d8e in _pthread_cond_wait () from /lib/libthr.so.3
#2 0x000000000041cd2d in assoc_maintenance_thread (arg=0x0) at assoc.c:261
#3 0x000000080084e4f5 in pthread_create () from /lib/libthr.so.3
#4 0x0000000000000000 in ?? ()
(gdb) thread 6
[Switching to thread 6 (Thread 801806400 (LWP 100441/memcached))]#0
0x0000000800fd204a in kevent () from /lib/libc.so.7
(gdb) bt
#0 0x0000000800fd204a in kevent () from /lib/libc.so.7
#1 0x0000000800c8de58 in evutil_secure_rng_add_bytes () from
/usr/local/lib/libevent-2.0.so.5
#2 0x0000000800c7afa3 in event_base_loop () from
/usr/local/lib/libevent-2.0.so.5
#3 0x00000000004067e9 in main (argc=2, argv=0x7fffffffeba0) at
memcached.c:5724
(gdb)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.