Bug 256133 - Simon crashes
Summary: Simon crashes
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Grasch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 11:59 UTC by eberechukwu
Modified: 2011-01-05 14:32 UTC (History)
1 user (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 eberechukwu 2010-11-05 11:59:43 UTC
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-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Simon crashes after configuring networks to connect. says segmentation fault

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f7562cf7710 (LWP 3477)):
#0  0x00007f757a504f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f75785be4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f75785be8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f757f455566 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f757f42a992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f757f42ad6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f757f334d59 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f757f40b178 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f757f337775 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f757f0a79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f757a51170d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f755b7fe710 (LWP 3488)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f757f338692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f757f32da79 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f757f337775 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f757f0a79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f757a51170d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f755adf7710 (LWP 3493)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f757f338692 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f757f32da79 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f757f337775 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f757f0a79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f757a51170d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7581a99760 (LWP 3476)):
[KCrash Handler]
#5  0x00007f757f35bd75 in QLocalePrivate::stringToLongLong(QString const&, int, bool*, QLocalePrivate::GroupSeparatorMode) const () from /usr/lib/libQtCore.so.4
#6  0x00007f757f37afcc in QString::toLongLong(bool*, int) const () from /usr/lib/libQtCore.so.4
#7  0x00007f757f37b069 in QString::toInt(bool*, int) const () from /usr/lib/libQtCore.so.4
#8  0x00007f757c0a3d5a in RecognitionControl::connectToNext (this=0x2871e30) at /build/buildd/simon-0.3.0/simon/src/simonrecognitioncontrol/recognitioncontrol.cpp:240
#9  0x00007f757c0a4016 in RecognitionControl::startConnecting (this=0x2871e30) at /build/buildd/simon-0.3.0/simon/src/simonrecognitioncontrol/recognitioncontrol.cpp:229
#10 0x00007f757c0a047d in RecognitionControl::qt_metacall (this=0x2871e30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe068cd80)
    at /build/buildd/simon-0.3.0/obj-x86_64-linux-gnu/simon/src/simonrecognitioncontrol/moc_recognitioncontrol.cpp:224
#11 0x00007f757f43ee3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00007f757f44665f in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007f757f43ba63 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#14 0x00007f758008f22c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007f75800956fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f75814c1a16 in KApplication::notify (this=0x7fffe068d830, receiver=0x5b01830, event=0x7fffe068d4e0) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f757f42c06c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007f757f458d42 in ?? () from /usr/lib/libQtCore.so.4
#19 0x00007f757f455848 in ?? () from /usr/lib/libQtCore.so.4
#20 0x00007f75785ba8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f75785be748 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f75785be8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f757f455513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007f758013f46e in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f757f42a992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x00007f757f42ad6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f757f42eaab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#28 0x0000000000419b9d in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/simon-0.3.0/simon/src/main.cpp:83

Reported using DrKonqi
Comment 1 Peter Grasch 2010-11-05 14:15:11 UTC
Hi!

First of all, simon is not an official KDE project, so technically the correct place for bug reports is our bug tracker at sourceforge: http://sourceforge.net/tracker/?atid=935103&group_id=190872&func=browse

Could you please paste your simonrecognitionrc (in ~/.kde/share/config/simonrecognitionrc)?

I think I found the bug (insufficient input checking in the recognition control) but it shouldn't be triggered as long as your input is correct.

Your config file should have a line similar to this (if you use the default values):
JuliusdServers=127.0.0.1:4444

Regards,
Peter
Comment 2 Samuel Brack 2011-01-05 14:32:55 UTC
Marked as downstream, please report the bug to the tracker mentioned in comment 2. KDE bugzilla is unfortunately the wrong place for this report.