ton
ton copied to clipboard
lite-client: No such file ../sysdeps/unix/sysv/linux/waitpid.c on signal 6 (Ctrl+d)
lite-client works well on Ubuntu 18.04 LTS except when you exit by Ctrl-d
> last
[ 3][t 2][1569392738.038030148][lite-client.cpp:322][!query] last masterchain block is (-1,8000000000000000,128867):0385D4CB185007F297655FDC45CFFD284F3F070028AF2D7D6E5B38063D05FA3C:74CCE4BD04BAFCCCB10772658249822CE5C4C68C3948F27174234AEBE42D6C69
[ 3][t 1][1569392738.038192987][lite-client.cpp:283][!testnode] server time is 1569392738 (delta 0)
latest masterchain block known to server is (-1,8000000000000000,128867):0385D4CB185007F297655FDC45CFFD284F3F070028AF2D7D6E5B38063D05FA3C:74CCE4BD04BAFCCCB10772658249822C created at 1569392731 (7 seconds ago)
BLK#6 = (-1,8000000000000000,128867):0385D4CB185007F297655FDC45CFFD284F3F070028AF2D7D6E5B38063D05FA3C:74CCE4BD04BAFCCCB10772658249822CE5C4C68C3948F27174234AEBE42D6C69
[ 0][t 0][1569392772.347020149][terminal.cpp:206][!terminal io] Closed
> [pid 3386] [time 1569392772] Signal: 6
[New LWP 3387]
[New LWP 3388]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fea6b67023a in __waitpid (pid=3528, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30 ../sysdeps/unix/sysv/linux/waitpid.c: Нет такого файла или каталога.
[Current thread is 1 (Thread 0x7fea6cce6800 (LWP 3386))]
Thread 3 (Thread 0x7fea6a43b700 (LWP 3388)):
#0 0x00007fea6b66b9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56081fae2108) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
__ret = -512
oldtype = 0
err = <optimized out>
oldtype = <optimized out>
err = <optimized out>
__ret = <optimized out>
resultvar = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
...
Hi man, did you find how resolve this problem?
Seems to be a bug that it crashes if gets EOF on terminal.
As a workaround, try using Ctrl-C instead of Ctrl-D.