quark gets stuck during the scan
Hi
I am running quark in my local machine (mac m1) against this apk --> https://apkpure.com/es/nodo-play/nodo.play using the command quark -a nodoplay.apk -d
When it reaches 52% of the scan, it gets stuck until it crashes
[1] 24031 killed quark -a nodoplay.apk -d /opt/homebrew/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
Is this a known issue?
Thanks
Hi @javixeneize
Thank you for reporting this issue! We will start to investigate it soon. If there is anything new, I will keep you updated :)
Hi @javixeneize,
I tested the sample on Linux and got the same result as well. It looks like the OS killed Quark because running out of memory. Therefore, I think this is the known issue discussed in #130. And we are currently working on fixing it.
For now, we have found these two rules, 00030.json and 00142.json, cause this issue. Removing them from the built-in rule set ($HOME/.quark-engine/quark-rules) should make Quark work as usual.
Thanks!
Hi,
I have the same issue (stuck at 70%) on macOS with apk sha256:
8bfa2948ff8f84b2620c672ccfec8efa28f738d849276f645429c11ec73a998d
The size of the APK is 2.3 MB.
Additionally, removing 00030.json, 00142.json, 00130.json and 00129.json did not solve the issue. There may be more rules which cause this behavior.
Command: quark -a 8bfa2948ff8f84b2620c672ccfec8efa28f738d849276f645429c11ec73a998d.apk -s -t 80
Quark version: 22.2.1