quark-engine icon indicating copy to clipboard operation
quark-engine copied to clipboard

quark gets stuck during the scan

Open javixeneize opened this issue 3 years ago • 5 comments

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

javixeneize avatar Jan 09 '22 18:01 javixeneize

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 :)

haeter525 avatar Jan 10 '22 04:01 haeter525

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.

haeter525 avatar Jan 12 '22 14:01 haeter525

Thanks!

javixeneize avatar Jan 12 '22 22:01 javixeneize

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

tirekin avatar Mar 09 '22 07:03 tirekin