This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
swig python: [] throws exception #1
Comments
Merged
manuelm
added a commit
that referenced
this issue
Jul 11, 2014
KeySet.__getitem__ throws KeyError if key is missing (see https://docs.python.org/3/reference/datamodel.html#object.__getitem__) This fixes #1
Closed
Merged
Closed
0003088
added a commit
that referenced
this issue
Mar 14, 2015
Update helptext when hovering over various parts of the UI
Closed
Closed
Merged
Closed
markus2330
pushed a commit
that referenced
this issue
Mar 31, 2017
@tom-wa ==24370==ERROR: AddressSanitizer: heap-use-after-free on address 0x60200000ee30 at pc 0x7fc48fe25bed bp 0x7ffc9dea1ba0 sp 0x7ffc9dea1b78 READ of size 2 at 0x60200000ee30 thread T0 #0 0x7fc48fe25bec in setlocale (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x33bec) #1 0x402de1 in main src/plugins/range/testmod_range.c:181 #2 0x7fc48e37eb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44) #3 0x402f03 (bin/testmod_range+0x402f03) 0x60200000ee30 is located 0 bytes inside of 12-byte region [0x60200000ee30,0x60200000ee3c) freed by thread T0 here: #0 0x7fc48fe46527 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54527) #1 0x7fc48e38906e in setlocale (/lib/x86_64-linux-gnu/libc.so.6+0x2c06e) previously allocated by thread T0 here: #0 0x7fc48fe4673f in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5473f) #1 0x7fc48e388ae3 (/lib/x86_64-linux-gnu/libc.so.6+0x2bae3) SUMMARY: AddressSanitizer: heap-use-after-free ??:0 setlocale Shadow bytes around the buggy address: 0x0c047fff9d70: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c047fff9d80: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x0c047fff9d90: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd 0x0c047fff9da0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fd 0x0c047fff9db0: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd =>0x0c047fff9dc0: fa fa 00 00 fa fa[fd]fd fa fa fd fd fa fa fd fd 0x0c047fff9dd0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c047fff9de0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0c047fff9df0: fa fa fd fd fa fa fd fd fa fa 00 04 fa fa fd fa 0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Contiguous container OOB:fc ASan internal: fe ==24370==ABORTING
3 tasks
markus2330
pushed a commit
that referenced
this issue
Jun 15, 2019
20 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[] throws an exception when a key does not exist:
When this is the intended behaviour, then the example should be changed to
Otherwise, [] should be changed.
The text was updated successfully, but these errors were encountered: