[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: [Fwd: Bug#2500: kdelibs/kparts/shell.cpp (line 301) causes segmentation
From: Harri Porten <porten () tu-harburg ! de>
Date: 2000-01-12 11:30:54
[Download RAW message or body]
FYI,
Harri.
Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14])
by hp00.rz.tu-harburg.de (8.9.3 (PHNE_18979)/8.8.6) with ESMTP id IAA28218
for <smhp2803@hp00.rz.tu-harburg.de>; Wed, 12 Jan 2000 08:33:27 +0100 (MET)
Received: from max.tat.physik.uni-tuebingen.de (max.tat.physik.uni-tuebingen.de [134.2.170.93])
by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id IAA20827
for <porten@tu-harburg.de>; Wed, 12 Jan 2000 08:33:26 +0100 (MET)
Received: by max.tat.physik.uni-tuebingen.de id <S742194AbQALHdG>;
Wed, 12 Jan 2000 08:33:06 +0100
Subject: Bug#2500: kdelibs/kparts/shell.cpp (line 301) causes segmentation fault.
Reply-To: Ferdi Franceschini <ferdif@optusnet.com.au>, 2500@bugs.kde.org
Resent-From: Ferdi Franceschini <ferdif@optusnet.com.au>
Orignal-Sender: ferdi@mail04.syd.optusnet.com.au
Resent-To: kde-bugs-dist@max.tat.physik.uni-tuebingen.de
Resent-CC: Kalle Dalheimer <kalle@kde.org>
Resent-Date: Wed, 12 Jan 1900 07:33:01 GMT
Resent-Message-ID: <handler.2500.B.9476622959668@bugs.kde.org>
Resent-Fake-Sender: coolo@kde.org
X-KDE-PR-Message: report 2500
X-KDE-PR-Package: kdelibs
X-Loop: owner@bugs.kde.org
Sender: ferdi@mail04.syd.optusnet.com.au
Message-ID: <387C2E31.A57646AB@optusnet.com.au>
Date: Wed, 12 Jan 2000 18:33:05 +1100
From: Ferdi Franceschini <ferdif@optusnet.com.au>
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.10 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: submit@bugs.kde.org
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Old-Return-Path: <bugs@max.tat.physik.uni-tuebingen.de>
X-Orcpt: rfc822;kde-bugs-dist@max.tat.physik.uni-tuebingen.de
Resent-Reply-To: kde-bugs-dist@max.tat.physik.uni-tuebingen.de
X-Mailing-List: <kde-bugs-dist@max.tat.physik.uni-tuebingen.de> archive/latest/1878
X-Loop: kde-bugs-dist@max.tat.physik.uni-tuebingen.de
Precedence: list
Resent-Sender: kde-bugs-dist-request@max.tat.physik.uni-tuebingen.de
X-Mozilla-Status2: 00000000
Package: kdelibs
Version: 1.89
Compiled from:
kdelibs-20000108.tar.bz2
Problem: Segmentation fault running kword and kspread.
The segmentation fault is caused by the following function call
a->plug( bar );
made at the following location
kdelibs/kparts/shell.cpp (line 301)
The problem is that the plug function is defined as taking two arguments
and the second argument has a default value of -1.
See
kdelibs/kdeui/kaction.h (line 258)
int plug( QWidget*, int index = -1 );
This causes a segmentation fault when the QT function "NodePtr at( uint
i )" is eventually called.
Additional Information
The -1 is converted to unsigned in the QT function "NodePtr at( uint i
)", see
qt/include/qvaluelist.h (262)
the result is a very large integer which exceeds the number of
available nodes and causes a segmentation fault.
Other relevant source files:
koffice-20000108.tar.bz2
qt-2.1.0-snapshot-19991215.tar.gz
If you need more information please feel free to send me an email.
Sincerely,
Ferdi Franceschini
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic