Bug 270629 - Ksatrs crashes when trying to over-ride time difference
Summary: Ksatrs crashes when trying to over-ride time difference
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-04-10 22:59 UTC by xejakig884
Modified: 2011-06-11 03:55 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (13.09 KB, text/plain)
2011-06-11 03:55 UTC, Adrian Cozma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xejakig884 2011-04-10 22:59:23 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-8-generic i686
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
- What I was doing when the application crashed: My local time was an hour wrong. I tried to adjust the time difference to +1. When I clicked 'Apply' the application crashed.

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

Thread 2 (Thread 0xb4533b70 (LWP 8774)):
#0  0x0604f7a4 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x08b69656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0285e712 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0285f03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0285f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0108c577 in QEventDispatcherGlib::processEvents (this=0xabe0c70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0105e289 in QEventLoop::processEvents (this=0xb4533280, flags=...) at kernel/qeventloop.cpp:149
#7  0x0105e522 in QEventLoop::exec (this=0xb4533280, flags=...) at kernel/qeventloop.cpp:201
#8  0x00f682a0 in QThread::exec (this=0xabaa1d8) at thread/qthread.cpp:492
#9  0x0103ffdb in QInotifyFileSystemWatcherEngine::run (this=0xabaa1d8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00f6ada2 in QThreadPrivate::start (arg=0xabaa1d8) at thread/qthread_unix.cpp:320
#11 0x0604be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x08b5b73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb78a0720 (LWP 8773)):
[KCrash Handler]
#7  text (this=0xb0fa620) at /usr/include/qt4/QtGui/qlistwidget.h:90
#8  LocationDialog::changeCity (this=0xb0fa620) at ../../../kstars/kstars/dialogs/locationdialog.cpp:181
#9  0x08233f60 in LocationDialog::qt_metacall (this=0xb0fa620, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc9818c) at ./locationdialog.moc:85
#10 0x010656ba in QMetaObject::metacall (object=0xb0fa620, cl=QMetaObject::InvokeMetaMethod, idx=75, argv=0xbfc9818c) at kernel/qmetaobject.cpp:237
#11 0x010754ff in QMetaObject::activate (sender=0xb0ff398, m=0x5a86fe8, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3287
#12 0x0572b147 in QListWidget::itemSelectionChanged (this=0xb0ff398) at .moc/release-shared/moc_qlistwidget.cpp:253
#13 0x0572e730 in QListWidget::qt_metacall (this=0xb0ff398, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc982c4) at .moc/release-shared/moc_qlistwidget.cpp:137
#14 0x010656ba in QMetaObject::metacall (object=0xb0ff398, cl=QMetaObject::InvokeMetaMethod, idx=79, argv=0xbfc982c4) at kernel/qmetaobject.cpp:237
#15 0x010754ff in QMetaObject::activate (sender=0x95387d8, m=0x5a86e50, local_signal_index=0, argv=0xbfc982c4) at kernel/qobject.cpp:3287
#16 0x05719279 in QItemSelectionModel::selectionChanged (this=0x95387d8, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#17 0x0571f8d9 in QItemSelectionModel::emitSelectionChanged (this=0x95387d8, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1538
#18 0x0571fc7b in QItemSelectionModel::select (this=0x95387d8, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1101
#19 0x0571afa0 in QItemSelectionModel::select (this=0x95387d8, index=..., command=...) at itemviews/qitemselectionmodel.cpp:976
#20 0x0571952c in QItemSelectionModel::setCurrentIndex (this=0x95387d8, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1168
#21 0x0572acbd in QListWidget::setCurrentRow (this=0xb0ff398, row=-1) at itemviews/qlistwidget.cpp:1484
#22 0x0572c065 in QListWidget::setCurrentItem (this=0xb0ff398, item=0x0) at itemviews/qlistwidget.cpp:1455
#23 0x08233555 in LocationDialog::addCity (this=0xb0fa620) at ../../../kstars/kstars/dialogs/locationdialog.cpp:293
#24 0x08233e88 in LocationDialog::slotOk (this=0xb0fa620) at ../../../kstars/kstars/dialogs/locationdialog.cpp:434
#25 0x08233f30 in LocationDialog::qt_metacall (this=0xb0fa620, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc9887c) at ./locationdialog.moc:92
#26 0x010656ba in QMetaObject::metacall (object=0xb0fa620, cl=QMetaObject::InvokeMetaMethod, idx=81, argv=0xbfc9887c) at kernel/qmetaobject.cpp:237
#27 0x010754ff in QMetaObject::activate (sender=0xb0fa620, m=0x82b404c, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3287
#28 0x008c5907 in KDialog::okClicked (this=0xb0fa620) at ./kdialog.moc:258
#29 0x008c6130 in KDialog::slotButtonClicked (this=0xb0fa620, button=4) at ../../kdeui/dialogs/kdialog.cpp:883
#30 0x008c65bc in KDialog::qt_metacall (this=0xb0fa620, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfc98a48) at ./kdialog.moc:190
#31 0x08233ecf in LocationDialog::qt_metacall (this=0xb0fa620, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfc98a48) at ./locationdialog.moc:78
#32 0x010656ba in QMetaObject::metacall (object=0xb0fa620, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbfc98a48) at kernel/qmetaobject.cpp:237
#33 0x010754ff in QMetaObject::activate (sender=0xb0d45fc, m=0x11990f8, local_signal_index=0, argv=0xbfc98a48) at kernel/qobject.cpp:3287
#34 0x01079413 in QSignalMapper::mapped (this=0xb0d45fc, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#35 0x0107955f in QSignalMapper::map (this=0xb0d45fc, sender=0xb0f9a80) at kernel/qsignalmapper.cpp:266
#36 0x0107971e in QSignalMapper::map (this=0xb0d45fc) at kernel/qsignalmapper.cpp:257
#37 0x01079c0b in QSignalMapper::qt_metacall (this=0xb0d45fc, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc98bd8) at .moc/release-shared/moc_qsignalmapper.cpp:87
#38 0x010656ba in QMetaObject::metacall (object=0xb0d45fc, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfc98bd8) at kernel/qmetaobject.cpp:237
#39 0x010754ff in QMetaObject::activate (sender=0xb0f9a80, m=0x5a8c884, local_signal_index=2, argv=0xbfc98bd8) at kernel/qobject.cpp:3287
#40 0x05831d39 in QAbstractButton::clicked (this=0xb0f9a80, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#41 0x05549896 in QAbstractButtonPrivate::emitClicked (this=0xb0fb388) at widgets/qabstractbutton.cpp:546
#42 0x0554b104 in QAbstractButtonPrivate::click (this=0xb0fb388) at widgets/qabstractbutton.cpp:539
#43 0x0554b3be in QAbstractButton::mouseReleaseEvent (this=0xb0f9a80, e=0xbfc99334) at widgets/qabstractbutton.cpp:1121
#44 0x051a113a in QWidget::event (this=0xb0f9a80, event=0xbfc99334) at kernel/qwidget.cpp:8259
#45 0x0554a40e in QAbstractButton::event (this=0xb0f9a80, e=0xbfc99334) at widgets/qabstractbutton.cpp:1080
#46 0x055e81c2 in QPushButton::event (this=0xb0f9a80, e=0xbfc99334) at widgets/qpushbutton.cpp:683
#47 0x05148d24 in QApplicationPrivate::notify_helper (this=0x940c558, receiver=0xb0f9a80, e=0xbfc99334) at kernel/qapplication.cpp:4462
#48 0x0514e201 in QApplication::notify (this=0xbfc9b194, receiver=0xb0f9a80, e=0xbfc99334) at kernel/qapplication.cpp:4023
#49 0x009763ca in KApplication::notify (this=0xbfc9b194, receiver=0xb0f9a80, event=0xbfc99334) at ../../kdeui/kernel/kapplication.cpp:311
#50 0x0105f0bb in QCoreApplication::notifyInternal (this=0xbfc9b194, receiver=0xb0f9a80, event=0xbfc99334) at kernel/qcoreapplication.cpp:731
#51 0x05149c3b in sendSpontaneousEvent (receiver=0xb0f9a80, event=0xbfc99334, alienWidget=0xb0f9a80, nativeWidget=0xb0fa620, buttonDown=0x5a95c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#52 QApplicationPrivate::sendMouseEvent (receiver=0xb0f9a80, event=0xbfc99334, alienWidget=0xb0f9a80, nativeWidget=0xb0fa620, buttonDown=0x5a95c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#53 0x051d32bc in QETWidget::translateMouseEvent (this=0xb0fa620, event=0xbfc9985c) at kernel/qapplication_x11.cpp:4556
#54 0x051d1746 in QApplication::x11ProcessEvent (this=0xbfc9b194, event=0xbfc9985c) at kernel/qapplication_x11.cpp:3678
#55 0x051fcb84 in x11EventSourceDispatch (s=0x940f0a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x0285eaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0x0285f270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#58 0x0285f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#59 0x0108c53c in QEventDispatcherGlib::processEvents (this=0x93d2aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#60 0x051fc775 in QGuiEventDispatcherGlib::processEvents (this=0x93d2aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x0105e289 in QEventLoop::processEvents (this=0xbfc99b30, flags=...) at kernel/qeventloop.cpp:149
#62 0x0105e522 in QEventLoop::exec (this=0xbfc99b30, flags=...) at kernel/qeventloop.cpp:201
#63 0x05666003 in QDialog::exec (this=0xb0fa620) at dialogs/qdialog.cpp:552
#64 0x08185a05 in KStars::slotGeoLocator (this=0x94d3288) at ../../../kstars/kstars/kstarsactions.cpp:334
#65 0x08183c7e in KStars::qt_metacall (this=0x94d3288, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbfc99d08) at ./kstars.moc:232
#66 0x010656ba in QMetaObject::metacall (object=0x94d3288, cl=QMetaObject::InvokeMetaMethod, idx=78, argv=0xbfc99d08) at kernel/qmetaobject.cpp:237
#67 0x010754ff in QMetaObject::activate (sender=0xab9cf80, m=0x5a793f8, local_signal_index=1, argv=0xbfc99d08) at kernel/qobject.cpp:3287
#68 0x051418d9 in QAction::triggered (this=0xab9cf80, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#69 0x05141b38 in QAction::activate (this=0xab9cf80, event=QAction::Trigger) at kernel/qaction.cpp:1257
#70 0x055d38ad in QMenuPrivate::activateCausedStack (this=0xac0f320, causedStack=..., action=0xab9cf80, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#71 0x055da16b in QMenuPrivate::activateAction (this=0xac0f320, action=0xab9cf80, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#72 0x055daffe in QMenu::mouseReleaseEvent (this=0xac13d20, e=0xbfc9a5a4) at widgets/qmenu.cpp:2306
#73 0x00a53cf4 in KMenu::mouseReleaseEvent (this=0xac13d20, e=0xbfc9a5a4) at ../../kdeui/widgets/kmenu.cpp:458
#74 0x051a113a in QWidget::event (this=0xac13d20, event=0xbfc9a5a4) at kernel/qwidget.cpp:8259
#75 0x055db4d7 in QMenu::event (this=0xac13d20, e=0xbfc9a5a4) at widgets/qmenu.cpp:2415
#76 0x05148d24 in QApplicationPrivate::notify_helper (this=0x940c558, receiver=0xac13d20, e=0xbfc9a5a4) at kernel/qapplication.cpp:4462
#77 0x0514e201 in QApplication::notify (this=0xbfc9b194, receiver=0xac13d20, e=0xbfc9a5a4) at kernel/qapplication.cpp:4023
#78 0x009763ca in KApplication::notify (this=0xbfc9b194, receiver=0xac13d20, event=0xbfc9a5a4) at ../../kdeui/kernel/kapplication.cpp:311
#79 0x0105f0bb in QCoreApplication::notifyInternal (this=0xbfc9b194, receiver=0xac13d20, event=0xbfc9a5a4) at kernel/qcoreapplication.cpp:731
#80 0x05149c3b in sendSpontaneousEvent (receiver=0xac13d20, event=0xbfc9a5a4, alienWidget=0x0, nativeWidget=0xac13d20, buttonDown=0x5a95c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#81 QApplicationPrivate::sendMouseEvent (receiver=0xac13d20, event=0xbfc9a5a4, alienWidget=0x0, nativeWidget=0xac13d20, buttonDown=0x5a95c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#82 0x051d34c3 in QETWidget::translateMouseEvent (this=0xac13d20, event=0xbfc9aacc) at kernel/qapplication_x11.cpp:4490
#83 0x051d1746 in QApplication::x11ProcessEvent (this=0xbfc9b194, event=0xbfc9aacc) at kernel/qapplication_x11.cpp:3678
#84 0x051fcb84 in x11EventSourceDispatch (s=0x940f0a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#85 0x0285eaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#86 0x0285f270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#87 0x0285f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#88 0x0108c53c in QEventDispatcherGlib::processEvents (this=0x93d2aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#89 0x051fc775 in QGuiEventDispatcherGlib::processEvents (this=0x93d2aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#90 0x0105e289 in QEventLoop::processEvents (this=0xbfc9ad94, flags=...) at kernel/qeventloop.cpp:149
#91 0x0105e522 in QEventLoop::exec (this=0xbfc9ad94, flags=...) at kernel/qeventloop.cpp:201
#92 0x01062ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#93 0x051468e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#94 0x081af8db in main (argc=10969668, argv=0xb78af2d8) at ../../../kstars/kstars/main.cpp:191

Possible duplicates by query: bug 269145.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-04-13 03:21:13 UTC

*** This bug has been marked as a duplicate of bug 269145 ***
Comment 2 Adrian Cozma 2011-06-11 03:55:32 UTC
Created attachment 60875 [details]
New crash information added by DrKonqi

kstars (2.0.0) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.2

- 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 (Reduced):
#6  text (this=0x36a04e0) at /usr/include/qt4/QtGui/qlistwidget.h:90
#7  LocationDialog::changeCity (this=0x36a04e0) at ../../../kstars/kstars/dialogs/locationdialog.cpp:181
#8  0x00000000005e07f8 in LocationDialog::qt_metacall (this=0x36a04e0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff1a8f2d50) at ./locationdialog.moc:85
[...]
#10 0x00007fcb0d1f971f in QListWidget::qt_metacall (this=0x35ee040, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff1a8f2e80) at .moc/release-shared/moc_qlistwidget.cpp:137
[...]
#12 0x00007fcb0d1e4407 in QItemSelectionModel::selectionChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152