Bug 82161 - Konqueror hangs when changing fontsize on manpages
Summary: Konqueror hangs when changing fontsize on manpages
Status: RESOLVED DUPLICATE of bug 75806
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.2.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 15:07 UTC by Roland Seuhs
Modified: 2004-05-28 15:27 UTC (History)
0 users

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 Roland Seuhs 2004-05-25 15:07:02 UTC
Version:           3.2.1 (using KDE 3.2.1, SuSE)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:                Linux (i686) release 2.4.20-4GB

To reproduce:

1) View manpage (I used the "man:mplayer")
2) Try to change fontsize
3) Konqueror hangs, eating all CPU, no crashreport
Comment 1 Stephan Kulow 2004-05-25 15:37:14 UTC
it's loading new fonts. Do you have a strace? 
I can't reproduce it
Comment 2 Roland Seuhs 2004-05-25 16:30:28 UTC
I just played a bit with it, and it only seems to affect very long manpages, I could only crash it on the mplayer and gcc manpages which are both very long the shorter manpages worked fine.

I'll try on other computers running KDE3.2.2 in the next days and see wether the bug happens there, too.


Comment 3 Roland Seuhs 2004-05-27 18:23:53 UTC
I have now tried it on a computer running KDE 3.2.2 (SuSE 9.1) and Konqueror also hanged while trying to change the fontsize while displaying the gcc-manpage.

Comment 4 Stephan Binner 2004-05-27 21:02:01 UTC
For me it crashes in khtml :-)...
Comment 5 Stephan Kulow 2004-05-28 10:26:03 UTC
it's working al fine for me (man:gcc - no mplayer for me)

Roland: SUSE 9.1 got KDE 3.2.1 (even though _slightly_ patched :) - for SuSE 9.1 make sure you got all you updates - especially the qt3 update. And I still would like to see an strace or a gdb attach.
Comment 6 Roland Seuhs 2004-05-28 12:12:27 UTC
OK, I put the strace here:

http://b.f1-facts.com/82161_strace.txt

(It's 1.6 MB, created with "strace konqueror man:gcc 2>> strace.txt >> strace.txt", I don't want to flood bugzilla with that)

The SuSE 9.1 is a fresh install with a complete run of YOU 4 or 5 days ago.

Konqueror also crashes when I save the manpage as html and later display it, so it seems to be a bug in khtml, see:

http://b.f1-facts.com/gcc.html

and change the fontsize.


I played around a bit and couldn't make it crash with a very long "normal" html-page, though.
Comment 7 Tommi Tervo 2004-05-28 12:24:53 UTC
You are propably hitting very popular bug #75806
At least crash from http://b.f1-facts.com/gcc.html is known <dl compact> bug which is fixed in upcoming KDE 3.2.3.
Comment 8 Roland Seuhs 2004-05-28 13:08:05 UTC
I couldn't reproduce any crashes from bug #75806 (I tried at least 5 duplicates, too) but I can reliable hang konqueror on man:gcc but only when changing the fontsize.

I don't think it's the same bug.
Comment 9 Stephan Kulow 2004-05-28 14:00:27 UTC
I can reproduce the hang with a SuSE RPM but not with a self built konqueror ;(
Comment 10 Stephan Kulow 2004-05-28 14:03:40 UTC
OK, the stack trace looks _very_ similiar to the one in the crashes.

Roland: please take out all compact flags from <dl> and try if you can reproduce it then.

#0  0x41af1952 in Bidinext () from /opt/kde3/lib/libkhtml.so.4
#1  0x41b26c0a in khtml::RenderBlock::layoutInlineChildren () from /opt/kde3/lib/libkhtml.so.4
#2  0x41b27270 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#3  0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#4  0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#5  0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#6  0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#7  0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#8  0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#9  0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#10 0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#11 0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#12 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#13 0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#14 0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#15 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#16 0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#17 0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#18 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#19 0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#20 0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#21 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#22 0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#23 0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#24 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#25 0x41b26ca5 in khtml::RenderBlock::layoutInlineChildren () from /opt/kde3/lib/libkhtml.so.4
#26 0x41b27270 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#27 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#28 0x41b27965 in khtml::RenderBody::layout () from /opt/kde3/lib/libkhtml.so.4
#29 0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#30 0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#31 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#32 0x41b23be3 in khtml::RenderBlock::layoutBlockChildren () from /opt/kde3/lib/libkhtml.so.4
#33 0x41b273f0 in khtml::RenderBlock::layoutBlock () from /opt/kde3/lib/libkhtml.so.4
#34 0x41b27933 in khtml::RenderBlock::layout () from /opt/kde3/lib/libkhtml.so.4
#35 0x41b27ac4 in khtml::RenderCanvas::layout () from /opt/kde3/lib/libkhtml.so.4
#36 0x41a82c0a in KHTMLView::layout () from /opt/kde3/lib/libkhtml.so.4
Comment 11 Roland Seuhs 2004-05-28 15:17:24 UTC
OK, there was one instance of <DL COMPACT> in gcc.html, and after it was removed, it did no longer hang when changing fonts.


Comment 12 Stephan Kulow 2004-05-28 15:27:12 UTC
ok, then this is just another symptom of the same bug - and it doesn't crash because you're lucky :)

Thanks for your work.

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