{"action":"opened","issue":{"url":"https://api.github.com/repos/tarantool/tarantool/issues/2682","repository_url":"https://api.github.com/repos/tarantool/tarantool","labels_url":"https://api.github.com/repos/tarantool/tarantool/issues/2682/labels{/name}","comments_url":"https://api.github.com/repos/tarantool/tarantool/issues/2682/comments","events_url":"https://api.github.com/repos/tarantool/tarantool/issues/2682/events","html_url":"https://github.com/tarantool/tarantool/issues/2682","id":249893985,"number":2682,"title":"Segmentation fault with replication and on_replace triggers","user":{"login":"pgulutzan","id":5668310,"avatar_url":"https://avatars1.githubusercontent.com/u/5668310?v=4","gravatar_id":"","url":"https://api.github.com/users/pgulutzan","html_url":"https://github.com/pgulutzan","followers_url":"https://api.github.com/users/pgulutzan/followers","following_url":"https://api.github.com/users/pgulutzan/following{/other_user}","gists_url":"https://api.github.com/users/pgulutzan/gists{/gist_id}","starred_url":"https://api.github.com/users/pgulutzan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgulutzan/subscriptions","organizations_url":"https://api.github.com/users/pgulutzan/orgs","repos_url":"https://api.github.com/users/pgulutzan/repos","events_url":"https://api.github.com/users/pgulutzan/events{/privacy}","received_events_url":"https://api.github.com/users/pgulutzan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-13T19:34:46Z","updated_at":"2017-08-13T19:34:46Z","closed_at":null,"body":"I have Ubuntu 14.04 and Tarantool 1.7 pulled from source today.\r\n\r\nI start two shells.\r\nShell#1 is on empty directory 'tarantool_sandbox_1'.\r\nShell#2 is on empty directory 'tarantool_sandbox_2'.\r\n\r\nOn Shell#1:\r\nbox.cfg{listen=3301}\r\nbox.schema.user.grant('guest','read,write,execute','universe')\r\nbox.schema.space.create('T')\r\nbox.space.T:create_index('T_I')\r\nbox.schema.space.create('T2')\r\nbox.space.T2:create_index('T2_I',{parts={1,'string'}})\r\nfunction f() print(box.session.type()) end\r\nbox.space.T:on_replace(f)\r\n\r\nOn Shell#2:\r\nbox.cfg{listen=3302,replication={3301}}\r\nfunction f() box.space.T2:insert{box.session.type()} end\r\nbox.space.T:on_replace(f)\r\n\r\nOn Shell#1:\r\nbox.cfg{replication='localhost:3302'}\r\nbox.space.T:insert{1}\r\n\r\nThis is the result that I see on Shell#2:\r\n\"\r\ntarantool> 2017-08-13 13:22:31.512 [12932] wal/101/main F> LSN for 0 is used twice or COMMIT order is broken: confirmed: 0, new: 0\r\nSegmentation fault (core dumped)\r\n\"\r\n"}}
{"actor":{"display_login":"pgulutzan"}}