Version: (using Devel) Installed from: Compiled sources Compiler: gcc 4.3.0 (debian) OS: Linux I walk throw "Configure" settings - haven't changed anything and while I where in the plugin-section I clicked "ok"... ...and got a crash. It's the current svn-version (09:15pm GMT+2) - selfcompiled. Here is the backtrace: Application: Kopete (kopete), signal SIGABRT [Thread debugging using libthread_db enabled] [New Thread 0x7f9ea1b23780 (LWP 2654)] [New Thread 0x40a1d950 (LWP 2655)] [KCrash handler] #5 0x00007f9e98fdaeb5 in raise () from /lib/libc.so.6 #6 0x00007f9e98fdc3d3 in abort () from /lib/libc.so.6 #7 0x00007f9e9d7cca70 in qt_message_output (msgType=QtFatalMsg, buf=0x7fffa9c64610 "ASSERT failure in QVector<T>::operator[]: \"index out of range\", file /usr/local/Trolltech/Qt-4.4.0/include/QtCore/qvector.h, line 331") at global/qglobal.cpp:2058 #8 0x00007f9e9d7ccb7f in qFatal ( msg=0x7f9e9d954738 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2260 #9 0x00007f9e9d7ccbbb in qt_assert_x ( where=0x7f9e8b5b5e02 "QVector<T>::operator[]", what=0x7f9e8b5b5def "index out of range", file=0x7f9e8b5b5db8 "/usr/local/Trolltech/Qt-4.4.0/include/QtCore/qvector.h", line=331) at global/qglobal.cpp:1836 #10 0x00007f9e8b5b16c5 in QVector<Kopete::AV::VideoDevice>::operator[] ( this=0x1714e30, i=-1118482) at /usr/local/Trolltech/Qt-4.4.0/include/QtCore/qvector.h:331 #11 0x00007f9e8b5add3b in Kopete::AV::VideoDevicePool::close (this=0x1714e20) at /home/kde4/development/kde4/kdenetwork/kopete/libkopete/avdevice/videodevicepool.cpp:201 #12 0x00007f9e8b7c4521 in ~AVDeviceConfig (this=0x1748d30) at /home/kde4/development/kde4/kdenetwork/kopete/kopete/config/avdevice/avdeviceconfig.cpp:101 #13 0x00007f9ea0e9fc4e in KCModuleProxy::deleteClient (this=0x1627a90) at /home/kde4/development/kde4/kdelibs/kutils/kcmoduleproxy.cpp:216 #14 0x00007f9ea0e9d558 in KCMultiDialogPrivate::_k_dialogClosed ( this=0xd49d20) at /home/kde4/development/kde4/kdelibs/kutils/kcmultidialog.cpp:98 #15 0x00007f9ea0e9e325 in KCMultiDialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffa9c66990) at /home/kde4/development/kde/buildkdelibs/kutils/kcmultidialog.moc:91 #16 0x00007f9ea0eb094c in KSettings::Dialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=82, _a=0x7fffa9c66990) at /home/kde4/development/kde/buildkdelibs/kutils/dialog.moc:68 #17 0x00007f9e9d9083ef in QMetaObject::activate (sender=0x1606c70, from_signal_index=51, to_signal_index=51, argv=0x0) at kernel/qobject.cpp:3001 #18 0x00007f9e9d9089c1 in QMetaObject::activate (sender=0x1606c70, m=0x67f780, local_signal_index=16, argv=0x0) at kernel/qobject.cpp:3071 #19 0x00007f9e9f0ab50c in KDialog::finished (this=0x1606c70) at /home/kde4/development/kde/buildkdelibs/kdeui/kdialog.moc:290 #20 0x00007f9e9f0ab568 in KDialog::hideEvent (this=0x1606c70, event=0x7fffa9c67380) at /home/kde4/development/kde4/kdelibs/kdeui/dialogs/kdialog.cpp:958 #21 0x00007f9e9a599b16 in QWidget::event (this=0x1606c70, event=0x7fffa9c67380) at kernel/qwidget.cpp:7126 #22 0x00007f9e9a52e197 in QApplicationPrivate::notify_helper (this=0x7ff740, receiver=0x1606c70, e=0x7fffa9c67380) at kernel/qapplication.cpp:3772 #23 0x00007f9e9a530022 in QApplication::notify (this=0x7fffa9c69830, receiver=0x1606c70, e=0x7fffa9c67380) at kernel/qapplication.cpp:3739 #24 0x00007f9e9f1397fa in KApplication::notify (this=0x7fffa9c69830, receiver=0x1606c70, event=0x7fffa9c67380) at /home/kde4/development/kde4/kdelibs/kdeui/kernel/kapplication.cpp:311 #25 0x00007f9e9d8eef44 in QCoreApplication::notifyInternal ( this=0x7fffa9c69830, receiver=0x1606c70, event=0x7fffa9c67380) at kernel/qcoreapplication.cpp:587 #26 0x00007f9ea052ba39 in QCoreApplication::sendEvent (receiver=0x1606c70, event=0x7fffa9c67380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #27 0x00007f9e9a597437 in QWidgetPrivate::hide_helper (this=0x15501e0) at kernel/qwidget.cpp:6246 #28 0x00007f9e9a59d754 in QWidget::setVisible (this=0x1606c70, visible=false) at kernel/qwidget.cpp:6402 #29 0x00007f9e9aa84f7c in QDialog::setVisible (this=0x1606c70, visible=false) at dialogs/qdialog.cpp:707 #30 0x00007f9e9a57cdd9 in QWidget::hide (this=0x1606c70) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:474 #31 0x00007f9e9aa8592f in QDialog::done (this=0x1606c70, r=1) at dialogs/qdialog.cpp:489 #32 0x00007f9e9aa835ad in QDialog::accept (this=0x1606c70) at dialogs/qdialog.cpp:507 #33 0x00007f9ea0e9cc31 in KCMultiDialog::slotOkClicked (this=0x1606c70) at /home/kde4/development/kde4/kdelibs/kutils/kcmultidialog.cpp:228 #34 0x00007f9ea0e9e2c9 in KCMultiDialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffa9c67730) at /home/kde4/development/kde/buildkdelibs/kutils/kcmultidialog.moc:87 #35 0x00007f9ea0eb094c in KSettings::Dialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=78, _a=0x7fffa9c67730) at /home/kde4/development/kde/buildkdelibs/kutils/dialog.moc:68 #36 0x00007f9e9d9083ef in QMetaObject::activate (sender=0x1606c70, from_signal_index=44, to_signal_index=44, argv=0x0) at kernel/qobject.cpp:3001 #37 0x00007f9e9d9089c1 in QMetaObject::activate (sender=0x1606c70, m=0x67f780, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3071 #38 0x00007f9e9f0ab672 in KDialog::okClicked (this=0x1606c70) at /home/kde4/development/kde/buildkdelibs/kdeui/kdialog.moc:247 #39 0x00007f9e9f0ac9db in KDialog::slotButtonClicked (this=0x1606c70, button=4) at /home/kde4/development/kde4/kdelibs/kdeui/dialogs/kdialog.cpp:844 #40 0x00007f9e9f0aebda in KDialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffa9c67a90) at /home/kde4/development/kde/buildkdelibs/kdeui/kdialog.moc:181 #41 0x00007f9e9f166d1f in KPageDialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fffa9c67a90) at /home/kde4/development/kde/buildkdelibs/kdeui/kpagedialog.moc:63 #42 0x00007f9ea0e9e228 in KCMultiDialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fffa9c67a90) at /home/kde4/development/kde/buildkdelibs/kutils/kcmultidialog.moc:77 #43 0x00007f9ea0eb094c in KSettings::Dialog::qt_metacall (this=0x1606c70, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fffa9c67a90) at /home/kde4/development/kde/buildkdelibs/kutils/dialog.moc:68 #44 0x00007f9e9d9083ef in QMetaObject::activate (sender=0xd49da8, from_signal_index=4, to_signal_index=4, argv=0x7fffa9c67a90) at kernel/qobject.cpp:3001 #45 0x00007f9e9d9089c1 in QMetaObject::activate (sender=0xd49da8, m=0x7f9e9dc14620, local_signal_index=0, argv=0x7fffa9c67a90) at kernel/qobject.cpp:3071 #46 0x00007f9e9d90f6f2 in QSignalMapper::mapped (this=0xd49da8, _t1=4) at .moc/debug-shared/moc_qsignalmapper.cpp:93 #47 0x00007f9e9d90f7a1 in QSignalMapper::map (this=0xd49da8, sender=0x1584bd0) at kernel/qsignalmapper.cpp:277 #48 0x00007f9e9d90f8b7 in QSignalMapper::map (this=0xd49da8) at kernel/qsignalmapper.cpp:268 #49 0x00007f9e9d90fa0f in QSignalMapper::qt_metacall (this=0xd49da8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffa9c67cb0) at .moc/debug-shared/moc_qsignalmapper.cpp:80 #50 0x00007f9e9d9083ef in QMetaObject::activate (sender=0x1584bd0, from_signal_index=29, to_signal_index=30, argv=0x7fffa9c67cb0) at kernel/qobject.cpp:3001 #51 0x00007f9e9d908749 in QMetaObject::activate (sender=0x1584bd0, m=0x7f9e9b0ad260, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fffa9c67cb0) at kernel/qobject.cpp:3091 #52 0x00007f9e9ac386f7 in QAbstractButton::clicked (this=0x1584bd0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185 #53 0x00007f9e9a921288 in QAbstractButtonPrivate::emitClicked (this=0xd50f60) at widgets/qabstractbutton.cpp:543 #54 0x00007f9e9a922562 in QAbstractButtonPrivate::click (this=0xd50f60) at widgets/qabstractbutton.cpp:536 #55 0x00007f9e9a922824 in QAbstractButton::mouseReleaseEvent (this=0x1584bd0, e=0x7fffa9c68890) at widgets/qabstractbutton.cpp:1112 #56 0x00007f9e9a598f19 in QWidget::event (this=0x1584bd0, event=0x7fffa9c68890) at kernel/qwidget.cpp:6927 #57 0x00007f9e9a921232 in QAbstractButton::event (this=0x1584bd0, e=0x7fffa9c68890) at widgets/qabstractbutton.cpp:1074 #58 0x00007f9e9a9eca3f in QPushButton::event (this=0x1584bd0, e=0x7fffa9c68890) at widgets/qpushbutton.cpp:658 #59 0x00007f9e9a52e197 in QApplicationPrivate::notify_helper (this=0x7ff740, receiver=0x1584bd0, e=0x7fffa9c68890) at kernel/qapplication.cpp:3772 #60 0x00007f9e9a52edc1 in QApplication::notify (this=0x7fffa9c69830, receiver=0x1584bd0, e=0x7fffa9c68890) at kernel/qapplication.cpp:3501 #61 0x00007f9e9f1397fa in KApplication::notify (this=0x7fffa9c69830, receiver=0x1584bd0, event=0x7fffa9c68890) at /home/kde4/development/kde4/kdelibs/kdeui/kernel/kapplication.cpp:311 #62 0x00007f9e9d8eef44 in QCoreApplication::notifyInternal ( this=0x7fffa9c69830, receiver=0x1584bd0, event=0x7fffa9c68890) at kernel/qcoreapplication.cpp:587 #63 0x00007f9ea052ba93 in QCoreApplication::sendSpontaneousEvent ( receiver=0x1584bd0, event=0x7fffa9c68890) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #64 0x00007f9e9a5336f3 in QApplicationPrivate::sendMouseEvent ( receiver=0x1584bd0, event=0x7fffa9c68890, alienWidget=0x1584bd0, nativeWidget=0x1606c70, buttonDown=0x7f9e9b0c7328, lastMouseReceiver=@0x7f9e9b0c7330) at kernel/qapplication.cpp:2766 #65 0x00007f9e9a5befd3 in QETWidget::translateMouseEvent (this=0x1606c70, event=0x7fffa9c693d0) at kernel/qapplication_x11.cpp:4133 #66 0x00007f9e9a5bff6f in QApplication::x11ProcessEvent (this=0x7fffa9c69830, event=0x7fffa9c693d0) at kernel/qapplication_x11.cpp:3133 #67 0x00007f9e9a5eed3a in x11EventSourceDispatch (s=0x80b010, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #68 0x00007f9e97be2102 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #69 0x00007f9e97be53a6 in ?? () from /usr/lib/libglib-2.0.so.0 #70 0x00007f9e97be583f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #71 0x00007f9e9d925bee in QEventDispatcherGlib::processEvents (this=0x7ecfa0, flags={i = -1446603152}) at kernel/qeventdispatcher_glib.cpp:325 #72 0x00007f9e9a5ee39b in QGuiEventDispatcherGlib::processEvents ( this=0x7ecfa0, flags={i = -1446603056}) at kernel/qguieventdispatcher_glib.cpp:204 #73 0x00007f9e9d8eb5d7 in QEventLoop::processEvents (this=0x7fffa9c69790, flags={i = -1446602944}) at kernel/qeventloop.cpp:149 #74 0x00007f9e9d8eb7d4 in QEventLoop::exec (this=0x7fffa9c69790, flags= {i = -1446602848}) at kernel/qeventloop.cpp:200 #75 0x00007f9e9d8ef9c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #76 0x00007f9e9a52def4 in QApplication::exec () at kernel/qapplication.cpp:3304 #77 0x000000000044bf97 in main (argc=3, argv=0x7fffa9c6a5d8) at /home/kde4/development/kde4/kdenetwork/kopete/kopete/main.cpp:102 #0 0x00007f9e990471f1 in nanosleep () from /lib/libc.so.6
SVN commit 829217 by nienhueser: Initialize current device member, otherwise it might be negative and lead to a crash. Also prevent passing a negative device number, which could happen with an empty list in the config dialog. BUG: 165983 M +1 -1 kopete/config/avdevice/avdeviceconfig.cpp M +1 -0 libkopete/avdevice/videodevicepool.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=829217