On Jul 13, 6:46 pm, "steve.yen" <
steve....@gmail.com> wrote:
> Hi, you've found two things...
>
> One is a bug -- moxi should stop (or at least backoff) if it sees a
> bad config file. I've entered this into the internal bug tracking
> system.
>
> Another is your config is wrong, and is missing the vBucketMap
> section...
>
> 11311 = {
> "hashAlgorithm": "CRC",
> "numReplicas": 0,
> "serverList": ["localhost:11211"],
> "vBucketMap":
> [
> [0],
> [0]
> ]
>
> }
>
> Actually, this brings up an important clarifying question: are you
> trying to use moxi to proxy to a membase server or to memcached
> server?
Regular memcached server for now. We need to decrease the number of
established connections to memcached servers. I have plans to try out
also membase, but not right now.
Yeah, I noticed that too. I got it to work with:
11311 = {
"hashAlgorithm": "CRC",
"numReplicas": 0,
"serverList":
["
127.0.0.1:11214","
127.0.0.1:11213","
127.0.0.1:11212","
127.0.0.1:11211"],
"vBucketMap":
[
[0]
]
}
With that config, moxi works fine if launching with the config file:
$ ./moxi -vvv -z /var/www/pools/default/bucketsStreaming/default
I have a testing php client that attacks the moxi proxi, and it works.
Even more, I managed to configure it so the hash is compatible with
the current hash php used.
But again, when run in REST mode, the config is requested hundreds of
times per second, and moxi crashes when I run the same testing php
client against it. The config to fetch from REST is different from the
file format?
$ ./moxi -vvv -z auth=,url=
http://localhost:80/pools/default/
bucketsStreaming/default,#@ -p 11311
slab class 1: chunk size 96 perslab 10922
slab class 2: chunk size 120 perslab 8738
slab class 3: chunk size 152 perslab 6898
slab class 4: chunk size 192 perslab 5461
slab class 5: chunk size 240 perslab 4369
slab class 6: chunk size 304 perslab 3449
slab class 7: chunk size 384 perslab 2730
slab class 8: chunk size 480 perslab 2184
slab class 9: chunk size 600 perslab 1747
slab class 10: chunk size 752 perslab 1394
slab class 11: chunk size 944 perslab 1110
slab class 12: chunk size 1184 perslab 885
slab class 13: chunk size 1480 perslab 708
slab class 14: chunk size 1856 perslab 564
slab class 15: chunk size 2320 perslab 451
slab class 16: chunk size 2904 perslab 361
slab class 17: chunk size 3632 perslab 288
slab class 18: chunk size 4544 perslab 230
slab class 19: chunk size 5680 perslab 184
slab class 20: chunk size 7104 perslab 147
slab class 21: chunk size 8880 perslab 118
slab class 22: chunk size 11104 perslab 94
slab class 23: chunk size 13880 perslab 75
slab class 24: chunk size 17352 perslab 60
slab class 25: chunk size 21696 perslab 48
slab class 26: chunk size 27120 perslab 38
slab class 27: chunk size 33904 perslab 30
slab class 28: chunk size 42384 perslab 24
slab class 29: chunk size 52984 perslab 19
slab class 30: chunk size 66232 perslab 15
slab class 31: chunk size 82792 perslab 12
slab class 32: chunk size 103496 perslab 10
slab class 33: chunk size 129376 perslab 8
slab class 34: chunk size 161720 perslab 6
slab class 35: chunk size 202152 perslab 5
slab class 36: chunk size 252696 perslab 4
slab class 37: chunk size 315872 perslab 3
slab class 38: chunk size 394840 perslab 2
slab class 39: chunk size 493552 perslab 2
worker_libevent thread_id 140693837612816
worker_libevent thread_id 140693854398224
worker_libevent thread_id 140693862790928
worker_libevent thread_id 140693846005520
<38 server listening (auto-negotiate)
<38 initialized conn_funcs to default
<39 server listening (auto-negotiate)
<39 initialized conn_funcs to default
cproxy_init jid: host:
http://localhost:80/pools/default/bucketsStreaming/default
dbpath: /usr/local/var/lib/moxi/conflate-default.cfg
cproxy_init_agent_start
cproxy_init done
38: drive_machine conn_listening
<41 new auto-negotiating client connection
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
41: Client using the ascii protocol
<41 set test_moxi_0 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_0
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_1 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_1
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_2 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_2
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_3 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_3
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_4 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_4
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_5 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_5e 0 5
moxi5
efault
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_6 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_6
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_7 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_7e 0 5
moxi7
efault
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_8 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_8: 0 5
moxi8
Host: l�
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_9 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_9: 0 5
moxi9
Host: l�
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_0
Segmentation fault
bisho@pluma:/tmp/membase-server-ubuntu-1.6.0beta1/bin/moxi$ ./moxi -
slab class 3: chunk size 152 perslab 6898
slab class 4: chunk size 192 perslab 5461
slab class 5: chunk size 240 perslab 4369
slab class 6: chunk size 304 perslab 3449
slab class 7: chunk size 384 perslab 2730
slab class 8: chunk size 480 perslab 2184
slab class 9: chunk size 600 perslab 1747
slab class 10: chunk size 752 perslab 1394
slab class 11: chunk size 944 perslab 1110
slab class 12: chunk size 1184 perslab 885
slab class 13: chunk size 1480 perslab 708
slab class 14: chunk size 1856 perslab 564
slab class 15: chunk size 2320 perslab 451
slab class 16: chunk size 2904 perslab 361
slab class 17: chunk size 3632 perslab 288
slab class 18: chunk size 4544 perslab 230
slab class 19: chunk size 5680 perslab 184
slab class 20: chunk size 7104 perslab 147
slab class 21: chunk size 8880 perslab 118
slab class 22: chunk size 11104 perslab 94
slab class 23: chunk size 13880 perslab 75
slab class 24: chunk size 17352 perslab 60
slab class 25: chunk size 21696 perslab 48
slab class 26: chunk size 27120 perslab 38
slab class 27: chunk size 33904 perslab 30
slab class 28: chunk size 42384 perslab 24
slab class 29: chunk size 52984 perslab 19
slab class 30: chunk size 66232 perslab 15
slab class 31: chunk size 82792 perslab 12
slab class 32: chunk size 103496 perslab 10
slab class 33: chunk size 129376 perslab 8
slab class 34: chunk size 161720 perslab 6
slab class 35: chunk size 202152 perslab 5
slab class 36: chunk size 252696 perslab 4
slab class 37: chunk size 315872 perslab 3
slab class 38: chunk size 394840 perslab 2
slab class 39: chunk size 493552 perslab 2
worker_libevent thread_id 140671905761040
worker_libevent thread_id 140671922546448
worker_libevent thread_id 140671897368336
worker_libevent thread_id 140671914153744
<38 server listening (auto-negotiate)
<38 initialized conn_funcs to default
<39 server listening (auto-negotiate)
<39 initialized conn_funcs to default
cproxy_init jid: host:
http://localhost:80/pools/default/bucketsStreaming/default
dbpath: /usr/local/var/lib/moxi/conflate-default.cfg
cproxy_init_agent_start
cproxy_init done
38: drive_machine conn_listening
<41 new auto-negotiating client connection
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
41: Client using the ascii protocol
<41 set test_moxi_0 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_0
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_1 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_1
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_2 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_2
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_3 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_3
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_4 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_4
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_5 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_5
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_6 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_6
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_7 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_7
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_8 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_8
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 set test_moxi_9 0 0 5
41: going from conn_parse_cmd to conn_nread
41: drive_machine conn_nread
41: drive_machine conn_nread
> NOT FOUND test_moxi_9
>41 STORED
41: going from conn_nread to conn_write
41: drive_machine conn_write
41: drive_machine conn_write
41: going from conn_write to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_0
> NOT FOUND test_moxi_0
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_1
> NOT FOUND test_moxi_1
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_2
> NOT FOUND test_moxi_2
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_3
> NOT FOUND test_moxi_3
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_4
> NOT FOUND test_moxi_4
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_5
> NOT FOUND test_moxi_5
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_6
> NOT FOUND test_moxi_6
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_7
> NOT FOUND test_moxi_7
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_8
> NOT FOUND test_moxi_8
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
41: going from conn_mwrite to conn_new_cmd
41: drive_machine conn_new_cmd
41: going from conn_new_cmd to conn_waiting
41: drive_machine conn_waiting
41: going from conn_waiting to conn_read
41: drive_machine conn_read
41: going from conn_read to conn_parse_cmd
41: drive_machine conn_parse_cmd
<41 get test_moxi_9
> FOUND KEY test_moxi_9
>41 sending key test_moxi_9
>41 END
41: going from conn_parse_cmd to conn_mwrite
41: drive_machine conn_mwrite
41: drive_machine conn_mwrite
*** glibc detected *** ./moxi: double free or corruption (fasttop):
0x0000000000b01280 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7ff0bc20e5b6]
/lib/libc.so.6(cfree+0x73)[0x7ff0bc214e53]
./moxi[0x415713]
./moxi[0x415b6f]
./moxi[0x4178bd]
./moxi[0x4110d1]
./moxi[0x41143e]
./moxi[0x46bb14]
./moxi[0x4174b0]
/lib/libpthread.so.0(+0x69ca)[0x7ff0bcdde9ca]
/lib/libc.so.6(clone+0x6d)[0x7ff0bc27d6fd]
======= Memory map: ========
00400000-004a6000 r-xp 00000000 08:02
45769759 /tmp/membase-server-
ubuntu-1.6.0beta1/bin/moxi/moxi
006a5000-006a7000 r--p 000a5000 08:02
45769759 /tmp/membase-server-
ubuntu-1.6.0beta1/bin/moxi/moxi
006a7000-006aa000 rw-p 000a7000 08:02
45769759 /tmp/membase-server-
ubuntu-1.6.0beta1/bin/moxi/moxi
006aa000-006b0000 rw-p 00000000 00:00 0
00af1000-023f4000 rw-p 00000000 00:00
0 [heap]
7ff0b4000000-7ff0b4021000 rw-p 00000000 00:00 0
7ff0b4021000-7ff0b8000000 ---p 00000000 00:00 0
7ff0b8368000-7ff0b837e000 r-xp 00000000 08:02
16778428 /lib/libgcc_s.so.1
7ff0b837e000-7ff0b857d000 ---p 00016000 08:02
16778428 /lib/libgcc_s.so.1
7ff0b857d000-7ff0b857e000 r--p 00015000 08:02
16778428 /lib/libgcc_s.so.1
7ff0b857e000-7ff0b857f000 rw-p 00016000 08:02
16778428 /lib/libgcc_s.so.1
7ff0b857f000-7ff0b858b000 r-xp 00000000 08:02
17820950 /lib/
libnss_files-2.11.1.so
7ff0b858b000-7ff0b878a000 ---p 0000c000 08:02
17820950 /lib/
libnss_files-2.11.1.so
7ff0b878a000-7ff0b878b000 r--p 0000b000 08:02
17820950 /lib/
libnss_files-2.11.1.so
7ff0b878b000-7ff0b878c000 rw-p 0000c000 08:02
17820950 /lib/
libnss_files-2.11.1.so
7ff0b878c000-7ff0b878d000 ---p 00000000 00:00 0
7ff0b878d000-7ff0b8f8d000 rw-p 00000000 00:00 0
7ff0b8f8d000-7ff0b8f8e000 ---p 00000000 00:00 0
7ff0b8f8e000-7ff0b978e000 rw-p 00000000 00:00 0
7ff0b978e000-7ff0b978f000 ---p 00000000 00:00 0
7ff0b978f000-7ff0b9f8f000 rw-p 00000000 00:00 0
7ff0b9f8f000-7ff0b9f90000 ---p 00000000 00:00 0
7ff0b9f90000-7ff0ba790000 rw-p 00000000 00:00 0
7ff0ba790000-7ff0ba791000 ---p 00000000 00:00 0
7ff0ba791000-7ff0baf91000 rw-p 00000000 00:00 0
7ff0baf91000-7ff0baf92000 ---p 00000000 00:00 0
7ff0baf92000-7ff0bb792000 rw-p 00000000 00:00 0
7ff0bb792000-7ff0bb793000 ---p 00000000 00:00 0
7ff0bb793000-7ff0bbf93000 rw-p 00000000 00:00 0
7ff0bbf93000-7ff0bbf95000 r-xp 00000000 08:02
16780139 /lib/
libdl-2.11.1.so
7ff0bbf95000-7ff0bc195000 ---p 00002000 08:02
16780139 /lib/
libdl-2.11.1.so
7ff0bc195000-7ff0bc196000 r--p 00002000 08:02
16780139 /lib/
libdl-2.11.1.so
7ff0bc196000-7ff0bc197000 rw-p 00003000 08:02
16780139 /lib/
libdl-2.11.1.so
7ff0bc197000-7ff0bc311000 r-xp 00000000 08:02
16780136 /lib/
libc-2.11.1.so
7ff0bc311000-7ff0bc510000 ---p 0017a000 08:02
16780136 /lib/
libc-2.11.1.so
7ff0bc510000-7ff0bc514000 r--p 00179000 08:02
16780136 /lib/
libc-2.11.1.so
7ff0bc514000-7ff0bc515000 rw-p 0017d000 08:02
16780136 /lib/
libc-2.11.1.so
7ff0bc515000-7ff0bc51a000 rw-p 00000000 00:00 0
7ff0bc51a000-7ff0bc59c000 r-xp 00000000 08:02
17820945 /lib/
libm-2.11.1.so
7ff0bc59c000-7ff0bc79b000 ---p 00082000 08:02
17820945 /lib/
libm-2.11.1.so
7ff0bc79b000-7ff0bc79c000 r--p 00081000 08:02
17820945 /lib/
libm-2.11.1.so
7ff0bc79c000-7ff0bc79d000 rw-p 00082000 08:02
17820945 /lib/
libm-2.11.1.so
7ff0bc79d000-7ff0bc7b3000 r-xp 00000000 08:02
17820956 /lib/
libresolv-2.11.1.so
7ff0bc7b3000-7ff0bc9b2000 ---p 00016000 08:02
17820956 /lib/
libresolv-2.11.1.so
7ff0bc9b2000-7ff0bc9b3000 r--p 00015000 08:02
17820956 /lib/
libresolv-2.11.1.so
7ff0bc9b3000-7ff0bc9b4000 rw-p 00016000 08:02
17820956 /lib/
libresolv-2.11.1.so
7ff0bc9b4000-7ff0bc9b6000 rw-p 00000000 00:00 0
7ff0bc9b6000-7ff0bc9bd000 r-xp 00000000 08:02
17820957 /lib/
librt-2.11.1.so
7ff0bc9bd000-7ff0bcbbc000 ---p 00007000 08:02
17820957 /lib/
librt-2.11.1.so
7ff0bcbbc000-7ff0bcbbd000 r--p 00006000 08:02
17820957 /lib/
librt-2.11.1.so
7ff0bcbbd000-7ff0bcbbe000 rw-p 00007000 08:02
17820957 /lib/
librt-2.11.1.so
7ff0bcbbe000-7ff0bcbd5000 r-xp 00000000 08:02
17820947 /lib/
libnsl-2.11.1.so
7ff0bcbd5000-7ff0bcdd4000 ---p 00017000 08:02
17820947 /lib/
libnsl-2.11.1.so
7ff0bcdd4000-7ff0bcdd5000 r--p 00016000 08:02
17820947 /lib/
libnsl-2.11.1.so
7ff0bcdd5000-7ff0bcdd6000 rw-p 00017000 08:02
17820947 /lib/
libnsl-2.11.1.so
7ff0bcdd6000-7ff0bcdd8000 rw-p 00000000 00:00 0
7ff0bcdd8000-7ff0bcdf0000 r-xp 00000000 08:02
17820955 /lib/
libpthread-2.11.1.so
7ff0bcdf0000-7ff0bcfef000 ---p 00018000 08:02
17820955 /lib/
libpthread-2.11.1.so
7ff0bcfef000-7ff0bcff0000 r--p 00017000 08:02
17820955 /lib/
libpthread-2.11.1.so
7ff0bcff0000-7ff0bcff1000 rw-p 00018000 08:02
17820955 /lib/
libpthread-2.11.1.so
7ff0bcff1000-7ff0bcff5000 rw-p 00000000 00:00 0
7ff0bcff5000-7ff0bd00b000 r-xp 00000000 08:02
16778576 /lib/libz.so.1.2.3.3
7ff0bd00b000-7ff0bd20a000 ---p 00016000 08:02
16778576 /lib/libz.so.1.2.3.3
7ff0bd20a000-7ff0bd20b000 r--p 00015000 08:02
16778576 /lib/libz.so.1.2.3.3
7ff0bd20b000-7ff0bd20c000 rw-p 00016000 08:02
16778576 /lib/libz.so.1.2.3.3
7ff0bd20c000-7ff0bd374000 r-xp 00000000 08:02
16778404 /lib/libcrypto.so.0.9.8
7ff0bd374000-7ff0bd573000 ---p 00168000 08:02
16778404 /lib/libcrypto.so.0.9.8
7ff0bd573000-7ff0bd580000 r--p 00167000 08:02
16778404 /lib/libcrypto.so.0.9.8
7ff0bd580000-7ff0bd598000 rw-p 00174000 08:02
16778404 /lib/libcrypto.so.0.9.8
7ff0bd598000-7ff0bd59c000 rw-p 00000000 00:00 0
7ff0bd59c000-7ff0bd5e6000 r-xp 00000000 08:02
16778549 /lib/libssl.so.0.9.8
7ff0bd5e6000-7ff0bd7e5000 ---p 0004a000 08:02
16778549 /lib/libssl.so.0.9.8
7ff0bd7e5000-7ff0bd7e7000 r--p 00049000 08:02
16778549 /lib/libssl.so.0.9.8
7ff0bd7e7000-7ff0bd7ec000 rw-p 0004b000 08:02
16778549 /lib/libssl.so.0.9.8
7ff0bd7ec000-7ff0bd80c000 r-xp 00000000 08:02
17820930 /lib/
ld-2.11.1.so
7ff0bd964000-7ff0bd9eb000 rw-p 00000000 00:00 0
7ff0bda09000-7ff0bda0c000 rw-p 00000000 00:00 0 Aborted