Bug 82736

Summary: Konqueror crashes upon loading http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
Product: [Applications] konqueror Reporter: Frederik Dannemare <frederik>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frederik Dannemare 2004-06-02 23:12:08 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I am using the debs made by Dominique Devriese. These packages are the same as thos in Debian Sid but rebuilt with debugging support. More info at: http://www.kde-debian.org/~domi/debugging-kde-crash.html

Although debugging support is enabled, I don't get a proper backtrace, however. Not sure why.

Here's the backtrace anyway (hope it's not all useless):
This backtrace appears to be useless.
This is probably because your packages are built in a way which prevents creating of proper backtraces, or the stack frame was seriously corrupted in the crash.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1101736000 (LWP 7224)]
0x4114240e in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#0  0x4114240e in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#1  0x407cf2da in KCrash::defaultCrashHandler (sig=6) at kcrash.cpp:246
#2  <signal handler called>
#3  0x41340f19 in raise () from /lib/tls/libc.so.6
#4  0x4144eebc in ?? () from /lib/tls/libc.so.6
#5  0x0872a014 in ?? ()
#6  0x41342771 in abort () from /lib/tls/libc.so.6
#7  0x00000000 in ?? ()
#8  0x00000020 in ?? ()
#9  0x00000000 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x413863e9 in _IO_file_write () from /lib/tls/libc.so.6
#41 0x4138560f in _IO_do_write () from /lib/tls/libc.so.6
#42 0x41386567 in _IO_file_xsputn () from /lib/tls/libc.so.6
#43 0x00000188 in ?? ()
#44 0x0849ba28 in ?? ()
#45 0x408b59c0 in malloc_type () from /usr/lib/libkdecore.so.4
#46 0x408ad9d8 in __JCR_LIST__ () from /usr/lib/libkdecore.so.4
#47 0x0849ba30 in ?? ()
#48 0xbfffe2d4 in ?? ()
#49 0x40877947 in free (m=0x41384ec0) at ../../../kdecore/malloc/malloc.c:5536


And here is terminal output from Konqueror:
konqueror: _url http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html filtered into http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
konqueror: KonqMainWindow::openURL : url = 'http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html'  serviceType='' view=(nil)
konqueror: KonqMainWindow::abortLoading()
konqueror: KonqView::stop()
khtml (part): saveState!
khtml (part): KHTMLPart::saveState saving URL about:blank
konqueror: setLocationBarURL : url = http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
konqueror: KonqMainWindow::setLocationBarURL: url = http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
konqueror: trying openView for http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html (serviceType )
konqueror: Creating new konqrun for http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html req.typedURL=http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
konqueror: [void KonqView::setLoading(bool, bool)] loading=true hasPending=false
kparts: BrowserRun::scanfile http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
kparts: slotBrowserMimetype: found text/html for http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
kio (KIOJob): Job::kill this=0x8519f78 m_progressId=0 quietly=true
konqueror: [void KonqView::setLoading(bool, bool)] loading=false hasPending=false
konqueror: KonqMainWindow::openView text/html http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html 0x8498a10 req:[typedURL=http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html newTabInFront]
konqueror: makeViewsFollow KonqView url=http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html serviceType=text/html
konqueror: changeViewMode: serviceType is text/html serviceName is  current service name is khtml
konqueror: KonqView::openURL url=http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html locationBarURL=http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
konqueror: KonqView::setLocationBarURL http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html this=0x8498a10
konqueror: KonqMainWindow::setLocationBarURL: url = http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
khtml (part): KHTMLPart(0x83a8368)::openURL http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
konqueror: [void KonqView::setLoading(bool, bool)] loading=true hasPending=false
khtml (part): saveState!
khtml (part): KHTMLPart::saveState saving URL http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
libkonq: ## addToHistory: http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html Typed URL: http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html, Title:
konqueror: KonqMainWindow::openView ok=true bOthersFollowed=false returning true
kio (Scheduler): Resume metadata is ''
kio (Scheduler): HOLD: Reusing held slave for http://www.die.net/doc/linux/man/man5/vsftpd.conf.5.html
konqueror: KonqMainWindow::slotRunFinished()
khtml (xml):  using transitional parseMode
konqueror: KonqMainWindow::setCaption(vsftpd.conf(5) - Linux man page)
khtml (part): Running new KHTMLRun for 0x83a8368 and child=0x8557358
konqueror: [void KonqView::setLoading(bool, bool)] loading=true hasPending=false
kparts: BrowserRun::scanfile http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-5823754184406795&random=1086209177519&alternate_ad_url=http%3A%2F%2Fads.die.net%2F%3Furl%3Dhttp%3A%2F%2Fwww.die.net%2Fdoc%2Flinux%2Fman%2Fman5%2Fvsftpd.conf.5.html%26type%3Dright&format=300x250_as&output=html&channel=8016292934&url=http%3A%2F%2Fwww.die.net%2Fdoc%2Flinux%2Fman%2Fman5%2Fvsftpd.conf.5.html&color_bg=FFF7F7&color_text=333333&color_link=660000&color_url=660000&color_border=660000
konqueror: RenderCanvas(1): 0x83b2e40  oc mmk rmm zI: auto  <> (0,0,1020,0) [452-452] { mT: 0 qT: 0 mB: 0 qB: 0} layer=0x83b2edc
konqueror:   RenderBlock(1): 0x83b2f24  oc mmk rmm  <html> (0,0,1020,0) [452-3108] { mT: 0 qT: 0 mB: 0 qB: 0} layer=0x83b2f94
konqueror:     RenderBody(1): 0x83b2fdc  oc mmk rmm zI: auto  <body> (0,10,874,0) [306-2962] { mT: 10 qT: 0 mB: 10 qB: 0}
konqueror:       RenderBlock(13): 0x83b3050  mmk rmm zI: auto  <div> (0,0,874,467) [306-2962] { mT: 0 qT: 0 mB: 0 qB: 0}
konqueror:         RenderBlock(2): 0x83b30c0  ci lt mmk zI: auto  <h1> (0,0,874,28) [170-381] { mT: 0 qT: 0 mB: 14 qB: 0}
konqueror:           RenderText(2): 0x83b3130  il mmk zI: auto  <text> (0,0,381,26) [170-381] { mT: 0 qT: 0 mB: 0 qB: 0} "vsftpd.con"
konqueror:         RenderBlock (floating)(1): 0x83b3174  ci fl lt mmk zI: auto  <div> (574,42,300,250) [300-300] { mT: 0 qT: 0 mB: 6 qB: 0}
konqueror:           RenderPartObject(1): 0x83b320c  il rp lt mmk zI: auto  <iframe> (0,0,300,250) [300-300] { mT: 0 qT: 0 mB: 0 qB: 0}

[ ... hundreds more of these Render lines ... (will you need them?) ]

konqueror:             RenderBlock (anonymous)(1): 0x85ada7c  ci an mmk zI: auto  (0,-500000,0,0) [0-0] { mT: 0 qT: 0 mB: 0 qB: 0}
konqueror:               RenderText(2): 0x85ada38  il mmk zI: auto  <text> (0,0,0,20) [0-5] { mT: 0 qT: 0 mB: 0 qB: 0} " "
 this object = 0x858a49c, [
0: /usr/lib/libkdecore.so.4(_Z11kdBacktracei+0x38) [0x408d67b8]
1: /usr/lib/libkdecore.so.4(_Z11kdBacktracev+0x26) [0x408d6a70]
2: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock11layoutBlockEb+0x134) [0x423d40ae]
3: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock6layoutEv+0x25) [0x423d3f73]
4: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock19layoutBlockChildrenEb+0xe8b) [0x423d56a9]
5: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock11layoutBlockEb+0x409) [0x423d4383]
6: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock6layoutEv+0x25) [0x423d3f73]
7: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock19layoutBlockChildrenEb+0xe8b) [0x423d56a9]
8: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock11layoutBlockEb+0x409) [0x423d4383]
9: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock6layoutEv+0x25) [0x423d3f73]
10: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock19layoutBlockChildrenEb+0xe8b) [0x423d56a9]
11: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock11layoutBlockEb+0x409) [0x423d4383]
12: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock6layoutEv+0x25) [0x423d3f73]
13: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock19layoutBlockChildrenEb+0xe8b) [0x423d56a9]
14: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock11layoutBlockEb+0x409) [0x423d4383]
15: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock6layoutEv+0x25) [0x423d3f73]
16: /usr/lib/libkhtml.so.4(_ZN5khtml10RenderBody6layoutEv+0x1e) [0x4241a710]
17: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock19layoutBlockChildrenEb+0xe8b) [0x423d56a9]
18: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock11layoutBlockEb+0x409) [0x423d4383]
19: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock6layoutEv+0x25) [0x423d3f73]
20: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock19layoutBlockChildrenEb+0xe8b) [0x423d56a9]
21: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock11layoutBlockEb+0x409) [0x423d4383]
22: /usr/lib/libkhtml.so.4(_ZN5khtml11RenderBlock6layoutEv+0x25) [0x423d3f73]
23: /usr/lib/libkhtml.so.4(_ZN5khtml12RenderCanvas6layoutEv+0x226) [0x42413846]
24: /usr/lib/libkhtml.so.4(_ZN9KHTMLView6layoutEv+0x1b9) [0x4232d35f]
25: /usr/lib/libkhtml.so.4(_ZN9KHTMLView10timerEventEP11QTimerEvent+0x287) [0x42334537]
26: /usr/lib/libqt-mt.so.3(_ZN7QObject5eventEP6QEvent+0x99) [0x40dad68f]
27: /usr/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x25) [0x40de75e1]
28: /usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x221) [0x40d4cba3]
29: /usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x8f5) [0x40d4c839]
30: /usr/lib/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x588) [0x408c85a4]
31: /usr/lib/libkdeinit_konqueror.so(_ZN12QApplication9sendEventEP7QObjectP6QEvent+0x54) [0x400ea350]
32: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop14activateTimersEv+0x214) [0x40d3b176]
33: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x94f) [0x40cf3ebf]
34: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x6b) [0x40d62a75]
35: /usr/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x32) [0x40d6298e]
36: /usr/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x23) [0x40d4cd0f]
37: /usr/lib/libkdeinit_konqueror.so(kdemain+0x144b) [0x4008863f]
38: konqueror(kdemain+0xfe) [0x80485f6]
39: /lib/tls/libc.so.6(__libc_start_main+0x108) [0x414957f8]
]

konqueror: ../../../khtml/rendering/render_block.cpp:429: void khtml::RenderBlock::layoutBlock(bool): Assertion `false' failed.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 22997
Comment 1 Frederik Dannemare 2004-06-03 00:24:11 UTC
I have narrowed it down to this:

This will crash Konqueror (test here: http://sentinel.dk/vsftpd.conf.5-WORKS.html):

###############################################################
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<title>vsftpd.conf(5) - Linux man page</title>
</head>

<body bgcolor="#ffffff" text="#333333" link="#660000" vlink="#660000" alink="#000000">

<dl compact>
<dt><b>listen</b>
<dd>If enabled, vsftpd will run in standalone mode. This means that
vsftpd must not be run from an inetd of some kind. Instead, the
vsftpd executable is run once directly. vsftpd itself will then
take care of listening for and handling incoming connections.

<p>Default: NO

</dl>
</body>
</html>
###############################################################


This, on the other hand, does not crash Konqueror (test here: http://sentinel.dk/vsftpd.conf.5-CRASHES.html):

###############################################################
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<title>vsftpd.conf(5) - Linux man page</title>
</head>

<body bgcolor="#ffffff" text="#333333" link="#660000" vlink="#660000" alink="#000000">

<dl compact>
<dt><b>foobar</b>
<dd>If enabled, vsftpd will run in standalone mode. This means that
vsftpd must not be run from an inetd of some kind. Instead, the
vsftpd executable is run once directly. vsftpd itself will then
take care of listening for and handling incoming connections.

<p>Default: NO

</dl>
</body>
</html>
###############################################################

If you look closely, you'll notice the small difference which is:

diff vsftpd.conf.5-CRASHES.html vsftpd.conf.5-WORKS.html
10c10
< <dt><b>listen</b>
---
> <dt><b>foobar</b>


I don't know much about HTML, but Konqi obviously doesn't like 'listen' in this context.
Comment 2 Frederik Dannemare 2004-06-03 00:26:50 UTC
Argh, I switched the two test links (WORKS vs CRASHES) in the above text. Well, I'm sure you are able to figure it out. :)
Comment 3 Stephan Kulow 2004-06-03 14:49:10 UTC

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