Bug 281469 - KStars crashes when adding a new location
Summary: KStars crashes when adding a new location
Status: RESOLVED DUPLICATE of bug 269145
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 11:05 UTC by Martin Brehmer
Modified: 2011-11-10 14:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Brehmer 2011-09-06 11:05:16 UTC
Application: kstars (2.0.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: I was adding an new location to the Database.

The crash can be reproduced

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

Thread 2 (Thread 0xb3dcdb70 (LWP 3357)):
#0  0x002c936b in __pthread_mutex_lock (mutex=0xa496acc) at pthread_mutex_lock.c:61
#1  0x0468e616 in pthread_mutex_lock (mutex=0xa496acc) at forward.c:182
#2  0x079cc802 in g_main_context_release () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x079ce04f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x079ce524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x06469577 in QEventDispatcherGlib::processEvents (this=0xa496a48, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0643b289 in QEventLoop::processEvents (this=0xb3dcd280, flags=...) at kernel/qeventloop.cpp:149
#7  0x0643b522 in QEventLoop::exec (this=0xb3dcd280, flags=...) at kernel/qeventloop.cpp:201
#8  0x063452a0 in QThread::exec (this=0xa4d3b88) at thread/qthread.cpp:492
#9  0x0641cfdb in QInotifyFileSystemWatcherEngine::run (this=0xa4d3b88) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x06347da2 in QThreadPrivate::start (arg=0xa4d3b88) at thread/qthread_unix.cpp:320
#11 0x002c6e99 in start_thread (arg=0xb3dcdb70) at pthread_create.c:304
#12 0x0468073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb773c720 (LWP 3356)):
[KCrash Handler]
#7  text (this=0xa81f310) at /usr/include/qt4/QtGui/qlistwidget.h:90
#8  LocationDialog::changeCity (this=0xa81f310) at ../../../kstars/kstars/dialogs/locationdialog.cpp:181
#9  0x08233f60 in LocationDialog::qt_metacall (this=0xa81f310, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf901b3c) at ./locationdialog.moc:85
#10 0x064426ba in QMetaObject::metacall (object=0xa81f310, cl=QMetaObject::InvokeMetaMethod, idx=75, argv=0xbf901b3c) at kernel/qmetaobject.cpp:237
#11 0x064524ff in QMetaObject::activate (sender=0xa8337d0, m=0x44a7fe8, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3287
#12 0x0414cbd7 in QListWidget::itemSelectionChanged (this=0xa8337d0) at .moc/release-shared/moc_qlistwidget.cpp:253
#13 0x041501c0 in QListWidget::qt_metacall (this=0xa8337d0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf901c74) at .moc/release-shared/moc_qlistwidget.cpp:137
#14 0x064426ba in QMetaObject::metacall (object=0xa8337d0, cl=QMetaObject::InvokeMetaMethod, idx=79, argv=0xbf901c74) at kernel/qmetaobject.cpp:237
#15 0x064524ff in QMetaObject::activate (sender=0xa703140, m=0x44a7e50, local_signal_index=0, argv=0xbf901c74) at kernel/qobject.cpp:3287
#16 0x0413ad09 in QItemSelectionModel::selectionChanged (this=0xa703140, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#17 0x04141369 in QItemSelectionModel::emitSelectionChanged (this=0xa703140, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1538
#18 0x0414170b in QItemSelectionModel::select (this=0xa703140, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1101
#19 0x0413ca30 in QItemSelectionModel::select (this=0xa703140, index=..., command=...) at itemviews/qitemselectionmodel.cpp:976
#20 0x0413afbc in QItemSelectionModel::setCurrentIndex (this=0xa703140, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1168
#21 0x0414c74d in QListWidget::setCurrentRow (this=0xa8337d0, row=-1) at itemviews/qlistwidget.cpp:1484
#22 0x0414daf5 in QListWidget::setCurrentItem (this=0xa8337d0, item=0x0) at itemviews/qlistwidget.cpp:1455
#23 0x08233555 in LocationDialog::addCity (this=0xa81f310) at ../../../kstars/kstars/dialogs/locationdialog.cpp:293
#24 0x08233ef5 in LocationDialog::qt_metacall (this=0xa81f310, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf902258) at ./locationdialog.moc:86
#25 0x064426ba in QMetaObject::metacall (object=0xa81f310, cl=QMetaObject::InvokeMetaMethod, idx=76, argv=0xbf902258) at kernel/qmetaobject.cpp:237
#26 0x064524ff in QMetaObject::activate (sender=0xa785f70, m=0x44ad884, local_signal_index=2, argv=0xbf902258) at kernel/qobject.cpp:3287
#27 0x042537c9 in QAbstractButton::clicked (this=0xa785f70, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#28 0x03f6b326 in QAbstractButtonPrivate::emitClicked (this=0xa83fec0) at widgets/qabstractbutton.cpp:546
#29 0x03f6cb94 in QAbstractButtonPrivate::click (this=0xa83fec0) at widgets/qabstractbutton.cpp:539
#30 0x03f6ce4e in QAbstractButton::mouseReleaseEvent (this=0xa785f70, e=0xbf9029b4) at widgets/qabstractbutton.cpp:1121
#31 0x03bc013a in QWidget::event (this=0xa785f70, event=0xbf9029b4) at kernel/qwidget.cpp:8259
#32 0x03f6be9e in QAbstractButton::event (this=0xa785f70, e=0xbf9029b4) at widgets/qabstractbutton.cpp:1080
#33 0x04009c52 in QPushButton::event (this=0xa785f70, e=0xbf9029b4) at widgets/qpushbutton.cpp:683
#34 0x03b67d24 in QApplicationPrivate::notify_helper (this=0x8e1faa0, receiver=0xa785f70, e=0xbf9029b4) at kernel/qapplication.cpp:4462
#35 0x03b6d201 in QApplication::notify (this=0xbf904814, receiver=0xa785f70, e=0xbf9029b4) at kernel/qapplication.cpp:4023
#36 0x011903ca in KApplication::notify (this=0xbf904814, receiver=0xa785f70, event=0xbf9029b4) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x0643c0bb in QCoreApplication::notifyInternal (this=0xbf904814, receiver=0xa785f70, event=0xbf9029b4) at kernel/qcoreapplication.cpp:731
#38 0x03b68c3b in sendSpontaneousEvent (receiver=0xa785f70, event=0xbf9029b4, alienWidget=0xa785f70, nativeWidget=0xa81f310, buttonDown=0x44b6c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#39 QApplicationPrivate::sendMouseEvent (receiver=0xa785f70, event=0xbf9029b4, alienWidget=0xa785f70, nativeWidget=0xa81f310, buttonDown=0x44b6c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#40 0x03bf404c in QETWidget::translateMouseEvent (this=0xa81f310, event=0xbf902edc) at kernel/qapplication_x11.cpp:4558
#41 0x03bf29b5 in QApplication::x11ProcessEvent (this=0xbf904814, event=0xbf902edc) at kernel/qapplication_x11.cpp:3680
#42 0x03c1e5f4 in x11EventSourceDispatch (s=0x8e23040, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x079cdaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x079ce270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x079ce524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x0646953c in QEventDispatcherGlib::processEvents (this=0x8de6a90, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#47 0x03c1e1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8de6a90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x0643b289 in QEventLoop::processEvents (this=0xbf9031b0, flags=...) at kernel/qeventloop.cpp:149
#49 0x0643b522 in QEventLoop::exec (this=0xbf9031b0, flags=...) at kernel/qeventloop.cpp:201
#50 0x04087a93 in QDialog::exec (this=0xa81f310) at dialogs/qdialog.cpp:552
#51 0x08185a05 in KStars::slotGeoLocator (this=0x8e917b0) at ../../../kstars/kstars/kstarsactions.cpp:334
#52 0x08183c7e in KStars::qt_metacall (this=0x8e917b0, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbf903388) at ./kstars.moc:232
#53 0x064426ba in QMetaObject::metacall (object=0x8e917b0, cl=QMetaObject::InvokeMetaMethod, idx=78, argv=0xbf903388) at kernel/qmetaobject.cpp:237
#54 0x064524ff in QMetaObject::activate (sender=0xa4520e8, m=0x449a3f8, local_signal_index=1, argv=0xbf903388) at kernel/qobject.cpp:3287
#55 0x03b608d9 in QAction::triggered (this=0xa4520e8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#56 0x03b60b38 in QAction::activate (this=0xa4520e8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#57 0x03ff533d in QMenuPrivate::activateCausedStack (this=0xa4ff590, causedStack=..., action=0xa4520e8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#58 0x03ffbbfb in QMenuPrivate::activateAction (this=0xa4ff590, action=0xa4520e8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#59 0x03ffca8e in QMenu::mouseReleaseEvent (this=0xa4d2138, e=0xbf903c24) at widgets/qmenu.cpp:2306
#60 0x0126dcf4 in KMenu::mouseReleaseEvent (this=0xa4d2138, e=0xbf903c24) at ../../kdeui/widgets/kmenu.cpp:458
#61 0x03bc013a in QWidget::event (this=0xa4d2138, event=0xbf903c24) at kernel/qwidget.cpp:8259
#62 0x03ffcf67 in QMenu::event (this=0xa4d2138, e=0xbf903c24) at widgets/qmenu.cpp:2415
#63 0x03b67d24 in QApplicationPrivate::notify_helper (this=0x8e1faa0, receiver=0xa4d2138, e=0xbf903c24) at kernel/qapplication.cpp:4462
#64 0x03b6d201 in QApplication::notify (this=0xbf904814, receiver=0xa4d2138, e=0xbf903c24) at kernel/qapplication.cpp:4023
#65 0x011903ca in KApplication::notify (this=0xbf904814, receiver=0xa4d2138, event=0xbf903c24) at ../../kdeui/kernel/kapplication.cpp:311
#66 0x0643c0bb in QCoreApplication::notifyInternal (this=0xbf904814, receiver=0xa4d2138, event=0xbf903c24) at kernel/qcoreapplication.cpp:731
#67 0x03b68c3b in sendSpontaneousEvent (receiver=0xa4d2138, event=0xbf903c24, alienWidget=0x0, nativeWidget=0xa4d2138, buttonDown=0x44b6c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#68 QApplicationPrivate::sendMouseEvent (receiver=0xa4d2138, event=0xbf903c24, alienWidget=0x0, nativeWidget=0xa4d2138, buttonDown=0x44b6c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#69 0x03bf4253 in QETWidget::translateMouseEvent (this=0xa4d2138, event=0xbf90414c) at kernel/qapplication_x11.cpp:4492
#70 0x03bf29b5 in QApplication::x11ProcessEvent (this=0xbf904814, event=0xbf90414c) at kernel/qapplication_x11.cpp:3680
#71 0x03c1e5f4 in x11EventSourceDispatch (s=0x8e23040, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#72 0x079cdaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0x079ce270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x079ce524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#75 0x0646953c in QEventDispatcherGlib::processEvents (this=0x8de6a90, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#76 0x03c1e1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8de6a90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x0643b289 in QEventLoop::processEvents (this=0xbf904414, flags=...) at kernel/qeventloop.cpp:149
#78 0x0643b522 in QEventLoop::exec (this=0xbf904414, flags=...) at kernel/qeventloop.cpp:201
#79 0x0643fecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#80 0x03b658e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#81 0x081af8db in main (argc=10977860, argv=0xb774b2d8) at ../../../kstars/kstars/main.cpp:191

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

Possible duplicates by query: bug 276965, bug 275375, bug 274492, bug 273889, bug 270629.

Reported using DrKonqi
Comment 1 Alexey Khudiakov 2011-11-10 14:07:58 UTC

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