Bug 61023 - crashes when adding a component
Summary: crashes when adding a component
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_filetypes (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Marie Loise Nolden
URL:
Keywords:
: 34956 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-10 07:56 UTC by John Firebaugh
Modified: 2007-12-11 20:21 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 John Firebaugh 2003-07-10 07:56:35 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

From bug 34956:

right click on .py file -> edit file type -> embedding -> use settings for 
 "application' group (or "show file in embedded viewer") -> Add -> katepart 
 
[New Thread 16384 (LWP 16876)]
0x4134caf9 in wait4 () from /lib/libc.so.6
#0  0x4134caf9 in wait4 () from /lib/libc.so.6
#1  0x413bff60 in sys_sigabbrev () from /lib/libc.so.6
#2  0xbffff0b0 in ?? ()
#3  0x4134caab in waitpid () from /lib/libc.so.6
#4  0x41178061 in waitpid () from /lib/libpthread.so.0
#5  0x407336f7 in KCrash::defaultCrashHandler(int) (sig=11) at /home/john/src/kde/kdelibs/kdecore/kcrash.cpp:240
#6  <signal handler called>
#7  0x4017aed0 in QString::unicode() const (this=0x815d798) at qstring.h:653
#8  0x40e47ab4 in operator==(QString const&, QString const&) (s1=@0x815d798, s2=@0xbffff0b0) at tools/qstring.cpp:5843
#9  0x0805a16b in KServiceListWidget::addService() (this=0x813f5f0) at /home/john/src/kde/kdebase/kcontrol/filetypes/kservicelistwidget.cpp:229
#10 0x0805acb5 in KServiceListWidget::qt_invoke(int, QUObject*) (this=0x813f5f0, _id=50, _o=0xbffff250) at kservicelistwidget.moc:110
#11 0x40b6f61f in QObject::activate_signal(QConnectionList*, QUObject*) (this=0x8143068, clist=0x8143320, o=0xbffff250) at kernel/qobject.cpp:2333
#12 0x40b6f4be in QObject::activate_signal(int) (this=0x8143068, signal=4) at kernel/qobject.cpp:2302
#13 0x40eae0db in QButton::clicked() (this=0x8143068) at .moc/debug-shared-mt/moc_qbutton.cpp:152
#14 0x40c026d7 in QButton::mouseReleaseEvent(QMouseEvent*) (this=0x8143068, e=0xbffff5e0) at widgets/qbutton.cpp:820
#15 0x40ba6a15 in QWidget::event(QEvent*) (this=0x8143068, e=0xbffff5e0) at kernel/qwidget.cpp:4412
#16 0x40b0d029 in QApplication::internalNotify(QObject*, QEvent*) (this=0xbffffa40, receiver=0x8143068, e=0xbffff5e0) at kernel/qapplication.cpp:2578
#17 0x40b0c7ed in QApplication::notify(QObject*, QEvent*) (this=0xbffffa40, receiver=0x8143068, e=0xbffff5e0) at kernel/qapplication.cpp:2365
#18 0x406a9187 in KApplication::notify(QObject*, QEvent*) (this=0xbffffa40, receiver=0x8143068, event=0xbffff5e0) at /home/john/src/kde/kdelibs/kdecore/kapplication.cpp:460
#19 0x40aa488d in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=0x8143068, event=0xbffff5e0) at qapplication.h:493
#20 0x40a9e123 in QETWidget::translateMouseEvent(_XEvent const*) (this=0x8143068, event=0xbffff8d0) at kernel/qapplication_x11.cpp:4349
#21 0x40a9be4c in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffffa40, event=0xbffff8d0) at kernel/qapplication_x11.cpp:3525
#22 0x40ab5d3c in QEventLoop::processEvents(unsigned) (this=0x80a6c08, flags=4) at kernel/qeventloop_x11.cpp:192
#23 0x40b2296a in QEventLoop::enterLoop() (this=0x80a6c08) at kernel/qeventloop.cpp:198
#24 0x40b0d209 in QApplication::enter_loop() (this=0xbffffa40) at kernel/qapplication.cpp:2733
#25 0x40d02a6b in QDialog::exec() (this=0x80f25b8) at dialogs/qdialog.cpp:368
#26 0x0805532f in main (argc=2, argv=0xbffffbc4) at /home/john/src/kde/kdebase/kcontrol/filetypes/keditfiletype.cpp:116

==16893== Invalid read of size 4
==16893==    at 0x40365ECE: QString::unicode() const (qstring.h:653)
==16893==    by 0x805A16A: KServiceListWidget::addService() (kservicelistwidget.cpp:229)
==16893==    by 0x805ACB4: KServiceListWidget::qt_invoke(int, QUObject*) (kservicelistwidget.moc:110)
==16893==    by 0x40D5A61E: QObject::activate_signal(QConnectionList*, QUObject*) (qobject.cpp:2333)
==16893==    by 0x40D5A4BD: QObject::activate_signal(int) (qobject.cpp:2302)
==16893==    by 0x410990DA: QButton::clicked() (moc_qbutton.cpp:152)
==16893==    by 0x40DED6D6: QButton::mouseReleaseEvent(QMouseEvent*) (qbutton.cpp:820)
==16893==    by 0x40D91A14: QWidget::event(QEvent*) (qwidget.cpp:4412)
==16893==    by 0x40CF8028: QApplication::internalNotify(QObject*, QEvent*) (qapplication.cpp:2578)
==16893==    by 0x40CF77EC: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:2365)
==16893==    by 0x40894186: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:460)
==16893==    by 0x40C8F88C: QApplication::sendSpontaneousEvent(QObject*, QEvent*) (qapplication.h:493)
==16893==    by 0x40C89122: QETWidget::translateMouseEvent(_XEvent const*) (qapplication_x11.cpp:4349)
==16893==    by 0x40C86E4B: QApplication::x11ProcessEvent(_XEvent*) (qapplication_x11.cpp:3525)
==16893==    by 0x40CA0D3B: QEventLoop::processEvents(unsigned) (qeventloop_x11.cpp:192)
==16893==    by 0x40D0D969: QEventLoop::enterLoop() (qeventloop.cpp:198)
==16893==    by 0x40CF8208: QApplication::enter_loop() (qapplication.cpp:2733)
==16893==    by 0x40EEDA6A: QDialog::exec() (qdialog.cpp:368)
==16893==    by 0x805532E: main (keditfiletype.cpp:116)
==16893==    by 0x4147FA50: __libc_start_main (in /lib/libc-2.3.1.so)
==16893==    by 0x805483C: (within /usr/local/kde/bin/keditfiletype)
==16893==    Address 0x446FE044 is 0 bytes after a block of size 32 alloc'd
==16893==    at 0x4015D4FD: __builtin_new (vg_clientfuncs.c:129)
==16893==    by 0x4015D538: operator new(unsigned) (vg_clientfuncs.c:142)
==16893==    by 0x40E30922: QListBox::insertItem(QString const&, int) (qlistbox.cpp:1539)
==16893==    by 0x8059B0A: KServiceListWidget::setTypeItem(TypesListItem*) (kservicelistwidget.cpp:140)
==16893==    by 0x8057534: FileTypeDetails::setTypeItem(TypesListItem*) (filetypedetails.cpp:205)
==16893==    by 0x8054C30: FileTypeDialog::FileTypeDialog(KSharedPtr<KMimeType>) (keditfiletype.cpp:37)
==16893==    by 0x805524B: main (keditfiletype.cpp:114)
==16893==    by 0x4147FA50: __libc_start_main (in /lib/libc-2.3.1.so)
==16893==    by 0x805483C: (within /usr/local/kde/bin/keditfiletype)
==16893==
==16893== Invalid read of size 4
==16893==    at 0x40365ED0: QString::unicode() const (qstring.h:653)
==16893==    by 0x805A16A: KServiceListWidget::addService() (kservicelistwidget.cpp:229)
==16893==    by 0x805ACB4: KServiceListWidget::qt_invoke(int, QUObject*) (kservicelistwidget.moc:110)
==16893==    by 0x40D5A61E: QObject::activate_signal(QConnectionList*, QUObject*) (qobject.cpp:2333)
==16893==    by 0x40D5A4BD: QObject::activate_signal(int) (qobject.cpp:2302)
==16893==    by 0x410990DA: QButton::clicked() (moc_qbutton.cpp:152)
==16893==    by 0x40DED6D6: QButton::mouseReleaseEvent(QMouseEvent*) (qbutton.cpp:820)
==16893==    by 0x40D91A14: QWidget::event(QEvent*) (qwidget.cpp:4412)
==16893==    by 0x40CF8028: QApplication::internalNotify(QObject*, QEvent*) (qapplication.cpp:2578)
==16893==    by 0x40CF77EC: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:2365)
==16893==    by 0x40894186: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:460)
==16893==    by 0x40C8F88C: QApplication::sendSpontaneousEvent(QObject*, QEvent*) (qapplication.h:493)
==16893==    by 0x40C89122: QETWidget::translateMouseEvent(_XEvent const*) (qapplication_x11.cpp:4349)
==16893==    by 0x40C86E4B: QApplication::x11ProcessEvent(_XEvent*) (qapplication_x11.cpp:3525)
==16893==    by 0x40CA0D3B: QEventLoop::processEvents(unsigned) (qeventloop_x11.cpp:192)
==16893==    by 0x40D0D969: QEventLoop::enterLoop() (qeventloop.cpp:198)
==16893==    by 0x40CF8208: QApplication::enter_loop() (qapplication.cpp:2733)
==16893==    by 0x40EEDA6A: QDialog::exec() (qdialog.cpp:368)
==16893==    by 0x805532E: main (keditfiletype.cpp:116)
==16893==    by 0x4147FA50: __libc_start_main (in /lib/libc-2.3.1.so)
==16893==    by 0x805483C: (within /usr/local/kde/bin/keditfiletype)
==16893==    Address 0x10204456 is not stack'd, malloc'd or free'd
Comment 1 John Firebaugh 2003-07-10 07:57:39 UTC
*** Bug 34956 has been marked as a duplicate of this bug. ***
Comment 2 John Firebaugh 2003-07-10 17:54:17 UTC
*** Bug has been marked as fixed ***.