[Kmymoney-devel] [kmymoney4] [Bug 314491] New: KMyMoney Gnucash Import Crash

2013-02-05 Thread bryanm01
https://bugs.kde.org/show_bug.cgi?id=314491

Bug ID: 314491
   Summary: KMyMoney Gnucash Import Crash
Classification: Unclassified
   Product: kmymoney4
   Version: 4.6.1
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kmymoney-devel@kde.org
  Reporter: bryan...@yahoo.com

Application: kmymoney (4.6.1)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-35-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: I was attempting to import a
gnucash file into kmymoney. The import started but kmymoney crashed shortly
thereafter, before the import completed.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fea54ed3780 (LWP 3238))]

Thread 4 (Thread 0x7fea3c7e4700 (LWP 3241)):
#0  0x7fea522cff69 in pthread_mutex_lock () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x7fea4ac5a5a1 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fea4ac1e337 in g_main_context_release () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fea4ac1efe9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7fea4ac1f49a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7fea3c7e998b in ?? () from
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x7fea4ac409e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x7fea522cde9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#8  0x7fea4f5b9cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x in ?? ()

Thread 3 (Thread 0x7fea3bbd8700 (LWP 3242)):
#0  0x7fea4f5ae303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7fea4ac1f036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fea4ac1f49a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fea42ab9406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x7fea4ac409e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7fea522cde9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x7fea4f5b9cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x in ?? ()

Thread 2 (Thread 0x7fea3ab72700 (LWP 3269)):
#0  0x7fff8c7ff8de in ?? ()
#1  0x7fea4aed015d in clock_gettime () from
/lib/x86_64-linux-gnu/librt.so.1
#2  0x7fea510b4bb4 in do_gettime (frac=0x7fea3ab71b98, sec=0x7fea3ab71b90)
at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x7fea5118cb8d in QTimerInfoList::updateCurrentTime
(this=0x7fea30002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x7fea5118cec3 in QTimerInfoList::timerWait (this=0x7fea30002660,
tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fea5118b97c in timerSourcePrepareHelper (src=,
timeout=0x7fea3ab71c6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x7fea5118ba25 in timerSourcePrepare (source=,
timeout=) at kernel/qeventdispatcher_glib.cpp:169
#8  0x7fea4ac1e846 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x7fea4ac1ef5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x7fea4ac1f164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x7fea5118c426 in QEventDispatcherGlib::processEvents
(this=0x7fea38c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x7fea5115bc82 in QEventLoop::processEvents (this=,
flags=...) at kernel/qeventloop.cpp:149
#13 0x7fea5115bed7 in QEventLoop::exec (this=0x7fea3ab71dd0, flags=...) at
kernel/qeventloop.cpp:204
#14 0x7fea5105afa7 in QThread::exec (this=) at
thread/qthread.cpp:501
#15 0x7fea5113b9ff in QInotifyFileSystemWatcherEngine::run (this=0x5380db0)
at io/qfilesystemwatcher_inotify.cpp:248
#16 0x7fea5105dfcb in QThreadPrivate::start (arg=0x5380db0) at
thread/qthread_unix.cpp:298
#17 0x7fea522cde9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#18 0x7fea4f5b9cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#19 0x in ?? ()

Thread 1 (Thread 0x7fea54ed3780 (LWP 3238)):
[KCrash Handler]
#6  0x7fea4f2607be in __gmp_exception () from
/usr/lib/x86_64-linux-gnu/libgmp.so.10
#7  0x7fea4f2607ee in __gmp_divide_by_zero () from
/usr/lib/x86_64-linux-gnu/libgmp.so.10
#8  0x7fea4f27b4a6 in __gmpq_div () from
/usr/lib/x86_64-linux-gnu/libgmp.so.10
#9  0x7fea5293fcf1 in AlkValue::operator/(AlkValue const&) const () from
/usr/lib/libalkimia.so.4
#10 0x7fea54a6b550 in MyMoneyMoney::operator/ (this=,
_b=...) at /build/buildd/kmymoney-4.6

[Kmymoney-devel] [kmymoney4] [Bug 314491] KMyMoney Gnucash Import Crash

2013-02-06 Thread bryanm01
https://bugs.kde.org/show_bug.cgi?id=314491

--- Comment #2 from bryan...@yahoo.com ---
What about my data file should I check?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


[Kmymoney-devel] [kmymoney4] [Bug 314491] KMyMoney Gnucash Import Crash

2013-02-06 Thread bryanm01
https://bugs.kde.org/show_bug.cgi?id=314491

--- Comment #4 from bryan...@yahoo.com ---
I did try an import with 4.6.3, I had to build it myself since there's no
Ubuntu-specific package, but it crashed there as well. I'll try it again and
post the traceback if it still fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


[Kmymoney-devel] [kmymoney4] [Bug 314491] KMyMoney Gnucash Import Crash

2013-02-06 Thread bryanm01
https://bugs.kde.org/show_bug.cgi?id=314491

--- Comment #6 from bryan...@yahoo.com ---
I tried 4.6.3 and got a similar crash. The backtrace is similar, it still
includes the divide by 0. The program crashes before a file is created so I
can't re-import into Gnucash, or at least I can't find a file.

Application: KMyMoney (kmymoney), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6208c2e780 (LWP 11471))]

Thread 4 (Thread 0x7f61f052e700 (LWP 11474)):
#0  0x7f62032f8303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7f61fe969036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f61fe96949a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f61f053398b in ?? () from
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x7f61fe98a9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f6206017e9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x7f6203303cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x in ?? ()

Thread 3 (Thread 0x7f61ef922700 (LWP 11475)):
#0  0x7f62032f8303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7f61fe969036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f61fe96949a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f61f6803406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x7f61fe98a9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f6206017e9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x7f6203303cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x in ?? ()

Thread 2 (Thread 0x7f61ee8bc700 (LWP 11529)):
#0  0x7f62032f8303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7f61fe969036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f61fe969164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f6204ed6426 in QEventDispatcherGlib::processEvents
(this=0x7f61e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x7f6204ea5c82 in QEventLoop::processEvents (this=,
flags=...) at kernel/qeventloop.cpp:149
#5  0x7f6204ea5ed7 in QEventLoop::exec (this=0x7f61ee8bbdd0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x7f6204da4fa7 in QThread::exec (this=) at
thread/qthread.cpp:501
#7  0x7f6204e859ff in QInotifyFileSystemWatcherEngine::run (this=0x20a8da0)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x7f6204da7fcb in QThreadPrivate::start (arg=0x20a8da0) at
thread/qthread_unix.cpp:298
#9  0x7f6206017e9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x7f6203303cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x in ?? ()

Thread 1 (Thread 0x7f6208c2e780 (LWP 11471)):
[KCrash Handler]
#6  0x7f6202faa7be in __gmp_exception () from
/usr/lib/x86_64-linux-gnu/libgmp.so.10
#7  0x7f6202faa7ee in __gmp_divide_by_zero () from
/usr/lib/x86_64-linux-gnu/libgmp.so.10
#8  0x7f6202fc54a6 in __gmpq_div () from
/usr/lib/x86_64-linux-gnu/libgmp.so.10
#9  0x7f6206689cf1 in AlkValue::operator/(AlkValue const&) const () from
/usr/lib/libalkimia.so.4
#10 0x7f62087c4f20 in MyMoneyMoney::operator/ (this=,
_b=...) at
/home/bryan/Downloads/build/kmymoney-4.6.3/kmymoney/mymoney/mymoneymoney.cpp:291
#11 0x0075098e in MyMoneyGncReader::convertSplit (this=0x4e972a0,
gsp=) at
/home/bryan/Downloads/build/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1679
#12 0x00751608 in MyMoneyGncReader::convertTransaction (this=0x4e972a0,
gtx=0x51acf80) at
/home/bryan/Downloads/build/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1563
#13 0x00751c3b in GncTransaction::terminate (this=) at
/home/bryan/Downloads/build/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:734
#14 0x007492b5 in XmlReader::endElement (this=0x771f960, elName=...) at
/home/bryan/Downloads/build/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1175
#15 0x7f62056f8ed6 in QXmlSimpleReaderPrivate::processElementETagBegin2
(this=0x67352e0) at sax/qxml.cpp:4068
#16 0x7f62057045f0 in QXmlSimpleReaderPrivate::parseElement
(this=0x67352e0) at sax/qxml.cpp:3884
#17 0x7f6205704d90 in QXmlSimpleReaderPrivate::parseContent
(this=0x67352e0) at sax/qxml.cpp:4427
#18 0x7f6205704788 in QXmlSimpleReaderPrivate::parseElement
(this=0x67352e0) at sax/qxml.cpp:3953
#19 0x7f6205704d90 in QXmlSimpleReaderPrivate::parseContent
(this=0x67352e0) at sax/qxml.cpp:4427
#20 0x7f6205704788 in QXmlSimpleReaderPrivate::parseElement
(this=0x67352e0) at sax/qxml.cpp:3953
#21 0x7f6205705970 in QXmlSimpleReaderPrivate::parseBeginOrContinue
(this=0x67352e0, state=, incremental=false) at sax/qxml.cpp:3498
#22 0x7f6205705c9e in QXmlSimpleReader::parse (this=,
input=0x12de580, incremental=false) at 

[Kmymoney-devel] [kmymoney4] [Bug 314491] KMyMoney Gnucash Import Crash

2013-02-09 Thread bryanm01
https://bugs.kde.org/show_bug.cgi?id=314491

--- Comment #10 from bryan...@yahoo.com ---
So I never got a direct import from Gnucash to Kmymoney but while exploring
some of the ideas from this thread I discovered my Gnucash file was being save
as a compressed file. After I saved it as an uncompressed file I was able to
use the Gnucash to QIF converter and then import into Kmymoney. The new file
will new to be massaged a little but it all appears to be there. Thanks to
everyone for the help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel