Bug 87929

Summary: crash when viewing a manpages source started from konqueror
Product: [Applications] kate Reporter: Martin Koller <martin>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin Koller 2004-08-24 13:37:17 UTC
Version:           4.3 (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.2.3
OS:                Linux (i686) release 2.6.7

If I view a man page in konqueror (e.g. #ls), and then click with RMB "View document source", kwrite is started but immediately crashes. Reproduceable.

here is the bt:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 22184)]
[KCrash handler]
#4  0x40fca239 in QLatin15Codec::toUnicode (this=0x8053cf8, 
    chars=0x831f510 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<HTML><HEAD><TITLE>LS Manpage</TITLE>\n<link rel=\"stylesheet\" href=\"file:/opt/kde-3.3/share/doc/HTML//en/common/kde-default.css\" type=\"te"..., 
    len=11262) at codecs/qtextcodec.cpp:2545
#5  0x40fc7a66 in QTextStatelessDecoder::toUnicode (this=0x830ce28, 
    chars=0x831f510 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<HTML><HEAD><TITLE>LS Manpage</TITLE>\n<link rel=\"stylesheet\" href=\"file:/opt/kde-3.3/share/doc/HTML//en/common/kde-default.css\" type=\"te"..., 
    len=24823) at codecs/qtextcodec.cpp:196
#6  0x41977b49 in KateFileLoader::open (this=0xbffff4f0) at qmemarray.h:103
#7  0x41972a1b in KateBuffer::openFile (this=0x8179aa0, m_file=@0x8147d28)
    at qstring.h:848
#8  0x4199c533 in KateDocument::openFile (this=0x8147cc0, job=0xbffff5c0)
    at katedocument.cpp:2532
#9  0x4199c3ae in KateDocument::openFile (this=0x8147cc0)
    at katedocument.cpp:2504
#10 0x4199bbf3 in KateDocument::openURL (this=0x8147cc0, url=@0xbffff650)
    at katedocument.cpp:2413
#11 0x40024632 in KWrite::loadURL (this=0x81321e8, url=@0xbffff710)
    at kwritemain.cpp:188
#12 0x40026b47 in kdemain (argc=2, argv=0xbffff954) at kwritemain.cpp:635
#13 0x080486f9 in main (argc=2, argv=0xbffff954) at kwrite.la.cpp:2
Comment 1 Christoph Cullmann 2004-08-24 15:25:45 UTC

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