Bug 275375 - KStars crashes when setting the correct DST value
Summary: KStars crashes when setting the correct DST value
Status: RESOLVED DUPLICATE of bug 269145
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-06-11 04:05 UTC by Adrian Cozma
Modified: 2011-07-18 23:57 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 Adrian Cozma 2011-06-11 04:05:34 UTC
Application: kstars (2.0.0)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: I was trying to reset the DST
time diff for my location

- Custom settings of the application: the DST rule was correctly selected (EU)
after setting my location, but the correct time difference from the UTC this
time of the year for Romania is +3h (not +2h as in the settings dialogue and in
the main window)

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

Thread 2 (Thread 0x7f7cdf95b700 (LWP 3658)):
#0  0x00007f7cf0f42d9d in __pthread_mutex_unlock_usercnt (mutex=0x7f7cd80008b8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f7cd80008b8) at pthread_mutex_unlock.c:290
#2  0x00007f7cebfe0094 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7cebfe0f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7cebfe1639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7cf3428446 in QEventDispatcherGlib::processEvents (this=0x3fe36a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f7cf33fc882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7cf33fcabc in QEventLoop::exec (this=0x7f7cdf95ad90, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f7cf3313924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007f7cf33dec2f in QInotifyFileSystemWatcherEngine::run (this=0x26e56d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f7cf3316175 in QThreadPrivate::start (arg=0x26e56d0) at thread/qthread_unix.cpp:320
#11 0x00007f7cf0f3ed8c in start_thread (arg=0x7f7cdf95b700) at pthread_create.c:304
#12 0x00007f7cf1bb604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7cf57777c0 (LWP 3655)):
[KCrash Handler]
#6  text (this=0x4522230) at /usr/include/qt4/QtGui/qlistwidget.h:90
#7  LocationDialog::changeCity (this=0x4522230) at ../../../kstars/kstars/dialogs/locationdialog.cpp:181
#8  0x00000000005e07f8 in LocationDialog::qt_metacall (this=0x4522230, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffb6521a40) at ./locationdialog.moc:85
#9  0x00007f7cf34125f8 in QMetaObject::activate (sender=0x42efb70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#10 0x00007f7cf2d3a71f in QListWidget::qt_metacall (this=0x42efb70, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffb6521b70) at .moc/release-shared/moc_qlistwidget.cpp:137
#11 0x00007f7cf34125f8 in QMetaObject::activate (sender=0x3fc2830, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb6521b70) at kernel/qobject.cpp:3287
#12 0x00007f7cf2d25407 in QItemSelectionModel::selectionChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#13 0x00007f7cf2d2bf7a in QItemSelectionModel::emitSelectionChanged (this=0x3fc2830, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1538
#14 0x00007f7cf2d2c34f in QItemSelectionModel::select (this=0x3fc2830, selection=<value optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1101
#15 0x00007f7cf2d2733a in QItemSelectionModel::select (this=0x3fc2830, index=<value optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:976
#16 0x00007f7cf2d25677 in QItemSelectionModel::setCurrentIndex (this=0x3fc2830, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1168
#17 0x00007f7cf2d3724a in QListWidget::setCurrentRow (this=0x42efb70, row=-1) at itemviews/qlistwidget.cpp:1484
#18 0x00000000005dfd84 in LocationDialog::addCity (this=0x4522230) at ../../../kstars/kstars/dialogs/locationdialog.cpp:293
#19 0x00000000005e0718 in LocationDialog::slotOk (this=0x4522230) at ../../../kstars/kstars/dialogs/locationdialog.cpp:434
#20 0x00000000005e07c8 in LocationDialog::qt_metacall (this=0x4522230, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffb6522550) at ./locationdialog.moc:92
#21 0x00007f7cf34125f8 in QMetaObject::activate (sender=0x4522230, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#22 0x00007f7cf3b42c68 in KDialog::slotButtonClicked (this=0x4522230, button=4) at ../../kdeui/dialogs/kdialog.cpp:883
#23 0x00007f7cf3b43052 in KDialog::qt_metacall (this=0x4522230, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffb6522700) at ./kdialog.moc:190
#24 0x00000000005e0755 in LocationDialog::qt_metacall (this=0x4522230, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb6522700) at ./locationdialog.moc:78
#25 0x00007f7cf34125f8 in QMetaObject::activate (sender=0x456dcf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb6522700) at kernel/qobject.cpp:3287
#26 0x00007f7cf341638e in QSignalMapper::mapped (this=<value optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#27 0x00007f7cf3416496 in QSignalMapper::map (this=0x456dcf0, sender=0x4452920) at kernel/qsignalmapper.cpp:266
#28 0x00007f7cf3416ba0 in QSignalMapper::qt_metacall (this=0x456dcf0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffb6522850) at .moc/release-shared/moc_qsignalmapper.cpp:87
#29 0x00007f7cf34125f8 in QMetaObject::activate (sender=0x4452920, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb6522850) at kernel/qobject.cpp:3287
#30 0x00007f7cf2e34252 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#31 0x00007f7cf2b7d83e in QAbstractButtonPrivate::emitClicked (this=0x4578f00) at widgets/qabstractbutton.cpp:546
#32 0x00007f7cf2b7edbb in QAbstractButtonPrivate::click (this=0x4578f00) at widgets/qabstractbutton.cpp:539
#33 0x00007f7cf2b7f02c in QAbstractButton::mouseReleaseEvent (this=0x4452920, e=0x7fffb6523190) at widgets/qabstractbutton.cpp:1121
#34 0x00007f7cf280fcb8 in QWidget::event (this=0x4452920, event=0x7fffb6523190) at kernel/qwidget.cpp:8259
#35 0x00007f7cf27be9e4 in QApplicationPrivate::notify_helper (this=0x26852f0, receiver=0x4452920, e=0x7fffb6523190) at kernel/qapplication.cpp:4462
#36 0x00007f7cf27c3db3 in QApplication::notify (this=<value optimized out>, receiver=0x4452920, e=0x7fffb6523190) at kernel/qapplication.cpp:4023
#37 0x00007f7cf3be5716 in KApplication::notify (this=0x7fffb6525cc0, receiver=0x4452920, event=0x7fffb6523190) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007f7cf33fd49c in QCoreApplication::notifyInternal (this=0x7fffb6525cc0, receiver=0x4452920, event=0x7fffb6523190) at kernel/qcoreapplication.cpp:731
#39 0x00007f7cf27bfa0d in sendEvent (receiver=0x4452920, event=0x7fffb6523190, alienWidget=0x4452920, nativeWidget=0x4522230, buttonDown=0x7f7cf329f218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0x4452920, event=0x7fffb6523190, alienWidget=0x4452920, nativeWidget=0x4522230, buttonDown=0x7f7cf329f218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#41 0x00007f7cf283f600 in QETWidget::translateMouseEvent (this=0x4522230, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#42 0x00007f7cf283e04a in QApplication::x11ProcessEvent (this=0x7fffb6525cc0, event=0x7fffb6523ae0) at kernel/qapplication_x11.cpp:3678
#43 0x00007f7cf2866162 in x11EventSourceDispatch (s=0x2688a70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007f7cebfe0bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f7cebfe13a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f7cebfe1639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f7cf34283ef in QEventDispatcherGlib::processEvents (this=0x2604340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#48 0x00007f7cf2865dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f7cf33fc882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f7cf33fcabc in QEventLoop::exec (this=0x7fffb6523de0, flags=...) at kernel/qeventloop.cpp:201
#51 0x00007f7cf2c7d8e6 in QDialog::exec (this=0x4522230) at dialogs/qdialog.cpp:552
#52 0x0000000000536c0a in KStars::slotGeoLocator (this=0x2731b40) at ../../../kstars/kstars/kstarsactions.cpp:334
#53 0x0000000000534f1e in KStars::qt_metacall (this=0x2731b40, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0x7fffb6523fc0) at ./kstars.moc:232
#54 0x00007f7cf34125f8 in QMetaObject::activate (sender=0x3fa4830, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb6523fc0) at kernel/qobject.cpp:3287
#55 0x00007f7cf27b8112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#56 0x00007f7cf27b82ff in QAction::activate (this=0x3fa4830, event=<value optimized out>) at kernel/qaction.cpp:1257
#57 0x00007f7cf2bfa303 in QMenuPrivate::activateCausedStack (this=0x3fdfeb0, causedStack=..., action=0x3fa4830, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#58 0x00007f7cf2c002ba in QMenuPrivate::activateAction (this=0x3fdfeb0, action=0x3fa4830, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#59 0x00007f7cf3cabe2d in KMenu::mouseReleaseEvent (this=0x3fd6640, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#60 0x00007f7cf280fcb8 in QWidget::event (this=0x3fd6640, event=0x7fffb6524bf0) at kernel/qwidget.cpp:8259
#61 0x00007f7cf2c0149b in QMenu::event (this=0x3fd6640, e=0x7fffb6524bf0) at widgets/qmenu.cpp:2415
#62 0x00007f7cf27be9e4 in QApplicationPrivate::notify_helper (this=0x26852f0, receiver=0x3fd6640, e=0x7fffb6524bf0) at kernel/qapplication.cpp:4462
#63 0x00007f7cf27c3db3 in QApplication::notify (this=<value optimized out>, receiver=0x3fd6640, e=0x7fffb6524bf0) at kernel/qapplication.cpp:4023
#64 0x00007f7cf3be5716 in KApplication::notify (this=0x7fffb6525cc0, receiver=0x3fd6640, event=0x7fffb6524bf0) at ../../kdeui/kernel/kapplication.cpp:311
#65 0x00007f7cf33fd49c in QCoreApplication::notifyInternal (this=0x7fffb6525cc0, receiver=0x3fd6640, event=0x7fffb6524bf0) at kernel/qcoreapplication.cpp:731
#66 0x00007f7cf27bfa0d in sendEvent (receiver=0x3fd6640, event=0x7fffb6524bf0, alienWidget=0x0, nativeWidget=0x3fd6640, buttonDown=0x7f7cf329f218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QApplicationPrivate::sendMouseEvent (receiver=0x3fd6640, event=0x7fffb6524bf0, alienWidget=0x0, nativeWidget=0x3fd6640, buttonDown=0x7f7cf329f218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#68 0x00007f7cf283f854 in QETWidget::translateMouseEvent (this=0x3fd6640, event=<value optimized out>) at kernel/qapplication_x11.cpp:4490
#69 0x00007f7cf283e04a in QApplication::x11ProcessEvent (this=0x7fffb6525cc0, event=0x7fffb6525540) at kernel/qapplication_x11.cpp:3678
#70 0x00007f7cf2866162 in x11EventSourceDispatch (s=0x2688a70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#71 0x00007f7cebfe0bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f7cebfe13a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f7cebfe1639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f7cf34283ef in QEventDispatcherGlib::processEvents (this=0x2604340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#75 0x00007f7cf2865dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00007f7cf33fc882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#77 0x00007f7cf33fcabc in QEventLoop::exec (this=0x7fffb6525840, flags=...) at kernel/qeventloop.cpp:201
#78 0x00007f7cf3400ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#79 0x000000000055f1bd in main (argc=5, argv=<value optimized out>) at ../../../kstars/kstars/main.cpp:191

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

Possible duplicates by query: bug 274492, bug 273889, bug 270629, bug 269145.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-07-18 23:57:08 UTC

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