Bug 268389 - KStars crashes on attempt to port scan
Summary: KStars crashes on attempt to port scan
Status: RESOLVED DUPLICATE of bug 262335
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 17:16 UTC by V-nix
Modified: 2011-07-19 00:03 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 V-nix 2011-03-13 17:16:22 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-27-generic x86_64
Distribution: Ubuntu 10.10

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

 I'm trying to control my Losmandy G11 with Gemini with KStars using an USB-to-serial cable; the USB port on the laptop connected to a serial converter which, in turn, is
 connected to the RS-232 port of the Gemini.

 Opened the Telescope Wizard in KStars and chose 'Losmandy Gemini' as Telescope Model (leaving this option to the default 'LX200 Basic' Telescope Model produces the same
 error).
 The date and location had already been set and were left untouched in this wizard. On leaving the port entry blank and opting for KStars to scan for ports, the program
 immediately exits. Manually setting the port to ttyUSB0 does not result in a crash, but I suspect no communication is set up between my laptop and my mount at all, as the
 mount doesn't seem to react to any command issued in KStars.
 (Then again, I don't have any experience in controlling mounts with laptops.

- Unusual behavior I noticed:

 None particular; KStars doesn't hang, it exits immediately.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f70d5324700 (LWP 8139)):
#0  0x00007f70dda44203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f70d8dd1009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f70d8dd17b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f70d5a5b3c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f70d8df67e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f70e0dbe971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f70dda5092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f70e2698760 (LWP 8138)):
[KCrash Handler]
#6  KProgressDialog::wasCancelled (this=0x0) at ../../kdeui/dialogs/kprogressdialog.cpp:125
#7  0x0000000000459ced in telescopeWizardProcess::scanPorts (this=0x2ca6d60) at ../../../kstars/kstars/indi/telescopewizardprocess.cpp:347
#8  0x000000000045b33c in telescopeWizardProcess::processPort (this=0x2ca6d60) at ../../../kstars/kstars/indi/telescopewizardprocess.cpp:308
#9  0x000000000045b3cc in telescopeWizardProcess::qt_metacall (this=0x2ca6d60, _c=QMetaObject::InvokeMetaMethod, _id=20824833, _a=<value optimized out>) at ./telescopewizardprocess.moc:84
#10 0x00007f70de606bde in QObject::event (this=0x2ca6d60, e=0x0) at kernel/qobject.cpp:1219
#11 0x00007f70df5dc6df in QWidget::event (this=0x2ca6d60, event=0x2ead480) at kernel/qwidget.cpp:8646
#12 0x00007f70df586fdc in QApplicationPrivate::notify_helper (this=0x11639c0, receiver=0x2ca6d60, e=0x2ead480) at kernel/qapplication.cpp:4396
#13 0x00007f70df58caed in QApplication::notify (this=0x7fff70ca0d20, receiver=0x2ca6d60, e=0x2ead480) at kernel/qapplication.cpp:4277
#14 0x00007f70e02d9156 in KApplication::notify (this=0x7fff70ca0d20, receiver=0x2ca6d60, event=0x2ead480) at ../../kdeui/kernel/kapplication.cpp:310
#15 0x00007f70de5f4cdc in QCoreApplication::notifyInternal (this=0x7fff70ca0d20, receiver=0x2ca6d60, event=0x2ead480) at kernel/qcoreapplication.cpp:732
#16 0x00007f70de5f7c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x114a510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x114a510) at kernel/qcoreapplication.cpp:1373
#18 0x00007f70de621653 in sendPostedEvents (s=0x1167580) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=0x1167580) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007f70d8dcd342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f70d8dd12a8 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f70d8dd145c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f70de621193 in QEventDispatcherGlib::processEvents (this=0x1149c00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00007f70df639a4e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f70de5f3a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f70de5f3dec in QEventLoop::exec (this=0x7fff70c9eda0, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f70dfa7b7de in QDialog::exec (this=0x2ca6d60) at dialogs/qdialog.cpp:552
#28 0x00000000005a0408 in KStars::slotTelescopeWizard (this=0x1335e30) at ../../../kstars/kstars/kstarsactions.cpp:308
#29 0x000000000059d28d in KStars::qt_metacall (this=0x1335e30, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff70c9ef80) at ./kstars.moc:253
#30 0x00007f70de60cb27 in QMetaObject::activate (sender=0x2a931c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#31 0x00007f70df57f852 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#32 0x00007f70df580f5b in QAction::activate (this=0x2a931c0, event=<value optimized out>) at kernel/qaction.cpp:1256
#33 0x00007f70df9e7dc1 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x2a931c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#34 0x00007f70df9ed782 in QMenuPrivate::activateAction (this=0x2af0ca0, action=0x2a931c0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#35 0x00007f70e03b9cee in KMenu::mouseReleaseEvent (this=0x2b09d60, e=0x6ab8f3) at ../../kdeui/widgets/kmenu.cpp:471
#36 0x00007f70df5dd04e in QWidget::event (this=0x2b09d60, event=0x7fff70c9fbd0) at kernel/qwidget.cpp:8187
#37 0x00007f70df9ef90b in QMenu::event (this=0x2b09d60, e=0x7fff70c9fbd0) at widgets/qmenu.cpp:2410
#38 0x00007f70df586fdc in QApplicationPrivate::notify_helper (this=0x11639c0, receiver=0x2b09d60, e=0x7fff70c9fbd0) at kernel/qapplication.cpp:4396
#39 0x00007f70df58d30e in QApplication::notify (this=0x7fff70ca0d20, receiver=0x2b09d60, e=0x7fff70c9fbd0) at kernel/qapplication.cpp:3959
#40 0x00007f70e02d9156 in KApplication::notify (this=0x7fff70ca0d20, receiver=0x2b09d60, event=0x7fff70c9fbd0) at ../../kdeui/kernel/kapplication.cpp:310
#41 0x00007f70de5f4cdc in QCoreApplication::notifyInternal (this=0x7fff70ca0d20, receiver=0x2b09d60, event=0x7fff70c9fbd0) at kernel/qcoreapplication.cpp:732
#42 0x00007f70df58bdbe in sendEvent (receiver=0x2b09d60, event=0x7fff70c9fbd0, alienWidget=0x0, nativeWidget=0x2b09d60, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0x2b09d60, event=0x7fff70c9fbd0, alienWidget=0x0, nativeWidget=0x2b09d60, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#44 0x00007f70df60f7bd in QETWidget::translateMouseEvent (this=0x2b09d60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#45 0x00007f70df60dc5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff70ca04f0) at kernel/qapplication_x11.cpp:3536
#46 0x00007f70df63a0e2 in x11EventSourceDispatch (s=0x11677a0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007f70d8dcd342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007f70d8dd12a8 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007f70d8dd145c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007f70de621193 in QEventDispatcherGlib::processEvents (this=0x1149c00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#51 0x00007f70df639a4e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f70de5f3a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#53 0x00007f70de5f3dec in QEventLoop::exec (this=0x7fff70ca0820, flags=) at kernel/qeventloop.cpp:201
#54 0x00007f70de5f7ebb 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

This bug may be a duplicate of or related to bug 262335.

Possible duplicates by query: bug 262335.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-07-19 00:03:04 UTC

*** This bug has been marked as a duplicate of bug 262335 ***