{"action":"created","issue":{"url":"https://api.github.com/repos/scylladb/scylla/issues/482","repository_url":"https://api.github.com/repos/scylladb/scylla","labels_url":"https://api.github.com/repos/scylladb/scylla/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/scylladb/scylla/issues/482/comments","events_url":"https://api.github.com/repos/scylladb/scylla/issues/482/events","html_url":"https://github.com/scylladb/scylla/issues/482","id":112608355,"number":482,"title":"Commitlog (Repair related ?) SIGABRT","user":{"login":"slivne","id":3465480,"avatar_url":"https://avatars.githubusercontent.com/u/3465480?v=3","gravatar_id":"","url":"https://api.github.com/users/slivne","html_url":"https://github.com/slivne","followers_url":"https://api.github.com/users/slivne/followers","following_url":"https://api.github.com/users/slivne/following{/other_user}","gists_url":"https://api.github.com/users/slivne/gists{/gist_id}","starred_url":"https://api.github.com/users/slivne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slivne/subscriptions","organizations_url":"https://api.github.com/users/slivne/orgs","repos_url":"https://api.github.com/users/slivne/repos","events_url":"https://api.github.com/users/slivne/events{/privacy}","received_events_url":"https://api.github.com/users/slivne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scylladb/scylla/labels/bug","name":"bug","color":"eb6420"},{"url":"https://api.github.com/repos/scylladb/scylla/labels/showstopper","name":"showstopper","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"elcallio","id":7113590,"avatar_url":"https://avatars.githubusercontent.com/u/7113590?v=3","gravatar_id":"","url":"https://api.github.com/users/elcallio","html_url":"https://github.com/elcallio","followers_url":"https://api.github.com/users/elcallio/followers","following_url":"https://api.github.com/users/elcallio/following{/other_user}","gists_url":"https://api.github.com/users/elcallio/gists{/gist_id}","starred_url":"https://api.github.com/users/elcallio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elcallio/subscriptions","organizations_url":"https://api.github.com/users/elcallio/orgs","repos_url":"https://api.github.com/users/elcallio/repos","events_url":"https://api.github.com/users/elcallio/events{/privacy}","received_events_url":"https://api.github.com/users/elcallio/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/scylladb/scylla/milestones/1","html_url":"https://github.com/scylladb/scylla/milestones/GA","labels_url":"https://api.github.com/repos/scylladb/scylla/milestones/1/labels","id":1164307,"number":1,"title":"GA","description":null,"creator":{"login":"dorlaor","id":1735237,"avatar_url":"https://avatars.githubusercontent.com/u/1735237?v=3","gravatar_id":"","url":"https://api.github.com/users/dorlaor","html_url":"https://github.com/dorlaor","followers_url":"https://api.github.com/users/dorlaor/followers","following_url":"https://api.github.com/users/dorlaor/following{/other_user}","gists_url":"https://api.github.com/users/dorlaor/gists{/gist_id}","starred_url":"https://api.github.com/users/dorlaor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorlaor/subscriptions","organizations_url":"https://api.github.com/users/dorlaor/orgs","repos_url":"https://api.github.com/users/dorlaor/repos","events_url":"https://api.github.com/users/dorlaor/events{/privacy}","received_events_url":"https://api.github.com/users/dorlaor/received_events","type":"User","site_admin":false},"open_issues":129,"closed_issues":160,"state":"open","created_at":"2015-06-15T06:37:52Z","updated_at":"2016-02-17T10:00:46Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-21T14:55:06Z","updated_at":"2016-02-17T12:02:19Z","closed_at":null,"body":"Head at:\r\n\r\ncommit 5453cfbab75d7a9c968c0226020dfcda5277a028\r\nMerge: cf73413 3a95a9c\r\nAuthor: Avi Kivity <avi@scylladb.com>\r\nDate:   Wed Oct 21 08:59:42 2015 +0300\r\n\r\n    Merge \"snapshots: take + clear\" from Glauber\r\n    \r\n    \"This is the code for taking a snapshot, and clearing a snapshot.\"\r\n\r\nWhile trying to get a dtest for repair working I ran into this:\r\n\r\n```\r\nCore was generated by `/home/shlomi/.dtest/dtest-36cojx/test/node2/bin/scylla --options-file /home/shl'.\r\nProgram terminated with signal SIGABRT, Aborted.\r\n#0  0x0000003c0d0348d7 in raise () from /lib64/libc.so.6\r\nMissing separate debuginfos, use: debuginfo-install boost-filesystem-1.55.0-8.fc21.x86_64 boost-program-options-1.55.0-8.fc21.x86_64 boost-system-1.55.0-8.fc21.x86_64 boost-test-1.55.0-8.fc21.x86_64 boost-thread-1.55.0-8.fc21.x86_64 cryptopp-5.6.2-9.fc21.x86_64 glibc-2.20-8.fc21.x86_64 hwloc-libs-1.11.0-1.fc21.x86_64 jsoncpp-0.6.0-0.14.rc2.fc21.x86_64 keyutils-libs-1.5.9-4.fc21.x86_64 krb5-libs-1.12.2-17.fc21.x86_64 libaio-0.3.110-4.fc21.x86_64 libcom_err-1.42.12-4.fc21.x86_64 libgcc-4.9.2-6.fc21.x86_64 libpciaccess-0.13.3-0.3.fc21.x86_64 libselinux-2.3-10.fc21.x86_64 libstdc++-4.9.2-6.fc21.x86_64 libtool-ltdl-2.4.2-31.fc21.x86_64 libxml2-2.9.1-7.fc21.x86_64 lz4-r131-1.fc21.x86_64 numactl-libs-2.0.9-4.fc21.x86_64 openssl-libs-1.0.1k-11.fc21.x86_64 pcre-8.35-12.fc21.x86_64 snappy-1.1.1-3.fc21.x86_64 thrift-0.9.1-13.fc21.1.x86_64 xz-libs-5.1.2-14alpha.fc21.x86_64 yaml-cpp-0.5.1-4.fc21.x86_64 zlib-1.2.8-7.fc21.x86_64\r\n(gdb) where\r\n#0  0x0000003c0d0348d7 in raise () from /lib64/libc.so.6\r\n#1  0x0000003c0d03653a in abort () from /lib64/libc.so.6\r\n#2  0x0000003c0d02d47d in __assert_fail_base () from /lib64/libc.so.6\r\n#3  0x0000003c0d02d532 in __assert_fail () from /lib64/libc.so.6\r\n#4  0x0000000000acc22a in irange<unsigned long> (last=1, first=2) at /usr/include/boost/range/irange.hpp:204\r\n#5  operator() (__closure=<optimized out>) at db/commitlog/commitlog.cc:1000\r\n#6  with_gate<db::commitlog::segment_manager::on_timer()::<lambda()> > (func=<optimized out>, g=...) at /home/shlomi/scylla/seastar/core/gate.hh:100\r\n#7  db::commitlog::segment_manager::on_timer (this=0x600000225900) at db/commitlog/commitlog.cc:1003\r\n#8  0x000000000047d7a3 in std::unique_ptr<reactor::pollfn, std::default_delete<std::unique_ptr> > reactor::make_pollfn<reactor::run()::{lambda()#10}>(reactor::run()::{lambda()#10}&&)::the_pollfn::poll_and_check_more_work() () at core/reactor.cc:287\r\n#9  0x00000000004a1ee1 in poll_once (this=0x600000207000) at core/reactor.cc:1386\r\n#10 reactor::run (this=0x600000207000) at core/reactor.cc:1364\r\n#11 0x00000000004fb0e3 in app_template::run_deprecated(int, char**, std::function<void ()>&&) (this=this@entry=0x7ffcf3286aa0, ac=ac@entry=15, av=av@entry=0x7ffcf3286ce8, \r\n    func=func@entry=<unknown type in /home/shlomi/scylla/build/release/scylla, CU 0x559f8f, DIE 0x606a8c>) at core/app-template.cc:123\r\n#12 0x000000000042094b in main (ac=15, av=0x7ffcf3286ce8) at main.cc:351\r\n```\r\n\r\n\r\n```\r\nINFO  [shard 0] stream_session - [Stream #7f281874-7802-11e5-9c77-000000000000 ID#0] Prepare completed. Receiving 1 files(140721317021808 bytes), sending 1 files(140724387993264 bytes)\r\nINFO  [shard 0] stream_session - [Stream #7f2929e0-7802-11e5-9c77-000000000000 ID#0] Prepare completed. Receiving 1 files(140721317021808 bytes), sending 1 files(140724387993264 bytes)\r\nINFO  [shard 0] stream_session - [Stream #7f2929e2-7802-11e5-9c77-000000000000 ID#0] Prepare completed. Receiving 1 files(140721317021808 bytes), sending 1 files(140724387993920 bytes)\r\nscylla: /usr/include/boost/range/irange.hpp:204: boost::integer_range<Integer> boost::irange(Integer, Integer) [with Integer = long unsigned int]: Assertion `first <= last' failed.\r\n```"},"comment":{"url":"https://api.github.com/repos/scylladb/scylla/issues/comments/185172257","html_url":"https://github.com/scylladb/scylla/issues/482#issuecomment-185172257","issue_url":"https://api.github.com/repos/scylladb/scylla/issues/482","id":185172257,"user":{"login":"elcallio","id":7113590,"avatar_url":"https://avatars.githubusercontent.com/u/7113590?v=3","gravatar_id":"","url":"https://api.github.com/users/elcallio","html_url":"https://github.com/elcallio","followers_url":"https://api.github.com/users/elcallio/followers","following_url":"https://api.github.com/users/elcallio/following{/other_user}","gists_url":"https://api.github.com/users/elcallio/gists{/gist_id}","starred_url":"https://api.github.com/users/elcallio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elcallio/subscriptions","organizations_url":"https://api.github.com/users/elcallio/orgs","repos_url":"https://api.github.com/users/elcallio/repos","events_url":"https://api.github.com/users/elcallio/events{/privacy}","received_events_url":"https://api.github.com/users/elcallio/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T12:02:19Z","updated_at":"2016-02-17T12:02:19Z","body":"This is very old. The code in question has been changed since then. I am not even sure what the above was doing when the assert happened? \r\nThe assert is more or less benign, even though it should never happen. (The latter of which is the mystery). \r\nI can provide a patch to safe guard against the assert (that should never happen) just to be extra sure, but it is otoh a little treating symptom without a cause...\r\n"}}