Application: simon (0.3.0) KDE Platform Version: 4.4.5 (KDE 4.4.5) Qt Version: 4.6.2 Operating System: Linux 2.6.32-38-generic x86_64 Distribution: Ubuntu 10.04.3 LTS -- Information about the crash: Hello. I am trying to create a scenario to control the keyoard with only letters ins tead of words (a instead of Alpha, b instead of bravo and so on...) When I tried to test it, it crashed. I had teh proper letters in the shadow dictionary and aparently all was well. The crash can be reproduced some of the time. -- Backtrace: Application: simon (simon), signal: Segmentation fault [Current thread is 1 (Thread 0x7f0fd23ca760 (LWP 2554))] Thread 2 (Thread 0x7f0f9fffe700 (LWP 2925)): #0 0x00007f0fcf9c3b50 in sem_wait () from /lib/libpthread.so.0 #1 0x00007f0fb5f78228 in pa_semaphore_wait () from /usr/lib/libpulsecommon-0.9.21.so #2 0x00007f0fb5f5f714 in ?? () from /usr/lib/libpulsecommon-0.9.21.so #3 0x00007f0fb5f6188f in ?? () from /usr/lib/libpulsecommon-0.9.21.so #4 0x00007f0fb5f61bc0 in pa_memimport_free () from /usr/lib/libpulsecommon-0.9.21.so #5 0x00007f0fb5f69bd0 in pa_pstream_unlink () from /usr/lib/libpulsecommon-0.9.21.so #6 0x00007f0fb619af4a in ?? () from /usr/lib/libpulse.so.0 #7 0x00007f0fb619b808 in ?? () from /usr/lib/libpulse.so.0 #8 0x00007f0fb5f6a2d0 in ?? () from /usr/lib/libpulsecommon-0.9.21.so #9 0x00007f0fb61aa467 in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0 #10 0x00007f0fb61aa818 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0 #11 0x00007f0fb61aa8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0 #12 0x00007f0fb61b921b in ?? () from /usr/lib/libpulse.so.0 #13 0x00007f0fb5f780e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so #14 0x00007f0fcf9bc9ca in start_thread () from /lib/libpthread.so.0 #15 0x00007f0fcae2670d in clone () from /lib/libc.so.6 #16 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f0fd23ca760 (LWP 2554)): [KCrash Handler] #5 0x00007f0fcdf3991d in ActionManager::processRawResults(QList<RecognitionResult>*) () from /usr/lib/libsimonactions.so.4 #6 0x00007f0fce14a184 in SimonControl::wordRecognised(QList<RecognitionResult>*) () from /usr/lib/libsimonappcore.so.4 #7 0x00007f0fce149c90 in SimonControl::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsimonappcore.so.4 #8 0x00007f0fcfd53e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #9 0x00007f0fcc9b4ec2 in RecognitionControl::recognised(QList<RecognitionResult>*) () from /usr/lib/libsimonrecognitioncontrol.so.4 #10 0x00007f0fcc9c093c in RecognitionControl::messageReceived() () from /usr/lib/libsimonrecognitioncontrol.so.4 #11 0x00007f0fcc9b553d in RecognitionControl::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsimonrecognitioncontrol.so.4 #12 0x00007f0fcfd53e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #13 0x00007f0fcbdce0fd in QSslSocket::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtNetwork.so.4 #14 0x00007f0fcfd53e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #15 0x00007f0fcbdb392f in ?? () from /usr/lib/libQtNetwork.so.4 #16 0x00007f0fcbda2ae1 in ?? () from /usr/lib/libQtNetwork.so.4 #17 0x00007f0fd09a422c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #18 0x00007f0fd09aa6fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #19 0x00007f0fd1dd6a16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #20 0x00007f0fcfd4106c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #21 0x00007f0fcfd6a8ca in ?? () from /usr/lib/libQtCore.so.4 #22 0x00007f0fc8ecf8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #23 0x00007f0fc8ed3748 in ?? () from /lib/libglib-2.0.so.0 #24 0x00007f0fc8ed38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #25 0x00007f0fcfd6a513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #26 0x00007f0fd0a5446e in ?? () from /usr/lib/libQtGui.so.4 #27 0x00007f0fcfd3f992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #28 0x00007f0fcfd3fd6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x00007f0fcfd43aab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #30 0x0000000000419b9d in _start () Reported using DrKonqi
Is it possible that simon was finishing up a synchronization at the time of the crash or does it happen during "normal" operation? How did you install simon? Did you use the provided package or did you compile the source? If you used the package would source compilation be an option to help me debug this (I sadly don't have an Ubuntu 10.04 box around to reproduce this). Best regards, Peter
Hey there! Honestly i am not sure what I did... the truth is that I had been trying to get simon to do what i wanted and... well, i had it messed up pretty badly, lol. I had to completly uninstall it from my linux machine, delete all configuration files and reinstall it again. It is now working ok (it got to the point where I couldn't even connect...). I installed it from the file in the website. I used the 0.3 version in x64 which is correct for my system. I still would like to create my own commands... But without messing the dictionary and other stuff... Is that possible? Like, change the keyboard would be an added bonus, really... And I would be happy if I could just create custom command like "check email" and it would open the hotmail page. "show movies" and it would open my videos collection. You know what I mean? Anotehr question: SimonBr is a brazilian version of Simon which has its own models and all... I noticed they also made SpeechOO which give the ability to dictate into OpenOfice. I couldnt get it to work, but do you think it would be possible to add that feature into simon? THANKS > Date: Mon, 6 Feb 2012 19:23:29 +0000 > From: grasch@simon-listens.org > To: ricardojmm@hotmail.com > Subject: [Bug 293449] Simon crashed when i was testing out a new scenario > > https://bugs.kde.org/show_bug.cgi?id=293449 > > > > > > --- Comment #1 from Peter Grasch <grasch simon-listens org> 2012-02-06 19:23:29 --- > Is it possible that simon was finishing up a synchronization at the time of the > crash or does it happen during "normal" operation? > > How did you install simon? Did you use the provided package or did you compile > the source? If you used the package would source compilation be an option to > help me debug this (I sadly don't have an Ubuntu 10.04 box around to reproduce > this). > > Best regards, > Peter > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug.
(In reply to comment #2) > Honestly i am not sure what I did... the truth is that I had been trying to get > simon to do what i wanted and... well, i had it messed up pretty badly, lol. I > had to completly uninstall it from my linux machine, delete all configuration > files and reinstall it again. It is now working ok (it got to the point where I > couldn't even connect...). I installed it from the file in the website. I used > the 0.3 version in x64 which is correct for my system. Well, simon allows you to do some pretty stupid stuff if you want to so I'm not exactly counting that as a bug :P No seriously: You wouldn't happen to have kept a backup copy of your messed up configuration? > Is that possible? Like, change the keyboard would be an added bonus, really... > And I would be happy if I could just create custom command like "check email" > and it would open the hotmail page. "show movies" and it would open my videos > collection. You know what I mean? Sure. Where is the problem? Just backup the scenario you want to modify by exporting it to a file. You can then easily try to modify a scenario by adding new words, grammar and commands to it. In case you mess up just delete the new scenario and import the old one again. There is even a restore point system built right into simon (Settings > Recognition > Synchronization) where you could also revert your changes. > Anotehr question: SimonBr is a brazilian version of Simon which has its own > models and all... I noticed they also made SpeechOO which give the ability to > dictate into OpenOfice. I couldnt get it to work, but do you think it would be > possible to add that feature into simon? Yes, they have been in touch with me. They basically translate simon and provide a default configuration with their acoustic models which are very good. Adding dictation to simon is basically a matter of speech models. I don't speak brazilian portoguese (sadly) so I can't really test theirs. But I'm not aware of any open source English or German model that would be anywhere near good enough to afford dictation. So until those become available: Sorry, no. Please think about supporting voxforge (http://voxforge.org) to make open source dictation models a reality, though! > THANKS You are welcome :)
Hey there. Thanks for the explanation. Lol, yeah, I was not really carefull using the app, lol. But I deleted everything and it is running ok now. However, I am still confused... How exactly do I create new commands? Yes, some are quite obvious, but for example, how can I know if a certain word is in the vocabulaire and all of that, so I can use it? An example: What if I wanted to have no other scenarios running, only one where I would say "check email" and it would open my hotmail account? How exactly do I do that? I can't find any scnario that already has the word "check" on it. Or at least, and it is probably simpler this way, How can I change the keyboard scenarios to use "a" intead of "alpha", "b" instead of "bravo"... Because it is really annoying to always have to check up what is the proper word for a certain letter, it slows me down even more. Also, I see simon can already recognize single letters, because if can use the "alt +letter" functions on the menu navigation scenario... How could I merge them together and change the keyboard?? As for dictation, I don't think voxforge is inferior to falabrasil... There is a video made by them showing the SpeechOO that was quite impressive... And explanatory. Too bad it doesn't work in my system, always sends LibreOffice crashing... I have given up on using it for now. It's still in Alpha, we can't really expect it to be ready for broad use... Lol, i don't think voxforge would be interested on my help... I can write and understand english very very well, but the truth is... my accent is terrible. Lol, imagine a russian man trying to speak british english =P Well, once again thanks a lot for your help, and I would like to sugest you take a look at VEDICS, it's a project similar to simon, but it works with "contextualized" dictionary and is speaker/laguange independent. It's very similar to what you are trying to do for simon0.4, so you could want to take a look at their stuff. I am not saying they are better, please don't misunderstand me... I am just saying that BOTH programs have some cool ways of using the computer and since you are now using their approach maybe having the 2 projects working togehter on some level will be beneficial for everyone... JUst a thought ;) Thanks for everything, keep up the good work, and I hope to hear from you again soon ;) > Date: Tue, 7 Feb 2012 16:40:52 +0000 > From: grasch@simon-listens.org > To: ricardojmm@hotmail.com > Subject: [Bug 293449] Simon crashed when i was testing out a new scenario > > https://bugs.kde.org/show_bug.cgi?id=293449 > > > > > > --- Comment #3 from Peter Grasch <grasch simon-listens org> 2012-02-07 16:40:51 --- > (In reply to comment #2) > > Honestly i am not sure what I did... the truth is that I had been trying to get > > simon to do what i wanted and... well, i had it messed up pretty badly, lol. I > > had to completly uninstall it from my linux machine, delete all configuration > > files and reinstall it again. It is now working ok (it got to the point where I > > couldn't even connect...). I installed it from the file in the website. I used > > the 0.3 version in x64 which is correct for my system. > Well, simon allows you to do some pretty stupid stuff if you want to so I'm not > exactly counting that as a bug :P > > No seriously: You wouldn't happen to have kept a backup copy of your messed up > configuration? > > > Is that possible? Like, change the keyboard would be an added bonus, really... > > And I would be happy if I could just create custom command like "check email" > > and it would open the hotmail page. "show movies" and it would open my videos > > collection. You know what I mean? > Sure. Where is the problem? Just backup the scenario you want to modify by > exporting it to a file. You can then easily try to modify a scenario by adding > new words, grammar and commands to it. In case you mess up just delete the new > scenario and import the old one again. > > There is even a restore point system built right into simon (Settings > > Recognition > Synchronization) where you could also revert your changes. > > > Anotehr question: SimonBr is a brazilian version of Simon which has its own > > models and all... I noticed they also made SpeechOO which give the ability to > > dictate into OpenOfice. I couldnt get it to work, but do you think it would be > > possible to add that feature into simon? > Yes, they have been in touch with me. > They basically translate simon and provide a default configuration with their > acoustic models which are very good. > Adding dictation to simon is basically a matter of speech models. I don't speak > brazilian portoguese (sadly) so I can't really test theirs. But I'm not aware > of any open source English or German model that would be anywhere near good > enough to afford dictation. So until those become available: Sorry, no. Please > think about supporting voxforge (http://voxforge.org) to make open source > dictation models a reality, though! > > > THANKS > You are welcome :) > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug.
Hi, (In reply to comment #4) > However, I am still confused... How exactly do I create new commands? Yes, some > are quite obvious, but for example, how can I know if a certain word is in the > vocabulaire and all of that, so I can use it? You can display the vocabulary. But I guess you mean if it's phonetically covered by your base model? Sadly there is no way to know that but to try it out. As most triphones are covered (a good model would cover all of them, btw. but we are sadly not quite there yet) errors should happen rarely and when they do the error message tells you which words (and which triphones within them) were missing. > An example: > What if I wanted to have no other scenarios running, only one where I would say > "check email" and it would open my hotmail account? How exactly do I do that? I > can't find any scnario that already has the word "check" on it. Add a new scenario. Add the word "check" and "mail". Add a sentence allowing for "check mail" to your grammar. Add a place command with the trigger "check mail" (no plugin triggger) to open the URL http://hotmail.com. I guess you don't know how to transcribe words phonetically? The shadow dictionary can help you with that. Check the manual for that. > Or at least, and it is probably simpler this way, How can I change the keyboard > scenarios to use "a" intead of "alpha", "b" instead of "bravo"... Because it is > really annoying to always have to check up what is the proper word for a > certain letter, it slows me down even more. Also, I see simon can already > recognize single letters, because if can use the "alt +letter" functions on the > menu navigation scenario... How could I merge them together and change the > keyboard?? You can configure the keyboard through configure plugins in the scenario that has the keyboard instance you want to configure (e.g. the keyboard scenario). You'd need to change the associated trigger for the keys in the keyboard and add appropriate words. Be advised, though, that it's actually quite hard to recognize such short "words" so don't expect a great recognition rate... > As for dictation, I don't think voxforge is inferior to falabrasil... There is > a video made by them showing the SpeechOO that was quite impressive... And > explanatory. Too bad it doesn't work in my system, always sends LibreOffice > crashing... I have given up on using it for now. It's still in Alpha, we can't > really expect it to be ready for broad use... Yes, I saw the video but sadly I don't speak the language :) > Lol, i don't think voxforge would be interested on my help... I can write and > understand english very very well, but the truth is... my accent is terrible. > Lol, imagine a russian man trying to speak british english =P What about Russian than? http://voxforge.org/ru/dev > Well, once again thanks a lot for your help, and I would like to sugest you > take a look at VEDICS, it's a project similar to simon, but it works with > "contextualized" dictionary and is speaker/laguange independent. It's very > similar to what you are trying to do for simon0.4, so you could want to take a > look at their stuff. I am not saying they are better, please don't > misunderstand me... I am just saying that BOTH programs have some cool ways of > using the computer and since you are now using their approach maybe having the > 2 projects working togehter on some level will be beneficial for everyone... > JUst a thought ;) Yep, I looked ad VEDICS but underneath the two approaches are quite a lot different. And for the record: We are not trying to provide context dependence for simon 0.4 - but we are also tying to preserve individual speech models for example. I'm closing the bug here as this really isn't a bug discussion anymore. Please use the forum for further discussion: http://forum.kde.org/viewforum.php?f=216&sid=b9eee96dfdb0532bae2910c5fccdae68 Best regards, Peter