ClamTk UI freezes while scanning a file

Bug #790561 reported by ronny on 2011-05-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When running a scan via ClamTk, the GUI freezes on every file and only gets responsive again when the scanning process hits the next file (and this way updates the GUI).
Unfortunately, I do not have enough time to take a look at the ClamTk source, but it looks like the scanning process needs to be offloaded to a thread that is independend of the GUI event thread.

Dave M (dave-nerd) wrote :


Thanks for reporting this. Can you give more details? This isn't happening on any of my test systems (Fedora, CentOS, Debian or Ubuntu), so I cannot duplicate it.

If nothing else, please run from the commandline, try a scan, and post back any error messages.

(Open a terminal window, type "clamtk" without the quotes)

Dave M

ronny (ronny-standtke) wrote :

I attach a video demonstrating the issue. I started clamtk from the command line. At startup clamtk is responsive, but directly after starting the scan, the GUI completely freezes. There is no error message on the console. While running the scan, the GUI also freezes while processing a file and only "unfreezes" after scanning the file finished. Again, there is never any error message on the console.

Dave M (dave-nerd) wrote :

Ah, right, when scanning larger files it does appear to freeze up a little. Threads can be tricky in gtk2-perl (, but there might be at least some ways to improve it.

I won't be able to get anything going for 4.33, but I'll work on it for the one after that.

Dave M

ronny (ronny-standtke) wrote :

Great, thank you very much in advance for fixing this issue! :-)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers