Bug 299700 - Can't start Simon any more after the deletion of specific folders
Summary: Can't start Simon any more after the deletion of specific folders
Status: RESOLVED NOT A BUG
Alias: None
Product: simon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Grasch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 18:58 UTC by Ralf Herzog
Modified: 2012-05-10 10:30 UTC (History)
0 users

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 Ralf Herzog 2012-05-09 18:58:38 UTC
Application: simon (0.3.80)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Linux Mint 12 Lisa

-- Information about the crash:
- What I was doing before the application crashed:

I deleted these folders:
/home/ubuntu/.kde/share/apps/simon
/home/ubuntu/.kde/share/apps/simond
/home/ubuntu/.kde/share/apps/sam

I can't start Simon any more. Even a new installation of Simon (via git clone and ./build.sh) doesn't help. I am using Linux Mint 12.

I don't know how to fix this (I don't want to make a fresh install of Linux Mint).

The crash can be reproduced every time.

-- Backtrace:
Application: Simon (simon), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f870d45a780 (LWP 3617))]

Thread 2 (Thread 0x7f86f14d3700 (LWP 3618)):
#0  0x00007f8708a83473 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f87068adf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f87068ae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f870bc3bf3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f870bc0fcf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f870bc0fef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f870bb2727f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f870bb29d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f8706d7fefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f8708a8f59d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f870d45a780 (LWP 3617)):
[KCrash Handler]
#6  0x000000000040f712 in SimonView::updateActionList (this=0xe324e0) at /home/ubuntu/simon/simonsource/simon/src/simonview.cpp:214
#7  0x000000000040f7c0 in SimonView::displayScenarioPrivate (this=0xe324e0, scenario=<optimized out>) at /home/ubuntu/simon/simonsource/simon/src/simonview.cpp:306
#8  0x000000000041001c in SimonView::SimonView (this=0xe324e0, parent=<optimized out>, flags=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/ubuntu/simon/simonsource/simon/src/simonview.cpp:175
#9  0x000000000040d997 in main (argc=1, argv=0x7fff661cb028) at /home/ubuntu/simon/simonsource/simon/src/main.cpp:88

Reported using DrKonqi
Comment 1 Peter Grasch 2012-05-10 08:02:23 UTC
I'm guessing the problem is that while you removed Simons data files, you didn't remove the configuration pointing it to those files. Please remove the following files and try again:
/home/ubuntu/.kde/share/config/*simon*
/home/ubuntu/.kde/share/config/speechmodelmanagementrc

Let me know if that fixes your problem.

To be honest, I wouldn't *really* consider this a bug. True, Simon shouldn't crash at all but in this case it's receiving inconsistent data so the only "fix" I could offer would be to fail more gracefully.
Comment 2 Ralf Herzog 2012-05-10 09:54:43 UTC
Thanks for your help. I just made a fresh installation of Linux Mint 12 (and of course I reinstalled Simon). So I don't need this bug fix any more (at least, not at the moment). But thanks anyway. Probably, I will need your "fix" later - when I switch the language again.