Bug 237870 - KMyMoney crashes on start
Summary: KMyMoney crashes on start
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 21:13 UTC by Andy
Modified: 2010-05-17 08:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2010-05-16 21:13:35 UTC
Application: kmymoney (3.98.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I've downloaded the tarball and compiled the application. On the first launch the window appeared with all those large icons on the left sidebar but before I could click anywhere the window suddenly disappeared.

My whole KDE4 is installed from standard Ubuntu 10.04 deb packages. KMyMoney is the only KDE app compiled from sources. I guess the crash can be related to the fact that I'm working in barebones Xmonad, so if KMyMoney expects some KDE services to be running, this may not be the case.

 -- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f62e9075780 (LWP 25932))]

Thread 2 (Thread 0x7f62d1adb710 (LWP 25937)):
#0  0x00007f62e32baf53 in poll () from /lib/libc.so.6
#1  0x00007f62de3ea4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f62de3ea8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f62e4b3f566 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f62e4b14992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f62e4b14d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f62e4a1ed59 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f62e4af5178 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f62e4a21775 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f62e5c5e9ca in start_thread () from /lib/libpthread.so.0
#10 0x00007f62e32c769d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f62e9075780 (LWP 25932)):
[KCrash Handler]
#5  0x00007f62e4b32e7a in QVariant::QVariant(QString const&) () from /usr/lib/libQtCore.so.4
#6  0x0000000000709637 in QTreeWidgetItem::setText (this=<value optimized out>) at /usr/include/qt4/QtGui/qtreewidget.h:227
#7  KAccountTemplateSelector::slotLoadCountry (this=<value optimized out>) at /home/andy/dist/kmymoney-3.98.0/kmymoney/widgets/kaccounttemplateselector.cpp:224
#8  0x000000000070c83c in KAccountTemplateSelector::qt_metacall (this=0x4336b10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /home/andy/dist/kmymoney-3.98.0/kmymoney/widgets/kaccounttemplateselector.moc:76
#9  0x00007f62e4b28e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007f62e4b3065f in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007f62e4b25a63 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x00007f62e3ecf22c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f62e3ed56fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f62e71b5526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007f62e4b1606c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007f62e4b42d42 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f62e4b3f824 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007f62de3e68c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f62de3ea748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f62de3ea8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f62e4b3f513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f62e3f7f46e in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f62e4b14992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007f62e4b14d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007f62e591c03c in KIO::NetAccess::enter_loop() () from /usr/lib/libkio.so.5
#26 0x00007f62e591c68f in KIO::NetAccess::synchronousRunInternal(KIO::Job*, QWidget*, QByteArray*, KUrl*, QMap<QString, QString>*) () from /usr/lib/libkio.so.5
#27 0x00007f62e591ce41 in KIO::NetAccess::synchronousRun(KIO::Job*, QWidget*, QByteArray*, KUrl*, QMap<QString, QString>*) () from /usr/lib/libkio.so.5
#28 0x00007f62e6aa03b1 in KFileWidget::KFileWidget(KUrl const&, QWidget*) () from /usr/lib/libkfile.so.4
#29 0x00007f62c52dff14 in ?? () from /usr/lib/kde4/kfilemodule.so
#30 0x00007f62e5988132 in KFileDialog::KFileDialog(KUrl const&, QString const&, QWidget*, QWidget*) () from /usr/lib/libkio.so.5
#31 0x00007f62e59c6435 in KUrlRequester::fileDialog() const () from /usr/lib/libkio.so.5
#32 0x00000000005d606d in FilePage (this=0x43670b0, wizard=<value optimized out>) at /home/andy/dist/kmymoney-3.98.0/kmymoney/wizards/newuserwizard/knewuserwizard.cpp:339
#33 0x00000000005d6b26 in Wizard (this=0x2a47b20, parent=<value optimized out>, modal=<value optimized out>, flags=<value optimized out>)
    at /home/andy/dist/kmymoney-3.98.0/kmymoney/wizards/newuserwizard/knewuserwizard.cpp:98
#34 0x000000000049f108 in KMyMoneyApp::slotFileNew (this=0x268cfe0) at /home/andy/dist/kmymoney-3.98.0/kmymoney/kmymoney.cpp:1268
#35 0x000000000045d974 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/andy/dist/kmymoney-3.98.0/kmymoney/main.cpp:266

Reported using DrKonqi
Comment 1 Andy 2010-05-16 21:17:08 UTC
P.S.: the same happens when I try to restart the app. There's a wizard that cannot get past displaying an empty window.
Comment 2 Alvaro Soliverez 2010-05-16 23:04:14 UTC
Do you have DBus installed and running? That's a requirement for KMyMoney.
Comment 3 Andy 2010-05-16 23:22:37 UTC
(In reply to comment #2)
> Do you have DBus installed and running? That's a requirement for KMyMoney.

Yes, it is running and other apps (at least hamster-applet) are using it. I can see that with dbus-monitor. Is there any extra KDE-specific requirement?
Comment 4 Alvaro Soliverez 2010-05-16 23:46:12 UTC
The KDE regional settings. It looks like it's crashing when loading the country account templates.
You should also have Systemsettings installed if you want to change regional settings and stuff like that.
Comment 5 Andy 2010-05-16 23:58:42 UTC
I have systemsettings installed; just launched them and nothing crashes when I browse regional settings there. Can't recall any KDE app that would crash in this very environment; some of them are running all the time (kmix, klipper, kxkb).
Comment 6 Alvaro Soliverez 2010-05-17 00:21:03 UTC
Are you sure KMyMoney is installed correctly? Did you run make install, and are you sure it is pointing to the right directories?
Comment 7 Cristian Oneț 2010-05-17 08:06:03 UTC
SVN commit 1127613 by conet:

BUG: 237870
Fixed a crash when no account templates can be found on the system. This should not happen on a normal installation. There could be several sources of this problem:
1. A bad installation that causes the account template files in the templates dir from the 'appdata' dir to be missing (for example $CMAKE_INSTALL_PREFIX/share/apps/kmymoney/templates/ro_RO/common.kmt is missing)
2. A problem with the environment that causes the KGlobal::dirs() mechanism to not find the application data dir where those files where installed

 M  +4 -1      kaccounttemplateselector.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1127613