Bug 22045

Summary: Skrooge does not download currency and shares information
Product: Mageia Reporter: Pana Sum <panasum>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, mageia, marja11, ouaurelien
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://skrooge.org/node/222
Whiteboard:
Source RPM: skrooge-2.9.0-1.mga6.src.rpm CVE:
Status comment:
Attachments: Installed packages from Updates Testing repository

Description Pana Sum 2017-11-17 14:32:43 CET
Description of problem:

According to https://skrooge.org/node/222 Yahoo is no longer providing currency and shares information.

It is fixed upstream in version 2.10.5. It would be good to update skrooge in Mageia to get this feature back with other providers. If it is not possible to update to the new version, could it be possible to patch 2.9.0 provided with Mageia with the fix?

I can test the package.

Version-Release number of selected component (if applicable):
2.9.0

How reproducible:
Always

Steps to Reproduce:
1. Open skrooge.
2. Add a currency or share.
3. Try to download shares information and you will see the error.
Comment 1 Marja Van Waes 2017-11-17 20:57:34 CET
Assigning to the registered skrooge maintainer.

Or should I have assigned to KDE team, even if kde isn't upstream for skrooge?

Assignee: bugsquad => mageia
CC: (none) => geiger.david68210, marja11

Comment 2 David GEIGER 2017-11-19 06:19:46 CET
Thanks for your report Pana Sum!

skrooge is now updated to the latest upstream bugfixes release 2.10.5 in mga6/Core/Updates_testing repo.

Please test it, thanks in advance.
Comment 3 Pana Sum 2017-11-20 15:29:33 CET
Hello, the new package is crashing. I tested it on a 64 bits Mageia installation.

First, I installed skrooge package but it did not install the following pacakges:

lib64skgbankgui2 lib64skgbankmodeler2 lib64skgbasegui2 lib64skgbasemodeler2

I think they should be installed automatically with skrooge to match the same version. However this does not seem the reason for the crash.

I open skrooge, and it opens and automatically asks for the password of my file. I insert the password and then it crashes after pressing Enter.

I get the following when running from the terminal:

##FATAL: Cannot mix incompatible Qt library (version 0x50603) with this library (version 0x50602)
KCrash: Application 'skrooge' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1001/kdeinit5__0


I also get the following backtrace:

Application: Skrooge (skrooge), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2d6b093840 (LWP 8934))]

Thread 10 (Thread 0x7f2d05418700 (LWP 8946)):
#0  0x00007f2d7f4dd00d in poll () at /lib64/libc.so.6
#1  0x00007f2d70306fb1 in poll_func () at /lib64/libpulse.so.0
#2  0x00007f2d702f8c31 in pa_mainloop_poll () at /lib64/libpulse.so.0
#3  0x00007f2d702f926e in pa_mainloop_iterate () at /lib64/libpulse.so.0
#4  0x00007f2d702f9320 in pa_mainloop_run () at /lib64/libpulse.so.0
#5  0x00007f2d70306f16 in thread () at /lib64/libpulse.so.0
#6  0x00007f2d6cbc19c8 in internal_thread_func () at /usr/lib64/pulseaudio/libpulsecommon-10.0.so
#7  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#8  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f2d07bff700 (LWP 8943)):
#0  0x00007f2d7f4dd00d in poll () at /lib64/libc.so.6
#1  0x00007f2d7ab76c94 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f2d7ab76d9c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f2d7fde5e2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f2d7fd9149a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f2d7fbcb3bc in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f2d7fbcfff9 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#8  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f2d0c878700 (LWP 8942)):
#0  0x00007f2d7b2b5c4f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2d77e08c23 in JSC::GCThread::gcThreadMain() () at /lib64/libQt5WebKit.so.5
#2  0x00007f2d78128141 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQt5WebKit.so.5
#3  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f2d0d079700 (LWP 8941)):
#0  0x00007f2d7b2b5c4f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2d77e08c23 in JSC::GCThread::gcThreadMain() () at /lib64/libQt5WebKit.so.5
#2  0x00007f2d78128141 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQt5WebKit.so.5
#3  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f2d0d87a700 (LWP 8940)):
#0  0x00007f2d7b2b5c4f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2d77e08c23 in JSC::GCThread::gcThreadMain() () at /lib64/libQt5WebKit.so.5
#2  0x00007f2d78128141 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQt5WebKit.so.5
#3  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f2d0e09a700 (LWP 8939)):
#0  0x00007f2d7b2b5c4f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2d77e07bf4 in JSC::BlockAllocator::blockFreeingThreadMain() () at /lib64/libQt5WebKit.so.5
#2  0x00007f2d78128141 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQt5WebKit.so.5
#3  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f2d4f12c700 (LWP 8938)):
#0  0x00007f2d7b2b5c4f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2d780f929b in WTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5WebKit.so.5
#2  0x00007f2d780f92d9 in  () at /lib64/libQt5WebKit.so.5
#3  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f2d5bfff700 (LWP 8936)):
#0  0x00007f2d7f4dd00d in poll () at /lib64/libc.so.6
#1  0x00007f2d7ab76c94 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f2d7ab76d9c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f2d7fde5e2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f2d7fd9149a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f2d7fbcb3bc in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f2d7c939635 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f2d7fbcfff9 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#9  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f2d618a4700 (LWP 8935)):
#0  0x00007f2d7f4dd00d in poll () at /lib64/libc.so.6
#1  0x00007f2d73002902 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f2d73004657 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f2d637d9be9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f2d7fbcfff9 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f2d7b2b066d in start_thread () at /lib64/libpthread.so.0
#6  0x00007f2d7f4e8e4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f2d6b093840 (LWP 8934)):
[KCrash Handler]
#6  0x00007f2d7f426818 in raise () at /lib64/libc.so.6
#7  0x00007f2d7f427f2a in abort () at /lib64/libc.so.6
#8  0x000000000040424b in SKGMessageOutput(QtMsgType, QMessageLogContext const&, QString const&) (type=<optimized out>, context=..., msg=...) at /usr/src/debug/skrooge-2.10.5/skrooge/main.cpp:64
#9  0x00007f2d7fbb66c8 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () at /lib64/libQt5Core.so.5
#10 0x00007f2d7fbb7f56 in QMessageLogger::fatal(char const*, ...) const () at /lib64/libQt5Core.so.5
#11 0x00007f2d7fdbc18d in  () at /lib64/libQt5Core.so.5
#12 0x00007f2cbb9896d8 in QSqlDriverPrivate::QSqlDriverPrivate() (this=0x2285a00) at /usr/lib64/qt5/include/QtSql/5.6.3/QtSql/private/qsqldriver_p.h:64
#13 0x00007f2cbb9896d8 in QSQLiteDriverPrivate::QSQLiteDriverPrivate() (this=0x2285a00) at /usr/src/debug/skrooge-2.10.5/skgsqlcipher/old-qsql_sqlite.cpp:139
#14 0x00007f2cbb9896d8 in QSQLiteDriver::QSQLiteDriver(QObject*) (this=0x2054c80, parent=0x0) at /usr/src/debug/skrooge-2.10.5/skgsqlcipher/old-qsql_sqlite.cpp:565
#15 0x00007f2cbb988063 in SKGSQLCipherDriverPlugin::create(QString const&) (this=<optimized out>, iName=...) at /usr/src/debug/skrooge-2.10.5/skgsqlcipher/skgsqlcipherdriverplugin.cpp:45
#16 0x00007f2d81de0e32 in QSqlDatabasePrivate::init(QString const&) () at /lib64/libQt5Sql.so.5
#17 0x00007f2d81de1321 in QSqlDatabase::addDatabase(QString const&, QString const&) () at /lib64/libQt5Sql.so.5
#18 0x00007f2d8153cf74 in SKGDocument::load(QString const&, QString const&, bool, bool) (this=0x7ffc011e5840, iName=..., iPassword=..., iRestoreTmpFile=<optimized out>, iForceReadOnly=<optimized out>) at /usr/src/debug/skrooge-2.10.5/skgbasemodeler/skgdocument.cpp:1321
#19 0x00007f2d513f0796 in SKGFilePlugin::onOpen(QUrl const&) (this=0x1e227b0, iUrl=...) at /usr/src/debug/skrooge-2.10.5/plugins/generic/skg_file/skgfileplugin.cpp:470
#20 0x00007f2d7fdbf3aa in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#21 0x00007f2d806a5d0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#22 0x00007f2d806aae76 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#23 0x00007f2d7fd93628 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#24 0x00007f2d7fd9544b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#25 0x00007f2d7fde59f3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#26 0x00007f2d7ab76ac7 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#27 0x00007f2d7ab76cf8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#28 0x00007f2d7ab76d9c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#29 0x00007f2d7fde5e06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#30 0x00007f2d7fd93719 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) () at /lib64/libQt5Core.so.5
#31 0x00007f2d8083a4aa in QSplashScreen::finish(QWidget*) () at /lib64/libQt5Widgets.so.5
#32 0x0000000000404052 in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/skrooge-2.10.5/skrooge/main.cpp:183
Comment 4 Pana Sum 2017-11-27 21:52:00 CET
Created attachment 9806 [details]
Installed packages from Updates Testing repository

I installed all qt-related packages available in Updates Testing repository and now skrooge is working. I have attached the list of updated packages. Currency information is now downloaded properly.

It seems that skrooge is compiled against a different version of qt?
Comment 5 Yann Ciret 2018-01-13 15:56:40 CET
Hello,

I confirm skrooge need all 5.6.3 qt packages to be installed to works.

I'm just testing and the test version works fine for me on my x86_64 computer.

CC: (none) => mageia

Comment 6 Aurelien Oudelet 2020-08-14 16:21:29 CEST
This message is a reminder that Mageia 6 is end of life.

Mageia stopped maintaining and issuing updates for Mageia 6. At that time this bug will be closed as OLD (EOL).

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 6's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we cannot 
be able to fix it before Mageia 6 was end of life.
If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad

Resolution: (none) => OLD
CC: (none) => ouaurelien
Status: NEW => RESOLVED