tdl icon indicating copy to clipboard operation
tdl copied to clipboard

useDefaultVerbosityLevel: false is broken

Open Exlord opened this issue 5 years ago • 7 comments

running the example https://github.com/Bannerets/tdl/blob/master/examples/send-message.js

win 10 x64 node 10 x64

client.login is never called , Process finished with exit code -1073741819 (0xC0000005)

"C:\Program Files\nodejs\node.exe" E:\www\telegram-bot-server-2\test\tdlib.js
  ref creating a reference to buffer <Buffer > +0ms
  ref allocating Buffer for type with "size" 0 +2ms
  ref setting value on allocated buffer <Buffer > +3ms
  ref set(): (offset: 0) <Buffer 00 00 00 00 00 00 00 00> <Buffer > +0ms
  ref writing pointer to buffer <Buffer 00 00 00 00 00 00 00 00> 0 <Buffer > +0ms
  ffi:ffi skipping exporting of non-existant property FFI_SYSV +0ms
  ffi:ffi skipping exporting of non-existant property FFI_UNIX64 +1ms
  ffi:ffi skipping exporting of non-existant property FFI_VFP +0ms
  ffi:ffi skipping exporting of non-existant property FFI_STDCALL +0ms
  ffi:ffi skipping exporting of non-existant property FFI_THISCALL +0ms
  ffi:ffi skipping exporting of non-existant property FFI_FASTCALL +0ms
  ffi:ffi skipping exporting of non-existant property RTLD_NOLOAD +0ms
  ffi:ffi skipping exporting of non-existant property RTLD_NODELETE +0ms
  ffi:ffi skipping exporting of non-existant property RTLD_FIRST +0ms
  ffi:ffi skipping exporting of non-existant property RTLD_SELF +0ms
  ffi:ffi skipping exporting of non-existant property RTLD_MAIN_ONLY +0ms
  ffi:ffi skipping exporting of non-existant property FFI_MS_CDECL +0ms
  ref:struct defining new struct "type" +0ms
  ref:struct defining new struct type field size +0ms
  ref:struct defining new struct type field alignment +1ms
  ref:struct additional padding to the end of struct: 6 +0ms
  ref:struct defining new struct type field type +0ms
  ref:struct additional padding to the end of struct: 4 +0ms
  ref:struct defining new struct type field elements +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9E20 > +0ms
  ffi:cif creating `ffi_cif *` instance +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ffi:types Type() CString +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +25ms
  ffi:types Type() int +0ms
  ffi:types returning `ffi_type` int +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A520 48 cf 40 55 fb 7f 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x00007FFB5540CF18 > +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +2ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9E20 > +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9F30 > +2ms
  ffi:cif creating `ffi_cif *` instance +1ms
  ffi:types Type() int +1ms
  ffi:types returning `ffi_type` int +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F6761F9EF0 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +1ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9F30 > +1ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9F80 > +1ms
  ffi:cif creating `ffi_cif *` instance +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +0ms
  ffi:types Type() CString +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A500 48 cf 40 55 fb 7f 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x00007FFB5540CF48 > +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9F80 > +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9FB0 > +0ms
  ffi:cif creating `ffi_cif *` instance +0ms
  ffi:types Type() CString +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB553E9FB0 > +0ms
  ffi:DynamicLibrary new DynamicLibrary() msvcrt.dll undefined +0ms
  ffi:_ForeignFunction invoking proxy function +2ms
  ref allocating Buffer for type with "size" 8 +2ms
  ref setting value on allocated buffer msvcrt.dll +1ms
  ref set(): (offset: 0) <Buffer@0x000001F6761FA030 00 00 00 00 00 00 00 00> msvcrt.dll +0ms
  ref writing pointer to buffer <Buffer@0x000001F6761FA030 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619A240 6d 73 76 63 72 74 2e 64 6c 6c 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F6761FA030 40 a2 19 76 f6 01 00 00> +0ms
  ref allocating Buffer for type with "size" 4 +0ms
  ref setting value on allocated buffer 0 +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6761FA050 00 00 00 00> 0 +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A300 30 a0 1f 76 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F6761FA050 00 00 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6761FA100 00 00 a0 a3 fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6761FA100 00 00 a0 a3 fb 7f 00 00> +0ms
  ffi:DynamicLibrary dlsym() _errno +1ms
  ffi:_ForeignFunction invoking proxy function +2ms
  ref allocating Buffer for type with "size" 0 +1ms
  ref setting value on allocated buffer <Buffer@0x00007FFBA3A00000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6761F9FC0 00 00 00 00 00 00 00 00> <Buffer@0x00007FFBA3A00000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F6761F9FC0 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFBA3A00000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A7A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F6761F9FC0 00 00 a0 a3 fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer _errno +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6761FA150 00 00 00 00 00 00 00 00> _errno +0ms
  ref writing pointer to buffer <Buffer@0x000001F6761FA150 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F6761FA1A0 5f 65 72 72 6e 6f 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A7A0 c0 9f 1f 76 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F6761FA150 a0 a1 1f 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6761F9EE0 a0 7d a0 a3 fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6761F9EE0 a0 7d a0 a3 fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFBA3A07DA0 > +6ms
  ffi:cif creating `ffi_cif *` instance +6ms
  ffi:types Type() int* +6ms
  ffi:types returning `ffi_type` pointer +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFBA3A07DA0 > +2ms
  tdl-tdlib-ffi constructor tdjson +0ms
  ffi:Library creating Library object for tdjson +0ms
  ffi:Library appending library extension to library name .dll +0ms
  ffi:DynamicLibrary new DynamicLibrary() tdjson.dll 0 +7ms
  ffi:_ForeignFunction invoking proxy function +4ms
  ref allocating Buffer for type with "size" 8 +6ms
  ref setting value on allocated buffer tdjson.dll +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6761FA080 00 00 00 00 00 00 00 00> tdjson.dll +0ms
  ref writing pointer to buffer <Buffer@0x000001F6761FA080 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619A8A0 74 64 6a 73 6f 6e 2e 64 6c 6c 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F6761FA080 a0 a8 19 76 f6 01 00 00> +0ms
  ref allocating Buffer for type with "size" 4 +0ms
  ref setting value on allocated buffer 0 +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6761FA090 00 00 00 00> 0 +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A380 80 a0 1f 76 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F6761FA090 00 00 00 00> +2ms
  ref dereferencing buffer <Buffer@0x000001F6761FA190 00 00 62 3b fb 7f 00 00> +5ms
  ref get(): (offset: 0) <Buffer@0x000001F6761FA190 00 00 62 3b fb 7f 00 00> +0ms
  ffi:Library defining function td_json_client_create +7ms
  ffi:DynamicLibrary dlsym() td_json_client_create +7ms
  ffi:_ForeignFunction invoking proxy function +7ms
  ref allocating Buffer for type with "size" 0 +0ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6761FA0F0 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F6761FA0F0 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AFA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F6761FA0F0 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_json_client_create +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6761FA110 00 00 00 00 00 00 00 00> td_json_client_create +0ms
  ref writing pointer to buffer <Buffer@0x000001F6761FA110 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619B120 74 64 5f 6a 73 6f 6e 5f 63 6c 69 65 6e 74 5f 63 72 65 61 74 65 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AFA0 f0 a0 1f 76 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F6761FA110 20 b1 19 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6761FA0D0 50 1a 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6761FA0D0 50 1a 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621A50 > +11ms
  ffi:cif creating `ffi_cif *` instance +11ms
  ffi:types Type() void* +11ms
  ffi:types returning `ffi_type` pointer +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621A50 > +2ms
  ffi:Library defining function td_json_client_send +2ms
  ffi:DynamicLibrary dlsym() td_json_client_send +2ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +2ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F67495CD80 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67495CD80 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AD60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67495CD80 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_json_client_send +0ms
  ref set(): (offset: 0) <Buffer@0x000001F67495CDA0 00 00 00 00 00 00 00 00> td_json_client_send +0ms
  ref writing pointer to buffer <Buffer@0x000001F67495CDA0 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619A9C0 74 64 5f 6a 73 6f 6e 5f 63 6c 69 65 6e 74 5f 73 65 6e 64 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AD60 80 cd 95 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F67495CDA0 c0 a9 19 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6761FA180 e0 1b 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6761FA180 e0 1b 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621BE0 > +2ms
  ffi:cif creating `ffi_cif *` instance +2ms
  ffi:types Type() void +2ms
  ffi:types returning `ffi_type` void +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619B060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +0ms
  ffi:types Type() CString +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619B060 48 cf 40 55 fb 7f 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x00007FFB5540CF48 > +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621BE0 > +0ms
  ffi:Library defining function td_json_client_receive +0ms
  ffi:DynamicLibrary dlsym() td_json_client_receive +0ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +0ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6748864F0 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F6748864F0 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AA80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F6748864F0 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_json_client_receive +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886370 00 00 00 00 00 00 00 00> td_json_client_receive +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886370 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619AB60 74 64 5f 6a 73 6f 6e 5f 63 6c 69 65 6e 74 5f 72 65 63 65 69 76 65 00> +2ms
  ref writing pointer to buffer <Buffer@0x000001F67619AA80 f0 64 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F674886370 60 ab 19 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F67495CDB0 b0 1b 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F67495CDB0 b0 1b 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621BB0 > +2ms
  ffi:cif creating `ffi_cif *` instance +2ms
  ffi:types Type() CString +2ms
  ffi:types returning `ffi_type` pointer +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A9E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +0ms
  ffi:types Type() double +0ms
  ffi:types returning `ffi_type` double +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619A9E0 48 cf 40 55 fb 7f 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x00007FFB5540CFF0 > +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621BB0 > +2ms
  ffi:Library defining function td_json_client_execute +2ms
  ffi:DynamicLibrary dlsym() td_json_client_execute +2ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +0ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +1ms
  ref set(): (offset: 0) <Buffer@0x000001F674886340 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886340 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AD80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F674886340 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_json_client_execute +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6748864C0 00 00 00 00 00 00 00 00> td_json_client_execute +0ms
  ref writing pointer to buffer <Buffer@0x000001F6748864C0 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619AB00 74 64 5f 6a 73 6f 6e 5f 63 6c 69 65 6e 74 5f 65 78 65 63 75 74 65 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AD80 40 63 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F6748864C0 00 ab 19 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6748865E0 60 1b 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6748865E0 60 1b 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621B60 > +1ms
  ffi:cif creating `ffi_cif *` instance +1ms
  ffi:types Type() CString +1ms
  ffi:types returning `ffi_type` pointer +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619ADA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +0ms
  ffi:types Type() CString +0ms
  ffi:types returning `ffi_type` pointer +1ms
  ref writing pointer to buffer <Buffer@0x000001F67619ADA0 48 cf 40 55 fb 7f 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x00007FFB5540CF48 > +1ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +1ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621B60 > +2ms
  ffi:Library defining function td_json_client_destroy +2ms
  ffi:DynamicLibrary dlsym() td_json_client_destroy +2ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +0ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886350 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886350 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AC60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F674886350 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_json_client_destroy +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6748863C0 00 00 00 00 00 00 00 00> td_json_client_destroy +0ms
  ref writing pointer to buffer <Buffer@0x000001F6748863C0 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619ABE0 74 64 5f 6a 73 6f 6e 5f 63 6c 69 65 6e 74 5f 64 65 73 74 72 6f 79 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AC60 50 63 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F6748863C0 e0 ab 19 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6748863E0 20 1b 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6748863E0 20 1b 62 3b fb 7f 00 00> +1ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621B20 > +2ms
  ffi:cif creating `ffi_cif *` instance +1ms
  ffi:types Type() void +1ms
  ffi:types returning `ffi_type` void +0ms
  ffi:types Type() void* +1ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F6748863B0 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +1ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +1ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621B20 > +2ms
  ffi:Library defining function td_set_log_file_path +2ms
  ffi:DynamicLibrary dlsym() td_set_log_file_path +2ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +0ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886390 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886390 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AF20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F674886390 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_set_log_file_path +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886410 00 00 00 00 00 00 00 00> td_set_log_file_path +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886410 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F67619AA20 74 64 5f 73 65 74 5f 6c 6f 67 5f 66 69 6c 65 5f 70 61 74 68 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AF20 90 63 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F674886410 20 aa 19 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F674886360 a0 1d 62 3b fb 7f 00 00> +2ms
  ref get(): (offset: 0) <Buffer@0x000001F674886360 a0 1d 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621DA0 > +3ms
  ffi:cif creating `ffi_cif *` instance +2ms
  ffi:types Type() int +2ms
  ffi:types returning `ffi_type` int +0ms
  ffi:types Type() CString +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F6748866B0 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621DA0 > +2ms
  ffi:Library defining function td_set_log_max_file_size +2ms
  ffi:DynamicLibrary dlsym() td_set_log_max_file_size +2ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +0ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886380 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886380 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AFC0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F674886380 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +1ms
  ref setting value on allocated buffer td_set_log_max_file_size +0ms
  ref set(): (offset: 0) <Buffer@0x000001F6748863A0 00 00 00 00 00 00 00 00> td_set_log_max_file_size +0ms
  ref writing pointer to buffer <Buffer@0x000001F6748863A0 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F676291160 74 64 5f 73 65 74 5f 6c 6f 67 5f 6d 61 78 5f 66 69 6c 65 5f 73 69 7a 65 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AFC0 80 63 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F6748863A0 60 11 29 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6748866C0 00 1e 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6748866C0 00 1e 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621E00 > +1ms
  ffi:cif creating `ffi_cif *` instance +1ms
  ffi:types Type() void +1ms
  ffi:types returning `ffi_type` void +0ms
  ffi:types Type() int64 +0ms
  ffi:types returning `ffi_type` int64 +0ms
  ref writing pointer to buffer <Buffer@0x000001F6748865C0 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CFA8 > +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621E00 > +1ms
  ffi:Library defining function td_set_log_verbosity_level +1ms
  ffi:DynamicLibrary dlsym() td_set_log_verbosity_level +1ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +0ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +1ms
  ref set(): (offset: 0) <Buffer@0x000001F674886440 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886440 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AEA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F674886440 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_set_log_verbosity_level +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886510 00 00 00 00 00 00 00 00> td_set_log_verbosity_level +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886510 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F676290E00 74 64 5f 73 65 74 5f 6c 6f 67 5f 76 65 72 62 6f 73 69 74 79 5f 6c 65 76 65 6c 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619AEA0 40 64 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F674886510 00 0e 29 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F674886550 10 1e 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F674886550 10 1e 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621E10 > +1ms
  ffi:cif creating `ffi_cif *` instance +1ms
  ffi:types Type() void +1ms
  ffi:types returning `ffi_type` void +0ms
  ffi:types Type() int +0ms
  ffi:types returning `ffi_type` int +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886460 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF18 > +0ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +0ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621E10 > +2ms
  ffi:Library defining function td_set_log_fatal_error_callback +2ms
  ffi:DynamicLibrary dlsym() td_set_log_fatal_error_callback +2ms
  ffi:_ForeignFunction invoking proxy function +0ms
  ref allocating Buffer for type with "size" 0 +1ms
  ref setting value on allocated buffer <Buffer@0x00007FFB3B620000 > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886430 00 00 00 00 00 00 00 00> <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886430 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB3B620000 > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619B020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F674886430 00 00 62 3b fb 7f 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer td_set_log_fatal_error_callback +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886570 00 00 00 00 00 00 00 00> td_set_log_fatal_error_callback +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886570 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F676291820 74 64 5f 73 65 74 5f 6c 6f 67 5f 66 61 74 61 6c 5f 65 72 72 6f 72 5f 63 61 6c 6c 62 61 63 6b 00> +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619B020 30 64 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F674886570 20 18 29 76 f6 01 00 00> +0ms
  ref dereferencing buffer <Buffer@0x000001F6748863D0 90 1d 62 3b fb 7f 00 00> +0ms
  ref get(): (offset: 0) <Buffer@0x000001F6748863D0 90 1d 62 3b fb 7f 00 00> +0ms
  ffi:ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621D90 > +1ms
  ffi:cif creating `ffi_cif *` instance +1ms
  ffi:types Type() void +2ms
  ffi:types returning `ffi_type` void +0ms
  ffi:types Type() void* +0ms
  ffi:types returning `ffi_type` pointer +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886590 00 00 00 00 00 00 00 00> 0 <Buffer@0x00007FFB5540CF48 > +1ms
  ffi:cif no ABI specified (this is OK), using FFI_DEFAULT_ABI +1ms
  ffi:_ForeignFunction creating new ForeignFunction <Buffer@0x00007FFB3B621D90 > +1ms
  tdl:client setLogVerbosityLevel 2 +0ms
  ffi:_ForeignFunction invoking proxy function +2ms
  ref allocating Buffer for type with "size" 0 +2ms
  ref setting value on allocated buffer null +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886480 00 00 00 00 00 00 00 00> null +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886480 00 00 00 00 00 00 00 00> 0 null +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619ADE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F674886480 00 00 00 00 00 00 00 00> +0ms
  ref allocating Buffer for type with "size" 8 +0ms
  ref setting value on allocated buffer <Buffer@0x000001F6762C1188 7b 22 40 74 79 70 65 22 3a 22 73 65 74 4c 6f 67 56 65 72 62 6f 73 69 74 79 4c 65 76 65 6c 22 2c 22 6e 65 77 5f 76 65 72 62 6f 73 69 74 79 5f 6c 65 76 ... > +0ms
  ref set(): (offset: 0) <Buffer@0x000001F674886400 00 00 00 00 00 00 00 00> <Buffer@0x000001F6762C1188 7b 22 40 74 79 70 65 22 3a 22 73 65 74 4c 6f 67 56 65 72 62 6f 73 69 74 79 4c 65 76 65 6c 22 2c 22 6e 65 77 5f 76 65 72 62 6f 73 69 74 79 5f 6c 65 76 ... > +0ms
  ref writing pointer to buffer <Buffer@0x000001F674886400 00 00 00 00 00 00 00 00> 0 <Buffer@0x000001F6762C1188 7b 22 40 74 79 70 65 22 3a 22 73 65 74 4c 6f 67 56 65 72 62 6f 73 69 74 79 4c 65 76 65 6c 22 2c 22 6e 65 77 5f 76 65 72 62 6f 73 69 74 79 5f 6c 65 76 ... > +0ms
  ref writing pointer to buffer <Buffer@0x000001F67619ADE0 80 64 88 74 f6 01 00 00 00 00 00 00 00 00 00 00> 8 <Buffer@0x000001F674886400 88 11 2c 76 f6 01 00 00> +0ms

Process finished with exit code -1073741819 (0xC0000005)

Exlord avatar Feb 04 '20 07:02 Exlord

after setting the useDefaultVerbosityLevel to true, it started to work !

But client.invoke still not working!

Exlord avatar Feb 04 '20 08:02 Exlord

Which version of TDLib do you use?

eilvelia avatar Feb 04 '20 12:02 eilvelia

Which version of TDLib do you use?

Not sure, I used https://tdlib.github.io/td/build.html?language=JavaScript to build it ... how can I know which version I have?

changelog.md says 1.6.0

Exlord avatar Feb 04 '20 12:02 Exlord

Which version of TDLib do you use?

Not sure, I used https://tdlib.github.io/td/build.html?language=JavaScript to build it ... how can I know which version I have?

changelog.md says 1.6.0

@Bannerets should I downgrade to a lower version?

Exlord avatar Feb 05 '20 06:02 Exlord

ok my bad its working now... I was tryng to call getSelf but it seems its getMe in fact !

Exlord avatar Feb 05 '20 07:02 Exlord

but useDefaultVerbosityLevel: false is still broken Process finished with exit code -1073741819 (0xC0000005)

Exlord avatar Feb 05 '20 07:02 Exlord

I checked it with TDLib v1.6.0 and can't reproduce it (I didn't test on Windows, though). Setting useDefaultVerbosityLevel to true just delays the problem.

eilvelia avatar Feb 07 '20 19:02 eilvelia