Bug 262335

Summary: kstars crash when device scanning
Product: [Applications] kstars Reporter: manuel fernández <mfg>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: crash CC: mail2V.nix, mutlaqja, pcmx
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description manuel fernández 2011-01-06 20:44:41 UTC
Application: kstars (1.6.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

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

opened telescope wizard and after choosing telescope model left port blank. When pressing next the programme crashes and exits. The bur is repeatable every time

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ffde7f12760 (LWP 5284))]

Thread 3 (Thread 0x7ffdd27bd700 (LWP 5285)):
#0  0x00007ffde32bc203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffdde649009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffdde64945c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ffde3e991e6 in QEventDispatcherGlib::processEvents (this=0x7ffdcc0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007ffde3e6ba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ffde3e6bdec in QEventLoop::exec (this=0x7ffdd27bcdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ffde3d762fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007ffde3e4b5f8 in QInotifyFileSystemWatcherEngine::run (this=0x3b529d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ffde3d7927e in QThreadPrivate::start (arg=0x3b529d0) at thread/qthread_unix.cpp:266
#9  0x00007ffde6636971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007ffde32c892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffdd165e700 (LWP 5291)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007ffde3d79da2 in wait (this=<value optimized out>, mutex=0x7ffdcc003590, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7ffdcc003590, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ffde3d6eda2 in QThreadPoolThread::run (this=0x7ffdcc003a30) at concurrent/qthreadpool.cpp:140
#4  0x00007ffde3d7927e in QThreadPrivate::start (arg=0x7ffdcc003a30) at thread/qthread_unix.cpp:266
#5  0x00007ffde6636971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007ffde32c892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffde7f12760 (LWP 5284)):
[KCrash Handler]
#6  KProgressDialog::wasCancelled (this=0x0) at ../../kdeui/dialogs/kprogressdialog.cpp:125
#7  0x0000000000459ced in telescopeWizardProcess::scanPorts (this=0x3c585d0) at ../../../kstars/kstars/indi/telescopewizardprocess.cpp:347
#8  0x000000000045b33c in telescopeWizardProcess::processPort (this=0x3c585d0) at ../../../kstars/kstars/indi/telescopewizardprocess.cpp:308
#9  0x000000000045b3cc in telescopeWizardProcess::qt_metacall (this=0x3c585d0, _c=QMetaObject::InvokeMetaMethod, _id=38766593, _a=<value optimized out>) at ./telescopewizardprocess.moc:84
#10 0x00007ffde3e7ebde in QObject::event (this=0x3c585d0, e=0x0) at kernel/qobject.cpp:1219
#11 0x00007ffde4e546df in QWidget::event (this=0x3c585d0, event=0x42bd490) at kernel/qwidget.cpp:8646
#12 0x00007ffde4dfefdc in QApplicationPrivate::notify_helper (this=0x2354a20, receiver=0x3c585d0, e=0x42bd490) at kernel/qapplication.cpp:4396
#13 0x00007ffde4e04aed in QApplication::notify (this=0x7fff84e834b0, receiver=0x3c585d0, e=0x42bd490) at kernel/qapplication.cpp:4277
#14 0x00007ffde5b51156 in KApplication::notify (this=0x7fff84e834b0, receiver=0x3c585d0, event=0x42bd490) at ../../kdeui/kernel/kapplication.cpp:310
#15 0x00007ffde3e6ccdc in QCoreApplication::notifyInternal (this=0x7fff84e834b0, receiver=0x3c585d0, event=0x42bd490) at kernel/qcoreapplication.cpp:732
#16 0x00007ffde3e6fc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x233b510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x233b510) at kernel/qcoreapplication.cpp:1373
#18 0x00007ffde3e99653 in sendPostedEvents (s=0x2357560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=0x2357560) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007ffdde645342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007ffdde6492a8 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007ffdde64945c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007ffde3e99193 in QEventDispatcherGlib::processEvents (this=0x233ac00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00007ffde4eb1a4e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007ffde3e6ba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007ffde3e6bdec in QEventLoop::exec (this=0x7fff84e81530, flags=) at kernel/qeventloop.cpp:201
#27 0x00007ffde52f37de in QDialog::exec (this=0x3c585d0) at dialogs/qdialog.cpp:552
#28 0x00000000005a0408 in KStars::slotTelescopeWizard (this=0x24a4e10) at ../../../kstars/kstars/kstarsactions.cpp:308
#29 0x000000000059d28d in KStars::qt_metacall (this=0x24a4e10, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff84e81710) at ./kstars.moc:253
#30 0x00007ffde3e84b27 in QMetaObject::activate (sender=0x3b35330, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#31 0x00007ffde4df7852 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#32 0x00007ffde4df8f5b in QAction::activate (this=0x3b35330, event=<value optimized out>) at kernel/qaction.cpp:1256
#33 0x00007ffde525fdc1 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x3b35330, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#34 0x00007ffde5265782 in QMenuPrivate::activateAction (this=0x3bcfd60, action=0x3b35330, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#35 0x00007ffde5c31cee in KMenu::mouseReleaseEvent (this=0x3be1380, e=0x6ab8f3) at ../../kdeui/widgets/kmenu.cpp:471
#36 0x00007ffde4e5504e in QWidget::event (this=0x3be1380, event=0x7fff84e82360) at kernel/qwidget.cpp:8187
#37 0x00007ffde526790b in QMenu::event (this=0x3be1380, e=0x7fff84e82360) at widgets/qmenu.cpp:2410
#38 0x00007ffde4dfefdc in QApplicationPrivate::notify_helper (this=0x2354a20, receiver=0x3be1380, e=0x7fff84e82360) at kernel/qapplication.cpp:4396
#39 0x00007ffde4e0530e in QApplication::notify (this=0x7fff84e834b0, receiver=0x3be1380, e=0x7fff84e82360) at kernel/qapplication.cpp:3959
#40 0x00007ffde5b51156 in KApplication::notify (this=0x7fff84e834b0, receiver=0x3be1380, event=0x7fff84e82360) at ../../kdeui/kernel/kapplication.cpp:310
#41 0x00007ffde3e6ccdc in QCoreApplication::notifyInternal (this=0x7fff84e834b0, receiver=0x3be1380, event=0x7fff84e82360) at kernel/qcoreapplication.cpp:732
#42 0x00007ffde4e03dbe in sendEvent (receiver=0x3be1380, event=0x7fff84e82360, alienWidget=0x0, nativeWidget=0x3be1380, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0x3be1380, event=0x7fff84e82360, alienWidget=0x0, nativeWidget=0x3be1380, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#44 0x00007ffde4e877bd in QETWidget::translateMouseEvent (this=0x3be1380, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#45 0x00007ffde4e85c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff84e82c80) at kernel/qapplication_x11.cpp:3536
#46 0x00007ffde4eb20e2 in x11EventSourceDispatch (s=0x2358760, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007ffdde645342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007ffdde6492a8 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007ffdde64945c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007ffde3e99193 in QEventDispatcherGlib::processEvents (this=0x233ac00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#51 0x00007ffde4eb1a4e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007ffde3e6ba02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#53 0x00007ffde3e6bdec in QEventLoop::exec (this=0x7fff84e82fb0, flags=) at kernel/qeventloop.cpp:201
#54 0x00007ffde3e6febb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#55 0x00000000005cd5a2 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kstars/kstars/main.cpp:191

Reported using DrKonqi
Comment 1 pcmx 2011-05-09 18:45:40 UTC
Created attachment 59809 [details]
New crash information added by DrKonqi

kstars (1.6.0) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0

- What I was doing when the application crashed: Kstars Telescope wizard port scan, Useing a Prolific PL2303 USB to Serial and Celestron Nexstar 8i late model GOTO mount.
Tryed Ports: ttyS0, ttyUSB0, ttyUSB1. no comms. OS Ubuntu 10.10 64 bit on Desktop SYS ASUS MB, and Ubuntu 10.10 32 bit on ASUS PC EEE 900HA web book same problem.
 The 900HA ran the GOTO mount fine running WinXP with the PL2303 adapter.
Prolific web site offers no help other than to say Linux already has their drivers installed.

-- Backtrace (Reduced):
#6  KProgressDialog::wasCancelled (this=0x0) at ../../kdeui/dialogs/kprogressdialog.cpp:125
#7  0x0000000000459ced in telescopeWizardProcess::scanPorts (this=0x351b700) at ../../../kstars/kstars/indi/telescopewizardprocess.cpp:347
#8  0x000000000045b31c in telescopeWizardProcess::processPort (this=0x351b700) at ../../../kstars/kstars/indi/telescopewizardprocess.cpp:308
#9  0x000000000045b3ac in telescopeWizardProcess::qt_metacall (this=0x351b700, _c=QMetaObject::InvokeMetaMethod, _id=42511873, _a=<value optimized out>) at ./telescopewizardprocess.moc:84
#10 0x00007f4ec6da2bde in QObject::event (this=0x351b700, e=0x0) at kernel/qobject.cpp:1219
Comment 2 Christoph Feck 2011-07-19 00:03:04 UTC
*** Bug 268389 has been marked as a duplicate of this bug. ***