Bug 184310 - System Settings crashes when selecting Accessibility
Summary: System Settings crashes when selecting Accessibility
Status: RESOLVED FIXED
Alias: None
Product: kttsd
Classification: Unmaintained
Component: kcmkttsmgr (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Gary Cramblitt
URL:
Keywords:
: 161497 166301 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-14 14:19 UTC by Jonathan
Modified: 2009-05-24 07:43 UTC (History)
6 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 Jonathan 2009-02-14 14:19:28 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unlisted Binary Package

System Settings always crashes when I want to navigate to the Accessibility menu. I've just noticed this behavior, but I don't know if this happened before. It might just have been the first time today that I tried to enter the Accessibility part of System Settings.

I'm using Arch-Linux with 32-bit KDE 4.2.0.

Backtrace:

Application: System Settings (systemsettings), signal SIGSEGV
[Current thread is 0 (LWP 489)]

Thread 5 (Thread 0xb3529b90 (LWP 490)):
#0  0xb7f98424 in __kernel_vsyscall ()
#1  0xb7443f82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb421a7d1 in metronom_sync_loop () from /usr/lib/libxine.so.1

Thread 4 (Thread 0xb2ce0b90 (LWP 491)):
#0  0xb655af3c in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#1  0xb655b88d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0xb655bb61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb75c15c7 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0xb759969a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb759985a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0xb74bdab3 in QThread::exec () from /usr/lib/libQtCore.so.4
#7  0xb42665b9 in Phonon::Xine::XineThread::run () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0xb74c0910 in ?? () from /usr/lib/libQtCore.so.4
#9  0x09e7a710 in ?? ()
#10 0x00000000 in ?? ()

Thread 3 (Thread 0xb24dfb90 (LWP 494)):
#0  0xb7446689 in __pthread_disable_asynccancel () from /lib/libpthread.so.0
#1  0xb7446b74 in read () from /lib/libpthread.so.0
#2  0xb42cc052 in snd_ctl_hw_read () from /usr/lib/libasound.so.2
#3  0xb42c966d in snd_ctl_read () from /usr/lib/libasound.so.2
#4  0xb42c5aaf in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#5  0xb42d1a21 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#6  0xb2d23f2d in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#7  0x00000000 in ?? ()

Thread 2 (Thread 0xb1c9cb90 (LWP 496)):
#0  0xb7f98424 in __kernel_vsyscall ()
#1  0xb7443c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb422c784 in ao_loop () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 1 (Thread 0xb6247700 (LWP 489)):
[KCrash Handler]
#6  0xb76609bd in QDBusAbstractInterface::callWithArgumentList () from /usr/lib/libQtDBus.so.4
#7  0xb47b323f in KCMKttsMgr::slotEnableKttsd_toggled () from /usr/lib/kde4/kcm_kttsd.so
#8  0xb47b7244 in KCMKttsMgr::load () from /usr/lib/kde4/kcm_kttsd.so
#9  0xb47bc8ef in KCMKttsMgr::KCMKttsMgr () from /usr/lib/kde4/kcm_kttsd.so
#10 0xb47c4b5f in KPluginFactory::createInstance<KCMKttsMgr, QWidget> () from /usr/lib/kde4/kcm_kttsd.so
#11 0xb7859f9f in KPluginFactory::create () from /usr/lib/libkdecore.so.5
#12 0xb7f6cb27 in KCModuleLoader::loadModule () from /usr/lib/libkutils.so.4
#13 0xb7f71c85 in KCModuleProxyPrivate::loadModule () from /usr/lib/libkutils.so.4
#14 0xb7f728a3 in KCModuleProxy::realModule () from /usr/lib/libkutils.so.4
#15 0xb7f72a08 in KCModuleProxy::buttons () from /usr/lib/libkutils.so.4
#16 0x0805415f in _start ()
Comment 1 Konstantinos Smanis 2009-02-15 19:55:27 UTC
Does it crash when running it using "kcmshell4 kcmkttsd"?
Comment 2 Dario Andres 2009-02-15 23:17:01 UTC
As you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You may need to recompile the packages in order to get debug symbols, (or install the -debug packages if you are using KDEmod)
Thanks :)
Comment 3 Konstantinos Smanis 2009-02-16 19:11:32 UTC
I am too using Arch-Linux with 32-bit KDE 4.2.0, but can't reproduce this.. You should provide more information maybe on how and under which conditions the crash occurs.
Comment 4 Jonathan 2009-02-16 23:40:34 UTC
Using "kcmshell4 kcmkttsd" also crashes, with almost the same backtrace (there are just some threads missing)

I've had KDE running now for 12 days and after restarting today I noticed that I can access the ktts-settings again.
So it took me now almost 2 hours to find out how to reproduce the bug with a fresh start, at I could at least partly reproduce it on my notebook.

1. Deinstall all ktts-talker libraries (festival, flite, etc)
2. Open any pdf (probably any kind of document works) with Okular
3. Select Tools -> Speak whole document
4. This always ends in a crash (Backtrace #1)
5. Repeat until "KTTS not Configured" shows up
6. Selecting "Configure" ends in a second crash (Backtrace #2)
7. After this second crash it's not possible anymore to open ktts-settings (Behavior as in opening-description)

On my laptop I could only reproduce the first crash. But as my laptop is a dual core and we have some a couple of different threads involved here this might be the reason.
On my desktop I can always reproduce this with a fresh kde-start. I had to repeat step 5 up 1-5 times until the "KTTS not Configured" dialog showed up. Again I think this might be because of a different processing of the threads.

Restarting KDE brings back the normal behavior and I can open the ktts-settings. If I have at least one speaker-library installed there are no crashes at all. When there's no configured speaker for ktts, the available speaker-library gets automatically chosen and speaking starts.

I hope you are able to reproduce this behavior, if I can provide any further information I will try to do so.
But as compiling KDE with debug enabled needs some time it would have to wait until next month.
But I think the provided Bugtraces aren't too bad. There's not a single "(no debug symbols found)" message and except of some non-KDE function-calls all function-names are given.



Backtrace #1
Application: kttsd (kttsd), signal SIGSEGV

Thread 1 (Thread 0xb5f36920 (LWP 11443)):
[KCrash Handler]
#6  0x0805b15c in _start ()




Backtrace #2
Application: KDE Control Module (kcmshell4), signal SIGSEGV
[Current thread is 0 (LWP 11468)]

Thread 5 (Thread 0xb3503b90 (LWP 11469)):
#0  0xb7f44424 in __kernel_vsyscall ()
#1  0xb772af82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb42077b1 in metronom_sync_loop () from /usr/lib/libxine.so.1

Thread 4 (Thread 0xb2cb0b90 (LWP 11470)):
#0  0xb7f44424 in __kernel_vsyscall ()
#1  0xb6df0e17 in poll () from /lib/libc.so.6
#2  0xb6789832 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb6789b61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb78a85c7 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb788069a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb788085a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb77a4ab3 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb42545b9 in Phonon::Xine::XineThread::run () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb77a7910 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0818ea40 in ?? ()
#11 0x00000000 in ?? ()

Thread 3 (Thread 0xb24afb90 (LWP 11473)):
#0  0xb42bf873 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#1  0xb40d1f31 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#2  0x00000000 in ?? ()

Thread 2 (Thread 0xb1c8db90 (LWP 11474)):
#0  0xb7f44424 in __kernel_vsyscall ()
#1  0xb772ac55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4219794 in ao_loop () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 1 (Thread 0xb61e9700 (LWP 11468)):
[KCrash Handler]
#6  0xb79489bd in QDBusAbstractInterface::callWithArgumentList () from /usr/lib/libQtDBus.so.4
#7  0xb47ad23f in KCMKttsMgr::slotEnableKttsd_toggled () from /usr/lib/kde4/kcm_kttsd.so
#8  0xb47b1244 in KCMKttsMgr::load () from /usr/lib/kde4/kcm_kttsd.so
#9  0xb47b68ef in KCMKttsMgr::KCMKttsMgr () from /usr/lib/kde4/kcm_kttsd.so
#10 0xb47beb5f in KPluginFactory::createInstance<KCMKttsMgr, QWidget> () from /usr/lib/kde4/kcm_kttsd.so
#11 0xb7b40f9f in KPluginFactory::create () from /usr/lib/libkdecore.so.5
#12 0xb7f0fb27 in KCModuleLoader::loadModule () from /usr/lib/libkutils.so.4
#13 0xb7f14c85 in KCModuleProxyPrivate::loadModule () from /usr/lib/libkutils.so.4
#14 0xb7f158a3 in KCModuleProxy::realModule () from /usr/lib/libkutils.so.4
#15 0xb7f15a08 in KCModuleProxy::buttons () from /usr/lib/libkutils.so.4
#16 0xb7f110b2 in KCMultiDialogPrivate::updateButtons () from /usr/lib/libkutils.so.4
#17 0xb7f1168e in KCMultiDialog::addModule () from /usr/lib/libkutils.so.4
#18 0xb7f3fdc3 in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#19 0x08048672 in _start ()
Comment 5 Fahad Alduraibi 2009-02-20 18:06:51 UTC
This looks like the bug in: 161497
https://bugs.kde.org/show_bug.cgi?id=161497

and when I run the command "kcmshell4 kcmkttsd" it crashes immediately and this is the backtrace:

-----------------
Application: KDE Control Module (kcmshell4), signal SIGSEGV
[Current thread is 1 (Thread 0xb7f62770 (LWP 12050))]

Thread 5 (Thread 0xb65b6b90 (LWP 12051)):
#0  0x00b20416 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=0xa332d50) 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 0xb5bb5b90 (LWP 12052)):
#0  0x005c354a in clock_gettime () from /lib/librt.so.1
#1  0x07ca942b in QTimerInfoList::getTime (this=0xa2e0f1c, t=@0xa2e0f40) at kernel/qeventdispatcher_unix.cpp:335
#2  0x07ca9601 in QTimerInfoList::updateCurrentTime (this=0xa2e0f1c) at kernel/qeventdispatcher_unix.cpp:293
#3  0x07ca7913 in timerSourceCheck (source=0xa2e0ee8) at kernel/qeventdispatcher_glib.cpp:152
#4  0x00513e48 in IA__g_main_context_check (context=0xa2e84c0, max_priority=2147483647, fds=0xa2e1840, n_fds=1) at gmain.c:2653
#5  0x005147cd in g_main_context_iterate (context=0xa2e84c0, block=1, dispatch=1, self=0xa2e8cd0) at gmain.c:2775
#6  0x00514aa1 in IA__g_main_context_iteration (context=0xa2e84c0, may_block=1) at gmain.c:2841
#7  0x07ca7817 in QEventDispatcherGlib::processEvents (this=0xa1571c0, flags={i = 4}) at kernel/qeventdispatcher_glib.cpp:321
#8  0x07c7b88a in QEventLoop::processEvents (this=0xb5bb5270, flags={i = 4}) at kernel/qeventloop.cpp:143
#9  0x07c7ba4a in QEventLoop::exec (this=0xb5bb5270, flags={i = 0}) at kernel/qeventloop.cpp:194
#10 0x07b894d9 in QThread::exec (this=0xa2e1ca8) at thread/qthread.cpp:458
#11 0x00e98802 in Phonon::MediaSource::type () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#12 0x07b8c75e in QThreadPrivate::start (arg=0xa2e1ca8) at thread/qthread_unix.cpp:185
#13 0x0034c51f in start_thread () from /lib/libpthread.so.0
#14 0x0044404e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb51b4b90 (LWP 12053)):
#0  0x00b20416 in __kernel_vsyscall ()
#1  0x00439777 in poll () from /lib/libc.so.6
#2  0x00fe7937 in poll_func (ufds=0xa29a2c0, nfds=2, timeout=-1, userdata=0xa299b40) at pulse/thread-mainloop.c:71
#3  0x00fd7320 in pa_mainloop_poll (m=0xa299aa0) at pulse/mainloop.c:857
#4  0x00fd7707 in pa_mainloop_iterate (m=0xa299aa0, block=1, retval=0x0) at pulse/mainloop.c:923
#5  0x00fd778c in pa_mainloop_run (m=0xa299aa0, retval=0x0) at pulse/mainloop.c:941
#6  0x00fe79b8 in thread (userdata=0xa05e5f0) at pulse/thread-mainloop.c:90
#7  0x0101b524 in internal_thread_func (userdata=0xa299b60) 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 0xb07b2b90 (LWP 12054)):
#0  0x00b20416 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=0xa159bb8) 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 0xb7f62770 (LWP 12050)):
[KCrash Handler]
#6  QDBusAbstractInterface::d_func () at qdbusabstractinterface.h:121
#7  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::NoBlock, method=@0xbfc8ddec, args=@0xbfc8ddf0) at qdbusabstractinterface.cpp:363
#8  0x0093221f 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=0xa068788) at /usr/src/debug/kdeaccessibility-4.2.0/kttsd/kcmkttsmgr/kcmkttsmgr.cpp:1638
#10 0x009367e4 in KCMKttsMgr::load (this=0xa068788) at /usr/src/debug/kdeaccessibility-4.2.0/kttsd/kcmkttsmgr/kcmkttsmgr.cpp:720
#11 0x0093be8f in KCMKttsMgr (this=0xa068788, parent=0xa0bb9a8) at /usr/src/debug/kdeaccessibility-4.2.0/kttsd/kcmkttsmgr/kcmkttsmgr.cpp:383
#12 0x0094418f in KPluginFactory::createInstance<KCMKttsMgr, QWidget> (parentWidget=0x0, parent=0xa0bb9a8, args=@0xbfc8e6ec) at /usr/include/kde4/kpluginfactory.h:461
#13 0x02abb04f in KPluginFactory::create (this=0xa157158, iface=0x2e7cbc0 "KCModule", parentWidget=0x0, parent=0xa0bb9a8, args=@0xbfc8e6ec, keyword=@0xbfc8e6a4)
    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=@0xa0acd50, report=KCModuleLoader::Inline, parent=0xa0bb9a8, args=@0xa0acd38) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleloader.cpp:90
#19 0x04755c65 in KCModuleProxyPrivate::loadModule (this=0xa0acd38) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleproxy.cpp:107
#20 0x04756883 in KCModuleProxy::realModule (this=0xa0bb9a8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleproxy.cpp:83
#21 0x047569e8 in KCModuleProxy::buttons (this=0xa0bb9a8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmoduleproxy.cpp:300
#22 0x04752092 in KCMultiDialogPrivate::updateButtons (this=0xa00e5f0, currentModule=0xa0bb9a8) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmultidialog.cpp:71
#23 0x0475266e in KCMultiDialog::addModule (this=0xa00e518, moduleInfo=@0xbfc8ec34, parentItem=0x0, args=@0xbfc8ec30) at /usr/src/debug/kdelibs-4.2.0/kutils/kcmultidialog.cpp:342
#24 0x002c5a03 in kdemain () from /usr/lib/libkdeinit4_kcmshell4.so
#25 0x08048612 in _start ()
----------------------------------

btw, I am using Fedora 10 KDE 4.2.0
Comment 6 Christoph Feck 2009-05-24 07:03:56 UTC
Fixed in trunk: http://websvn.kde.org/?view=rev&revision=944326
Fixed in 4.2.3: http://websvn.kde.org/?view=rev&revision=944327
Comment 7 Christoph Feck 2009-05-24 07:08:40 UTC
*** Bug 161497 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2009-05-24 07:43:52 UTC
*** Bug 166301 has been marked as a duplicate of this bug. ***