{"action":"created","issue":{"url":"https://api.github.com/repos/yinqiwen/ardb/issues/248","repository_url":"https://api.github.com/repos/yinqiwen/ardb","labels_url":"https://api.github.com/repos/yinqiwen/ardb/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/yinqiwen/ardb/issues/248/comments","events_url":"https://api.github.com/repos/yinqiwen/ardb/issues/248/events","html_url":"https://github.com/yinqiwen/ardb/issues/248","id":157208387,"number":248,"title":"redis crashes when I try to start it with ardb snapshot file","user":{"login":"harutyundermenjyan","id":16855630,"avatar_url":"https://avatars.githubusercontent.com/u/16855630?v=3","gravatar_id":"","url":"https://api.github.com/users/harutyundermenjyan","html_url":"https://github.com/harutyundermenjyan","followers_url":"https://api.github.com/users/harutyundermenjyan/followers","following_url":"https://api.github.com/users/harutyundermenjyan/following{/other_user}","gists_url":"https://api.github.com/users/harutyundermenjyan/gists{/gist_id}","starred_url":"https://api.github.com/users/harutyundermenjyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harutyundermenjyan/subscriptions","organizations_url":"https://api.github.com/users/harutyundermenjyan/orgs","repos_url":"https://api.github.com/users/harutyundermenjyan/repos","events_url":"https://api.github.com/users/harutyundermenjyan/events{/privacy}","received_events_url":"https://api.github.com/users/harutyundermenjyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-27T13:37:01Z","updated_at":"2016-05-28T09:46:34Z","closed_at":null,"body":"It seem we have another issue that is when I am trying to start redis with dump file which previously saved by ardb save command the redis crashes.\r\nhere my steps:\r\n1) 127.0.0.1:16379> save\r\nOK\r\n(593.33s) \r\n2) mv /var/lib/ardb/backup/redis-snapshot.1464335990 /var/lib/redis/dump.rdb\r\n3) service redis-server start     <-----> here the redis crashes\r\nPlease see the redis log file output below:\r\n[25127] 27 May 15:52:44.499 # --- CLIENT LIST OUTPUT\r\n[25127] 27 May 15:52:44.499 #\r\n[25127] 27 May 15:52:44.499 # --- REGISTERS\r\n[25127] 27 May 15:52:44.499 #\r\nRAX:0000000000000000 RBX:0000000000473684\r\nRCX:0000000000000005 RDX:0000000000000006\r\nRDI:00007f37d9c06000 RSI:000000000000003c\r\nRBP:0000000000474da5 RSP:00007ffcf56228c0\r\nR8 :00007f37d9c427e0 R9 :00007f37db195780\r\nR10:00007f37da8226a0 R11:0000000000000206\r\nR12:0000000000000405 R13:0000000000000000\r\nR14:0000000000000031 R15:00007f37d9ceb2b0\r\nRIP:000000000044202a EFL:0000000000010202\r\nCSGSFS:0000000000000033\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228cf) -> 0000000000000031\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228ce) -> 0000000000000000\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228cd) -> 00007f37d9c42480\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228cc) -> 00007f37d9c15980\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228cb) -> ffffffffffffffff\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228ca) -> 0000000000000003\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c9) -> 000000000042b50a\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c8) -> 0000000000000039\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c7) -> 00007ffcf5622980\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c6) -> 0000000000000039\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c5) -> 00000000004247c8\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c4) -> 00007f37d9c104c8\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c3) -> 000000000042ceea\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c2) -> 00007f37d9c42480\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c1) -> 0000000000000031\r\n[25127] 27 May 15:52:44.499 # (00007ffcf56228c0) -> 00007ffcf5622980\r\n[25127] 27 May 15:52:44.499 # --- FAST MEMORY TEST\r\n[25127] 27 May 15:52:44.500 # Bio thread for job type #0 terminated\r\n[25127] 27 May 15:52:44.500 # Bio thread for job type #1 terminated\r\n[25127] 27 May 15:52:45.523 # Fast memory test PASSED, however your memory can still be broken. Please run a memory test for several hours if possible.\r\n[25127] 27 May 15:52:45.523 #\r\n=== REDIS BUG REPORT END. Make sure to include from START to END. ===\r\n\r\n   Please report the crash opening an issue on github:\r\n\r\n       http://github.com/antirez/redis/issues\r\n\r\nSuspect RAM error? Use redis-server --test-memory to veryfy it.\r\n"},"comment":{"url":"https://api.github.com/repos/yinqiwen/ardb/issues/comments/222300008","html_url":"https://github.com/yinqiwen/ardb/issues/248#issuecomment-222300008","issue_url":"https://api.github.com/repos/yinqiwen/ardb/issues/248","id":222300008,"user":{"login":"harutyundermenjyan","id":16855630,"avatar_url":"https://avatars.githubusercontent.com/u/16855630?v=3","gravatar_id":"","url":"https://api.github.com/users/harutyundermenjyan","html_url":"https://github.com/harutyundermenjyan","followers_url":"https://api.github.com/users/harutyundermenjyan/followers","following_url":"https://api.github.com/users/harutyundermenjyan/following{/other_user}","gists_url":"https://api.github.com/users/harutyundermenjyan/gists{/gist_id}","starred_url":"https://api.github.com/users/harutyundermenjyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harutyundermenjyan/subscriptions","organizations_url":"https://api.github.com/users/harutyundermenjyan/orgs","repos_url":"https://api.github.com/users/harutyundermenjyan/repos","events_url":"https://api.github.com/users/harutyundermenjyan/events{/privacy}","received_events_url":"https://api.github.com/users/harutyundermenjyan/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T09:46:34Z","updated_at":"2016-05-28T09:46:34Z","body":"**here the output of redis-server 3.2.0 latest stable**\r\n31816:M 28 May 13:42:32.287 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.\r\n31816:M 28 May 13:42:32.287 # Server started, Redis version 3.2.0\r\n31816:M 28 May 13:42:32.287 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.\r\n31816:M 28 May 13:42:33.003 # Corrupt RDB detected at rdb.c:1199 (Unknown object type). Running 'redis-check-rdb dump.rdb'\r\n31816:M 28 May 13:42:33.159 # ==== Processed 2 valid opcodes (in 14643569 bytes) =============================\r\n31816:M 28 May 13:42:33.159 # ==== Error trace (ZSET: similar_images:163649337001202) ========================\r\n31816:M 28 May 13:42:33.159 # 0x00df7bc3 - Followed by invalid type\r\n31816:M 28 May 13:42:33.159 # 0x00df717a - Error for type ZSET\r\n31816:M 28 May 13:42:54.360 # ==== Skipped 33082387 bytes (resuming at 0x02d83d8d) ===========================\r\n31816:M 28 May 13:42:54.360 # ==== Processed 3 valid opcodes (in 319017 bytes) ===============================\r\n31816:M 28 May 13:42:54.360 # ==== Error trace (HASH: .38?photos:187529881000202?0.38?photo...9?H) ===========\r\n31816:M 28 May 13:42:54.360 # 0x02ddd682 - Followed by invalid type\r\n31816:M 28 May 13:42:54.360 # 0x02dd1bb6 - Error for type HASH\r\n31816:M 28 May 13:43:31.788 # ==== Skipped 57295951 bytes (resuming at 0x06476005) ===========================\r\n31816:M 28 May 13:43:31.791 # ==== Processed 3 valid opcodes (in 17351772 bytes) =============================\r\n31816:M 28 May 13:43:31.791 # ==== Error trace (HASH: .37?photos:182854630003202?0.372?phot...9?H) ===========\r\n31816:M 28 May 13:43:31.791 # 0x0750b7f9 - Followed by invalid type\r\n31816:M 28 May 13:43:31.791 # 0x07502461 - Error for type HASH\r\n31816:M 28 May 13:45:18.458 # ==== Skipped 192925559 bytes (resuming at 0x12cff3d8) ==========================\r\n31816:M 28 May 13:45:18.461 # ==== Processed 3 valid opcodes (in 18401752 bytes) =============================\r\n31816:M 28 May 13:45:18.461 # ==== Error trace (ZSET: similar_images:198756135000202) ========================\r\n31816:M 28 May 13:45:18.461 # 0x13e9de99 - Followed by invalid type\r\n31816:M 28 May 13:45:18.461 # 0x13e8bdb0 - Error for type ZSET\r\n\r\n"}}
{"actor":{"display_login":"harutyundermenjyan"}}