[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#43803: marked as done (kword: loading utf-8 html document crashes kword) by Melchior FRANZ <a860
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       2002-08-31 12:48:01
[Download RAW message or body]

Your message with subj: kword: loading utf-8 html document crashes kword

Closed by the submitter.

The test file from the original bug report works now with the
cvs version from yesterday 2002-08-30.

m.


has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

(Complete bug history is available at http://bugs.kde.org/db/43/43803.html)

Received: (at submit) by bugs.kde.org; 11 Jun 2002 12:34:07 +0000
Received: (qmail 13417 invoked from network); 11 Jun 2002 12:34:06 -0000
Received: from unet4-21.univie.ac.at (HELO server.lan) (root@131.130.233.21)
  by max.tat.physik.uni-tuebingen.de with SMTP; 11 Jun 2002 12:34:06 -0000
Received: from localhost (localhost [127.0.0.1])
	by server.lan (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g5BCY2I14813
	for <submit@bugs.kde.org>; Tue, 11 Jun 2002 14:34:02 +0200
From: Melchior FRANZ <a8603365@unet.univie.ac.at>
To: submit@bugs.kde.org
Subject: kword: loading utf-8 html document crashes kword
Date: Tue, 11 Jun 2002 14:34:00 +0200
User-Agent: KMail/1.4.5
X-PGP: http://www.unet.univie.ac.at/~a8603365/melchior.franz
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Message-Id: <200206111434.00687@pflug3.gphy.univie.ac.at>
X-Spam-Rating: max.tat.physik.uni-tuebingen.de 0/1000/N

Package: kword
Severity: crash
Version: 1.2beta1
OS: Linux (i686) release 2.4.18
Compiler: gcc version 2.95.2 19991024 (release)
KDE: 3.0.5, CVS HEAD from 2002-06-11, (compiled sources)
Qt: 3.0.4, CVS HEAD from 2002-05-08, (compiled sources)

When starting kword with the html file as shown below, it crashes with the following
message:

  $ kword test.html
  ...
  WARNING: Table cell property frameBehavior was incorrect; fixed
  WARNING: Table cell property newFrameBehavior was incorrect; fixed
  Segmentation fault (core dumped)

The funny thing is, that almost every change to the file makes it work
without crash, be it changed capitalization, removed options, etc. The file
is from the internet (http://home.att.net/~jameskass/scriptlinks.htm ===> the
first link entitled "ARABIC") and stripped down as much as possible. It is
correctly shown in konqueror and with qt-copy/examples/helpviewer/helpviewer.

m.






#0  0x41a4f08a in KoTextParag::format (this=0x83a2928, start=-1, doMove=true) at \
qrichtext.cpp:4023 4023                    lineY = (*it)->y;

(gdb) print it
$1 = {node = 0x8389ec8}

(gdb) print *it
One of the arguments you tried to pass to operator* could not be converted to what \
the function wants.

(gdb) print *this
$2 = {m_layout = {Flags = 1083090980, alignment = 0, margins = {0, 0, 0, 0, 0}, \
lineSpacing = 0,  shadowDistance = 0, shadowColor = {d = {argb = 1224736768, d8 = \
                {argb = 1224736768, pix = 84 'T',
          invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb = \
1224736768, pix = 1145655892}}},  ShadowDirection = SD_LEFT_UP, shadowDirection = 5 \
'\005', pageBreaking = 0 '\000', direction = 10 '\n',  unused = 0 '\000', leftBorder \
                = {<Qt> = {}, color = {d = {argb = 1224736768, d8 = {argb = \
                1224736768,
            pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = \
                {argb = 1224736768,
            pix = 1145655892}}}, ptWidth = 0, ptPenWidth = 0, style = SOLID}, \
                rightBorder = {<Qt> = {}, color = {
        d = {argb = 1224736768, d8 = {argb = 1224736768, pix = 84 'T', invalid = 82 \
                'R', dirty = 73 'I',
            direct = 68 'D'}, d32 = {argb = 1224736768, pix = 1145655892}}}, ptWidth \
                = 0, ptPenWidth = 0,
      style = SOLID}, topBorder = {<Qt> = {}, color = {d = {argb = 1224736768, d8 = \
                {argb = 1224736768,
            pix = 84 'T', invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = \
                {argb = 1224736768,
            pix = 1145655892}}}, ptWidth = 0, ptPenWidth = 0, style = SOLID}, \
                bottomBorder = {<Qt> = {}, color = {
        d = {argb = 1224736768, d8 = {argb = 1224736768, pix = 84 'T', invalid = 82 \
                'R', dirty = 73 'I',
            direct = 68 'D'}, d32 = {argb = 1224736768, pix = 1145655892}}}, ptWidth \
                = 0, ptPenWidth = 0,
      style = SOLID}, counter = 0x0, style = 0x83838f0, m_tabList = {sh = 0x83884b0}, \
d = 0x0}, m_tabCache = {  sh = 0x83a2250}, lineStarts = {sh = 0x83a0298}, invalid = \
0, r = {x1 = 0, y1 = 280, x2 = 39, y2 = 559},  p = 0x83a20c8, n = 0x83a2ea8, doc = \
0x83a3510, changed = 1, firstPProcess = 1, needPreProcess = 0,  fullWidth = 1, \
newLinesAllowed = 1, lastInFrame = 0, visible = 1, breakable = 1, isBr = 0, movedDown \
= 0,  mSelections = 0x0, state = -1, id = 1, str = 0x81f8e38, align = 0, \
mStyleSheetItemsVec = 0x0, listS = ListDisc,  numSubParag = -1, tm = -1, bm = -1, lm \
= -1, rm = -1, flm = -1, defFormat = 0x83a2530,  mFloatingItems = 0x82d69d0, \
numCustomItems = 1, docRect = {x1 = 0, y1 = 0, x2 = -1, y2 = -1}, pFormatter = 0x0,  \
tArray = 0x0, tabStopWidth = 0, eData = 0x0, pntr = 0x0, commandHistory = 0x0, \
list_val = -1, bgcol = 0x0,  _vptr. = 0x4193d060}

(gdb) bt
#0  0x41a4f08a in KoTextParag::format (this=0x83a2928, start=-1, doMove=true) at \
qrichtext.cpp:4023 #1  0x41a88eba in KoTextObject::formatMore (this=0x838a008, \
emitAfterFormatting=true) at kotextobject.cc:1595 #2  0x41a8d713 in \
KoTextView::KoTextView (this=0x8446e98, textobj=0x838a008) at kotextview.cc:78 #3  \
0x41886ff2 in KWTextFrameSetEdit::KWTextFrameSetEdit (this=0x8446e98, fs=0x83a2350, \
canvas=0x8444e58)  at kwtextframeset.cc:2414
#4  0x41878593 in KWTextFrameSet::createFrameSetEdit (this=0x83a2350, \
canvas=0x8444e58) at kwtextframeset.cc:134 #5  0x418520c3 in KWCanvas::KWCanvas \
(this=0x8444e58, viewMode=0x8169380, parent=0x8444908, d=0x8135a18,  lGui=0x84411c0) \
at kwcanvas.cc:116 #6  0x4184e45a in KWGUI::KWGUI (this=0x84411c0, \
viewMode=0x8169380, parent=0x82035b8, _view=0x82035b8)  at kwview.cc:5701
#7  0x41822a68 in KWView::KWView (this=0x82035b8, __in_chrg=1, viewMode=0x8169380, \
_parent=0x819c6b8, _name=0x0,  _doc=0x8135a18) at kwview.cc:153
#8  0x41819b84 in KWDocument::createViewInstance (this=0x8135a18, parent=0x819c6b8, \
name=0x0) at kwdoc.cc:2226 #9  0x40047112 in KoDocument::createView (this=0x8135a18, \
parent=0x819c6b8, name=0x0) at koDocument.cc:248 #10 0x4005adac in \
KoMainWindow::setRootDocument (this=0x81801f8, doc=0x8135a18) at koMainWindow.cc:328 \
#11 0x4005bc43 in KoMainWindow::slotLoadCompleted (this=0x81801f8) at \
koMainWindow.cc:520 #12 0x40060ef9 in KoMainWindow::qt_invoke (this=0x81801f8, \
_id=89, _o=0xbfffeffc) at koMainWindow.moc:171 #13 0x40b334c4 in \
QObject::activate_signal () from /usr/local/qt/lib/libqt-mt.so.3 #14 0x40b3340e in \
QObject::activate_signal () from /usr/local/qt/lib/libqt-mt.so.3 #15 0x401a5b01 in \
KParts::ReadOnlyPart::completed (this=0x8135a18) at part.moc:235 #16 0x401a4616 in \
KParts::ReadOnlyPart::openURL (this=0x8135a18, url=@0xbffff14c) at part.cpp:324 #17 \
0x4004b1d7 in KoDocument::openURL (this=0x8135a18, _url=@0xbffff254) at \
koDocument.cc:908 #18 0x4005bb38 in KoMainWindow::openDocumentInternal \
(this=0x81801f8, url=@0xbffff254, newdoc=0x8135a18)  at koMainWindow.cc:489
#19 0x4005ba91 in KoMainWindow::openDocument (this=0x81801f8, newdoc=0x8135a18, \
url=@0xbffff254)  at koMainWindow.cc:475
#20 0x400616b0 in KoApplication::start (this=0xbffff2e4) at koApplication.cc:105
#21 0x40019561 in main (argc=2, argv=0xbffff424) at main.cc:41
#22 0x4115cbaf in __libc_start_main () from /lib/libc.so.6


================
<html>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>test</title>
</head>

<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" \
bgcolor="#FFFFFF">

<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0 width="100%">
<tr>
<td>urks</td>
</tr>
</TABLE>

</body>
</html>
================


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic