-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clamtk force quit #125
Comments
Hi @MandiYang ,
respectfully, |
I was scanning a file, and the version 6.06 didn't work either. This has happend before. |
Hi @MandiYang , Let's try this: open a terminal window, and type "clamtk" (no quotes). Then try the scan you were doing before. If any messages show up in the terminal window, please post them back here. respectfully, |
It came no output from |
Hi @MandiYang , What type of file is it? Does it happen any other time with any other files? respectfully, |
Yes, it did happend to other files |
Do you want a screen shot? |
Sure! Also, has this ALWAYS happened, or did it start with a particular version or date? respectfully, |
Hi @MandiYang , Do you have time to try out a debugging version? It'll be the same thing you're using now but will have a lot of print statements to show what's going on. I can't duplicate it on my end, so this may be the only way to do it. I can send you a new version shortly if you are. respectfully, |
Yes, I can try it and show the output of clamav. Thank's |
Here you go: https://app.box.com/s/we9nq0nt9pjzs24hyhqwe7sr13h14tnq Do not type any of the quotes for the commands.
It's going to print out a lot in the terminal window. Please copy and paste into an email (preferably) to me: dave.nerd@gmail . Do at least a quick skim through the content to ensure there's nothing in there you don't want me to see. Let me know if you have questions. respectfully, |
How do I set the perl path to like /home/mandi/perl5/lib/perl5/x86_64-linux-gnu-thread-multi? |
Hi @MandiYang , In a program, you would use "use lib '/home/mandi/perl5/etc/etc'". I'm just wondering because I saw it in the logfile; maybe I'm misreading it. I still haven't found anything yet... respectfully, |
Yes, you read right. |
Output of clamtk1.log after installing clamtk 6.07 and scanned one file and one directory. |
Taking a look - thanks! respectfully, |
clamtk 6.08 output of
|
clamtk 6.09 output of clamtk(not clamtk-debug) when scanning file:
|
Ok, here's something that might help. Can you create a new, temporary user, log in as that user, and try running it? respectfully, |
It happend the same thing as in my user, the problem might be that clamav is slow at scanning files. |
Have you tried running clamscan to compare? Let me know if I can help with that. respectfully, |
First scan: Second scan: ----------- SCAN SUMMARY ----------- Signatures: badmacro.ndb hackingteam.hsb securiteinfoascii.hdb CLAMTK scan pretty slow and force quit window appeared. |
That does seem pretty slow - over 30 seconds for one file. I did a scan of one file: clamscan -r ~/tmp/ ----------- SCAN SUMMARY ----------- |
I have pretty much signatures, if I remove some of them maybe it will reduce the scan time and solve the problem. |
I don't know if I'd recommend removing signatures as the solution... I'll keep thinking on it. |
I mean remove the custom signartures maybe solve it, examples of custom signatures: |
Temporarily moving them out sounds like a good test. |
yeah :) |
After moving all custom signaturesFirst scan: ----------- SCAN SUMMARY ----------- second scan: /home/mandi/examples.desktop: OK ----------- SCAN SUMMARY ----------- CLAMTK scan faster but force quit window still appears. |
You may be right - it's taking so long that clamtk thinks the process is stuck. Does it eventually scan though? |
Updating clamav to version 0.103.2 still doesn't help. |
Hi @MandiYang , I'm not sure this has anything to do with clamav or clamtk; this seems more like a system or system configuration issue. What do you think? respectfully, |
i have the same issues on Pop!_OS 21.10 |
@lizard-Szilard , please provide details. Also, follow the instructions from #125 (comment) and let me know what happens. |
after a few tries, mine started to work. (using Ubuntu 22.04.2 LTS.) |
Yeah, that would be more convenient. |
Thanks for all the feedback. I am looking into it. |
I think the best (or only) way to fix this is to switch to clamdscan, or at least have it as an option. Prior to every scan, ClamAV loads all the signatures and this bogs things down. This doesn't happen with clamdscan. I tried removing the progressbar and related things but it doesn't change the delay/freeze that happens. Will also have to decide if clamd should be a requirement with the rpms and debs so it's not a disruption and won't have to provide instructions on how to install it or why. |
This issue still exists on Ubuntu 22.04.4 LTS - 64Bit Same picture as posted in this comment: #125 (comment) |
Clamtk says "Clamtk not responding" for a while and then the "Clamtk not responding" window dissapear and scan the file. I am using ubuntu 20.04
The text was updated successfully, but these errors were encountered: