[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Fix for kfilewidget.cpp
From: "David Boosalis" <david.boosalis () gmail ! com>
Date: 2008-10-17 20:04:34
Message-ID: 870c99310810171304n6d74e79eicb60c743351ee0f1 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I just recompiled everything, looks like I lost my debug info for klibs as
it isn't showing line numbers. but showEvent() doesn't have that many line
numbers.
My origonal post has a fix that got around this core dump, ie doing checks
for null pointers.
Thanks for looking into this error.
David
Debug output from running gdb on kword follows:
(gdb)
where
#0 0xb65ff0d9 in KFileWidget::showEvent () from
/home/david/kde/lib/libkfile.so.4
#1 0xb74ca5f9 in QWidget::event (this=0x81f7150, event=0xbfb8681c)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:7360
#2 0xb746c95d in QApplicationPrivate::notify_helper (this=0x805cee0,
receiver=0x81f7150, e=0xbfb8681c)
at /home/david/qt/qt-copy/src/gui/kernel/qapplication.cpp:3803
#3 0xb746e546 in QApplication::notify (this=0xbfb88b4c, receiver=0x81f7150,
e=0xbfb8681c)
at /home/david/qt/qt-copy/src/gui/kernel/qapplication.cpp:3768
#4 0xb7183dad in KApplication::notify () from
/home/david/kde/lib/libkdeui.so.5
#5 0xb6e25dc6 in QCoreApplication::notifyInternal (this=0xbfb88b4c,
receiver=0x81f7150, event=0xbfb8681c)
at /home/david/qt/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#6 0xb74695d5 in QCoreApplication::sendEvent (receiver=0x81f7150,
event=0xbfb8681c)
at
../../include/QtCore/../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#7 0xb74ce902 in QWidgetPrivate::show_helper (this=0x8200558)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6372
#8 0xb74cef46 in QWidget::setVisible (this=0x81f7150, visible=true)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6584
#9 0xb74b1b78 in QWidget::show (this=0x81f7150)
at ../../include/QtGui/../../../qt-copy/src/gui/kernel/qwidget.h:464
#10 0xb74ce69b in QWidgetPrivate::showChildren (this=0x81fff38,
spontaneous=false)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6666
#11 0xb74ce740 in QWidgetPrivate::show_helper (this=0x81fff38)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6321
#12 0xb74cef46 in QWidget::setVisible (this=0x81fae90, visible=true)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6584
#13 0xb74b1b78 in QWidget::show (this=0x81fae90)
at ../../include/QtGui/../../../qt-copy/src/gui/kernel/qwidget.h:464
#14 0xb74ce69b in QWidgetPrivate::showChildren (this=0x81ca8b8,
spontaneous=false)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6666
#15 0xb74ce740 in QWidgetPrivate::show_helper (this=0x81ca8b8)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6321
#16 0xb74cef46 in QWidget::setVisible (this=0x81bce88, visible=true)
at /home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6584
#17 0xb74b1b78 in QWidget::show (this=0x81bce88)
at ../../include/QtGui/../../../qt-copy/src/gui/kernel/qwidget.h:464
On Fri, Oct 17, 2008 at 12:29 PM, Rafael Fernández López
<ereslibre@kde.org>wrote:
> Hi,
>
> I think that having a backtrace would be really really nice... so we stop
> guessing.
>
> As Andreas said (I am somehow (note: "somehow") the maintainer of
> kfilewidget/kdiroperator...) I think this case is just not possible.
>
> So please, generate a backtrace and we can look further.
>
>
> Regards,
> Rafael Fernández López.
>
[Attachment #5 (text/html)]
<div dir="ltr">I just recompiled everything, looks like I lost my debug info for \
klibs as it isn't showing line numbers. but showEvent() doesn't have \
that many line numbers. <br><br>My origonal post has a fix that got around this \
core dump, ie doing checks for null pointers.<br> <br>Thanks for looking into this \
error.<br><br>David<br><br><br>Debug output from running gdb on kword \
follows:<br><br>(gdb) \
where &nb \
sp;   \
; & \
nbsp; \
<br>#0 0xb65ff0d9 in KFileWidget::showEvent () from \
/home/david/kde/lib/libkfile.so.4<br> #1 0xb74ca5f9 in QWidget::event \
(this=0x81f7150, event=0xbfb8681c)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:7360<br>#2 0xb746c95d in \
QApplicationPrivate::notify_helper (this=0x805cee0, receiver=0x81f7150, \
e=0xbfb8681c)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qapplication.cpp:3803<br>#3 0xb746e546 in \
QApplication::notify (this=0xbfb88b4c, receiver=0x81f7150, \
e=0xbfb8681c)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qapplication.cpp:3768<br> #4 0xb7183dad \
in KApplication::notify () from /home/david/kde/lib/libkdeui.so.5<br>#5 \
0xb6e25dc6 in QCoreApplication::notifyInternal (this=0xbfb88b4c, receiver=0x81f7150, \
event=0xbfb8681c)<br> at \
/home/david/qt/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583<br> #6 \
0xb74695d5 in QCoreApplication::sendEvent (receiver=0x81f7150, \
event=0xbfb8681c)<br> at \
../../include/QtCore/../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209<br>#7 \
0xb74ce902 in QWidgetPrivate::show_helper (this=0x8200558)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6372<br>#8 0xb74cef46 in \
QWidget::setVisible (this=0x81f7150, visible=true)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6584<br>#9 0xb74b1b78 in \
QWidget::show (this=0x81f7150)<br> at \
../../include/QtGui/../../../qt-copy/src/gui/kernel/qwidget.h:464<br>#10 0xb74ce69b \
in QWidgetPrivate::showChildren (this=0x81fff38, \
spontaneous=false)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6666<br> #11 0xb74ce740 in \
QWidgetPrivate::show_helper (this=0x81fff38)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6321<br>#12 0xb74cef46 in \
QWidget::setVisible (this=0x81fae90, visible=true)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6584<br> #13 0xb74b1b78 in \
QWidget::show (this=0x81fae90)<br> at \
../../include/QtGui/../../../qt-copy/src/gui/kernel/qwidget.h:464<br>#14 0xb74ce69b \
in QWidgetPrivate::showChildren (this=0x81ca8b8, \
spontaneous=false)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6666<br> #15 0xb74ce740 in \
QWidgetPrivate::show_helper (this=0x81ca8b8)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6321<br>#16 0xb74cef46 in \
QWidget::setVisible (this=0x81bce88, visible=true)<br> at \
/home/david/qt/qt-copy/src/gui/kernel/qwidget.cpp:6584<br> #17 0xb74b1b78 in \
QWidget::show (this=0x81bce88)<br> at \
../../include/QtGui/../../../qt-copy/src/gui/kernel/qwidget.h:464<br><br><br><div \
class="gmail_quote">On Fri, Oct 17, 2008 at 12:29 PM, Rafael Fernández López <span \
dir="ltr"><<a href="mailto:ereslibre@kde.org">ereslibre@kde.org</a>></span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br> <br>
I think that having a backtrace would be really really nice... so we stop \
guessing.<br> <br>
As Andreas said (I am somehow (note: "somehow") the maintainer of \
kfilewidget/kdiroperator...) I think this case is just not possible.<br> <br>
So please, generate a backtrace and we can look further.<br>
<br>
<br>
Regards,<br><font color="#888888">
Rafael Fernández López.<br>
</font></blockquote></div><br></div>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic