Closed toaarnio closed 4 years ago
Hi, I reproduced the bug on the WSL (Ubuntu 18.04.2 LTS) . When I press Ctrl+D to exit the Python interpreter, it will core dump:
leo@Leo:~$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyexiv2
>>>
double free or corruption (out)
Aborted (core dumped)
leo@Leo:~$
But when I execute exit( ) , it doesn't happen :
leo@Leo:~$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyexiv2
>>> exit()
leo@Leo:~$
This is the first time I've seen this kind of problem. I'll spend a few days to debug it.
It's working! Great, thank you!
This issue has been automatically closed because there has been no activity for a month.
I'm getting various memory allocation related errors when exiting pyexiv2 -- even if I'm just importing it and then immediately exiting. To be clear, everything works just fine, it's just that there's this annoying un-catchable error at the end.
Here's a minimal example:
I'm running Ubuntu 18.04.4 LTS under Windows 10.