[Kmymoney-devel] [Bug 266901] New: KMyMoney crashes when inputing accented letter in category field

Ricardo Graça ricardo at devius.net
Tue Feb 22 17:55:34 CET 2011


https://bugs.kde.org/show_bug.cgi?id=266901

           Summary: KMyMoney crashes when inputing accented letter in
                    category field
           Product: kmymoney4
           Version: 4.5.2
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: ricardo at devius.net


Application: kmymoney (4.5.2)
KDE Platform Version: 4.5.5 (KDE 4.5.5) "release 1"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.7-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
When trying to input an accented "e" letter (é) into the category field, the
program crashed. I have categories with that letter, so the autocompletion box
should pop out. If there are no categories with the accented letters, the
program doesn't crash. So I suspect it's related to the autocompletion box
poping up. For some strange reason the crash only occurs after the completion
box pops up at least once and is closed afterwards. On the next accented letter
input that would trigger an autocompletion box to pop-up the crash happens. If
the autocompletion box is already visible then it doesn't crash and I can type
all the accented letters I want.

In order to reproduce this bug there must be a category with an accented letter
already and then just follow these steps:

1. make a new transaction;
2. input an accented letter that will pop up an autocompletion box in the
category field;
3. click away from the completion box to close it;
4. clear the category input field and try to input the same accented letter
again;
5. crash!

Conclusion: Qt is pretty screwed up when it comes to accented letters.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fbc12dd6710 (LWP 11461)):
#0  0x00007fbc292b4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fbc28112222 in wait (this=<value optimized out>, mutex=0x116aa50,
time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x116aa50,
time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fbc281080d0 in QThreadPoolThread::run (this=0x116ab20) at
concurrent/qthreadpool.cpp:140
#4  0x00007fbc28111bf5 in QThreadPrivate::start (arg=0x116ab20) at
thread/qthread_unix.cpp:248
#5  0x00007fbc292afa4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbc267ad82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbc2bc0a760 (LWP 11460)):
[KCrash Handler]
#6  deref (this=0x2010258, other=@0x7fff5e03fa80) at
../../src/corelib/arch/qatomic_x86_64.h:133
#7  QString::operator= (this=0x2010258, other=@0x7fff5e03fa80) at
tools/qstring.cpp:1281
#8  0x00007fbc2790a97e in QXIMInputContext::ICData::clear (this=0x2010240) at
inputmethod/qximinputcontext_x11.cpp:288
#9  0x00007fbc2790afb5 in QXIMInputContext::x11FilterEvent (this=0x1f86dd0,
keywidget=<value optimized out>, event=<value optimized out>) at
inputmethod/qximinputcontext_x11.cpp:685
#10 0x00007fbc273ee91f in QApplication::x11ProcessEvent (this=0xbf8d30,
event=0x7fff5e0401b0) at kernel/qapplication_x11.cpp:3210
#11 0x00007fbc27415492 in x11EventSourceDispatch (s=0xbfcbd0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#12 0x00007fbc21a44a93 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#13 0x00007fbc21a45270 in ?? () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fbc21a45510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#15 0x00007fbc2822167f in QEventDispatcherGlib::processEvents (this=0xbd9e90,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#16 0x00007fbc2741514e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#17 0x00007fbc281f8292 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#18 0x00007fbc281f8495 in QEventLoop::exec (this=0x7fff5e0404d0, flags=...) at
kernel/qeventloop.cpp:201
#19 0x00007fbc281fc88b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1003
#20 0x0000000000458bee in main (argc=1, argv=0x7fff5e0410a8) at
/usr/src/debug/kmymoney-4.5.2/kmymoney/main.cpp:260

Reported using DrKonqi

-- 
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