[ ijbswa-Bugs-3525694 ] Disabling Privoxy via right-click on tasktray icon hangs Pri

SourceForge.net <[email protected]>
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Bugs item #3525694, was opened at 2012-05-10 18:49
Message generated for change (Comment added) made by thubb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111118&aid=3525694&group_id=11118

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: windows-specific
Group: None
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim H (thubb)
Assigned to: Nobody/Anonymous (nobody)
Summary: Disabling Privoxy via right-click on tasktray icon hangs Pri

Initial Comment:
Privoxy very occasionally fatally hangs when it is disabled via right-clicking on the tasktray icon and unchecking "Enable".
CPU time drops to zero and there is no further response to right-clicks. Any communication in progress is interrupted. The only resolution is to kill the process.

I've had this happen twice since I upgraded to 3.0.19 on 2012-04-03. I disable/enable Privoxy frequently as my filters intentionally strip features of some sites that I occasionally need to re-enable. There is no information in the Privoxy log or system event log. I use both Chrome and Seamonkey as browsers and both were in use at the time of the failure. I also had several tabs open in each browser so I don't know which site was actually being accessed at the time. Killing the process appears to keep the final log entries from being flushed to the disk since the last entry in the Privoxy log is from over 10 minutes prior to the hang.

Sorry I can't give any more information. Is there something you'd like me to do if it happens again? Would you like me to upload my config & user files?

Privoxy version 3.0.19
Windows XP Pro SP3
External router and switch in use
Avast anti-virus


----------------------------------------------------------------------

>Comment By: Tim H (thubb)
Date: 2012-05-23 00:16

Message:
'...can still reproduce the problem after setting "activity-animation 0".'

Yes, I can still reproduce it by right-clicking the tray icon and toggling
the enable state. It typically takes less than 20 right-clicks for it to
happen on my system. Note that a right-click forces the icon to update even
with activity animation off. Also note that the HTTP toggle request does
not get an "Info: Now toggled xxx." log entry while the right-click toggle
does (if that helps).

I've sent a new link to the files by email. This link is only valid until
2012-06-05.

----------------------------------------------------------------------

Comment By: Fabian Keil (fabiankeil)
Date: 2012-05-18 08:30

Message:
https://skydrive.live.com/ doesn't work with my browser configuration so I
wasn't able to access the config files or the script used to reproduce the
problem.

Anyway, it would be useful to know if you can still reproduce the problem
after setting "activity-animation 0".

If you can't, this could indicate a race condition that should be fixable
without requiring a deeper understanding of the win32 API.

----------------------------------------------------------------------

Comment By: Fabian Keil (fabiankeil)
Date: 2012-05-11 11:26

Message:
Thanks for the report.

If you have logging enabled, toggling Privoxy off through the taskbar is
supposed to result in a "Now toggled OFF" log message.

Do you never get those, or just not when Privoxy is hanging?

It seems unlikely to me that log messages from 10 minutes ago would be lost
on exit. A more likely explanation would be that there simply are no log
messages (either because there was no log-worthy event, or because the
problem affects logging as well).

Is the GUI log not generally in sync with the logfile on disk?

Can you reproduce the problem by running wget in a loop to toggle Privoxy
on and off through the remote toggle?
http://config.privoxy.org/user-manual/config.html#ENABLE-REMOTE-TOGGLE
This would rule out a bug in Privoxy's Windows-specific code.

While I expect this to be a bug in the Windows-specific code, it would
still be good to rule out a platform-independent bug which would be a lot
easier to debug.

----------------------------------------------------------------------

Comment By: Tim H (thubb)
Date: 2012-05-10 19:00

Message:
I also have a background process that runs every 3 minutes (to issue an
audio warning if Privoxy is disabled) and executes these commands (and
more) in a Cygwin Bash script:

http_proxy=http://127.0.0.1:8118
wget --proxy -q -O - http://config.privoxy.org/  | ...


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111118&aid=3525694&group_id=11118

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.