Bug 288265

Summary: KMyMoney crashed after entering transaction
Product: [Applications] kmymoney Reporter: tikhomirov.devel
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tikhomirov.devel 2011-12-05 13:13:16 UTC
Application: kmymoney (4.6.0)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

1. Run the application.
2. Open an account in Ledgers.
3. Create a new transaction.
4. Input details (Date, Amount, etc.).
5. Enter transaction. => KMyMoney crashes

- Console output:

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(kmymoney:6991): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
kmymoney(6991)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 1 offers for "Print check"
kmymoney(6991)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "KBanking"
kmymoney(6991)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "KMyMoney OFX"
kmymoney(6991)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "csvimport"
kmymoney(6991)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Reconciliation report"
kmymoney(6991)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 1 offers for "iCalendar"
KMyMoney printcheck plugin loaded
kmymoney(6991)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QFSFileEngine::open: No file name specified
7:2011/12/05 21-43-52:aqbanking(6991):started
KMyMoney kbanking plugin loaded
KMyMoney ofximport plugin loaded
KMyMoney csvimport plugin loaded
KMyMoney reconciliation report plugin loaded
KMyMoney iCalendar plugin loaded
reading file
start parsing file
startDocument
reading accounts
reading transactions
reading securities
reading currencies
reading prices
reading reports
endDocument
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QFile::flush: No file engine. Is IODevice open?
QFile::remove: Empty or null file name
KCrash: Application 'kmymoney' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/user/.kde4/socket-suse-home/kdeinit4__0
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...

[1]+  Stopped                 kmymoney

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

Thread 3 (Thread 0x7f5d83ef9700 (LWP 6462)):
#0  0x00007f5d951a0423 in poll () from /lib64/libc.so.6
#1  0x00007f5d8fff4a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5d8fff52c2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5d8a15c946 in ?? () from /usr/lib64/libgio-2.0.so.0
#4  0x00007f5d90019db6 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f5d97da5f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5d951a953d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5d7896b700 (LWP 6463)):
#0  0x00007f5d951a0423 in poll () from /lib64/libc.so.6
#1  0x00007f5d8fff4a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5d8fff4f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5d96c7a576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f5d96c4ea22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f5d96c4ec1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f5d96b665df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f5d96c31aef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f5d96b69025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f5d97da5f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5d951a953d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5d9a9b6760 (LWP 6460)):
[KCrash Handler]
#6  0x00007f5d96c4f80d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#7  0x00007f5d9635462a in QInputContext::sendEvent(QInputMethodEvent const&) () from /usr/lib64/libQtGui.so.4
#8  0x00007f5d963545d8 in QInputContext::sendEvent(QInputMethodEvent const&) () from /usr/lib64/libQtGui.so.4
#9  0x00007f5d79fb3ab5 in IBusInputContext::displayPreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so
#10 0x00007f5d79fb3d4b in IBusInputContext::slotUpdatePreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so
#11 0x00007f5d79fb7e6e in IBusInputContext::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so
#12 0x00007f5d96c6259a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007f5d79a39ff9 in IBus::InputContext::updatePreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib64/libibus-qt.so.1
#14 0x00007f5d79a2df25 in IBus::InputContext::slotUpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib64/libibus-qt.so.1
#15 0x00007f5d79a39da0 in IBus::InputContext::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libibus-qt.so.1
#16 0x00007f5d96c6259a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007f5d79a396e9 in IBusInputContextProxy::UpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib64/libibus-qt.so.1
#18 0x00007f5d79a38c28 in IBusInputContextProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libibus-qt.so.1
#19 0x00007f5d968989fb in ?? () from /usr/lib64/libQtDBus.so.4
#20 0x00007f5d968a1d5f in ?? () from /usr/lib64/libQtDBus.so.4
#21 0x00007f5d96c6614a in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#22 0x00007f5d95da6be4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f5d95daba71 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f5d98fcae36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#25 0x00007f5d96c4f81c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x00007f5d96c52bf8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#27 0x00007f5d96c7a0b3 in ?? () from /usr/lib64/libQtCore.so.4
#28 0x00007f5d8fff458d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f5d8fff4d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f5d8fff4f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f5d96c7a50f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007f5d95e49f2e in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007f5d96c4ea22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007f5d96c4ec1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f5d96c52de7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#36 0x000000000045cedd in _start ()

Possible duplicates by query: bug 277400, bug 276454, bug 272769, bug 272631, bug 269540.

Reported using DrKonqi
Comment 1 Cristian OneČ› 2011-12-05 13:38:56 UTC
Since this is a long standing bug which we didn't manage to fix yet since we don't use IBus I'm going to ask this:

If the bug is fairly easy to reproduce could you try the following:
run in a shell 'QT_IM_MODULE="" kmymoney'
And see if the application does better at entering transactions. Please report back.

*** This bug has been marked as a duplicate of bug 272631 ***
Comment 2 tikhomirov.devel 2011-12-06 12:41:39 UTC
Hello,

I tried what you suggested. It helps. With

QT_IM_MODULE="" kmymoney

I couldn't reproduce the bug.

Thank you.

On Mon, Dec 5, 2011 at 10:38 PM, Cristian Onet <onet.cristian@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=288265
>
>
> Cristian Onet <onet.cristian@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |RESOLVED
>         Resolution|                            |DUPLICATE
>
>
>
>
> --- Comment #1 from Cristian Onet <onet cristian gmail com>  2011-12-05
> 13:38:56 ---
> Since this is a long standing bug which we didn't manage to fix yet since
> we
> don't use IBus I'm going to ask this:
>
> If the bug is fairly easy to reproduce could you try the following:
> run in a shell 'QT_IM_MODULE="" kmymoney'
> And see if the application does better at entering transactions. Please
> report
> back.
>
> *** This bug has been marked as a duplicate of bug 272631 ***
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Cristian OneČ› 2011-12-06 12:55:59 UTC
OK, so with that we now definitely know that the crash only occurs in combination with the ibus input method. We also have a workaround, we just need to checkout if this bug is really in kmymoney or somewhere upstream/downstream.
Thanks for your feedback.