Xneur crashes when using virtual keyboard

Bug #1052918 reported by mrDoctorWho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
X Neural Switcher
Triaged
High
Unassigned

Bug Description

Xneur crashes at every time when press any button on virtual keyboard. I try it on matchbox-keyboard and onboard and florence 0.5.3
xUbuntu 12.04 (xfce 4.10), xneur 0.15.0, matchboard-keyboard-0.1, X.Org X Server 1.11.3

Changed in xneur:
assignee: nobody → mrDoctorWho (mrdoctorwho)
assignee: mrDoctorWho (mrdoctorwho) → nobody
Revision history for this message
Alexey Shil (ashl1future) wrote :

Cannot confirm on Gentoo with xneur-0.15.0 and matchboard-keyboard-0.1.
Please:
1. Attach full log with (Trace log option enabled on config)
2. Attach xneurrc config file
3. Attach backtrace of crash
4. Write you distribution and xneur, matchbox-keyboard versions

Changed in xneur:
importance: Undecided → High
Revision history for this message
mrDoctorWho (mrdoctorwho) wrote :

xUbuntu 12.04 (xfce 4.10), xneur 0.15.0, matchboard-keyboard-0.1. X.Org X Server 1.11.3

tags: added: florence
description: updated
summary: - Xneur + onboard (or matchbox-keyboard) = crash
+ Xneur crashes when using virtual keyboard
description: updated
tags: added: 0.15.0
Revision history for this message
Alexey Shil (ashl1future) wrote :

Don't see program crashes in your log and no backtrace was provided. Ok. Lets try to locate error.
Please do the following actions.

1. Install xneur-debug and gdb:
apt-get install xneur-dbg gdb
2. Run xneur wit logging:
xneur &> xneur.log
3. Use russian language first. Write by hardware keyboard (if you can use that kind of keyboard):
привет + Space
4. Continue writing in russian layout but in virtual keyboard:
цщкдв + Space
5. Attach full log. Ok, if program will be crashed on step 4.
6. Run xneur in GDB:
gdb xneur
write down: r + enter
7. Press virtual keys to make xneur crash
8. Return to the gdb. You can see that GDB will be stopped. Write:
thread apply all bt
9. GDB may ask your to press some keys to scroll down the baktrace. Attach the whole backtrace info with the type of error (info when GDB will be stopped immediately after xneur crash).

Revision history for this message
mrDoctorWho (mrdoctorwho) wrote :

GDB don't stop automatically. I think that xNeur restarts or i doing something wrong.

Revision history for this message
Alexey Shil (ashl1future) wrote :

Ok. So why do you think the program was crashed?
Anyway, please, do the stps 2-5. They must work in any case.

Revision history for this message
mrDoctorWho (mrdoctorwho) wrote :

At laeast crashes gXneur: tray icon disappears and then shows again. In top i can see that XNeur and gXneur using CPU so high.

Revision history for this message
mrDoctorWho (mrdoctorwho) wrote :

I think that xneur crashes here:
a[TRA] 00:08:48 Получено MappingNotify (тип события 34)
[DBG] 00:08:48 Текущие данные строки очищены
[DBG] 00:08:48 Используется локаль ru_RU.UTF-8
[DBG] 00:08:48 Теперь раскладок 1
[TRA] 00:09:02 Получено MappingNotify (тип события 34)
[DBG] 00:09:02 Текущие данные строки очищены
[DBG] 00:09:03 Используется локаль ru_RU.UTF-8
[DBG] 00:09:03 Теперь раскладок 2
a[TRA] 00:09:11 Получено MappingNotify (тип события 34)
[DBG] 00:09:11 Текущие данные строки очищены
[DBG] 00:09:12 Используется локаль ru_RU.UTF-8
[DBG] 00:09:12 Теперь раскладок 1

(Any line that starts with "a" it's a pressing english "a" on virtual keyboard. I know that it is not trace, but how programmer i think that place with error can help you.

Revision history for this message
Alexey Shil (ashl1future) wrote :

Ok. Seems crashes only gXneur, not XNeur, due to the process id wasn't changed (see you attached log). And reloading configuration (see in log file) said about GXneur restarting.
Your log in comment don't say about crash. Seems when you press virtual key it handle only 1 layout (you use in virtual keyabord). And this situation may confuse GXneur and make its crash.
Lets confirm this.
1. Change debugging to gxneur. Close all running GXneurs. Start from terminal:
gdb gxneur
2. Print: r + enter
3. Press any virtual key
4. Change focus to terminal, when GDB was started and:
thread apply all bt
5. Attach backtrace

Then. Close all XNeur and GXneur instances. Run XNuer from terminal:
1. xneur
2. Change focus to text editor or smth else.
3. Write with virtual keyboard words to force change layout. For example: привет цщкдв печатать
4. Ensure that XNeur works. The printed text above should be: привет world печатать

Revision history for this message
mrDoctorWho (mrdoctorwho) wrote :

GDB don't stop. I see this:
[Thread 0xb6ce8840 (LWP 2105) exited]
[Thread 0xb64fbb40 (LWP 2110) exited]
[Inferior 1 (process 2105) exited normally]
(gdb) bИспользуется libxnconfig API версии 0.15.0 (собрано с 0.15.0)
And gxneur (or xneur) restarts infinitely.

Revision history for this message
mrDoctorWho (mrdoctorwho) wrote :

xNeur (just it, without gXneur) with onboard do all what i wrote earlier. Maybe dont crash, but uses CPU so high when i press buttons on onboard.

Revision history for this message
mrDoctorWho (mrdoctorwho) wrote :

Today apport wrote crash file. Maybe it can help you.

Revision history for this message
Alexey Shil (ashl1future) wrote :

Xneur crash backtrace extracted from user's coredump

Changed in xneur:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.