Bug 162316 - kopete crashes when I click on video in config dialog
Summary: kopete crashes when I click on video in config dialog
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Audio/Video Plugin (show other bugs)
Version: 0.50.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 170414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-19 17:21 UTC by Bernd Buschinski
Modified: 2011-09-28 13:43 UTC (History)
1 user (show)

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 Bernd Buschinski 2008-05-19 17:21:32 UTC
Version:           0.50.1 (using KDE 4.0.4)
Installed from:    Gentoo Packages
Compiler:          gcc-4.2.3 
OS:                Linux

After a fresh kopete 0.50.1 installation if I open the config dialog and click on "Video"
kopete crashes, unfortunately I cant reproduce it clearly.

[Thread debugging using libthread_db enabled]
[New Thread 0x7f256a47d700 (LWP 18069)]
[New Thread 0x41ae9950 (LWP 18072)]
[KCrash handler]
#5  0x00007f2561355185 in raise () from /lib64/libc.so.6
#6  0x00007f2561356630 in abort () from /lib64/libc.so.6
#7  0x00007f2569f442ce in qt_message_output ()
   from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f2569f44411 in qFatal () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f25502a6f44 in QVector<Kopete::AV::VideoDevice>::operator[] (
    this=0xa0e8f0, i=-2147483639) at /usr/include/qt4/QtCore/qvector.h:324
#10 0x00007f25502a4fb7 in Kopete::AV::VideoDevicePool::fillInputKComboBox (
    this=0xa0e8e0, combobox=0xf83220)
    at /var/tmp/portage/kde-base/kopete-4.0.4/work/kopete-4.0.4/kopete/libkopete/avdevice/videodevicepool.cpp:555
#11 0x00007f25504b96e3 in AVDeviceConfig (this=0xa81a30, 
    parent=<value optimized out>, args=<value optimized out>)
    at /var/tmp/portage/kde-base/kopete-4.0.4/work/kopete-4.0.4/kopete/kopete/config/avdevice/avdeviceconfig.cpp:77
#12 0x00007f25504bc1f3 in KPluginFactory::createInstance<AVDeviceConfig, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, 
    args=@0x7fff724c9df0) at /usr/kde/4.0/include/kpluginfactory.h:459
#13 0x00007f2569a7aaba in KPluginFactory::create ()
   from /usr/kde/4.0/lib64/libkdecore.so.5
#14 0x00007f2566e17229 in KService::createInstance<KCModule> ()
   from /usr/kde/4.0/lib64/libkutils.so.4
#15 0x00007f2566e16584 in KCModuleLoader::loadModule ()
   from /usr/kde/4.0/lib64/libkutils.so.4
#16 0x00007f2566e19eb6 in ?? () from /usr/kde/4.0/lib64/libkutils.so.4
#17 0x00007f2566e1a9db in KCModuleProxy::realModule ()
   from /usr/kde/4.0/lib64/libkutils.so.4
#18 0x00007f2566e1ac09 in KCModuleProxy::showEvent ()
   from /usr/kde/4.0/lib64/libkutils.so.4
#19 0x00007f2567fa27e2 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f2567f5ca7c in QApplicationPrivate::notify_helper ()
   from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f2567f5deae in QApplication::notify ()
   from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f2568e57380 in KApplication::notify ()
   from /usr/kde/4.0/lib64/libkdeui.so.5
#23 0x00007f2569ffee7c in QCoreApplication::notifyInternal ()
   from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f2567fa1007 in QWidgetPrivate::show_helper ()
   from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f2567fa14e5 in QWidget::setVisible ()
   from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f2567f8d2bc in QStackedLayout::setCurrentIndex ()
   from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f2568e7e132 in ?? () from /usr/kde/4.0/lib64/libkdeui.so.5
#28 0x00007f2568e7e244 in KPageView::qt_metacall ()
   from /usr/kde/4.0/lib64/libkdeui.so.5
#29 0x00007f2568e80d06 in KPageWidget::qt_metacall ()
   from /usr/kde/4.0/lib64/libkdeui.so.5
#30 0x00007f256a00fedc in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f25683bf902 in QItemSelectionModel::currentChanged ()
   from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f25683bfcf6 in QItemSelectionModel::setCurrentIndex ()
   from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f2568379cb6 in QAbstractItemView::mousePressEvent ()
   from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f2567fa2d69 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f256827c9cc in QFrame::event () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007f25682f84eb in QAbstractScrollArea::viewportEvent ()
   from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007f256837d9f5 in QAbstractItemView::viewportEvent ()
   from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f25682f9506 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007f2567f5ca35 in QApplicationPrivate::notify_helper ()
   from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f2567f5e643 in QApplication::notify ()
   from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007f2568e57380 in KApplication::notify ()
   from /usr/kde/4.0/lib64/libkdeui.so.5
#42 0x00007f2569ffee7c in QCoreApplication::notifyInternal ()
   from /usr/lib64/qt4/libQtCore.so.4
#43 0x00007f2567fb343c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#44 0x00007f2567fb1f43 in QApplication::x11ProcessEvent ()
   from /usr/lib64/qt4/libQtGui.so.4
#45 0x00007f2567fd4ad9 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007f2560c757da in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#47 0x00007f2560c7860f in g_main_context_iterate ()
   from /usr/lib/libglib-2.0.so.0
#48 0x00007f2560c78ac3 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#49 0x00007f256a02162f in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007f2567fd491c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#51 0x00007f2569ffe4f4 in QEventLoop::processEvents ()
   from /usr/lib64/qt4/libQtCore.so.4
#52 0x00007f2569ffe5d5 in QEventLoop::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#53 0x00007f256a00016f in QCoreApplication::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#54 0x000000000043fdc9 in main (argc=1, argv=0x7fff724cd1e8)
    at /var/tmp/portage/kde-base/kopete-4.0.4/work/kopete-4.0.4/kopete/kopete/main.cpp:102
#0  0x00007f25613bbc21 in nanosleep () from /lib64/libc.so.6
Comment 1 Detlev Casanova 2008-05-19 18:35:52 UTC
If you succeed reproducing it, could you also post what is written in the console (when you run kopete from a console) ?
You will have to compile kopete in full debug mode (Use flag "debug" for gentoo) if not already done.

What version of Qt are you using ?
Comment 2 Bernd Buschinski 2008-05-20 21:14:01 UTC
x11-libs/qt-4.3.4-r1
media-video/linux-uvc-0.1.0_pre173 + apple firmware

It looks like it is a video/cam-driver specific thing, because it only happens once per boot, the cam doesnt work anymore after the first crash but doubt its kopetes fault as it never fully worked, anyway kopete should not crash :)
Unfortunately I hadnt kopete run from a console and it already crashed, sounds silly but I cant reboot today, but I will post the console output tomorrow
Comment 3 Matt Rogers 2008-07-07 05:27:12 UTC
any console output? If you're running a Macbook, then I might be able to get something once I get my webcam running since I also have a Macbook.
Comment 4 Bernd Buschinski 2008-07-07 12:06:26 UTC
Sorry, I tried it several times, but with kopete from konsole I cant make it crash. When I start it without konsole I can make it crash easily, maybe its a timing/thread problem?
Comment 5 Dennis Nienhüser 2008-07-07 22:54:01 UTC
Looks like mlaurent fixed this in trunk for KDE 4.1:
http://websvn.kde.org/?view=rev&revision=771176

Please reopen if the problem persists in Kopete coming with KDE 4.1.
Comment 6 Jekyll Wu 2011-09-28 13:43:53 UTC
*** Bug 170414 has been marked as a duplicate of this bug. ***