Closed Wenzel closed 6 years ago
Can you share valgrind or asan output?
On 10 Apr 2018, at 10:21, Mathieu Tarral notifications@github.com wrote:
Hi,
I tried to create an IO plugin in Python, using the example provided at radare2-bindings/libr/lang/p/test-py-io.py.
However, the example segfaults:
$ r2 -I test-py-io.py pyio://3 Registering Python IO plugin... True python-check pyio://3 MyPyIO Opening pyio://3 [3] 14147 segmentation fault (core dumped) r2 -I test-py-io.py pyio://3 A little debugging:
Reading symbols from r2...done. (gdb) run -I test-py-io.py pyio://3 Starting program: /usr/bin/r2 -I test-py-io.py pyio://3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Registering Python IO plugin... True python-check pyio://3 MyPyIO Opening pyio://3
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5b25fe1 in r_io_is_listener (io=0x55555583c680) at io.c:620 620 if (io && io->desc && io->desc->plugin && io->desc->plugin->listener) { (gdb) bt
0 0x00007ffff5b25fe1 in r_io_is_listener (io=0x55555583c680) at io.c:620
1 0x00007ffff7ae359f in r_core_file_open (r=0x55555575e560
, file=0x7fffffffe002 "pyio://3", flags=5, loadaddr=0) at file.c:789 2 0x000055555555a122 in main (argc=4, argv=0x7fffffffdb88, envp=0x7fffffffdbb0) at radare2.c:1035
it crashes when the code tries to access io->desc->plugin->listener, since io->desc->plugin pointer value is 0x4d2, which is the value returned by the open function in the pyio plugin.
How can i create my RIODesc in Python and return the correct value ? Should we fix the example maybe ?
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
alias valgrind='valgrind -v --leak-check=full --show-reachable=yes --track-fds=yes --track-origins=yes --malloc-fill=42 --free-fill=43'
$ valgrind --log-file=valgrind.out r2 -I test-py-io.py pyio://3
Registering Python IO plugin...
True
python-check pyio://3
MyPyIO Opening pyio://3
[1] 26642 segmentation fault (core dumped) valgrind -v --leak-check=full --show-reachable=yes --track-fds=yes r2 -I
The file is too big (3.6M), i will share it on Google Drive.
I found a script named asan.sh
, and recompiled radare2:
$ r2 -I test-py-io.py pyio://3
Registering Python IO plugin...
True
[r] Cannot open 'pyio://3'
=================================================================
==10705==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 728864 byte(s) in 325 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc519a1f (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb2a1f)
Direct leak of 56972 byte(s) in 82 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506777 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9f777)
Direct leak of 50496 byte(s) in 6 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51cd5e in _PyDict_NewPresized (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5d5e)
Direct leak of 49504 byte(s) in 221 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51ca7a in PyDict_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5a7a)
Direct leak of 48640 byte(s) in 14 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc508b53 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xa1b53)
Direct leak of 24224 byte(s) in 217 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51cef4 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5ef4)
Direct leak of 3072 byte(s) in 3 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc682f1d (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x21bf1d)
Direct leak of 2952 byte(s) in 4 object(s) allocated from:
#0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc538b54 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xd1b54)
Direct leak of 2344 byte(s) in 25 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc533d06 in PyList_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xccd06)
Direct leak of 2264 byte(s) in 4 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506b7c (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9fb7c)
Direct leak of 1024 byte(s) in 8 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc523668 in _PyObjectDict_SetItem (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xbc668)
Direct leak of 1008 byte(s) in 7 object(s) allocated from:
#0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc5384f0 in PyList_Append (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xd14f0)
Direct leak of 896 byte(s) in 14 object(s) allocated from:
#0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc536d04 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xcfd04)
Direct leak of 896 byte(s) in 4 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51ce59 in _PyDict_NewPresized (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5e59)
Direct leak of 608 byte(s) in 1 object(s) allocated from:
#0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc643227 in _PyObject_GC_Resize (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x1dc227)
Direct leak of 224 byte(s) in 1 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51ca7a in PyDict_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5a7a)
#2 0xcafbb5cb78c77ff (<unknown module>)
Direct leak of 96 byte(s) in 3 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc696884 in PyThread_allocate_lock (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x22f884)
Direct leak of 64 byte(s) in 2 object(s) allocated from:
#0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc53737b (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xd037b)
Direct leak of 39 byte(s) in 28 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc68ba21 in PyCode_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x224a21)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7fdbd75b179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
#1 0x7fdbd1a09f1e in r_list_new /home/tarrma/softs/radare2/libr/util/list.c:155
#2 0x5569890ce67d in main /home/tarrma/softs/radare2/binr/radare2/radare2.c:461
#3 0x7fdbd137182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7fdbd75b179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
#1 0x7fdbd1a09f1e in r_list_new /home/tarrma/softs/radare2/libr/util/list.c:155
#2 0x5569890ce689 in main /home/tarrma/softs/radare2/binr/radare2/radare2.c:462
#3 0x7fdbd137182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7fdbd75b179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
#1 0x7fdbd1a09f1e in r_list_new /home/tarrma/softs/radare2/libr/util/list.c:155
#2 0x5569890ce695 in main /home/tarrma/softs/radare2/binr/radare2/radare2.c:463
#3 0x7fdbd137182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Direct leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc514d77 in PyModule_Create2 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xadd77)
Direct leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc50c234 in PyModule_ExecDef (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xa5234)
Indirect leak of 164624 byte(s) in 174 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506777 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9f777)
Indirect leak of 12088 byte(s) in 4 object(s) allocated from:
#0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc4da550 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x73550)
Indirect leak of 8960 byte(s) in 70 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc519d6d in _PyDict_NewKeysForClass (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb2d6d)
Indirect leak of 3328 byte(s) in 8 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc519a1f (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb2a1f)
Indirect leak of 648 byte(s) in 1 object(s) allocated from:
#0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506b7c (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9fb7c)
SUMMARY: AddressSanitizer: 1163957 byte(s) leaked in 1232 allocation(s).
thanks for your help !
Why r u tracing memleaks? This is useless. Paste only the invalid memory accesses. So running valgrind qithout any option is enough
On 10 Apr 2018, at 14:45, Mathieu Tarral notifications@github.com wrote:
valgrind
alias valgrind='valgrind -v --leak-check=full --show-reachable=yes --track-fds=yes --track-origins=yes --malloc-fill=42 --free-fill=43'
$ valgrind --log-file=valgrind.out r2 -I test-py-io.py pyio://3 Registering Python IO plugin... True python-check pyio://3 MyPyIO Opening pyio://3 [1] 26642 segmentation fault (core dumped) valgrind -v --leak-check=full --show-reachable=yes --track-fds=yes r2 -I The file is too big (3.6M), i will share it on Google Drive.
ASAN
I found a script named asan.sh, and recompiled radare2:
$ r2 -I test-py-io.py pyio://3 Registering Python IO plugin... True [r] Cannot open 'pyio://3'
================================================================= ==10705==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 728864 byte(s) in 325 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc519a1f (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb2a1f)
Direct leak of 56972 byte(s) in 82 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506777 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9f777)
Direct leak of 50496 byte(s) in 6 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51cd5e in _PyDict_NewPresized (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5d5e)
Direct leak of 49504 byte(s) in 221 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51ca7a in PyDict_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5a7a)
Direct leak of 48640 byte(s) in 14 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc508b53 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xa1b53)
Direct leak of 24224 byte(s) in 217 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51cef4 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5ef4)
Direct leak of 3072 byte(s) in 3 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc682f1d (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x21bf1d)
Direct leak of 2952 byte(s) in 4 object(s) allocated from:
0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc538b54 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xd1b54)
Direct leak of 2344 byte(s) in 25 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc533d06 in PyList_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xccd06)
Direct leak of 2264 byte(s) in 4 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506b7c (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9fb7c)
Direct leak of 1024 byte(s) in 8 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc523668 in _PyObjectDict_SetItem (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xbc668)
Direct leak of 1008 byte(s) in 7 object(s) allocated from:
0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc5384f0 in PyList_Append (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xd14f0)
Direct leak of 896 byte(s) in 14 object(s) allocated from:
0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc536d04 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xcfd04)
Direct leak of 896 byte(s) in 4 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51ce59 in _PyDict_NewPresized (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5e59)
Direct leak of 608 byte(s) in 1 object(s) allocated from:
0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc643227 in _PyObject_GC_Resize (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x1dc227)
Direct leak of 224 byte(s) in 1 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc51ca7a in PyDict_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb5a7a) #2 0xcafbb5cb78c77ff (<unknown module>)
Direct leak of 96 byte(s) in 3 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc696884 in PyThread_allocate_lock (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x22f884)
Direct leak of 64 byte(s) in 2 object(s) allocated from:
0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc53737b (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xd037b)
Direct leak of 39 byte(s) in 28 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc68ba21 in PyCode_New (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x224a21)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
0 0x7fdbd75b179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
#1 0x7fdbd1a09f1e in r_list_new /home/tarrma/softs/radare2/libr/util/list.c:155 #2 0x5569890ce67d in main /home/tarrma/softs/radare2/binr/radare2/radare2.c:461 #3 0x7fdbd137182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
0 0x7fdbd75b179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
#1 0x7fdbd1a09f1e in r_list_new /home/tarrma/softs/radare2/libr/util/list.c:155 #2 0x5569890ce689 in main /home/tarrma/softs/radare2/binr/radare2/radare2.c:462 #3 0x7fdbd137182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
0 0x7fdbd75b179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
#1 0x7fdbd1a09f1e in r_list_new /home/tarrma/softs/radare2/libr/util/list.c:155 #2 0x5569890ce695 in main /home/tarrma/softs/radare2/binr/radare2/radare2.c:463 #3 0x7fdbd137182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Direct leak of 24 byte(s) in 1 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc514d77 in PyModule_Create2 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xadd77)
Direct leak of 2 byte(s) in 2 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc50c234 in PyModule_ExecDef (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xa5234)
Indirect leak of 164624 byte(s) in 174 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506777 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9f777)
Indirect leak of 12088 byte(s) in 4 object(s) allocated from:
0 0x7fdbd75b1961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#1 0x7fdbcc4da550 (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x73550)
Indirect leak of 8960 byte(s) in 70 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc519d6d in _PyDict_NewKeysForClass (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb2d6d)
Indirect leak of 3328 byte(s) in 8 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc519a1f (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xb2a1f)
Indirect leak of 648 byte(s) in 1 object(s) allocated from:
0 0x7fdbd75b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7fdbcc506b7c (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9fb7c)
SUMMARY: AddressSanitizer: 1163957 byte(s) leaked in 1232 allocation(s). thanks for your help !
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
just an old alias that i have since a long time :D give me a moment :)
$ \valgrind r2 -I test-py-io.py pyio://3
==27726== Memcheck, a memory error detector
==27726== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==27726== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==27726== Command: r2 -I test-py-io.py pyio://3
==27726==
--27726-- WARNING: Serious error when reading debug info
--27726-- When reading debug info from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0:
--27726-- Ignoring non-Dwarf2/3/4 block in .debug_info
--27726-- WARNING: Serious error when reading debug info
--27726-- When reading debug info from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0:
--27726-- Last block truncated in .debug_info; ignoring
--27726-- WARNING: Serious error when reading debug info
--27726-- When reading debug info from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0:
--27726-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D98A6: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A54D8: PyImport_ImportFrozenModuleObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A555A: PyImport_ImportFrozenModule (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A89BD: import_init.isra.6 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A90BB: _Py_InitializeEx_Private (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B2E36: init (python.c:370)
==27726== by 0x948605D: r_lang_add (lang.c:133)
==27726== by 0x4F40CF5: __lib_lang_cb (libs.c:37)
==27726== by 0x8C1F2EE: r_lib_run_handler (lib.c:171)
==27726== by 0x8C1FA16: r_lib_open_ptr (lib.c:320)
==27726== by 0x8C1F830: r_lib_open (lib.c:280)
==27726== Address 0xa265020 is 32 bytes before a block of size 48 in arena "client"
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A9D: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A54D8: PyImport_ImportFrozenModuleObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A555A: PyImport_ImportFrozenModule (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A89BD: import_init.isra.6 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A90BB: _Py_InitializeEx_Private (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B2E36: init (python.c:370)
==27726== by 0x948605D: r_lang_add (lang.c:133)
==27726== by 0x4F40CF5: __lib_lang_cb (libs.c:37)
==27726== by 0x8C1F2EE: r_lib_run_handler (lib.c:171)
==27726== by 0x8C1FA16: r_lib_open_ptr (lib.c:320)
==27726== Address 0xa265020 is 32 bytes before a block of size 48 in arena "client"
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB854B94: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D98A6: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB854BAD: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D98A6: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB854B94: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A9D: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB854BAD: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A9D: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB855F2C: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9C6A: _PyBytes_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D423B: _io_FileIO_readall_impl.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D43A8: _io_FileIO_read (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB855F41: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9C6A: _PyBytes_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D423B: _io_FileIO_readall_impl.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D43A8: _io_FileIO_read (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa2fa020 is 1,968 bytes inside a block of size 3,868 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB9D9C6A: _PyBytes_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D423B: _io_FileIO_readall_impl.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D43A8: _io_FileIO_read (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB855777: _PyObject_Malloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D842B: PyBytes_FromStringAndSize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D40C2: _io_FileIO_readall_impl.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D43A8: _io_FileIO_read (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D98A6: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa319020 is 34,624 bytes inside a block of size 35,309 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB855777: _PyObject_Malloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D842B: PyBytes_FromStringAndSize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9E1505: bytes_subscript.lto_priv.717 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB969BDC: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A9D: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa319020 is 34,624 bytes inside a block of size 35,309 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB855777: _PyObject_Malloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D842B: PyBytes_FromStringAndSize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9E1505: bytes_subscript.lto_priv.717 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB969BDC: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9C6A: _PyBytes_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D423B: _io_FileIO_readall_impl.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D43A8: _io_FileIO_read (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa341020 is 64 bytes inside a block of size 224 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB86EA47: dict_dealloc.lto_priv.401 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00696: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB86BA7A: PyDict_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00633: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D98B6: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa34f020 is 3,408 bytes inside a block of size 3,696 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8880F7: list_dealloc.lto_priv.391 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A3700: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9875: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa34f020 is 3,408 bytes inside a block of size 3,696 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8880F7: list_dealloc.lto_priv.391 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A3700: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A9D: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A84: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa37e020 is 176 bytes inside a block of size 200 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2E0A: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2E25: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9875: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A84: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa36d020 is 96 bytes inside a block of size 128 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A9D: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9916: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa3cf020 is 704 bytes inside a block of size 825 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB9D98A6: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB855777: _PyObject_Malloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D842B: PyBytes_FromStringAndSize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2CA5: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DDB: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB855F2C: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9C6A: _PyBytes_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D0EDF: _io__Buffered_read1 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864003: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92B23E: PyObject_CallMethodObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CD6CE: _textiowrapper_readline.lto_priv.1270 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CE2BB: textiowrapper_iternext.lto_priv.1241 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8CC8DE: enum_next.lto_priv.342 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A4DE: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB855F41: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9C6A: _PyBytes_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D0EDF: _io__Buffered_read1 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864003: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92B23E: PyObject_CallMethodObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CD6CE: _textiowrapper_readline.lto_priv.1270 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CE2BB: textiowrapper_iternext.lto_priv.1241 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8CC8DE: enum_next.lto_priv.342 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A4DE: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CD8D4: _textiowrapper_readline.lto_priv.1270 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CE2BB: textiowrapper_iternext.lto_priv.1241 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8CC8DE: enum_next.lto_priv.342 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A4DE: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa4fd020 is 16 bytes after a block of size 8,240 in arena "client"
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9C6A: _PyBytes_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D0EDF: _io__Buffered_read1 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864003: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92B23E: PyObject_CallMethodObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CD6CE: _textiowrapper_readline.lto_priv.1270 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9CE2BB: textiowrapper_iternext.lto_priv.1241 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8CC8DE: enum_next.lto_priv.342 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A4DE: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa4fd020 is 16 bytes after a block of size 8,240 in arena "client"
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93C78C: PyGrammar_AddAccelerators (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB944084: PyParser_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947277: parsetok (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985822: PyParser_ASTFromStringObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E3B: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa512020 is 128 bytes inside a block of size 310 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB9446C7: PyTokenizer_FromUTF8 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947A67: PyParser_ParseStringObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985822: PyParser_ASTFromStringObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E3B: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB944482: translate_newlines.isra.1 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9446C7: PyTokenizer_FromUTF8 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947A67: PyParser_ParseStringObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985822: PyParser_ASTFromStringObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E3B: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F6D19: compiler_addop_i.lto_priv.150 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FA748: compiler_call_helper (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FA748: compiler_call_helper (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FCEF8: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa573020 is 32 bytes inside a block of size 512 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8576A1: set_dealloc.lto_priv.487 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB981B29: analyze_block (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB982ACF: PySymtable_BuildObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF0E5: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB857B53: set_table_resize.lto_priv.2066 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB981E30: analyze_block (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB982ACF: PySymtable_BuildObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF0E5: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F5960: compiler_unit_free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF230: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa573020 is 32 bytes inside a block of size 512 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8576A1: set_dealloc.lto_priv.487 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB981B29: analyze_block (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB982ACF: PySymtable_BuildObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF0E5: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB857B53: set_table_resize.lto_priv.2066 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB981E30: analyze_block (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB982ACF: PySymtable_BuildObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF0E5: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB849EE2: type_dealloc.lto_priv.173 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9E6B49: collect.lto_priv.1691 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99A5D6: collect_generations (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99A6C8: _PyObject_GC_Malloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99A709: _PyObject_GC_NewVar (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB84B98E: PyTuple_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2337: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2E0A: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa580020 is 256 bytes inside a block of size 800 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB868C10: dictresize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB870D21: PyDict_SetItem (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96F68D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9689CA: PyEval_EvalCode (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97567C: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97186D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB868A1F: dictresize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB870D21: PyDict_SetItem (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96F68D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9689CA: PyEval_EvalCode (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97567C: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97186D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB829550: resize_compact.lto_priv.1940 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA08869: _PyUnicodeWriter_Finish (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB826A0F: PyUnicode_DecodeUTF8Stateful (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A29DB: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa5f5020 is 3,504 bytes inside a block of size 4,768 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xBA0AA16: _PyUnicodeWriter_PrepareInternal (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB827BBF: PyUnicode_DecodeUTF8Stateful (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A29DB: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB855777: _PyObject_Malloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8241D8: PyUnicode_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA0A971: _PyUnicodeWriter_PrepareInternal (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB827471: PyUnicode_DecodeUTF8Stateful (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A29DB: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB855F2C: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB992227: _PyObject_GC_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB889D2C: PyFrame_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00388: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9689CA: PyEval_EvalCode (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97567C: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97186D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB855F41: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB992227: _PyObject_GC_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB889D2C: PyFrame_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00388: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9689CA: PyEval_EvalCode (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97567C: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97186D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA0AA16: _PyUnicodeWriter_PrepareInternal (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB827BBF: PyUnicode_DecodeUTF8Stateful (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB901549: PyInit__heapq (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A64F7: _imp_create_builtin (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864003: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97186D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa5fb020 is 16 bytes inside a block of size 416 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB868C10: dictresize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB870D21: PyDict_SetItem (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85A9DE: _PyObject_GenericSetAttrWithDict (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85B30E: PyObject_SetAttr (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85B55B: PyObject_SetAttrString (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85B60B: PyModule_AddFunctions (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB863DA3: PyModule_Create2 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9014F1: PyInit__heapq (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A64F7: _imp_create_builtin (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864003: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97186D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB868A1F: dictresize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB870D21: PyDict_SetItem (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85A9DE: _PyObject_GenericSetAttrWithDict (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85B30E: PyObject_SetAttr (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85B55B: PyObject_SetAttrString (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB85B60B: PyModule_AddFunctions (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB863DA3: PyModule_Create2 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9014F1: PyInit__heapq (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A64F7: _imp_create_builtin (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864003: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97186D: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D98A6: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A84: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa5c5020 is 1,424 bytes inside a block of size 1,864 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2ECA: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2E0A: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A9D: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9916: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A84: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa5c6020 is 736 bytes inside a block of size 2,152 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2E0A: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2ECA: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB854B94: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9875: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A84: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB854BAD: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9875: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB848A84: tupledealloc.lto_priv.507 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9926: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB829550: resize_compact.lto_priv.1940 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA0A9FA: _PyUnicodeWriter_PrepareInternal (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA0B4EC: _PyUnicodeWriter_WriteSubstring (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA11FF1: build_string (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA13264: do_string_format.lto_priv.1120 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864058: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97108A: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa643020 is 160 bytes inside a block of size 224 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB86EA47: dict_dealloc.lto_priv.401 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A96C: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8C5399: gen_iternext.lto_priv.351 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB887864: listextend.lto_priv.907 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DB5B: PySequence_List (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DC2C: PySequence_Fast (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB83DBBF: PyUnicode_Join (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970154: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB86BA7A: PyDict_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF8C4: update_keyword_args.lto_priv.1741 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A8A5: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8C5399: gen_iternext.lto_priv.351 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB887864: listextend.lto_priv.907 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DB5B: PySequence_List (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DC2C: PySequence_Fast (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB83DBBF: PyUnicode_Join (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970154: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB829550: resize_compact.lto_priv.1940 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA08869: _PyUnicodeWriter_Finish (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA12091: build_string (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA13264: do_string_format.lto_priv.1120 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864058: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97108A: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9689CA: PyEval_EvalCode (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa643020 is 160 bytes inside a block of size 224 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB86EA47: dict_dealloc.lto_priv.401 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A96C: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8C5399: gen_iternext.lto_priv.351 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB887864: listextend.lto_priv.907 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DB5B: PySequence_List (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DC2C: PySequence_Fast (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB83DBBF: PyUnicode_Join (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970154: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB86BA7A: PyDict_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF8C4: update_keyword_args.lto_priv.1741 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96A8A5: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8C5399: gen_iternext.lto_priv.351 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB887864: listextend.lto_priv.907 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DB5B: PySequence_List (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93DC2C: PySequence_Fast (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB83DBBF: PyUnicode_Join (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970154: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93A649: freechildren (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93BE26: PyNode_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985855: PyParser_ASTFromStringObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E3B: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa651020 is 16 bytes before a block of size 640 alloc'd
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB855B7C: _PyObject_Alloc.isra.2 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB855F84: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93BFDC: PyNode_AddChild (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93C303: PyParser_AddToken (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947305: parsetok (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985822: PyParser_ASTFromStringObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E3B: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F5960: compiler_unit_free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB98F: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa65b020 is 1,872 bytes inside a block of size 2,048 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99E19A: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99D7EA: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F6D19: compiler_addop_i.lto_priv.150 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F746B: compiler_make_closure (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB9FA: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa65b020 is 1,872 bytes inside a block of size 2,048 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99E19A: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99D7EA: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8B0C24: compiler_addop_o.constprop.65 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F8DE2: compiler_visit_expr.lto_priv.1724 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FA86E: compiler_call_helper (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FCEF8: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa661020 is 1,488 bytes inside a block of size 2,048 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99E19A: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99D7EA: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FDF48: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB854B94: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F5960: compiler_unit_free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F6F75: compiler_exit_scope (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FD651: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB854BAD: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F5960: compiler_unit_free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F6F75: compiler_exit_scope (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FD651: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985E56: PyRun_StringFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9755D7: builtin_exec (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA0AA16: _PyUnicodeWriter_PrepareInternal (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB827BBF: PyUnicode_DecodeUTF8Stateful (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A29DB: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa6b0020 is 912 bytes inside a block of size 1,184 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB96EF38: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Conditional jump or move depends on uninitialised value(s)
==27726== at 0xB854B94: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9875: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Use of uninitialised value of size 8
==27726== at 0xB854BAD: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9D9875: code_dealloc.lto_priv.290 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888218: frame_dealloc.lto_priv.363 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB97065B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB970638: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00CAB: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB92AFDE: _PyObject_CallMethodIdObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A7953: PyImport_ImportModuleLevelObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93BFDC: PyNode_AddChild (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93C303: PyParser_AddToken (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947305: parsetok (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9856AC: PyParser_ASTFromFileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CA4: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== by 0x10D20C: main (radare2.c:804)
==27726== Address 0xa739020 is 16 bytes before a block of size 640 alloc'd
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB855B7C: _PyObject_Alloc.isra.2 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB855F84: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93BFDC: PyNode_AddChild (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93C303: PyParser_AddToken (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947305: parsetok (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9856AC: PyParser_ASTFromFileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CA4: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93A5BA: freechildren (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93A586: freechildren (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93A586: freechildren (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93BE26: PyNode_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB98561B: PyParser_ASTFromFileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CA4: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== Address 0xa73a020 is 304 bytes inside a block of size 1,280 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB93BFDC: PyNode_AddChild (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93C303: PyParser_AddToken (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947305: parsetok (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9856AC: PyParser_ASTFromFileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CA4: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== by 0x10D20C: main (radare2.c:804)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB93BFDC: PyNode_AddChild (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93C303: PyParser_AddToken (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB947305: parsetok (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9856AC: PyParser_ASTFromFileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CA4: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== by 0x10D20C: main (radare2.c:804)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8B0C24: compiler_addop_o.constprop.65 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F8DE2: compiler_visit_expr.lto_priv.1724 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F9700: compiler_visit_expr.lto_priv.1724 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FCFED: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB8E9: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== Address 0xa747020 is 528 bytes inside a block of size 2,048 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99E192: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB8E9: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99D7DC: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB8E9: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F5960: compiler_unit_free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB98F: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== by 0x10D20C: main (radare2.c:804)
==27726== Address 0xa74a020 is 768 bytes inside a block of size 800 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB868C10: dictresize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB870D21: PyDict_SetItem (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB8B0CFF: compiler_addop_o.constprop.65 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F8DE2: compiler_visit_expr.lto_priv.1724 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F9700: compiler_visit_expr.lto_priv.1724 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FCFED: compiler_visit_stmt (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB8E9: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB868A1F: dictresize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB870D21: PyDict_SetItem (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1CC54: compiler_add_o.isra.15.lto_priv.149 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F741F: compiler_make_closure (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB9FA: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB8E9: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726==
==27726== Invalid read of size 4
==27726== at 0xB854B8B: _PyObject_Free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9F5960: compiler_unit_free (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF230: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== by 0x10D20C: main (radare2.c:804)
==27726== Address 0xa74c020 is 1,024 bytes inside a block of size 2,048 free'd
==27726== at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99E19A: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== by 0x10D20C: main (radare2.c:804)
==27726== Block was alloc'd at
==27726== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB99D7EA: PyCode_Optimize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA1DBDF: assemble.lto_priv.1730 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FB976: compiler_function (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF38C: PyAST_CompileObject (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB985CD5: PyRun_FileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB987145: PyRun_SimpleFileExFlags (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B0E50: slurp_python (python.c:105)
==27726== by 0xB5B0E50: run_file.lto_priv.3 (python.c:113)
==27726== by 0x9486451: r_lang_run_file (lang.c:222)
==27726== by 0x4F19A39: r_core_run_script (cmd.c:729)
==27726== by 0x10BE0E: run_commands (radare2.c:343)
==27726== by 0x10D20C: main (radare2.c:804)
==27726==
Registering Python IO plugin...
==27726== Invalid read of size 4
==27726== at 0xB855F23: _PyObject_Realloc (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB992227: _PyObject_GC_Resize (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB889D2C: PyFrame_New (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00388: _PyEval_EvalCodeWithName.lto_priv.1742 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xBA00D82: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB888AD7: function_call.lto_priv.368 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB93D54D: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9FF936: PyEval_CallObjectWithKeywords (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB5B08A3: Radare_plugin_io.lto_priv.20 (io.c:127)
==27726== by 0xB5B0DAE: Radare_plugin.lto_priv.8 (python.c:156)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Address 0xa376020 is 160 bytes inside a block of size 576 free'd
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2E25: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== Block was alloc'd at
==27726== at 0x4C2FD5F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27726== by 0xB8874F0: PyList_Append (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB99CE66: r_ref.isra.9 (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A200B: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2ECA: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A237E: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A2DF1: r_object (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9A36DA: marshal_loads (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB864038: PyCFunction_Call (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726== by 0xB9701B4: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0)
==27726==
True
[r] Cannot open 'pyio://3'
==27726==
==27726== HEAP SUMMARY:
==27726== in use at exit: 2,390,628 bytes in 10,117 blocks
==27726== total heap usage: 21,028 allocs, 10,911 frees, 25,526,686 bytes allocated
==27726==
==27726== LEAK SUMMARY:
==27726== definitely lost: 96 bytes in 3 blocks
==27726== indirectly lost: 0 bytes in 0 blocks
==27726== possibly lost: 27,032 bytes in 47 blocks
==27726== still reachable: 2,363,500 bytes in 10,067 blocks
==27726== suppressed: 0 bytes in 0 blocks
==27726== Rerun with --leak-check=full to see details of leaked memory
==27726==
==27726== For counts of detected and suppressed errors, rerun with: -v
==27726== Use --track-origins=yes to see where uninitialised values come from
==27726== ERROR SUMMARY: 446 errors from 50 contexts (suppressed: 0 from 0)
this iseems like a problem in python, not in r2.
maybe this is what happens when we use different dlsym flags, can you try reverting those in the previous state? (LOCAL -> GLOBAL) and see if thats the cause?
On 10 Apr 2018, at 14:18, Pancake Nopcode pancake@nopcode.org wrote:
Can you share valgrind or asan output?
On 10 Apr 2018, at 10:21, Mathieu Tarral <notifications@github.com mailto:notifications@github.com> wrote:
Hi,
I tried to create an IO plugin in Python, using the example provided at radare2-bindings/libr/lang/p/test-py-io.py.
However, the example segfaults:
$ r2 -I test-py-io.py pyio://3 Registering Python IO plugin... True python-check pyio://3 MyPyIO Opening pyio://3 [3] 14147 segmentation fault (core dumped) r2 -I test-py-io.py pyio://3 A little debugging:
Reading symbols from r2...done. (gdb) run -I test-py-io.py pyio://3 Starting program: /usr/bin/r2 -I test-py-io.py pyio://3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Registering Python IO plugin... True python-check pyio://3 MyPyIO Opening pyio://3
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5b25fe1 in r_io_is_listener (io=0x55555583c680) at io.c:620 620 if (io && io->desc && io->desc->plugin && io->desc->plugin->listener) { (gdb) bt
0 0x00007ffff5b25fe1 in r_io_is_listener (io=0x55555583c680) at io.c:620
1 0x00007ffff7ae359f in r_core_file_open (r=0x55555575e560
, file=0x7fffffffe002 "pyio://3", flags=5, loadaddr=0) at file.c:789 2 0x000055555555a122 in main (argc=4, argv=0x7fffffffdb88, envp=0x7fffffffdbb0) at radare2.c:1035
it crashes when the code tries to access io->desc->plugin->listener, since io->desc->plugin pointer value is 0x4d2, which is the value returned by the open function in the pyio plugin.
How can i create my RIODesc in Python and return the correct value ? Should we fix the example maybe ?
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/radare/radare2-bindings/issues/187, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-liy7vSFAGRolKybNdXou-6BwUfBVks5tnGuFgaJpZM4TNzbq.
when we use different dlsym flags, can you try reverting those in the previous state? (LOCAL -> GLOBAL)
how should i do this ?
git revert a95f9429d09f040bbf7fbd82962e5c607e1b0138
On 11 Apr 2018, at 11:25, Mathieu Tarral notifications@github.com wrote:
when we use different dlsym flags, can you try reverting those in the previous state? (LOCAL -> GLOBAL)
how should i do this ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/radare/radare2-bindings/issues/187#issuecomment-380387538, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lqWXGgoZSEO3k-gD5sv-begj2Vswks5tncwfgaJpZM4TNzbq.
Now the plugin won't be opened anymore:
$ r2 -I test-py-io.py pyio://3
Registering Python IO plugin...
True
[r] Cannot open 'pyio://3'
so its related to the silly mess of python libraries :(
On 11 Apr 2018, at 11:32, Mathieu Tarral notifications@github.com wrote:
Now the plugin won't be opened anymore:
$ r2 -I test-py-io.py pyio://3 Registering Python IO plugin... True [r] Cannot open 'pyio://3' — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/radare/radare2-bindings/issues/187#issuecomment-380389349, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-llSlsdeGKia_vyzJVgP919rrGjixks5tnc2cgaJpZM4TNzbq.
Now i cannot open the plugin anymore, commit reverted or not. what happened ?
i dont know, i cant reproduce, python is crap. maybe someone else can help here, can you provide a way to reproduce? (a shellscript or so)
On 11 Apr 2018, at 12:21, Mathieu Tarral notifications@github.com wrote:
Now i cannot open the plugin anymore, commit reverted or not. what happened ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/radare/radare2-bindings/issues/187#issuecomment-380403033, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-ljl-ld1XzDYJMRTZlLSKLOodsqLzks5tndkkgaJpZM4TNzbq.
This Dockerfile reproduces the segfault:
FROM debian:stable
RUN apt-get update && apt-get install -y build-essential git wget \
python3 python3-dev python pkg-config
RUN cd /root && git clone https://github.com/radare/radare2/ && \
./radare2/sys/install.sh
RUN r2pm init
RUN r2pm -i lang-python3
WORKDIR /root
RUN wget 'https://raw.githubusercontent.com/radare/radare2-bindings/master/libr/lang/p/test-py-io.py'
ENTRYPOINT r2 -I test-py-io.py pyio://33
output
$ dk.runonce bug_radare_pyio
Registering Python IO plugin...
True
python-check pyio://33
MyPyIO Opening pyio://33
Segmentation fault (core dumped)
Does the Dockerfile i provided have been helpful ?
maybe cc @XVilka, if you have some comment ?
I updated the Dockerfile
using the official radare2
image:
FROM radare/radare2
USER root
RUN apt-get update && apt-get install -y build-essential git wget \
python3 python3-dev python pkg-config
USER r2
RUN r2pm init
RUN r2pm -i lang-python3
RUN wget 'https://raw.githubusercontent.com/radare/radare2-bindings/master/libr/lang/p/test-py-io.py'
ENTRYPOINT r2 -I test-py-io.py pyio://33
Still segfaults :)
Fixed by @guedou I guess, please check https://github.com/radare/radare2-bindings/pull/194
Hi,
I tried to create an IO plugin in Python, using the example provided at
radare2-bindings/libr/lang/p/test-py-io.py
.However, the example segfaults:
A little debugging:
it crashes when the code tries to access
io->desc->plugin->listener
, sinceio->desc->plugin
pointer value is0x4d2
, which is the value returned by the open function in the pyio plugin.How can i create my RIODesc in Python and return the correct value ? Should we fix the example maybe ?
Thanks