[Kmymoney-devel] Building of tests fails

Fernando Vilas fvilas at iname.com
Wed Nov 30 03:34:24 UTC 2011


On Wednesday, November 30, 2011 00:25:32 Allan wrote:
> On 29/11/11 21:52, Marko Käning wrote:
> > On Nov 28, 2011, at 6:51 PM, Marko Käning wrote:
> >> In the log one finds this:
> >> ---
> >> PASS   : MyMoneyDatabaseMgrTest::testModifyAccount()
> >> PASS   : MyMoneyDatabaseMgrTest::testModifyInstitution()
> >> PASS   : MyMoneyDatabaseMgrTest::testReparentAccount()
> >> mymoneydatabasemgrtest(7150,0x7fff705b7cc0) malloc: *** error for
> >> object 0x103221d80: pointer being freed was not alloc ated
> >> *** set a breakpoint in malloc_error_break to debug
> >> <end of output>
> >> Test time =   1.44 sec
> >> ----------------------------------------------------------
> >> Test Failed.
> >> "kmymoney-mymoneydatabasemgrtest" end time: Nov 28 18:46 CET
> >> "kmymoney-mymoneydatabasemgrtest" time elapsed: 00:00:01
> >> ----------------------------------------------------------
> > 
> > It turns out that testRepareentAccount() is he culprit:
> > ---
> > PASS   : MyMoneyDatabaseMgrTest::testReparentAccount()
> > QFATAL : MyMoneyDatabaseMgrTest::testAddTransactions() Received signal
> > 11
> > FAIL!  : MyMoneyDatabaseMgrTest::testAddTransactions() Received a fatal
> > error.> 
> >     Loc: [Unknown file(0)]
> > 
> > Totals: 15 passed, 1 failed, 0 skipped
> > ********* Finished testing of MyMoneyDatabaseMgrTest *********
> > <end of output>
> > Test time =   3.31 sec
> > ----------------------------------------------------------
> > Test Failed.
> > "kmymoney-mymoneydatabasemgrtest" end time: Nov 29 21:50 CET
> > "kmymoney-mymoneydatabasemgrtest" time elapsed: 00:00:03
> > ----------------------------------------------------------
[...]
> > 
> > Does that ring a bell for a proficient developer?
> 
> I ran all test successfully yesterday.
> 

I just pulled the latest git into a new directory, built and ran all tests 
successfully. We have seen some strange things on a Mac in the past, though. 
And, I don't have access to one to chase down the problem.

The error looks like trying to use a null pointer in GMP.

-- 
Thanks,
Fernando Vilas
fvilas at iname.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20111129/6660d5f1/attachment-0001.sig>


More information about the KMyMoney-devel mailing list