Bug 153302 - crash when start typing into textbox on TWiki create new page
Summary: crash when start typing into textbox on TWiki create new page
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: 4.0
Platform: Gentoo Packages Linux
: HI crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 21:02 UTC by Juraj Variny
Modified: 2008-03-29 22:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juraj Variny 2007-12-02 21:02:52 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Gentoo Packages
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2)
 
OS:                Linux

This crash happens also in Konq 3.5.7 (and maybe earlier versions too, not sure) installed from Debian backports.

Steps to reproduce(always)

1. Open TWiki create new page, for example here:
http://twiki.org/cgi-bin/view/Sandbox/WebTopicCreator?parent=WebHome

2. Start typing(any letter) into Topic name textbox.

Immediately after having typed first letter, Konq crashes.
Comment 1 Juraj Variny 2007-12-02 21:04:24 UTC
Backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash handler]
#6  0xb5cf2e67 in pcre_compile2 (
    pattern=0xa9bae101 <Address 0xa9bae101 out of bounds>, 
    options=-1413816063, errorcodeptr=0xadbae101, errorptr=0xafbae101, 
    erroroffset=0xb1bae101, 
    tables=0xb3bae101 <Address 0xb3bae101 out of bounds>)
    at pcre_compile.c:6048
#7  0xa7bae101 in ?? ()
#8  0xa9bae101 in ?? ()
#9  0xabbae101 in ?? ()
#10 0xadbae101 in ?? ()
#11 0xafbae101 in ?? ()
#12 0xb1bae101 in ?? ()
#13 0xb3bae101 in ?? ()
#14 0xb5bae101 in ?? () from /usr/kde/3.5/lib/kde3/libkimgallery.so
#15 0xb7bae101 in KToolBar::loadState (this=0xa3bde101, element=@0xa4bde101)
    at ktoolbar.cpp:1819
#16 0xa2bde101 in ?? ()
#17 0xa3bde101 in ?? ()
#18 0xa4bde101 in ?? ()
#19 0xa5bde101 in ?? ()
#20 0xa6bde101 in ?? ()
#21 0xa7bde101 in ?? ()
#22 0xb0bde101 in ?? ()
#23 0xb1bde101 in ?? ()
#24 0xb2bde101 in ?? ()
#25 0xb3bde101 in ?? ()
#26 0xb4bde101 in ?? ()
#27 0xb5bde101 in KonqKfmIconView::doOpenURL (this=0xa1bfe101, 
    url=@0xa2bfe101) at konq_iconview.cc:1321
#28 0xa0bfe101 in ?? ()
#29 0xa1bfe101 in ?? ()
#30 0xa2bfe101 in ?? ()
#31 0xa3bfe101 in ?? ()
#32 0xa4bfe101 in ?? ()
#33 0xa5bfe101 in ?? ()
#34 0xa6bfe101 in ?? ()
#35 0xa7bfe101 in ?? ()
#36 0xb2bfe101 in ?? ()
#37 0xb3bfe101 in ?? ()
#38 0xb4bfe101 in ?? ()
#39 0xb6bfe101 in ?? () from /usr/lib/libfreetype.so.6
#40 0xb7bfe101 in ?? () from /usr/kde/3.5/lib/libkdeui.so.4
#41 0x81b2e201 in ?? ()
#42 0x83b2e201 in ?? ()
#43 0x85b2e201 in ?? ()
#44 0x87b2e201 in ?? ()
#45 0x89b2e201 in ?? ()
#46 0x8bb2e201 in ?? ()
#47 0x8db2e201 in ?? ()
#48 0x8fb2e201 in ?? ()
#49 0x91b2e201 in ?? ()
#50 0x93b2e201 in ?? ()
#51 0x95b2e201 in ?? ()
#52 0x97b2e201 in ?? ()
#53 0x99b2e201 in ?? ()
#54 0x9bb2e201 in ?? ()
#55 0x9db2e201 in ?? ()
#56 0x9fb2e201 in ?? ()
#57 0xa1b2e201 in ?? ()
#58 0xa3b2e201 in ?? ()
#59 0xa5b2e201 in ?? ()
#60 0xa7b2e201 in ?? ()
#61 0xa9b2e201 in ?? ()
#62 0xabb2e201 in ?? ()
#63 0xadb2e201 in ?? ()
#64 0xafb2e201 in ?? ()
#65 0xb1b2e201 in ?? ()
#66 0xb3b2e201 in ?? ()
#67 0xb5b2e201 in KonqSidebarTree (this=0x97bfe101, parent=0x81b4e201, 
    parentWidget=0x82b4e201, virt=-2085297663, path=@0x84b4e201)
    at konq_sidebartree.cpp:176
#68 0xa4b3e201 in ?? ()
#69 0x80b4e201 in ?? ()
#70 0x81b4e201 in ?? ()
#71 0x82b4e201 in ?? ()
#72 0x83b4e201 in ?? ()
#73 0x84b4e201 in ?? ()
#74 0x85b4e201 in ?? ()
#75 0x86b4e201 in ?? ()
#76 0x87b4e201 in ?? ()
#77 0x88b4e201 in ?? ()
#78 0x89b4e201 in ?? ()
#79 0x8ab4e201 in ?? ()
#80 0x8bb4e201 in ?? ()
#81 0x8cb4e201 in ?? ()
#82 0x8db4e201 in ?? ()
#83 0x8eb4e201 in ?? ()
#84 0x8fb4e201 in ?? ()
#85 0x90b4e201 in ?? ()
#86 0x91b4e201 in ?? ()
#87 0x92b4e201 in ?? ()
#88 0x93b4e201 in ?? ()
#89 0x94b4e201 in ?? ()
#90 0x95b4e201 in ?? ()
#91 0x96b4e201 in ?? ()
#92 0x97b4e201 in ?? ()
#93 0x98b4e201 in ?? ()
#94 0x99b4e201 in ?? ()
#95 0x9ab4e201 in ?? ()
#96 0x9bb4e201 in ?? ()
#97 0x9cb4e201 in ?? ()
#98 0x9db4e201 in ?? ()
#99 0x9eb4e201 in ?? ()
#100 0x9fb4e201 in ?? ()
#101 0xa0b4e201 in ?? ()
#102 0xa1b4e201 in ?? ()
#103 0xa2b4e201 in ?? ()
#104 0xa3b4e201 in ?? ()
#105 0xa4b4e201 in ?? ()
#106 0xa5b4e201 in ?? ()
#107 0x80acef01 in ?? ()
#108 0x81acef01 in ?? ()
#109 0x82acef01 in ?? ()
#110 0x83acef01 in ?? ()
#111 0x84acef01 in ?? ()
#112 0x85acef01 in ?? ()
#113 0x86acef01 in ?? ()
#114 0x93acef01 in ?? ()
#115 0x94acef01 in ?? ()
#116 0x95acef01 in ?? ()
#117 0x96acef01 in ?? ()
#118 0x97acef01 in ?? ()
#119 0x08d32380 in ?? ()
#120 0xbf82ce80 in ?? ()
#121 0xb5d9c0d8 in KJS::pool () from /usr/kde/3.5/lib/libkjs.so.1
#122 0xb5d9aff4 in ?? () from /usr/kde/3.5/lib/libkjs.so.1
#123 0x00000000 in ?? ()
Comment 2 Christian Ehrlicher 2007-12-08 10:16:25 UTC
I can confirm this bug with SuSE 10.3 / gcc 4.2.1 (compiled sources). Looks like a bug with gcc 4.2.x - I saw a comment about a possible bug in the source code and it works fine with msvc8 on windows.
Comment 3 Maksim Orlovich 2008-01-14 08:07:07 UTC
Yikes. This is pretty nasty. Getting stack overrun detected, potentially in libpcre... Let's see what's up..
Comment 4 Matt Rogers 2008-02-08 03:39:57 UTC
if it's a compiler problem, then it also affects gcc 4.1.2 as packaged for Fedora.
Comment 5 Maksim Orlovich 2008-03-29 22:36:23 UTC
This is a bug in libPCRE, which is fixed in version 7.6