[Bug 203744] Re: konqueror causes segfault in libpcre

Yuriy Kozlov yuriy.kozlov at gmail.com
Tue Mar 18 23:42:13 UTC 2008


I installed libpcre3-dbg under Hardy and ran konqueror 3.5.9 under gdb
and got a backtrace with this repeating over and over (the eptr and the
exact string change).  Looks like it's getting into some sort of
infinitely loop trying to parse the page.

#6013 0x00007f64308b8d31 in match (
    eptr=0x1302653 ">Volume 237 Issue 2</a> - 8 July 1985 - (145-289)<br/></li><li><a href=\"/journal/109688358/issue\">Volume 237 Issue 1</a> - 1 July 1985 - (1-143)<br/></li><li><a"..., ecode=0x13e9577 "U",
    mstart=0x1301ae0 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<ul xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:i18n=\"http://apache.org/cocoon/i18n/2.1\" xmlns:cin"..., offset_top=6, md=0x7fff442441e0, ims=0,
    eptrb=0x0, flags=0, rdepth=<value optimized out>) at pcre_exec.c:1289
#6014 0x00007f64308b636c in match (
    eptr=0x1302652 "\">Volume 237 Issue 2</a> - 8 July 1985 - (145-289)<br/></li><li><a href=\"/journal/109688358/issue\">Volume 237 Issue 1</a> - 1 July 1985 - (1-143)<br/></li><li><"..., ecode=0x13e956d "^",
    mstart=0x1301ae0 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<ul xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:i18n=\"http://apache.org/cocoon/i18n/2.1\" xmlns:cin"..., offset_top=6, md=0x7fff442441e0, ims=0,
    eptrb=0x0, flags=0, rdepth=5861) at pcre_exec.c:690
#6015 0x00007f64308b8d31 in match (
    eptr=0x1302652 "\">Volume 237 Issue 2</a> - 8 July 1985 - (145-289)<br/></li><li><a href=\"/journal/109688358/issue\">Volume 237 Issue 1</a> - 1 July 1985 - (1-143)<br/></li><li><"..., ecode=0x13e9577 "U",
    mstart=0x1301ae0 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<ul xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:i18n=\"http://apache.org/cocoon/i18n/2.1\" xmlns:cin"..., offset_top=6, md=0x7fff442441e0, ims=0,
    eptrb=0x0, flags=0, rdepth=<value optimized out>) at pcre_exec.c:1289
#6016 0x00007f64308b636c in match (
    eptr=0x1302651 "e\">Volume 237 Issue 2</a> - 8 July 1985 - (145-289)<br/></li><li><a href=\"/journal/109688358/issue\">Volume 237 Issue 1</a> - 1 July 1985 - (1-143)<br/></li><li>"..., ecode=0x13e956d "^",
    mstart=0x1301ae0 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<ul xmlns=\---Type <return> to continue, or q <return> to quit---
"http://www.w3.org/1999/xhtml\" xmlns:i18n=\"http://apache.org/cocoon/i18n/2.1\" xmlns:cin"..., offset_top=6, md=0x7fff442441e0, ims=0,
    eptrb=0x0, flags=0, rdepth=5859) at pcre_exec.c:690
#6017 0x00007f64308b8d31 in match (
    eptr=0x1302651 "e\">Volume 237 Issue 2</a> - 8 July 1985 - (145-289)<br/></li><li><a href=\"/journal/109688358/issue\">Volume 237 Issue 1</a> - 1 July 1985 - (1-143)<br/></li><li>"..., ecode=0x13e9577 "U",
    mstart=0x1301ae0 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<ul xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:i18n=\"http://apache.org/cocoon/i18n/2.1\" xmlns:cin"..., offset_top=6, md=0x7fff442441e0, ims=0,
    eptrb=0x0, flags=0, rdepth=<value optimized out>) at pcre_exec.c:1289
#6018 0x00007f64308b636c in match (
    eptr=0x1302650 "ue\">Volume 237 Issue 2</a> - 8 July 1985 - (145-289)<br/></li><li><a href=\"/journal/109688358/issue\">Volume 237 Issue 1</a> - 1 July 1985 - (1-143)<br/></li><li"..., ecode=0x13e956d "^",
    mstart=0x1301ae0 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<ul xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:i18n=\"http://apache.org/cocoon/i18n/2.1\" xmlns:cin"..., offset_top=6, md=0x7fff442441e0, ims=0,
    eptrb=0x0, flags=0, rdepth=5857) at pcre_exec.c:690
#6019 0x00007f64308b8d31 in match (
    eptr=0x1302650 "ue\">Volume 237 Issue 2</a> - 8 July 1985 - (145-289)<br/></li><li><a href=\"/journal/109688358/issue\">Volume 237 Issue 1</a> - 1 July 1985 - (1-143)<br/></li><li"..., ecode=0x13e9577 "U",
    mstart=0x1301ae0 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<ul xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:i18n=\"http://apache.org/cocoon/i18n/2.1\" xmlns:cin"..., offset_top=6, md=0x7fff442441e0, ims=0,
    eptrb=0x0, flags=0, rdepth=<value optimized out>) at pcre_exec.c:1289
#6020 0x00007f64308b636c in match (

-- 
konqueror causes segfault in libpcre
https://bugs.launchpad.net/bugs/203744
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kdebase in ubuntu.




More information about the kubuntu-bugs mailing list