Bug 161497 - ktts configuration causes kcmshell4 to crash
Summary: ktts configuration causes kcmshell4 to crash
Status: RESOLVED DUPLICATE of bug 184310
Alias: None
Product: kttsd
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gary Cramblitt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-01 15:43 UTC by Jowanni Swoboda
Modified: 2009-05-24 07:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jowanni Swoboda 2008-05-01 15:43:13 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

using the KDE 4 livecd 1.0.71 (openSUSE);
start of kttsd in konsole -> "configuration dialogue":YES -> kcmschell4 crashes:
Application: KDE Control Module (kcmshell4), signal SIGSEGV
[?1034h(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb64406d0 (LWP 4196)]
[New Thread 0xb297eb90 (LWP 4203)]
[New Thread 0xb317fb90 (LWP 4202)]
[New Thread 0xb39c2b90 (LWP 4201)]
[New Thread 0xb4202b90 (LWP 4198)]
0xffffe410 in __kernel_vsyscall ()
[Current thread is 0 (LWP 4196)]

Thread 5 (Thread 0xb4202b90 (LWP 4198)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb746c7ec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb4307e25 in metronom_sync_loop () from /usr/lib/libxine.so.1

Thread 4 (Thread 0xb39c2b90 (LWP 4201)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6791817 in poll () from /lib/libc.so.6
#2  0xb39fd2f9 in ao_alsa_handle_event_thread ()
   from /usr/lib/xine/plugins/1.1.10/xineplug_ao_out_alsa.so
#3  0x00000000 in ?? ()

Thread 3 (Thread 0xb317fb90 (LWP 4202)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb746c566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4318cc0 in ao_loop () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 2 (Thread 0xb297eb90 (LWP 4203)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6794591 in select () from /lib/libc.so.6
#2  0xb75d6ed3 in QEventDispatcherUNIX::select () from /usr/lib/libQtCore.so.4
#3  0xb75d8472 in QEventDispatcherUNIXPrivate::doSelect ()
   from /usr/lib/libQtCore.so.4
#4  0xb75d89c4 in QEventDispatcherUNIX::processEvents ()
   from /usr/lib/libQtCore.so.4
#5  0xb75af0dd in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb75af271 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb74d74f3 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb4354509 in ?? () from /usr/lib/kde4/phonon_xine.so
#9  0x084bd850 in ?? ()
#10 0x084bd850 in ?? ()
#11 0xb437ea34 in ?? () from /usr/lib/kde4/phonon_xine.so
#12 0x00000001 in ?? ()
#13 0x00000000 in ?? ()

Thread 1 (Thread 0xb64406d0 (LWP 4196)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb747005b in waitpid () from /lib/libpthread.so.0
#2  0xb7baae3b in ?? () from /usr/lib/libkdeui.so.5
#3  0x0000106c in ?? ()
#4  0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()

i have tried it the other way (starting kttsd and "configuration dialogue":NO -> system settings: accessabilty -> crash) too.
Comment 1 Jowanni Swoboda 2008-06-02 12:00:16 UTC
similar case in 4.0.80
Comment 2 Kolia 2008-12-08 17:11:22 UTC
Hi,

Under Kubuntu 8.10 with KDE 4.1.3 same problem, KTTSD crashes after validating to configure it.

Details:

Application : KDE Control Module (kcmshell4), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
[...]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb61b09a0 (LWP 19739)]
[New Thread 0xb1f10b90 (LWP 19751)]
[New Thread 0xb2711b90 (LWP 19750)]
[New Thread 0xb2f33b90 (LWP 19749)]
[New Thread 0xb37a3b90 (LWP 19742)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[...]
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb6db2c5d in QDBusAbstractInterface::callWithArgumentList ()
   from /usr/lib/libQtDBus.so.4
#7  0xb471be8f in ?? () from /usr/lib/kde4/kcm_kttsd.so
#8  0xb472420a in ?? () from /usr/lib/kde4/kcm_kttsd.so
#9  0xb4726a8d in ?? () from /usr/lib/kde4/kcm_kttsd.so
#10 0xb47304a1 in KPluginFactory::createInstance<KCMKttsMgr, QWidget> ()
   from /usr/lib/kde4/kcm_kttsd.so
#11 0xb7afebe7 in KPluginFactory::create () from /usr/lib/libkdecore.so.5
#12 0xb7b564f6 in KService::createInstance<KCModule> ()
   from /usr/lib/libkutils.so.4
#13 0xb7b55362 in KCModuleLoader::loadModule () from /usr/lib/libkutils.so.4
#14 0xb7b5b6ed in ?? () from /usr/lib/libkutils.so.4
#15 0xb7b5c813 in KCModuleProxy::realModule () from /usr/lib/libkutils.so.4
#16 0xb7b5c848 in KCModuleProxy::minimumSizeHint ()
   from /usr/lib/libkutils.so.4
#17 0xb7d8aac3 in ?? () from /usr/lib/libkdeui.so.5
#18 0xb7d8ac7e in KPageView::qt_metacall () from /usr/lib/libkdeui.so.5
#19 0xb7d8e98a in KPageWidget::qt_metacall () from /usr/lib/libkdeui.so.5
#20 0xb7850a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb78517e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb788aa97 in QAbstractItemModel::layoutChanged ()
   from /usr/lib/libQtCore.so.4
#23 0xb7d91324 in KPageWidgetModel::addPage () from /usr/lib/libkdeui.so.5
#24 0xb7d8ec3a in KPageWidget::addPage () from /usr/lib/libkdeui.so.5
#25 0xb7d8814a in KPageDialog::addPage () from /usr/lib/libkdeui.so.5
#26 0xb7b57f7c in KCMultiDialog::addModule () from /usr/lib/libkutils.so.4
#27 0xb8059a41 in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#28 0x080485b2 in _start ()
#0  0xb8099430 in __kernel_vsyscall ()

Also in the terminal it says:

KCrash: Application 'kcmshell4' crashing...
sock_file=/home/nicolas/.kde/socket-portable/kdeinit4__0
Comment 3 Fahad Alduraibi 2009-02-20 17:48:11 UTC
Same thing using Fedora 10 and KDE 4.2.0

How to generate it:
Run KTTS via "System Settings" -> "Accessibility" -> select from left menu "Text-to-Speech" then it will crash.
or by running "kttrsmgr" then trying to "Configure" it will cause it to crash.


This is my backtrace:
------------------------------------
Application: KDE Control Module (kcmshell4), signal SIGSEGV
[Current thread is 1 (Thread 0xb7f76770 (LWP 11085))]

Thread 5 (Thread 0xb65cab90 (LWP 11086)):
#0  0x00257416 in __kernel_vsyscall ()
#1  0x00350432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x03181c51 in metronom_sync_loop (this=0xa2f7d28) at metronom.c:870
#3  0x0034c51f in start_thread () from /lib/libpthread.so.0
#4  0x0044404e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb5bc9b90 (LWP 11087)):
#0  0x005c354a in clock_gettime () from /lib/librt.so.1
#1  0x07ca942b in QTimerInfoList::getTime (this=0xa2a5f04, t=@0xa2a5f28) at kernel/qeventdispatcher_unix.cpp:335
#2  0x07ca9601 in QTimerInfoList::updateCurrentTime (this=0xa2a5f04) at kernel/qeventdispatcher_unix.cpp:293
#3  0x07cab13c in QTimerInfoList::timerWait (this=0xa2a5f04, tm=@0xb5bc90b4) at kernel/qeventdispatcher_unix.cpp:416
#4  0x07ca79da in timerSourcePrepare (source=0x5c7ff4, timeout=0xb5bc9108) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00514142 in IA__g_main_context_prepare (context=0xa024208, priority=0xb5bc9178) at gmain.c:2464
#6  0x005145ca in g_main_context_iterate (context=0xa024208, block=1, dispatch=1, self=0xa024d28) at gmain.c:2758
#7  0x00514aa1 in IA__g_main_context_iteration (context=0xa024208, may_block=1) at gmain.c:2841
#8  0x07ca7817 in QEventDispatcherGlib::processEvents (this=0xa2a8b38, flags={i = 4}) at kernel/qeventdispatcher_glib.cpp:321
#9  0x07c7b88a in QEventLoop::processEvents (this=0xb5bc9270, flags={i = 4}) at kernel/qeventloop.cpp:143
#10 0x07c7ba4a in QEventLoop::exec (this=0xb5bc9270, flags={i = 0}) at kernel/qeventloop.cpp:194
#11 0x07b894d9 in QThread::exec (this=0xa2a8d18) at thread/qthread.cpp:458
#12 0x00cc0802 in Phonon::MediaSource::type () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0x07b8c75e in QThreadPrivate::start (arg=0xa2a8d18) at thread/qthread_unix.cpp:185
#14 0x0034c51f in start_thread () from /lib/libpthread.so.0
#15 0x0044404e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb51c8b90 (LWP 11088)):
#0  0x00257416 in __kernel_vsyscall ()
#1  0x00439777 in poll () from /lib/libc.so.6
#2  0x09b08937 in poll_func (ufds=0xa0227e0, nfds=2, timeout=-1, userdata=0xa2ae040) at pulse/thread-mainloop.c:71
#3  0x09af8320 in pa_mainloop_poll (m=0xa2adfa0) at pulse/mainloop.c:857
#4  0x09af8707 in pa_mainloop_iterate (m=0xa2adfa0, block=1, retval=0x0) at pulse/mainloop.c:923
#5  0x09af878c in pa_mainloop_run (m=0xa2adfa0, retval=0x0) at pulse/mainloop.c:941
#6  0x09b089b8 in thread (userdata=0xa023288) at pulse/thread-mainloop.c:90
#7  0x09b3c524 in internal_thread_func (userdata=0xa2ae060) at pulsecore/thread-posix.c:72
#8  0x0034c51f in start_thread () from /lib/libpthread.so.0
#9  0x0044404e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb07c6b90 (LWP 11089)):
#0  0x00257416 in __kernel_vsyscall ()
#1  0x00350105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x03194064 in fifo_peek_int () at audio_out.c:347
#3  fifo_peek () at audio_out.c:387
#4  ao_loop (this_gen=0xa26ff98) at audio_out.c:1014
#5  0x0034c51f in start_thread () from /lib/libpthread.so.0
#6  0x0044404e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7f76770 (LWP 11085)):
[KCrash Handler]
#6  QDBusAbstractInterface::d_func () at qdbusabstractinterface.h:121
#7  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::NoBlock, method=@0xbfea3d4c, args=@0xbfea3d50) at qdbusabstractinterface.cpp:363
#8  0x002e921f in OrgKdeKSpeechInterface::kttsdExit () at /usr/src/debug/kdeaccessibility-4.2.0/i386-redhat-linux-gnu/kttsd/kcmkttsmgr/kspeechinterface.h:180
#9  KCMKttsMgr::slotEnableKttsd_toggled (this=0xa02d798) at /usr/src/debug/kdeaccessibility-4.2.0/kttsd/kcmkttsmgr/kcmkttsmgr.cpp:1638
#10 0x002ed7e4 in KCMKttsMgr::load (this=0xa02d798) at /usr/src/debug/kdeaccessibility-4.2.0/kttsd/kcmkttsmgr/kcmkttsmgr.cpp:720
#11 0x002f2e8f in KCMKttsMgr (this=0xa02d798, parent=0xa05f3d8) at /usr/src/debug/kdeaccessibility-4.2.0/kttsd/kcmkttsmgr/kcmkttsmgr.cpp:383
#12 0x002fb18f in KPluginFactory::createInstance<KCMKttsMgr, QWidget> (parentWidget=0x0, parent=0xa05f3d8, args=@0xbfea464c) at /usr/include/kde4/kpluginfactory.h:461
#13 0x02abb04f in KPluginFactory::create (this=0xa1f46c8, iface=0x2e7cbc0 "KCModule", parentWidget=0x0, parent=0xa05f3d8, args=@0xbfea464c, keyword=@0xbfea4604)
    at /usr/src/debug/kdelibs-4.2.0/kdecore/util/kpluginfactory.cpp:191
#14 0x04750b07 in KPluginFactory::create<KCModule> () at /usr/src/debug/kdelibs-4.2.0/kdecore/util/kpluginfactory.h:515
#15 KService::createInstance<KCModule> () at /usr/src/debug/kdelibs-4.2.0/kdecore/services/kservice.h:518
#16 KService::createInstance<KCModule> () at /usr/src/debug/kdelibs-4.2.0/kdecore/services/kservice.h:495
#17 KService::createInstance<KCModule> () at /usr/src/debug/kdelibs-4.2.0/kdecore/services/kservice.h:535
#18 KCModuleLoader::loadModule (mod=@0xa081600, report=KCModuleLoader::Inline, parent=0xa05f3d8, args=@0xa0815e8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleloader.cpp:90
#19 0x04755c65 in KCModuleProxyPrivate::loadModule (this=0xa0815e8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleproxy.cpp:107
#20 0x04756883 in KCModuleProxy::realModule (this=0xa05f3d8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleproxy.cpp:83
#21 0x047569e8 in KCModuleProxy::buttons (this=0xa05f3d8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleproxy.cpp:300
#22 0x04752092 in KCMultiDialogPrivate::updateButtons (this=0x9fd3750, currentModule=0xa05f3d8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmultidialog.cpp:71
#23 0x0475266e in KCMultiDialog::addModule (this=0x9fd3678, moduleInfo=@0xbfea4b94, parentItem=0x0, args=@0xbfea4b90) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmultidialog.cpp:342
#24 0x0080ca03 in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#25 0x08048612 in _start ()
----------------------------------------------
Comment 4 cmf 2009-02-23 13:21:49 UTC
I encountered the same problem in KDE 4.2.0 on Arch Linux

Anwendung: KDE-Kontrollmodul (kcmshell4), Signal SIGSEGV
0x00007ff94219d001 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 3332)]

Thread 5 (Thread 0x7ff9309d7950 (LWP 3333)):
#0  0x00007ff943878fed in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff935087561 in metronom_sync_loop () from /usr/lib/libxine.so.1
#2  0x00007ff943874fc7 in start_thread () from /lib/libpthread.so.0
#3  0x00007ff9421cd5dd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff92fc9d950 (LWP 3334)):
#0  0x00007ff93f1a9450 in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#1  0x00007ff93f1adf47 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff93f1ae3db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff943bdb8ee in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0x00007ff943bb5d72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007ff943bb5f05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0x00007ff943ae323c in QThread::exec () from /usr/lib/libQtCore.so.4
#7  0x00007ff9352e06d2 in Phonon::Xine::XineThread::run () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ff943ae5d79 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007ff943874fc7 in start_thread () from /lib/libpthread.so.0
#10 0x00007ff9421cd5dd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff92f293950 (LWP 3337)):
#0  0x00007ff94387b7ab in read () from /lib/libpthread.so.0
#1  0x00007ff935558e45 in snd_ctl_hw_read () from /usr/lib/libasound.so.2
#2  0x00007ff935553988 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007ff93555d355 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007ff92f298878 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#5  0x00007ff943874fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007ff9421cd5dd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff92ea71950 (LWP 3338)):
#0  0x00007ff943878d69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff935098503 in ao_loop () from /usr/lib/libxine.so.1
#2  0x00007ff943874fc7 in start_thread () from /lib/libpthread.so.0
#3  0x00007ff9421cd5dd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff94506b750 (LWP 3332)):
[KCrash Handler]
#5  0x00007ff943ea91cd in QDBusAbstractInterface::callWithArgumentList () from /usr/lib/libQtDBus.so.4
#6  0x00007ff936ed9d41 in KCMKttsMgr::slotEnableKttsd_toggled () from /usr/lib/kde4/kcm_kttsd.so
#7  0x00007ff936eddafc in KCMKttsMgr::load () from /usr/lib/kde4/kcm_kttsd.so
#8  0x00007ff936ee29b7 in KCMKttsMgr::KCMKttsMgr () from /usr/lib/kde4/kcm_kttsd.so
#9  0x00007ff936ee9a45 in KPluginFactory::createInstance<KCMKttsMgr, QWidget> () from /usr/lib/kde4/kcm_kttsd.so
#10 0x00007ff9442b712d in KPluginFactory::create () from /usr/lib/libkdecore.so.5
#11 0x00007ff944b58dc4 in KCModuleLoader::loadModule () from /usr/lib/libkutils.so.4
#12 0x00007ff944b5d93e in KCModuleProxyPrivate::loadModule () from /usr/lib/libkutils.so.4
#13 0x00007ff944b5e485 in KCModuleProxy::realModule () from /usr/lib/libkutils.so.4
#14 0x00007ff944b5e5ac in KCModuleProxy::buttons () from /usr/lib/libkutils.so.4
#15 0x00007ff944b59f98 in KCMultiDialogPrivate::updateButtons () from /usr/lib/libkutils.so.4
#16 0x00007ff944b5a4f9 in KCMultiDialog::addModule () from /usr/lib/libkutils.so.4
#17 0x00007ff944d8df6c in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#18 0x00007ff94211c546 in __libc_start_main () from /lib/libc.so.6
#19 0x0000000000400709 in _start ()
Comment 5 Fahad Alduraibi 2009-02-26 18:46:04 UTC
I think the problem got resolved in the latest KDE update since I am now able to configure and use the text-to-speech even though it is not so stable but i think it is the sound server problem.

Thanks..
Comment 6 Christoph Feck 2009-05-24 07:08:40 UTC
Comments #2, #3, and #4 are bug 184310. The original backtrace in comment #0 looks funny, because no crash handler is called... but I assume that this is also bug 184310. Please reopen if you still get a crash.

*** This bug has been marked as a duplicate of bug 184310 ***