Bug 177313 - crashed as I attempted to use it in Okular for text to speech of a pdf document
Summary: crashed as I attempted to use it in Okular for text to speech of a pdf document
Status: RESOLVED FIXED
Alias: None
Product: kttsd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 16:50 UTC by Indrajit Chatterjee
Modified: 2013-02-28 01:02 UTC (History)
3 users (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 Indrajit Chatterjee 2008-12-09 16:50:10 UTC
Version:           0.40 (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

I executed kttsd and it sat in the system tray. Opened Okular to view a pdf. Selected the text to speech option in tools and kttsd crashed. Using Opensuse 11x64.
Comment 1 Indrajit Chatterjee 2008-12-09 16:51:07 UTC
Application: kttsd (kttsd), signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(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 0x7f00e1a10700 (LWP 5346)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x0000000000414d11 in _start ()
#0  0x00007f00da5b5230 in nanosleep () from /lib64/libc.so.6
Comment 2 FiNeX 2008-12-09 19:15:54 UTC
Hi! If you can reproduce the crash, you could install the debug enabled packages and provide a new backtrace. Read this page for the instructions:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 3 Jacek Piskozub 2008-12-17 13:14:49 UTC
I can confirm the same bug. Two different systems, both with Fedora 9, fully updated as of today.

The backtrace is:

Application: kttsd (kttsd), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb804e770 (LWP 22749)]
[KCrash handler]
#6  0x0805ad8c in SpeechData::getAppData (this=0x0, appId=@0xbfb81504)
    at /usr/src/debug/kdeaccessibility-4.1.3/kttsd/kttsd/speechdata.cpp:166
#7  0x0804f46c in KSpeech::setApplicationName (this=0x99f3a10, 
    applicationName=@0x99fe090)
    at /usr/src/debug/kdeaccessibility-4.1.3/kttsd/kttsd/kspeech.cpp:143
#8  0x08050550 in KSpeech::qt_metacall (this=0x99f3a10, 
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfb81624)
    at /usr/src/debug/kdeaccessibility-4.1.3/i386-redhat-linux-gnu/kttsd/kttsd/kspeech.moc:176
#9  0x00fec8aa in QMetaObject::invokeMethod (obj=0x99f3a10, 
    member=0x806fcf2 "setApplicationName", type=Qt::QueuedConnection, ret=
        {<QGenericArgument> = {_data = 0x0, _name = 0x0}, <No data fields>}, 
    val0={_data = 0x99fe090, _name = 0x806faf0 "QString"}, val1=
      {_data = 0x0, _name = 0x0}, val2={_data = 0x0, _name = 0x0}, val3=
      {_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5=
      {_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7=
      {_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, val9=
      {_data = 0x0, _name = 0x0}) at kernel/qmetaobject.cpp:984
#10 0x0806adaf in KSpeechAdaptor::setApplicationName (this=0x99f51f8, 
    applicationName=@0x99fe090, msg=@0x9a07290)
    at /usr/include/QtCore/qobjectdefs.h:382
#11 0x0806ce61 in KSpeechAdaptor::qt_metacall (this=0x99f51f8, 
    _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfb81b08)
    at /usr/src/debug/kdeaccessibility-4.1.3/i386-redhat-linux-gnu/kttsd/kttsd/kspeechadaptor_p.moc:344
#12 0x055fca0e in QDBusConnectionPrivate::deliverCall (this=0x9972e48, 
    object=0x99f51f8, msg=@0x9a07290, metaTypes=@0xbfb81bb8, slotIdx=40)
    at qdbusintegrator.cpp:849
#13 0x055fdc47 in QDBusConnectionPrivate::activateCall (this=0x9972e48, 
    object=0x99f51f8, flags=273, msg=@0x9a07290) at qdbusintegrator.cpp:754
#14 0x055fe151 in QDBusConnectionPrivate::activateObject (this=0x9972e48, 
    node=@0x9a0727c, msg=@0x9a07290, pathStartPos=8)
    at qdbusintegrator.cpp:1306
#15 0x055fe64a in QDBusActivateObjectEvent::placeMetaCall (this=0x9a07250)
    at qdbusintegrator.cpp:1400
#16 0x00ff3619 in QObject::event (this=0x99f3a10, e=0x9a07250)
    at kernel/qobject.cpp:1155
#17 0x011d3f8c in QApplicationPrivate::notify_helper (this=0x99779f8, 
    receiver=0x99f3a10, e=0x9a07250) at kernel/qapplication.cpp:3803
#18 0x011dbe2e in QApplication::notify (this=0xbfb827f4, receiver=0x99f3a10, 
    e=0x9a07250) at kernel/qapplication.cpp:3393
#19 0x0030095d in KApplication::notify (this=0xbfb827f4, receiver=0x99f3a10, 
    event=0x9a07250)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#20 0x00fe3c51 in QCoreApplication::notifyInternal (this=0xbfb827f4, 
    receiver=0x99f3a10, event=0x9a07250) at kernel/qcoreapplication.cpp:587
#21 0x00fe48c5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x9967c40)
    at ../../src/corelib/kernel/qcoreapplication.h:209
#22 0x00fe4add in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#23 0x0100e74f in postEventSourceDispatch (s=0x9979e10)
    at ../../src/corelib/kernel/qcoreapplication.h:214
#24 0x07dc2e38 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x07dc64e3 in ?? () from /lib/libglib-2.0.so.0
#26 0x07dc66a1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x0100e398 in QEventDispatcherGlib::processEvents (this=0x9970000, flags=
      {i = -1078451576}) at kernel/qeventdispatcher_glib.cpp:319
#28 0x0126d105 in QGuiEventDispatcherGlib::processEvents (this=0x9970000, 
    flags={i = -1078451528}) at kernel/qguieventdispatcher_glib.cpp:198
#29 0x00fe233a in QEventLoop::processEvents (this=0xbfb8232c, flags=
      {i = -1078451464}) at kernel/qeventloop.cpp:143
#30 0x00fe24fa in QEventLoop::exec (this=0xbfb8232c, flags={i = -1078451404})
    at kernel/qeventloop.cpp:194
#31 0x01640b47 in QDialog::exec (this=0x9a20538) at dialogs/qdialog.cpp:447
#32 0x00282554 in KMessageBox::createKMessageBox (dialog=0x9a20538, 
    icon=@0xbfb82568, text=@0xbfb8272c, strlist=@0xbfb826b8, ask=@0xbfb825f0, 
    checkboxReturn=0xbfb8262b, options={i = -1078450844}, 
    details=@0xbfb825e8, notifyType=QMessageBox::Information)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/dialogs/kmessagebox.cpp:300
#33 0x002833b1 in KMessageBox::createKMessageBox (dialog=0x9a20538, 
    icon=QMessageBox::Information, text=@0xbfb8272c, strlist=@0xbfb826b8, 
    ask=@0xbfb825f0, checkboxReturn=0xbfb8262b, options={i = -1078450708}, 
    details=@0xbfb825e8)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/dialogs/kmessagebox.cpp:149
#34 0x0028537d in KMessageBox::questionYesNoListWId (parent_id=0, 
    text=@0xbfb8272c, strlist=@0xbfb826b8, caption=@0xbfb82728, 
    buttonYes_=@0xbfb82714, buttonNo_=@0xbfb82700, 
    dontAskAgainName=@0xbfb82734, options={i = -1078450576})
    at /usr/src/debug/kdelibs-4.1.3/kdeui/dialogs/kmessagebox.cpp:443
#35 0x00285536 in KMessageBox::questionYesNoList (parent=0x0, 
    text=@0xbfb8272c, strlist=@0xbfb826b8, caption=@0xbfb82728, 
    buttonYes=@0xbfb82714, buttonNo=@0xbfb82700, 
    dontAskAgainName=@0xbfb82734, options={i = -1078450508})
    at /usr/src/debug/kdelibs-4.1.3/kdeui/dialogs/kmessagebox.cpp:402
#36 0x002855ad in KMessageBox::questionYesNo (parent=0x0, text=@0xbfb8272c, 
    caption=@0xbfb82728, buttonYes=@0xbfb82714, buttonNo=@0xbfb82700, 
    dontAskAgainName=@0xbfb82734, options={i = -1078450436})
    at /usr/src/debug/kdelibs-4.1.3/kdeui/dialogs/kmessagebox.cpp:317
#37 0x0804eb0b in KSpeech::initializeTalkerMgr (this=0x99f3a10)
    at /usr/src/debug/kdeaccessibility-4.1.3/kttsd/kttsd/kspeech.cpp:512
#38 0x0804ecd5 in KSpeech::ready (this=0x99f3a10)
    at /usr/src/debug/kdeaccessibility-4.1.3/kttsd/kttsd/kspeech.cpp:446
#39 0x0804f6f1 in KSpeech (this=0x99f3a10, parent=0x0)
    at /usr/src/debug/kdeaccessibility-4.1.3/kttsd/kttsd/kspeech.cpp:113
#40 0x0804ddb1 in main (argc=1, argv=0xbfb82954)
    at /usr/src/debug/kdeaccessibility-4.1.3/kttsd/kttsd/main.cpp:66
Comment 4 Jacek Piskozub 2008-12-17 13:17:14 UTC
By the way, from the backtrace this bug is almost certainly a dup of bug 164518.

This bug is about Okular (my backtrace is from using Okular) while the other is about Konqueror but the stack looks the same.
Comment 5 Jacek Piskozub 2008-12-17 13:23:02 UTC
One more thing:

The package version number is: kdeaccessibility-4.1.3-1.fc9.i386
Comment 6 Christoph Feck 2009-05-24 17:52:54 UTC
Jacek, comment #3 is indeed bug 164518.

Indrajit, did you read comment #2 ? If you can reproduce, can you show the full backtrace?
Comment 7 Indrajit Chatterjee 2009-06-12 00:39:50 UTC
Hi- sorry for the late reply I have updated the Okular and the kspeech. Will let you know if the incident is reproduced.
Comment 8 Christoph Feck 2010-10-31 18:14:47 UTC
In case the crash happens again, please add the backtrace. See comment #2 for more help.
Comment 9 Jeremy Whiting 2013-02-28 01:02:01 UTC
This should no longer be possible.  I checked the backtrace code and getAppData in Speaker no longer can return a null object for Jovie to dereference which caused this crash (back when Jovie was KSpeech).

Reopen if you can recreate this issue somehow.