[Kmymoney-devel] [kmymoney4] [Bug 333236] New: Illegal Instruction 4 when touching any part of the code dealing with scheduled transactions

A.C. ac at sonic.net
Wed Apr 9 17:04:15 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=333236

            Bug ID: 333236
           Summary: Illegal Instruction 4 when touching any part of the
                    code dealing with scheduled transactions
    Classification: Unclassified
           Product: kmymoney4
           Version: git master
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: ac at sonic.net

After changing from a hex-core AMD processor to a quad-core AMD processor I was
no longer able to open my .kmy file.  After some troubleshooting the problem
appears to be limited to scheduled transactions.  The issue is 100%
reproducible on the system with the processor swap but is not reproducible on
my laptop (also running Linux Mint).  I've attached the anonomized file that
causes this problem.  The traceback can be found at:
http://codepad.org/utul0ca2

Reproducible: Always




Application: KMyMoney (kmymoney), signal: Illegal instruction
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbe76d967c0 (LWP 4385))]

Thread 4 (Thread 0x7fbe5c569700 (LWP 4386)):
#0  0x00007fbe6c6ac06b in __pthread_mutex_unlock_usercnt (mutex=0x185c060,
decr=1) at pthread_mutex_unlock.c:58
#1  0x00007fbe6c01f3d1 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbe6bfdefbb in g_main_context_query () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbe6bfdf612 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbe6bfdfb0a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbe6380db66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fbe6c0040f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fbe6c6a8f6e in start_thread (arg=0x7fbe5c569700) at
pthread_create.c:311
#8  0x00007fbe7101a9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fbe5bd68700 (LWP 4387)):
#0  0x00007fbe7100df7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbe6bfdf6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbe6bfdf7ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbe6bfdf7f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbe6c0040f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbe6c6a8f6e in start_thread (arg=0x7fbe5bd68700) at
pthread_create.c:311
#6  0x00007fbe7101a9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fbe5b567700 (LWP 4388)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fbe6c01f705 in g_cond_wait_until () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbe6bfb5c51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbe6bfb61db in g_async_queue_timeout_pop () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbe6c004b86 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbe6c0040f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fbe6c6a8f6e in start_thread (arg=0x7fbe5b567700) at
pthread_create.c:311
#7  0x00007fbe7101a9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fbe76d967c0 (LWP 4385)):
[KCrash Handler]
#5  0x00007fbe70ccfac6 in __gmpq_get_d () from /usr/local/lib/libgmp.so.10
#6  0x00007fbe7699c766 in MyMoneyForecast::calculateAutoLoan (schedule=...,
transaction=..., balances=...) at
/home/ac/Downloads/kmymoney-git/kmymoney/mymoney/mymoneyforecast.cpp:1264
#7  0x00007fbe769a397f in MyMoneyForecast::addScheduledTransactions
(this=this at entry=0x1c01978) at
/home/ac/Downloads/kmymoney-git/kmymoney/mymoney/mymoneyforecast.cpp:690
#8  0x00007fbe769a43a4 in MyMoneyForecast::doFutureScheduledForecast
(this=this at entry=0x1c01978) at
/home/ac/Downloads/kmymoney-git/kmymoney/mymoney/mymoneyforecast.cpp:527
#9  0x00007fbe769a46a8 in MyMoneyForecast::doForecast (this=0x1c01978) at
/home/ac/Downloads/kmymoney-git/kmymoney/mymoney/mymoneyforecast.cpp:91
#10 0x00000000005209fc in KHomeView::doForecast (this=this at entry=0x1c76600) at
/home/ac/Downloads/kmymoney-git/kmymoney/views/khomeview.cpp:1619
#11 0x0000000000524581 in KHomeView::showPayments (this=this at entry=0x1c76600)
at /home/ac/Downloads/kmymoney-git/kmymoney/views/khomeview.cpp:358
#12 0x000000000052c4f8 in KHomeView::loadView (this=0x1c76600) at
/home/ac/Downloads/kmymoney-git/kmymoney/views/khomeview.cpp:241
#13 0x000000000052c855 in KHomeView::slotLoadView (this=0x1c76600) at
/home/ac/Downloads/kmymoney-git/kmymoney/views/khomeview.cpp:172
#14 0x000000000052d905 in KHomeView::qt_static_metacall (_o=<optimized out>,
_id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
/home/ac/Downloads/kmymoney-git/kmymoney/views/khomeview.moc:67
#15 0x00007fbe72bc1a58 in QMetaObject::activate
(sender=sender at entry=0x7fbe76bcb680 <MyMoneyFile::file>,
m=m at entry=0x7fbe76bc97c0 <MyMoneyFile::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x0) at
kernel/qobject.cpp:3539
#16 0x00007fbe7695cf20 in MyMoneyFile::dataChanged
(this=this at entry=0x7fbe76bcb680 <MyMoneyFile::file>) at
/home/ac/Downloads/kmymoney-git/kmymoney/mymoney/mymoneyfile.moc:113
#17 0x00007fbe769684f9 in MyMoneyFile::attachStorage (this=0x7fbe76bcb680
<MyMoneyFile::file>, storage=storage at entry=0x1d602a0) at
/home/ac/Downloads/kmymoney-git/kmymoney/mymoney/mymoneyfile.cpp:338
#18 0x00000000004bcad2 in KMyMoneyView::readFile (this=0x1c36180, url=...) at
/home/ac/Downloads/kmymoney-git/kmymoney/views/kmymoneyview.cpp:848
#19 0x000000000049409c in KMyMoneyApp::slotFileOpenRecent (this=0x1862100,
url=...) at /home/ac/Downloads/kmymoney-git/kmymoney/kmymoney.cpp:1541
#20 0x000000000045a163 in runKMyMoney (splash=splash at entry=0x1960960,
a=0x16b78d0) at /home/ac/Downloads/kmymoney-git/kmymoney/main.cpp:269
#21 0x0000000000457c58 in main (argc=2, argv=0x7fff54d15698) at
/home/ac/Downloads/kmymoney-git/kmymoney/main.cpp:178

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list