What steps will reproduce the problem?
1. $ python androperm.py -d ~/my_sample_dir/
The Exception occurs not every time. But often.
What is the expected output? What do you see instead?
Expected: No Exception
Seen Output:
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 504, in run
File "/home/hanno/tools/androguard/androguard/core/analysis/auto.py", line 64, in worker
File "/usr/lib/python2.7/Queue.py", line 168, in get
File "/usr/lib/python2.7/threading.py", line 236, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
What version of the product are you using? On what operating system?
- Ubuntu 12.04 LTS
- Androguard from hg : hg clone https://androguard.googlecode.com/hg/ androguard
- Community Scripts: git clone https://bitbucket.org/androguard/community.git
Please provide any additional information below.
I think it is the same problem as descriped here:
http://stackoverflow.com/questions/20596918/python-exception-in-thread-thread-1-
most-likely-raised-during-interpreter-shutd
And the solution would be, not to use t.daemon = True in
/home/hanno/tools/androguard/androguard/core/analysis/auto.py line 116
But I don't know the internals of androguard good enough to provide a patch
directly.
Original issue reported on code.google.com by Hanno.Le...@gdata.de on 27 Feb 2014 at 6:02
Original issue reported on code.google.com by
Hanno.Le...@gdata.de
on 27 Feb 2014 at 6:02