Bug 201176 - KHTML segfaults when loading UTF-16 page
Summary: KHTML segfaults when loading UTF-16 page
Status: RESOLVED DUPLICATE of bug 199557
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.2.4
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 03:07 UTC by Andrew Munkres
Modified: 2009-07-24 03:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Stack trace (3.47 KB, text/plain)
2009-07-23 03:08 UTC, Andrew Munkres
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***