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 08 Feb 2006 04:50:52 PM UTC  
Votes:  1  
 
Category: NoneSeverity: 4 - Important
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 24 Jan 2007 03:16:28 PM UTC, 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:

Enjoy!

TeXitoi <texitoi>
Tue 23 Jan 2007 06:19:55 PM UTC, 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 23 Jan 2007 04:02:11 PM UTC, 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 08 Feb 2006 04:50:52 PM UTC, 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 1.5.0.1 works correctly on these sites.

build log:
compiled with gcc 3.4.5
linked against Firefox 1.5.0.1, 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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

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

    Back to the top


    Powered by Savane 3.1-cleanup