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): file-5.07-6.fc16.src.rpm How reproducible: Don't know 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. Actual results: Crash on exit Expected results: 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: import magic m = magic.magic_set() m = magic.Magic(m) m.file('./.bash_history') exit 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: http://bugs.gw.com/view.php?id=193 I think it's up to upstream to decide about future of this package, not up to maintainer.