Bug 165553 - Misrendering of http://www.tz-online.de/de/aktuelles/muenchen/artikel_41656.html
Summary: Misrendering of http://www.tz-online.de/de/aktuelles/muenchen/artikel_41656....
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 09:34 UTC by Sascha Peilicke
Modified: 2008-11-03 11:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Peilicke 2008-07-02 09:34:05 UTC
Version:            (using KDE 3.5.9)
Installed from:    Ubuntu Packages

Just as the short descriptions state, load the page and konqueror segfaults. This seems to be related to libpcre as the backtrace says:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb66a26c0 (LWP 7233)]
match (
    eptr=0x8b36434 "onflikte feststellen (by alex)\r\n    if ($(\"comments-create-anonymous\")) Element.hide(\"comments-create-anonymous\");\r\n    if ($(\"comment-add-wrapper\")) Element.hide(\"comment-add-wrapper\");\r\n    var wrap"..., ecode=0x89577bc "T",
    mstart=0x8b34a3f "<script type=\"text/javascript\">\r\n// <![CDATA[\r\n\r\n// create confirm dialog div\r\n  var adminDialog = document.createElement('div');\r\n  adminDialog.setAttribute('className', 'adminpopup');\r\n  adminDialog"..., offset_top=6, md=0xbfa8a488, ims=3, eptrb=0x0, flags=0, rdepth=6617)
    at pcre_exec.c:3921
3921    pcre_exec.c: No such file or directory.
---Type <return> to continue, or q <return> to quit---
        in pcre_exec.c

I will double post the bug also in pcre's bug-tracker.
Comment 1 Christophe Marin 2008-07-02 11:09:39 UTC
Please also look here : https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/203744
Comment 2 Christophe Marin 2008-07-02 11:15:20 UTC
The issue is the same as the one reported in bug 160792. (libpcre bug that I couldn't reproduce after installing libpcre 7.7)
Comment 3 A. Spehr 2008-07-02 11:50:34 UTC
I think I'm using 7.6, at any rate, no crash in 4.0.84, although the rendering is kinda off. 

Is this something that can be backported?
Comment 4 Christophe Marin 2008-07-02 11:55:55 UTC
noticeable output : KJS: pcre_exec() failed with result -21

and indeed, the rendering isn't what it should be.
Comment 5 Maksim Orlovich 2008-07-03 00:55:32 UTC
The crash is fixed. Essentially, libpcre needs to recurse a lot for some really bad regular expressions. In KJS4.x we set a limit on it (revised down somewhat on later releases). Unfortunately, it does mean regexp matching fails.

Re-titling for the remaining issue. It could be the same thing, though, as the regexp matching fails now.



Comment 6 Sascha Peilicke 2008-11-03 11:10:18 UTC
Just tested the page once more with Konqueror 4.1.2 (Intrepid Ibex) and the page seems to work, no crash.