Open zaharinea opened 6 years ago
When using tarantool-gis:
luarocks install https://raw.githubusercontent.com/tarantool/gis/master/rockspecs/gis-scm-1.rockspec gis = require('gis') gis.install() gis = require('gis') wgs84 = 4326 -- WGS84 World-wide Projection (Lon/Lat) gis.Polygon({{ {37.884120, 55.613116 }, {37.899055, 55.612244 }, {37.899398, 55.606184 }, {37.878627, 55.604972 }, }}, wgs84) --- - error: '/usr/share/tarantool/gis/ST.lua:58: IllegalArgumentException: Points of LinearRing do not form a closed linestring' ...
Jul 11 09:13:08 localhost tarantoolctl: Segmentation fault Jul 11 09:13:08 localhost tarantoolctl: code: SEGV_MAPERR Jul 11 09:13:08 localhost tarantoolctl: addr: 0x21 Jul 11 09:13:08 localhost tarantoolctl: context: 0x7fa471e3f0c0 Jul 11 09:13:08 localhost tarantoolctl: siginfo: 0x7fa471e3f1f0 Jul 11 09:13:08 localhost tarantoolctl: rax 0x19d5e30 27090480 Jul 11 09:13:08 localhost tarantoolctl: rbx 0x19eb950 27179344 Jul 11 09:13:08 localhost tarantoolctl: rcx 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: rdx 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: rsi 0x19c53c0 27022272 Jul 11 09:13:08 localhost tarantoolctl: rdi 0x19c53c0 27022272 Jul 11 09:13:08 localhost tarantoolctl: rsp 0x7fa471e3f648 140344262129224 Jul 11 09:13:08 localhost tarantoolctl: rbp 0x7fa471e3f670 140344262129264 Jul 11 09:13:08 localhost tarantoolctl: r8 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: r9 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: r10 0x200 512 Jul 11 09:13:08 localhost tarantoolctl: r11 0x41116738 1091659576 Jul 11 09:13:08 localhost tarantoolctl: r12 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: r13 0x2 2 Jul 11 09:13:08 localhost tarantoolctl: r14 0x415131c8 1095840200 Jul 11 09:13:08 localhost tarantoolctl: r15 0x41116738 1091659576 Jul 11 09:13:08 localhost tarantoolctl: rip 0x21 33 Jul 11 09:13:08 localhost tarantoolctl: eflags 0x10206 66054 Jul 11 09:13:08 localhost tarantoolctl: cs 0x33 51 Jul 11 09:13:08 localhost tarantoolctl: gs 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: fs 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: cr2 0x21 33 Jul 11 09:13:08 localhost tarantoolctl: err 0x14 20 Jul 11 09:13:08 localhost tarantoolctl: oldmask 0x0 0 Jul 11 09:13:08 localhost tarantoolctl: trapno 0xe 14 Jul 11 09:13:08 localhost tarantoolctl: Current time: 1531300388 Jul 11 09:13:08 localhost tarantoolctl: Please file a bug at http://github.com/tarantool/tarantool/issues Jul 11 09:13:08 localhost tarantoolctl: Attempting backtrace... Note: since the server has already crashed, Jul 11 09:13:08 localhost tarantoolctl: this may fail as well Jul 11 09:13:08 localhost tarantoolctl: #0 0x4df359 in print_backtrace+9 Jul 11 09:13:08 localhost tarantoolctl: #1 0x40f027 in _ZL12sig_fatal_cbiP9siginfo_tPv+c7 Jul 11 09:13:08 localhost tarantoolctl: #2 0x7fa47e5db130 in _L_unlock_13+34 Jul 11 09:13:08 localhost tarantoolctl: #3 0x21 in +34 Jul 11 09:13:08 localhost tarantoolctl: #4 0x539eff in lj_ccall_func+3bf Jul 11 09:13:08 localhost tarantoolctl: #5 0x54e3f6 in lj_cf_ffi_meta___call+36 Jul 11 09:13:08 localhost tarantoolctl: #6 0x4f4ca7 in lj_BC_FUNCC+34 Jul 11 09:13:08 localhost tarantoolctl: #7 0x4f6db1 in gc_call_finalizer+71 Jul 11 09:13:08 localhost tarantoolctl: #8 0x4f6f13 in gc_finalize+133 Jul 11 09:13:08 localhost tarantoolctl: #9 0x4f7947 in gc_onestep+97 Jul 11 09:13:08 localhost tarantoolctl: #10 0x4f8024 in lj_gc_step+54 Jul 11 09:13:08 localhost tarantoolctl: #11 0x535d1c in lj_trace_exit+2fc Jul 11 09:13:08 localhost tarantoolctl: #12 0x4f6853 in lj_vm_exit_handler+e1 Jul 11 09:13:08 localhost tarantoolctl: #13 0x7fa452128f44 in +e1 Jul 11 09:13:08 localhost tarantoolctl: config table: 0x417ccac0 loading config /etc/xxx/conf-3301.lua Jul 11 09:13:08 localhost systemd: tarantool@xxx-3301.service: main process exited, code=killed, status=6/ABRT Jul 11 09:13:08 localhost tarantoolctl: Stopping instance xxx-3301... Jul 11 09:13:08 localhost tarantoolctl: Can't kill process 20600: No such process Jul 11 09:13:08 localhost systemd: tarantool@xxx-3301.service: control process exited, code=exited status=1 Jul 11 09:13:08 localhost systemd: Unit tarantool@xxx-3301.service entered failed state. Jul 11 09:13:09 localhost systemd: tarantool@xxx-3301.service holdoff time over, scheduling restart. Jul 11 09:13:09 localhost systemd: Stopping Tarantool Database Server... Jul 11 09:13:09 localhost systemd: Starting Tarantool Database Server... Jul 11 09:13:09 localhost tarantoolctl: Starting instance xxx-3301...
CentOS Linux release 7.1.1503 (Core) tarantool 1.7.6.24-1.el7.centos tarantool-gis.x86_64 0.1.16-1.el7.centos geos.x86_64 3.4.2-2.el7 geos-devel 3.4.2-2.el7 proj.x86_64 4.8.0-4.el7 proj-devel 4.8.0-4.el7
probably fixed by https://github.com/tarantool/gis/pull/19
When using tarantool-gis:
/var/log/messages
Version
CentOS Linux release 7.1.1503 (Core) tarantool 1.7.6.24-1.el7.centos tarantool-gis.x86_64 0.1.16-1.el7.centos geos.x86_64 3.4.2-2.el7 geos-devel 3.4.2-2.el7 proj.x86_64 4.8.0-4.el7 proj-devel 4.8.0-4.el7