Bug 201176

Summary: KHTML segfaults when loading UTF-16 page
Product: [Applications] konqueror Reporter: Andrew Munkres <amunkres>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 4.2.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Stack trace

Description Andrew Munkres 2009-07-23 03:07:24 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Unlisted Binary Package

When I try to visit this URL in Konqueror 4.2.4:

http://www.furinkan.com/

Konqueror will do one of two things:

1) Segfault. (this is what it usually does)
2) Render the page as if its contents were two characters and nothing more. (I can't seem to reproduce this behavior now, so I don't remember for sure what the two characters were, but I think that they were "ÿþ".)

I'm using the build of KHTML from the package kdelibs 4.2.4-4 from Arch Linux for x86_64.

It only started to segfault after a recent update, although I don't remember what version was the last version that didn't crash. In this version that didn't segfault, it would do this:

- On the first attempt to load the page, it would display the page as "ÿþ".
- Then, if I clicked in the URL bar and pressed Enter, it would load the page correctly.

I will attach a stack trace.
Comment 1 Andrew Munkres 2009-07-23 03:08:39 UTC
Created attachment 35560 [details]
Stack trace
Comment 2 Andrew Munkres 2009-07-23 03:16:05 UTC
Note: the page that causes KHTML to crash uses the UTF-16 text encoding. (I mentioned this in the bug title, but I forgot to mention it in the description.)
Comment 3 Dario Andres 2009-07-24 03:30:34 UTC
The crash is fixed in KDE4.3 code: bug 199557. Thanks!

*** This bug has been marked as a duplicate of bug 199557 ***