[Kmymoney-devel] [Bug 269074] csv importer tests crash
allan
agander93 at gmail.com
Mon Mar 21 21:18:01 CET 2011
https://bugs.kde.org/show_bug.cgi?id=269074
allan <agander93 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |agander93 at gmail.com
--- Comment #1 from allan <agander93 gmail com> 2011-03-21 21:18:00 ---
(In reply to comment #0)
> Version: SVN trunk (using KDE 1.2)
> OS: Linux
>
> The symboltest test cases crash because KGlobal::locale() returns 0.
>
> Reproducible: Always
>
> Steps to Reproduce:
> Run 'ctest -V -R symboltest'
>
> Actual Results:
> Testprogram crashes
>
> Expected Results:
> Don't crash :)
>
> UpdateCTestConfiguration from
> :/home/thb/devel/kmymoney4/build/kmymoney/plugins/csvimport/DartConfiguration.tcl
> UpdateCTestConfiguration from
> :/home/thb/devel/kmymoney4/build/kmymoney/plugins/csvimport/DartConfiguration.tcl
> Test project /home/thb/devel/kmymoney4/build/kmymoney/plugins/csvimport
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> test 3
> Start 3: kmymoney-plugin-symboltest
>
> 3: Test command:
> /home/thb/devel/kmymoney4/build/kmymoney/plugins/csvimport/symboltest.shell
> 3: Test timeout computed to be: 9.99988e+06
> 3: ********* Start testing of SymbolTest *********
> 3: Config: Using QTest library 4.5.2, Qt 4.5.2
> 3: PASS : SymbolTest::initTestCase()
> 3: Segmentation fault
> 1/1 Test #3: kmymoney-plugin-symboltest .......***Failed 0.02 sec
>
> 0% tests passed, 1 tests failed out of 1
>
> Total Test time (real) = 0.02 sec
>
> The following tests FAILED:
> 3 - kmymoney-plugin-symboltest (Failed)
> Errors while running CTest
>
>
>
>
>
> (gdb) run
> Starting program:
> /home/thb/devel/kmymoney4/build/kmymoney/plugins/csvimport/symboltest
> [Thread debugging using libthread_db enabled]
> ********* Start testing of SymbolTest *********
> Config: Using QTest library 4.5.2, Qt 4.5.2
> PASS : SymbolTest::initTestCase()
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x002cc4a9 in KLocale::decimalSymbol() const () from /usr/lib/libkdecore.so.5
> (gdb) bt
> #0 0x002cc4a9 in KLocale::decimalSymbol() const () from
> /usr/lib/libkdecore.so.5
> #1 0x0804a3d4 in SymbolTest::init (this=0xbffff2b8)
> at /home/thb/devel/kmymoney4/kmymoney/plugins/csvimport/symboltest.cpp:38
> #2 0x08049cb3 in SymbolTest::qt_metacall (this=0xbffff2b8,
> _c=QMetaObject::InvokeMetaMethod, _id=4,
> _a=0xbfffe7ac) at
> /home/thb/devel/kmymoney4/build/kmymoney/plugins/csvimport/moc_symboltest.cpp:90
> #3 0x004e011d in QMetaMethod::invoke(QObject*, Qt::ConnectionType,
> QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument,
> QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
> QGenericArgument, QGenericArgument, QGenericArgument) const () from
> /usr/lib/libQtCore.so.4
> #4 0x004e070f in QMetaObject::invokeMethod(QObject*, char const*,
> Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument,
> QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
> QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) ()
> from /usr/lib/libQtCore.so.4
> #5 0x001350a4 in ?? () from /usr/lib/libQtTest.so.4
> #6 0x00136168 in ?? () from /usr/lib/libQtTest.so.4
> #7 0x0013655b in QTest::qExec(QObject*, int, char**) () from
> /usr/lib/libQtTest.so.4
> #8 0x0804aaac in main (argc=1, argv=0xbffff3a4)
> at /home/thb/devel/kmymoney4/kmymoney/plugins/csvimport/symboltest.cpp:26
Hmmmm... Works for me on openSuse -
aga at eve2:~/CSV/kmymoney/build> ctest -V -R symboltest
UpdateCTestConfiguration from
:/home/aga/CSV/kmymoney/build/DartConfiguration.tcl
UpdateCTestConfiguration from
:/home/aga/CSV/kmymoney/build/DartConfiguration.tcl
Test project /home/aga/CSV/kmymoney/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
test 23
Start 23: kmymoney-plugin-symboltest
23: Test command:
/home/aga/CSV/kmymoney/build/kmymoney/plugins/csvimport/symboltest.shell
23: Test timeout computed to be: 9.99988e+06
23: ********* Start testing of SymbolTest *********
23: Config: Using QTest library 4.7.1, Qt 4.7.1
23: PASS : SymbolTest::initTestCase()
23: PASS : SymbolTest::testDefaultConstructor()
23: PASS : SymbolTest::testConstructor()
23: PASS : SymbolTest::testDecimalSymbolDot()
23: PASS : SymbolTest::testDecimalSymbolComma()
23: PASS : SymbolTest::testDecimalSymbolInvalid()
23: PASS : SymbolTest::cleanupTestCase()
23: Totals: 7 passed, 0 failed, 0 skipped
23: ********* Finished testing of SymbolTest *********
1/1 Test #23: kmymoney-plugin-symboltest ....... Passed 0.04 sec
The following tests passed:
kmymoney-plugin-symboltest
100% tests passed, 0 tests failed out of 1
I'd better look at Ubuntu, but what version of Ubuntu are you?
> Version: SVN trunk (using KDE 1.2)
??
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list