Discussion:
[Bug 400820] New: KMyMoney crashed when clicking on Forecast>Chart
Add Reply
Frank Osborne
2018-11-07 22:23:32 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=400820

Bug ID: 400820
Summary: KMyMoney crashed when clicking on Forecast>Chart
Product: kde
Version: unspecified
Platform: unspecified
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: unassigned-***@kde.org
Reporter: ***@gmail.com
Target Milestone: ---

Application: kmymoney (5.0.2)

Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.15.0-38-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed: I was in 'Forecast' and
clicking thru the tabs from left to right. When I clciked on 'Chart' the
program crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb10d10f940 (LWP 10696))]

Thread 6 (Thread 0x7fb08afff700 (LWP 10704)):
#0 0x00007fb10542cbf9 in __GI___poll (fds=0x7fb084003ce0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fb0fba7d439 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fb0fba7d54c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fb10631d04b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007fb1062c130a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007fb1060ecbba in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007fb1060f7adb in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007fb0fdc1a6db in start_thread (arg=0x7fb08afff700) at
pthread_create.c:463
#8 0x00007fb10543988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fb0909ff700 (LWP 10703)):
#0 0x00007fb10631b7cd in QTimerInfoList::timerWait(timespec&) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1 0x00007fb10631cdae in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007fb0fba7c998 in g_main_context_prepare () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fb0fba7d36b in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fb0fba7d54c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fb10631d04b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007fb1062c130a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007fb1060ecbba in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007fb1060f7adb in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00007fb0fdc1a6db in start_thread (arg=0x7fb0909ff700) at
pthread_create.c:463
#10 0x00007fb10543988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb0e5edc700 (LWP 10700)):
#0 0x00007fb0fbac2d79 in g_mutex_lock () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007fb0fba7c454 in g_main_context_release () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fb0fba7d3f6 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fb0fba7d54c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fb10631d04b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007fb1062c130a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007fb1060ecbba in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007fb106763e45 in () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8 0x00007fb1060f7adb in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00007fb0fdc1a6db in start_thread (arg=0x7fb0e5edc700) at
pthread_create.c:463
#10 0x00007fb10543988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb0ed43e700 (LWP 10699)):
#0 0x00007fb10542cbf9 in __GI___poll (fds=0x7fb0ed43db68, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fb0f82d1747 in () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007fb0f82d336a in xcb_wait_for_event () at
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007fb0f01f7ed9 in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007fb1060f7adb in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007fb0fdc1a6db in start_thread (arg=0x7fb0ed43e700) at
pthread_create.c:463
#6 0x00007fb10543988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb0f1568700 (LWP 10698)):
#0 0x00007fb0fdc209f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7fb104c58110) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 0x00007fb0fdc209f3 in __pthread_cond_wait_common (abstime=0x0,
mutex=0x26ee640, cond=0x7fb104c580e8) at pthread_cond_wait.c:502
#2 0x00007fb0fdc209f3 in __pthread_cond_wait (cond=0x7fb104c580e8,
mutex=0x26ee640) at pthread_cond_wait.c:655
#3 0x00007fb105d7679c in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () at
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007fb103f6a217 in () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5 0x00007fb103f6a359 in () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6 0x00007fb105d7c57f in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007fb0fdc1a6db in start_thread (arg=0x7fb0f1568700) at
pthread_create.c:463
#8 0x00007fb10543988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb10d10f940 (LWP 10696)):
[KCrash Handler]
#6 0x00007fb0d96c8584 in () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so
#7 0x00007fb0d96c15ec in () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so
#8 0x00007fb1062f218f in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00007fb108457bce in QTabWidget::currentChanged(int) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fb10845a017 in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fb1062f2075 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fb1084391de in QTabBar::currentChanged(int) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fb10843d77d in QTabBar::setCurrentIndex(int) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fb10843fd8d in QTabBar::mousePressEvent(QMouseEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fb1082d53ef in QWidget::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fb10843e2fb in QTabBar::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb108295e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fb10829df87 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fb1062c2fe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb10829c8d2 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fb1082efc13 in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fb1082f2229 in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fb108295e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fb10829d3ef in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fb1062c2fe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fb107a997bb in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007fb107a9b335 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007fb107a73f5b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007fb0f028376b in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#30 0x00007fb1062c130a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fb1062ca4d0 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00000000004803fc in ()
#33 0x000000000047e60e in ()
#34 0x00007fb105339b97 in __libc_start_main (main=0x47d790, argc=1,
argv=0x7ffe3f1e9cf8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffe3f1e9ce8) at ../csu/libc-start.c:310
#35 0x000000000047d6ca in _start ()

Reported using DrKonqi
--
You are receiving this mail because:
You are watching all bug changes.
Luigi Toscano
2018-11-18 14:00:41 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=400820

Luigi Toscano <***@tiscali.it> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@tiscali.it
Product|kde |kmymoney
Component|general |general
Assignee|unassigned-***@kde.org |kmymoney-***@kde.org
Version|unspecified |5.0.2
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Baumgart
2018-12-06 09:49:17 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=400820

Thomas Baumgart <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@mailbox.org

--- Comment #1 from Thomas Baumgart <***@kde.org> ---
*** Bug 401133 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Baumgart
2018-12-06 11:31:26 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=400820

Thomas Baumgart <***@net-bembel.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REPORTED |RESOLVED
Latest Commit| |https://commits.kde.org/kmy
| |money/6ba86e8d02dc3dc7fc57b
| |66097a5803c96c22571
Resolution|--- |FIXED

--- Comment #2 from Thomas Baumgart <***@net-bembel.de> ---
Git commit 6ba86e8d02dc3dc7fc57b66097a5803c96c22571 by Thomas Baumgart, on
behalf of João Netto.
Committed on 06/12/2018 at 11:32.
Pushed by tbaumgart into branch 'master'.

Fixed bug that crashed program when clicking Forecast->Chart

Summary: BUG: 400820

Reviewers: #kmymoney, tbaumgart

Reviewed By: #kmymoney, tbaumgart

Subscribers: tbaumgart

Differential Revision: https://phabricator.kde.org/D17368

M +3 -4 kmymoney/plugins/views/forecast/kforecastview_p.h
M +2 -3 kmymoney/plugins/views/reports/reportsview.cpp

https://commits.kde.org/kmymoney/6ba86e8d02dc3dc7fc57b66097a5803c96c22571
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Baumgart
2018-12-06 11:33:52 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=400820

Thomas Baumgart <***@net-bembel.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |5.0.3
Latest Commit|https://commits.kde.org/kmy |https://commits.kde.org/kmy
|money/6ba86e8d02dc3dc7fc57b |money/c74bde8a1599e30e624a1
|66097a5803c96c22571 |919fc66a59a592d8873

--- Comment #3 from Thomas Baumgart <***@net-bembel.de> ---
Git commit c74bde8a1599e30e624a1919fc66a59a592d8873 by Thomas Baumgart.
Committed on 06/12/2018 at 11:34.
Pushed by tbaumgart into branch '5.0'.

Fixed bug that crashed program when clicking Forecast->Chart
FIXED-IN: 5.0.3

Reviewers: #kmymoney, tbaumgart

Reviewed By: #kmymoney, tbaumgart

Subscribers: tbaumgart

Differential Revision: https://phabricator.kde.org/D17368

(cherry picked from commit 6ba86e8d02dc3dc7fc57b66097a5803c96c22571)

M +3 -4 kmymoney/plugins/views/forecast/kforecastview_p.h
M +2 -3 kmymoney/plugins/views/reports/reportsview.cpp

https://commits.kde.org/kmymoney/c74bde8a1599e30e624a1919fc66a59a592d8873
--
You are receiving this mail because:
You are watching all bug changes.
Loading...