bugkazehakase - Bugs: bug #5225, freeze on HTTPS

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #5225: freeze on HTTPS

Submitted by:  William Brana <wbrana>
Submitted on:  Wed Feb 8 16:50:52 2006  
Votes:  1  
Category: NoneSeverity: 4 - Important
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed Jan 24 15:16:28 2007, comment #3:

After some experiments, I have the bug fixed.

The loop at line 1512 seems wrong, and simply remove it lets the application work on https over a proxy. We can see some error messages on stderr :

The patch:


TeXitoi <texitoi>
Tue Jan 23 18:19:55 2007, comment #2:

So, it freeze at line 1512 of src/net/kz-http.c :

It seems that the browser try to create an encrypted connection directly with the proxy and the proxy don't respond, so we have an infinite loop. We need to connect to the remote server before, something like that :

So it needs some trick before the handshake.

I hope it helps.

TeXitoi <texitoi>
Tue Jan 23 16:02:11 2007, comment #1:

I have this bug with version 0.4.2, 0.4.3 from debian and from CVS version with "./configure --with-gecko-engine=xulrunner --prefix=/home/pinot/local/".

When I go to a https web site, kazehakase warns me that I enter to a secured web site. I validate, and then kazehakase freezes with 100% CPU usage.

strace don't say anything interesting, and it segfault when I try to lanch kazehakase in gdb.

This bug arrive only when I use https with a proxy (squid/2.5.STABLE9 in my case). https with no proxy seems to work fine.

TeXitoi <texitoi>
Wed Feb 8 16:50:52 2006, original submission:

kazehakase 0.3.5 freezes on most sites which use HTTPS including https://gna.org/bugs/?group=kazehakase with 100% CPU usage
"killall kazehakase" is needed to terminate
Firefox works correctly on these sites.

build log:
compiled with gcc 3.4.5
linked against Firefox, Gnutls 1.2.9, GTK 2.8.11
proxy server Squid 2.5.12 used

William Brana <wbrana>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by miernik
  • -unavailable- added by texitoi (Posted a comment)
  • -unavailable- added by wbrana (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 1 encouragement so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Feb 11 01:44:12 2007miernikCarbon-Copy-=>Added miernik
    Tue Jan 23 16:03:13 2007texitoiCarbon-CopyRemoved texitoi=>-
    Tue Jan 23 16:02:11 2007texitoiCarbon-Copy-=>Added texitoi
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup