{"action":"created","issue":{"url":"https://api.github.com/repos/swilly22/redis-graph/issues/79","repository_url":"https://api.github.com/repos/swilly22/redis-graph","labels_url":"https://api.github.com/repos/swilly22/redis-graph/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/swilly22/redis-graph/issues/79/comments","events_url":"https://api.github.com/repos/swilly22/redis-graph/issues/79/events","html_url":"https://github.com/swilly22/redis-graph/issues/79","id":286062419,"number":79,"title":"FLUSHDB and FLUSHALL crash Redis","user":{"login":"ventodiventu","id":13646886,"avatar_url":"https://avatars0.githubusercontent.com/u/13646886?v=4","gravatar_id":"","url":"https://api.github.com/users/ventodiventu","html_url":"https://github.com/ventodiventu","followers_url":"https://api.github.com/users/ventodiventu/followers","following_url":"https://api.github.com/users/ventodiventu/following{/other_user}","gists_url":"https://api.github.com/users/ventodiventu/gists{/gist_id}","starred_url":"https://api.github.com/users/ventodiventu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ventodiventu/subscriptions","organizations_url":"https://api.github.com/users/ventodiventu/orgs","repos_url":"https://api.github.com/users/ventodiventu/repos","events_url":"https://api.github.com/users/ventodiventu/events{/privacy}","received_events_url":"https://api.github.com/users/ventodiventu/received_events","type":"User","site_admin":false},"labels":[{"id":422212366,"url":"https://api.github.com/repos/swilly22/redis-graph/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"swilly22","id":2638748,"avatar_url":"https://avatars0.githubusercontent.com/u/2638748?v=4","gravatar_id":"","url":"https://api.github.com/users/swilly22","html_url":"https://github.com/swilly22","followers_url":"https://api.github.com/users/swilly22/followers","following_url":"https://api.github.com/users/swilly22/following{/other_user}","gists_url":"https://api.github.com/users/swilly22/gists{/gist_id}","starred_url":"https://api.github.com/users/swilly22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swilly22/subscriptions","organizations_url":"https://api.github.com/users/swilly22/orgs","repos_url":"https://api.github.com/users/swilly22/repos","events_url":"https://api.github.com/users/swilly22/events{/privacy}","received_events_url":"https://api.github.com/users/swilly22/received_events","type":"User","site_admin":false},"assignees":[{"login":"swilly22","id":2638748,"avatar_url":"https://avatars0.githubusercontent.com/u/2638748?v=4","gravatar_id":"","url":"https://api.github.com/users/swilly22","html_url":"https://github.com/swilly22","followers_url":"https://api.github.com/users/swilly22/followers","following_url":"https://api.github.com/users/swilly22/following{/other_user}","gists_url":"https://api.github.com/users/swilly22/gists{/gist_id}","starred_url":"https://api.github.com/users/swilly22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swilly22/subscriptions","organizations_url":"https://api.github.com/users/swilly22/orgs","repos_url":"https://api.github.com/users/swilly22/repos","events_url":"https://api.github.com/users/swilly22/events{/privacy}","received_events_url":"https://api.github.com/users/swilly22/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-01-04T17:45:08Z","updated_at":"2018-05-03T13:01:16Z","closed_at":null,"author_association":"NONE","body":"Running FLUSHDB or FLUSHALL from the command line interface, after having inserted at least one node, makes Redis crash:\r\n```\r\nroot@localhost:~# redis-cli flushdb\r\nError: Server closed the connection\r\n```\r\n\r\nHopefully it's not just me doing something dumb, I'm fairly new with Redis. Thanks in advance!\r\n\r\nHere's the log:\r\n\r\n=== REDIS BUG REPORT START: Cut & paste starting from here ===\r\n6802:M 04 Jan 17:14:10.154 # Redis 4.0.6 crashed by signal: 11\r\n6802:M 04 Jan 17:14:10.154 # Crashed running the instuction at: 0x7fa6029ebe47\r\n6802:M 04 Jan 17:14:10.154 # Accessing address: 0x3\r\n6802:M 04 Jan 17:14:10.154 # Failed assertion: <no assertion failed> (<no file>:0)\r\n\r\n------ STACK TRACE ------\r\nEIP:\r\n/root/redisgraph.so(TrieMapNode_Free+0x7)[0x7fa6029ebe47]\r\n\r\nBacktrace:\r\n/usr/local/bin/redis-server 127.0.0.1:6379(logStackTrace+0x37)[0x5641e57e02a7]\r\n/usr/local/bin/redis-server 127.0.0.1:6379(sigsegvHandler+0xb0)[0x5641e57e09d0]\r\n/lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7fa604cdd0c0]\r\n/root/redisgraph.so(TrieMapNode_Free+0x7)[0x7fa6029ebe47]\r\n\r\n------ INFO OUTPUT ------\r\n# Server\r\nredis_version:4.0.6\r\nredis_git_sha1:00000000\r\nredis_git_dirty:0\r\nredis_build_id:1daa7ea4e8174a67\r\nredis_mode:standalone\r\nos:Linux 4.9.68-x86_64-linode89 x86_64\r\narch_bits:64\r\nmultiplexing_api:epoll\r\natomicvar_api:atomic-builtin\r\ngcc_version:6.3.0\r\nprocess_id:6802\r\nrun_id:52af6995609849f91c4ba266c36ebc7b08cf663f\r\ntcp_port:6379\r\nuptime_in_seconds:828\r\nuptime_in_days:0\r\nhz:10\r\nlru_clock:5136610\r\nexecutable:/usr/local/bin/redis-server\r\nconfig_file:/etc/redis/6379.conf\r\n\r\n# Clients\r\nconnected_clients:1\r\nclient_longest_output_list:0\r\nclient_biggest_input_buf:0\r\nblocked_clients:0\r\n\r\n# Memory\r\nused_memory:829800\r\nused_memory_human:810.35K\r\nused_memory_rss:3858432\r\nused_memory_rss_human:3.68M\r\nused_memory_peak:829800\r\nused_memory_peak_human:810.35K\r\nused_memory_peak_perc:100.12%\r\nused_memory_overhead:815542\r\nused_memory_startup:765720\r\nused_memory_dataset:14258\r\nused_memory_dataset_perc:22.25%\r\ntotal_system_memory:25279008768\r\ntotal_system_memory_human:23.54G\r\nused_memory_lua:37888\r\nused_memory_lua_human:37.00K\r\nmaxmemory:0\r\nmaxmemory_human:0B\r\nmaxmemory_policy:noeviction\r\nmem_fragmentation_ratio:4.65\r\nmem_allocator:jemalloc-4.0.3\r\nactive_defrag_running:0\r\nlazyfree_pending_objects:0\r\n\r\n# Persistence\r\nloading:0\r\nrdb_changes_since_last_save:3\r\nrdb_bgsave_in_progress:0\r\nrdb_last_save_time:1515085222\r\nrdb_last_bgsave_status:ok\r\nrdb_last_bgsave_time_sec:-1\r\nrdb_current_bgsave_time_sec:-1\r\nrdb_last_cow_size:0\r\naof_enabled:0\r\naof_rewrite_in_progress:0\r\naof_rewrite_scheduled:0\r\naof_last_rewrite_time_sec:-1\r\naof_current_rewrite_time_sec:-1\r\naof_last_bgrewrite_status:ok\r\naof_last_write_status:ok\r\naof_last_cow_size:0\r\n\r\n# Stats\r\ntotal_connections_received:2\r\ntotal_commands_processed:4\r\ninstantaneous_ops_per_sec:0\r\ntotal_net_input_bytes:470\r\ntotal_net_output_bytes:10727\r\ninstantaneous_input_kbps:0.00\r\ninstantaneous_output_kbps:0.00\r\nrejected_connections:0\r\nsync_full:0\r\nsync_partial_ok:0\r\nsync_partial_err:0\r\nexpired_keys:0\r\nevicted_keys:0\r\nkeyspace_hits:0\r\nkeyspace_misses:0\r\npubsub_channels:0\r\npubsub_patterns:0\r\nlatest_fork_usec:0\r\nmigrate_cached_sockets:0\r\nslave_expires_tracked_keys:0\r\nactive_defrag_hits:0\r\nactive_defrag_misses:0\r\nactive_defrag_key_hits:0\r\nactive_defrag_key_misses:0\r\n\r\n# Replication\r\nrole:master\r\nconnected_slaves:0\r\nmaster_replid:d6c293f2183ff760d80659a148d008e1048b0f7d\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:0\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:0\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:0\r\nrepl_backlog_histlen:0\r\n\r\n# CPU\r\nused_cpu_sys:0.48\r\nused_cpu_user:0.41\r\nused_cpu_sys_children:0.00\r\nused_cpu_user_children:0.00\r\n\r\n# Commandstats\r\ncmdstat_command:calls=1,usec=554,usec_per_call=554.00\r\ncmdstat_graph.QUERY:calls=3,usec=446,usec_per_call=148.67\r\n\r\n# Cluster\r\ncluster_enabled:0\r\n\r\n# Keyspace\r\ndb0:keys=4,expires=0,avg_ttl=0\r\n\r\n------ CLIENT LIST OUTPUT ------\r\nid=3 addr=127.0.0.1:56754 fd=7 name= age=0 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=flushdb\r\n\r\n------ CURRENT CLIENT INFO ------\r\nid=3 addr=127.0.0.1:56754 fd=7 name= age=0 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=flushdb\r\nargv[0]: 'flushdb'"},"comment":{"url":"https://api.github.com/repos/swilly22/redis-graph/issues/comments/386287397","html_url":"https://github.com/swilly22/redis-graph/issues/79#issuecomment-386287397","issue_url":"https://api.github.com/repos/swilly22/redis-graph/issues/79","id":386287397,"user":{"login":"Thomas-Gelf","id":553008,"avatar_url":"https://avatars2.githubusercontent.com/u/553008?v=4","gravatar_id":"","url":"https://api.github.com/users/Thomas-Gelf","html_url":"https://github.com/Thomas-Gelf","followers_url":"https://api.github.com/users/Thomas-Gelf/followers","following_url":"https://api.github.com/users/Thomas-Gelf/following{/other_user}","gists_url":"https://api.github.com/users/Thomas-Gelf/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas-Gelf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas-Gelf/subscriptions","organizations_url":"https://api.github.com/users/Thomas-Gelf/orgs","repos_url":"https://api.github.com/users/Thomas-Gelf/repos","events_url":"https://api.github.com/users/Thomas-Gelf/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas-Gelf/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T13:01:16Z","updated_at":"2018-05-03T13:01:16Z","author_association":"NONE","body":"Same/similar with Redis 4.0.9, redis-graph ef67d95:\r\n\r\n```\r\n------ STACK TRACE ------\r\nEIP:\r\n/workdir/data-exchange/redis-build/redisgraph.so(raxRecursiveFree+0x48)[0x7f89ea7e9b98]\r\n\r\nBacktrace:\r\n/workdir/data-exchange/redis-build/redis-server409 *:0(logStackTrace+0x45)[0x46bc95]\r\n/workdir/data-exchange/redis-build/redis-server409 *:0(sigsegvHandler+0xb9)[0x46c459]\r\n/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f89ed108390]\r\n/workdir/data-exchange/redis-build/redisgraph.so(raxRecursiveFree+0x48)[0x7f89ea7e9b98]\r\n\r\n------ INFO OUTPUT ------\r\n# Server\r\nredis_version:4.0.9\r\nredis_git_sha1:3150c672\r\nredis_git_dirty:0\r\nredis_build_id:1871db5b774193\r\nredis_mode:standalone\r\nos:Linux 4.15.0-15-generic x86_64\r\narch_bits:64\r\nmultiplexing_api:epoll\r\natomicvar_api:atomic-builtin\r\n```\r\n"}}
{"actor":{"display_login":"Thomas-Gelf"}}