calculator window freezes after asterisk is pressed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-calculator (Ubuntu) |
New
|
High
|
Unassigned | ||
uim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After upgrade to ubuntu 16.04 the problem appeared in calculator: if one uses keyboard for expression input, the calculator window freezes forever after asterisk ('*' — shift+8) is pressed. If the on-screen multiplication sign is pressed instead, the problem doesn't occur.
I tried with my default locale (Russian) and with the English one (LANG=C LC_ALL=en_US.utf8 LANGUAGE=en) as well, the problem remains in both cases. The calculator mode (basic/
If I interrupt the execution from the gdb at the moment of freeze, the stacktrace is slightly different from run to run:
%%%
(gdb) thread apply all where
Thread 4 (Thread 0x7fffe3df2700 (LWP 31184)):
#0 0x00007ffff5a93e8d in poll () at ../sysdeps/
#1 0x00007ffff621c31c in ?? () from /lib/x86_
#2 0x00007ffff621c42c in g_main_
#3 0x00007fffe3dfa28d in ?? () from /usr/lib/
#4 0x00007ffff6242b45 in ?? () from /lib/x86_
#5 0x00007ffff5d696fa in start_thread (arg=0x7fffe3df
#6 0x00007ffff5a9fb5d in clone () at ../sysdeps/
Thread 3 (Thread 0x7fffe8e1b700 (LWP 31183)):
#0 0x00007ffff5a93e8d in poll () at ../sysdeps/
#1 0x00007ffff621c31c in ?? () from /lib/x86_
#2 0x00007ffff621c6a2 in g_main_loop_run () from /lib/x86_
#3 0x00007ffff681a906 in ?? () from /usr/lib/
#4 0x00007ffff6242b45 in ?? () from /lib/x86_
#5 0x00007ffff5d696fa in start_thread (arg=0x7fffe8e1
#6 0x00007ffff5a9fb5d in clone () at ../sysdeps/
Thread 2 (Thread 0x7fffe961c700 (LWP 31182)):
#0 0x00007ffff5a93e8d in poll () at ../sysdeps/
#1 0x00007ffff621c31c in ?? () from /lib/x86_
#2 0x00007ffff621c42c in g_main_
#3 0x00007ffff621c469 in ?? () from /lib/x86_
#4 0x00007ffff6242b45 in ?? () from /lib/x86_
#5 0x00007ffff5d696fa in start_thread (arg=0x7fffe961
#6 0x00007ffff5a9fb5d in clone () at ../sysdeps/
Thread 1 (Thread 0x7ffff7f0bb40 (LWP 31180)):
#0 0x00007ffff5a93e8d in poll () at ../sysdeps/
#1 0x00007ffff00cec62 in ?? () from /usr/lib/
#2 0x00007ffff00d0617 in ?? () from /usr/lib/
#3 0x00007ffff00d0721 in xcb_wait_for_reply () from /usr/lib/
#4 0x00007ffff4692a47 in _XReply () from /usr/lib/
#5 0x00007ffff4678afd in XGetWindowProperty () from /usr/lib/
#6 0x00007ffff46c2627 in ?? () from /usr/lib/
#7 0x00007ffff46c34d7 in ?? () from /usr/lib/
#8 0x00007ffff46c37b1 in _XimRead () from /usr/lib/
#9 0x00007ffff46b5abd in ?? () from /usr/lib/
#10 0x00007ffff46b0e50 in ?? () from /usr/lib/
#11 0x00007fffe25ddf82 in ?? () from /usr/lib/
#12 0x00007ffff73fdb53 in ?? () from /usr/lib/
#13 0x00007ffff7504264 in ?? () from /usr/lib/
#14 0x00007ffff7b8b18d in ?? () from /usr/lib/
#15 0x00007ffff741d30c in ?? () from /usr/lib/
#16 0x00007ffff64f2eff in g_closure_invoke () from /usr/lib/
#17 0x00007ffff650556e in ?? () from /usr/lib/
#18 0x00007ffff650d7f9 in g_signal_
#19 0x00007ffff650e555 in g_signal_
#20 0x0000000000415b7d in ?? ()
#21 0x00007ffff741d3f9 in ?? () from /usr/lib/
#22 0x00007ffff64f3122 in ?? () from /usr/lib/
#23 0x00007ffff650d4b8 in g_signal_
#24 0x00007ffff650e08f in g_signal_emit () from /usr/lib/
#25 0x00007ffff755ae5c in ?? () from /usr/lib/
#26 0x00007ffff757aeeb in gtk_window_
#27 0x00007ffff757e36b in ?? () from /usr/lib/
#28 0x000000000041c467 in ?? ()
#29 0x00007ffff741d3f9 in ?? () from /usr/lib/
#30 0x00007ffff64f31d4 in ?? () from /usr/lib/
#31 0x00007ffff650d4b8 in g_signal_
#32 0x00007ffff650e08f in g_signal_emit () from /usr/lib/
#33 0x00007ffff755ae5c in ?? () from /usr/lib/
#34 0x00007ffff741a809 in ?? () from /usr/lib/
#35 0x00007ffff741c51c in gtk_main_do_event () from /usr/lib/
#36 0x00007ffff6f89ba2 in ?? () from /usr/lib/
#37 0x00007ffff621c127 in g_main_
#38 0x00007ffff621c380 in ?? () from /lib/x86_
#39 0x00007ffff621c42c in g_main_
#40 0x00007ffff67e3ccd in g_application_run () from /usr/lib/
#41 0x000000000040ced5 in calculator_main ()
#42 0x00007ffff59b9830 in __libc_start_main (main=0x40bba0 <main>, argc=1, argv=0x7fffffff
fini=<optimized out>, rtld_fini=
#43 0x000000000040bbe9 in _start ()
%%%
%%%
(gdb) thread apply all where
Thread 4 (Thread 0x7fffe3df2700 (LWP 31173)):
#0 0x00007ffff5a93e8d in poll () at ../sysdeps/
#1 0x00007ffff621c31c in ?? () from /lib/x86_
#2 0x00007ffff621c42c in g_main_
#3 0x00007fffe3dfa28d in ?? () from /usr/lib/
#4 0x00007ffff6242b45 in ?? () from /lib/x86_
#5 0x00007ffff5d696fa in start_thread (arg=0x7fffe3df
#6 0x00007ffff5a9fb5d in clone () at ../sysdeps/
Thread 3 (Thread 0x7fffe8e1b700 (LWP 31172)):
#0 0x00007ffff5a93e8d in poll () at ../sysdeps/
#1 0x00007ffff621c31c in ?? () from /lib/x86_
#2 0x00007ffff621c6a2 in g_main_loop_run () from /lib/x86_
#3 0x00007ffff681a906 in ?? () from /usr/lib/
#4 0x00007ffff6242b45 in ?? () from /lib/x86_
#5 0x00007ffff5d696fa in start_thread (arg=0x7fffe8e1
#6 0x00007ffff5a9fb5d in clone () at ../sysdeps/
Thread 2 (Thread 0x7fffe961c700 (LWP 31171)):
#0 0x00007ffff5a93e8d in poll () at ../sysdeps/
#1 0x00007ffff621c31c in ?? () from /lib/x86_
#2 0x00007ffff621c42c in g_main_
#3 0x00007ffff621c469 in ?? () from /lib/x86_
#4 0x00007ffff6242b45 in ?? () from /lib/x86_
#5 0x00007ffff5d696fa in start_thread (arg=0x7fffe961
#6 0x00007ffff5a9fb5d in clone () at ../sysdeps/
Thread 1 (Thread 0x7ffff7f0bb40 (LWP 31165)):
#0 0x00007ffff467a064 in XIfEvent () from /usr/lib/
#1 0x00007ffff46c28a3 in ?? () from /usr/lib/
#2 0x00007ffff46c34d7 in ?? () from /usr/lib/
#3 0x00007ffff46c37b1 in _XimRead () from /usr/lib/
#4 0x00007ffff46b5abd in ?? () from /usr/lib/
#5 0x00007ffff46b0e50 in ?? () from /usr/lib/
#6 0x00007fffe25ddf82 in ?? () from /usr/lib/
#7 0x00007ffff73fdb53 in ?? () from /usr/lib/
#8 0x00007ffff7504264 in ?? () from /usr/lib/
#9 0x00007ffff7b8b18d in ?? () from /usr/lib/
#10 0x00007ffff741d30c in ?? () from /usr/lib/
#11 0x00007ffff64f2eff in g_closure_invoke () from /usr/lib/
#12 0x00007ffff650556e in ?? () from /usr/lib/
#13 0x00007ffff650d7f9 in g_signal_
#14 0x00007ffff650e555 in g_signal_
#15 0x0000000000415b7d in ?? ()
#16 0x00007ffff741d3f9 in ?? () from /usr/lib/
#17 0x00007ffff64f3122 in ?? () from /usr/lib/
#18 0x00007ffff650d4b8 in g_signal_
#19 0x00007ffff650e08f in g_signal_emit () from /usr/lib/
#20 0x00007ffff755ae5c in ?? () from /usr/lib/
#21 0x00007ffff757aeeb in gtk_window_
#22 0x00007ffff757e36b in ?? () from /usr/lib/
#23 0x000000000041c467 in ?? ()
#24 0x00007ffff741d3f9 in ?? () from /usr/lib/
#25 0x00007ffff64f31d4 in ?? () from /usr/lib/
#26 0x00007ffff650d4b8 in g_signal_
#27 0x00007ffff650e08f in g_signal_emit () from /usr/lib/
#28 0x00007ffff755ae5c in ?? () from /usr/lib/
#29 0x00007ffff741a809 in ?? () from /usr/lib/
#30 0x00007ffff741c51c in gtk_main_do_event () from /usr/lib/
#31 0x00007ffff6f89ba2 in ?? () from /usr/lib/
#32 0x00007ffff621c127 in g_main_
#33 0x00007ffff621c380 in ?? () from /lib/x86_
#34 0x00007ffff621c42c in g_main_
#35 0x00007ffff67e3ccd in g_application_run () from /usr/lib/
#36 0x000000000040ced5 in calculator_main ()
#37 0x00007ffff59b9830 in __libc_start_main (main=0x40bba0 <main>, argc=1, argv=0x7fffffff
fini=<optimized out>, rtld_fini=
#38 0x000000000040bbe9 in _start ()
%%%
System information:
0 ➜ LANGUAGE=en apt-cache policy gnome-calculator
gnome-calculator:
Installed: 1:3.18.3-0ubuntu1
Candidate: 1:3.18.3-0ubuntu1
Version table:
*** 1:3.18.3-0ubuntu1 500
500 http://
100 /var/lib/
0 ➜ LANGUAGE=en lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
0 ➜ uname -a
Linux yaroot-46 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Thank you for your bug report, that seems an issue with xim ... what keyboard layout and im framework do you use?