Description of problem:
I was fiddling around with python-magic and when I exited ipython afterward, it crashed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open up ipython
2. import magic
3. Play around with various magic.things as if you had no idea what any of them did.
Crash on exit
A clean exit
Don't you have some log from that session? It would be useful to find out what exactly you have done...
Here is a sequence of commands that reliably produces a SIGSEGV:
m = magic.magic_set()
m = magic.Magic(m)
I realize now after examining the package carefully that you are supposed to use the magic.open function. But that's not at all clear. If you have an API in which some methods are dangerous, hide it in a sub-package who's names starts with an '_' and make a friendly Python wrapper that doesn't have these problems as the main package people should import.
I sent the bugreport upstream, you can check it here:
I think it's up to upstream to decide about future of this package, not up to maintainer.