Version: SVN trunk (using KDE 4.6.0) OS: Linux Application: KMyMoney (kmymoney), signal: Segmentation fault [KCrash Handler] #7 0xaf9c22ad in ?? () from /usr/lib/kde4/kmm_kbanking.so #8 0x080b1b94 in KMyMoneyApp::slotAccountMapOnline (this=0x8703728) at /usr/local/svn/kmymoney/kmymoney/kmymoney.cpp:6891 #9 0x080dd4b5 in KMyMoneyApp::qt_metacall (this=0x8703728, _c=QMetaObject::InvokeMetaMethod, _id=100, _a=0xbfa93ba8) at /usr/local/svn/kmymoney/build/kmymoney/kmymoney.moc:503 #10 0xb62be8ad in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #11 0xb62cea0c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #12 0xb575e2bd in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #13 0xb575e55b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #14 0xb5c10fe5 in ?? () from /usr/lib/libQtGui.so.4 #15 0xb5c17c07 in ?? () from /usr/lib/libQtGui.so.4 #16 0xb5c18ad5 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #17 0xb6c7a55c in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5 #18 0xb57c05b0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #19 0xb5c18ffc in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4 #20 0xb5765414 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #21 0xb576ec20 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #22 0xb6cb51f1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #23 0xb62b7fbe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #24 0xb576645c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #25 0xb57f2206 in ?? () from /usr/lib/libQtGui.so.4 #26 0xb57f113e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #27 0xb581b960 in ?? () from /usr/lib/libQtGui.so.4 #28 0xb4902509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #29 0xb4902d10 in ?? () from /lib/libglib-2.0.so.0 #30 0xb4902fce in g_main_context_iteration () from /lib/libglib-2.0.so.0 #31 0xb62e674b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #32 0xb581b55a in ?? () from /usr/lib/libQtGui.so.4 #33 0xb62b729d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #34 0xb62b74c9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #35 0xb5c14ef7 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4 #36 0x0809e6c7 in KMyMoneyApp::showContextMenu (this=0x8703728, containerName=...) at /usr/local/svn/kmymoney/kmymoney/kmymoney.cpp:5730 #37 0x0809e950 in KMyMoneyApp::slotShowAccountContextMenu (this=0x8703728, obj=...) at /usr/local/svn/kmymoney/kmymoney/kmymoney.cpp:5769 #38 0x080dd853 in KMyMoneyApp::qt_metacall (this=0x8703728, _c=QMetaObject::InvokeMetaMethod, _id=144, _a=0xbfa94fd8) at /usr/local/svn/kmymoney/build/kmymoney/kmymoney.moc:553 #39 0xb62be8ad in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #40 0xb62cea0c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #41 0x08189733 in KInstitutionsView::openContextMenu (this=0x88dc680, _t1=...) at /usr/local/svn/kmymoney/build/kmymoney/views/kinstitutionsview.moc:111 #42 0x0818990d in KInstitutionsView::qt_metacall (this=0x88dc680, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa950f8) at /usr/local/svn/kmymoney/build/kmymoney/views/kinstitutionsview.moc:87 #43 0xb62be8ad in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #44 0xb62cea0c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #45 0x081f83b3 in KMyMoneyAccountTreeView::openContextMenu (this=0x887dd40, _t1=...) at /usr/local/svn/kmymoney/build/kmymoney/widgets/kmymoneyaccounttreeview.moc:119 #46 0x081f8dbe in KMyMoneyAccountTreeView::customContextMenuRequested (this=0x887dd40, pos=...) at /usr/local/svn/kmymoney/kmymoney/widgets/kmymoneyaccounttreeview.cpp:99 #47 0x081fa1e5 in KMyMoneyAccountTreeView::qt_metacall (this=0x887dd40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa95488) at /usr/local/svn/kmymoney/build/kmymoney/widgets/kmymoneyaccounttreeview.moc:99 #48 0xb62be8ad in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #49 0xb62cea0c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #50 0xb57b5a75 in QWidget::customContextMenuRequested(QPoint const&) () from /usr/lib/libQtGui.so.4 #51 0xb57c134e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #52 0xb5bceed5 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #53 0xb5c608a1 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #54 0xb5d04ad4 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #55 0xb5d501f6 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #56 0xb5c63196 in ?? () from /usr/lib/libQtGui.so.4 #57 0xb62b8156 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #58 0xb57653e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #59 0xb576e478 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #60 0xb6cb51f1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #61 0xb62b7fbe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #62 0xb57f20a7 in ?? () from /usr/lib/libQtGui.so.4 #63 0xb57f113e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #64 0xb581b960 in ?? () from /usr/lib/libQtGui.so.4 #65 0xb4902509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #66 0xb4902d10 in ?? () from /lib/libglib-2.0.so.0 #67 0xb4902fce in g_main_context_iteration () from /lib/libglib-2.0.so.0 #68 0xb62e674b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #69 0xb581b55a in ?? () from /usr/lib/libQtGui.so.4 #70 0xb62b729d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #71 0xb62b74c9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #72 0xb62bbf70 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #73 0xb5763104 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #74 0x0808cc56 in runKMyMoney (a=<value optimized out>, splash=0xbfa96600) at /usr/local/svn/kmymoney/kmymoney/main.cpp:282 #75 0x0808ef07 in main (argc=) at /usr/local/svn/kmymoney/kmymoney/main.cpp:181 Der Crash erfolgt bei 4.6.0 und höhereren SVN-Versionen von kmymoney. Aqbanking einrichten läuft wieder ganz hervorragend. Bitte bei Postbank in den weiteren Einstellungen force SSLv3 stndardmäßig aktivieren. vmlinux-i586:/usr/local/svn/kmymoney/build # /usr/local/bin/kmymoney -v Qt: 4.7.1 KDE: 4.6.00 (4.6.0) "release 6" KMyMoney: 4.6.90-svn1258910 vmlinux-i586:/usr/local/svn/kmymoney/build # aqbanking-config --vstring 5.0.16 vmlinux-i586:/usr/local/svn/kmymoney/build # gwenhywfar-config --vstring 4.3.0 vmlinux-i586:/usr/local/svn/kmymoney/build # cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.7.1 (using /usr/bin/qmake) -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/libX11.so -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Found Phonon: /usr/include -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Failed -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Found KDE 4.6 include dir: /usr/include -- Found KDE 4.6 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Boost version: 1.44.0 -- Found the following Boost libraries: -- graph -- Found gpgme-config at /usr/bin/gpgme-config -- Found gpgme v1.3.0, checking for flavours... -- Found flavour 'vanilla', checking whether it's usable...yes -- Found flavour 'pthread', checking whether it's usable...yes -- Found flavour 'pth', checking whether it's usable...no -- (dependant library pth wasn't found) -- Usable gpgme flavours found: vanilla pthread -- Found QGpgme: /usr/lib/libqgpgme.so -- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake -- Found SharedMimeInfo: /usr/bin/update-mime-database (found version "0.90", required is "0.18") -- Found Doxygen: /usr/bin/doxygen -- Found GMP: /usr/include -- checking for module 'libalkimia>=4.3.1' -- found libalkimia, version 4.3.1 -- Found LibAlkimia: /usr/lib/libalkimia.so -- checking for modules 'libxml-2.0;libxml++-2.6;glib-2.0;glibmm-2.4' -- package 'libxml++-2.6' not found -- package 'glibmm-2.4' not found -- Looking for atoll -- Looking for atoll - found -- Looking for round -- Looking for round - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of char* -- Check size of char* - done -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- Check size of short -- Check size of short - done -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned long -- Check size of unsigned long - done -- Check size of long double -- Check size of long double - done -- checking for module 'libofx>=0.9.4' -- package 'libofx>=0.9.4' not found -- checking for module 'gwenhywfar>=4.0.0' -- found gwenhywfar, version 4.3.0 -- checking for module 'gwengui-qt4' -- found gwengui-qt4, version 4.3.0 -- checking for module 'aqbanking>=5.0.0' -- found aqbanking, version 5.0.16 -- Found Libical version 0.44 -- Found LIBICAL: /usr/lib/libical.so;/usr/lib/libicalss.so -- Looking for RPMTools... - found rpmuild is /usr/bin/rpmbuild -- RPMTools:: Using RPM_ROOTDIR=/usr/local/svn/kmymoney/build/RPM -- Configuring spec file <RPM/SPECS/kmymoney.spec> -- RPMTools:: Using RPM_ROOTDIR=/usr/local/svn/kmymoney/build/RPM -- Configuring spec file <RPM/SPECS/kmymoney-unstable.spec> -------- KMyMoney 4.6.90-svn1258910 -------- Configure results (user options): -------------------------------------------- OFX plugin: no KBanking plugin: yes iCalendar export plugin: yes -------------------------------------------- Configure results (developer options): -------------------------------------------- Qt-Designer library support: no Generate developer documentation: no Build unit tests: no Generate API documentation with Doxygen: yes Build type: RelWithDebInfo -------------------------------------------- Good - your configure finished. Now type 'make' to build KMyMoney. For more help, consult README.cmake -- Configuring done -- Generating done -- Build files have been written to: /usr/local/svn/kmymoney/build Reproducible: Always Steps to Reproduce: configure aqbanking then assign an online bank account Expected Results: crashed everytime: Segmentation fault
Could it be, that you have a version mix on your system? Reasons why I think you have: a) seems that you have compiled the project from source such that debug symbols are contained in the backtrace. But they are missing for the plugin ( /usr/lib/kde4/kmm_kbanking.so). b) your program runs out of /usr/local/bin but the plugin is loaded from /usr/lib/kde4. Please check and make sure you only have one installation. You cannot have two versions in parallel.
I have a version mix. I have deleted the Distribution packet. I compiled with cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local ... . Now the plugins for Onlinebanking not loaded, but the library exist in /usr/local/lib/kde4. vmlinux-i586:/usr/local # tree lib/ lib/ ├── kde4 │ ├── kcm_kmm_icalendarexport.so │ ├── kcm_kmm_printcheck.so │ ├── kmm_csvimport.so │ ├── kmm_icalendarexport.so │ ├── kmm_kbanking.so │ ├── kmm_printcheck.so │ └── kmm_reconciliationreport.so ├── libkmm_kdchart.so -> libkmm_kdchart.so.4 ├── libkmm_kdchart.so.4 -> libkmm_kdchart.so.4.6.0 ├── libkmm_kdchart.so.4.6.0 ├── libkmm_mymoney.so -> libkmm_mymoney.so.4 ├── libkmm_mymoney.so.4 -> libkmm_mymoney.so.4.6.0 ├── libkmm_mymoney.so.4.6.0 ├── libkmm_plugin.so -> libkmm_plugin.so.4 ├── libkmm_plugin.so.4 -> libkmm_plugin.so.4.6.0 ├── libkmm_plugin.so.4.6.0 ├── libkmm_widgets.so -> libkmm_widgets.so.4 ├── libkmm_widgets.so.4 -> libkmm_widgets.so.4.6.0 └── libkmm_widgets.so.4.6.0 Only when I compile the source with cmake .. -DCMAKE_INSTALL_PREFIX=/usr the application works fine. Why exist the prefix-option? Why the libraries not linked for the prefix ?
Well, this is a KDE configuration problem on your end. For KDE to search plugins in other directories (such as /usr/local/...) you need to tell it to do so. This is not a KMyMoney issue, since you noted, that it works when installed in the KDE space. "kde4-config --path module" tells you where KDE searches for the plugins.