Bug #1084
Smuxi is not responding when quitting on Mono >= 4.2.1
Status: | Resolved | Start: | 01/25/2016 | |
Priority: | Normal | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 0% |
|
Category: | Frontend GNOME | |||
Target version: | - | |||
Complexity: | Medium |
Found in Version: | 1.0+stable |
|
Votes: | 0 |
Description
When you try to quit Smuxi from the main window or even the Engine selection dialog then it will often (not always!) no longer respond and GNOME asks if you want to forcely quit the application.
History
Updated by Mirco Bauer 3245 days ago
Smuxi 1.0+stable on Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-5)
(gdb) bt #0 0x00007f50d146aedd in nanosleep () at ../sysdeps/unix/syscall-template.S:81#10x0000000000638308 in monoeg_g_usleep (microseconds=microseconds@entry=21220) at gdate-unix.c:53#20x0000000000627cf9 in suspend_sync_nolock (id=id@entry=139985018812160, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads.c:870#30x0000000000628190 in mono_thread_info_safe_suspend_and_run (id=139985018812160, interrupt_kernel=interrupt_kernel@entry=1, callback=callback@entry=0x584920 <suspend_thread_critical>, user_data=user_data@entry=0x7ffeae665160) at mono-threads.c:891#40x000000000058535f in suspend_thread_internal (thread=0x7f50ce704330, interrupt=1) at threads.c:4529#50x0000000000586b65 in mono_thread_suspend_all_other_threads () at threads.c:3152#60x0000000000538b76 in ves_icall_System_Environment_Exit (result=0) at icall.c:6006 #7 0x000000004140eac2 in ?? ()#80x00000000029dae10 in ?? ()#90x00007ffeae665b30 in ?? ()#100x0000000000000005 in ?? ()#110x00007ffeae665b30 in ?? ()#120x0000000000000004 in ?? ()#130x00007ffeae665ca8 in ?? ()#140x00000000413abd6e in ?? ()#150x00007ffeae665770 in ?? ()#160x00007ffeae665610 in ?? ()#170x000000004140cccf in ?? () #18 0x00000000029dae10 in ?? ()#190x00007ffeae665780 in ?? ()#200x00007ffeae6657f0 in ?? ()#210x00007f50d0800ab8 in ?? ()#220x00007f50d0afe4b0 in ?? ()#230x0000000000000000 in ?? ()
(gdb) mono_backtrace 23 #0 0x00007f50d146aedd in nanosleep () at ../sysdeps/unix/syscall-template.S:81 81 ../sysdeps/unix/syscall-template.S: No such file or directory.#10x0000000000638308 in monoeg_g_usleep (microseconds=microseconds@entry=21220) at gdate-unix.c:53 53 gdate-unix.c: No such file or directory.#20x0000000000627cf9 in suspend_sync_nolock (id=id@entry=139985018812160, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads.c:870 870 mono-threads.c: No such file or directory.#30x0000000000628190 in mono_thread_info_safe_suspend_and_run (id=139985018812160, interrupt_kernel=interrupt_kernel@entry=1, callback=callback@entry=0x584920 <suspend_thread_critical>, user_data=user_data@entry=0x7ffeae665160) at mono-threads.c:891 891 in mono-threads.c#40x000000000058535f in suspend_thread_internal (thread=0x7f50ce704330, interrupt=1) at threads.c:4529 4529 threads.c: No such file or directory.#50x0000000000586b65 in mono_thread_suspend_all_other_threads () at threads.c:3152 3152 in threads.c#60x0000000000538b76 in ves_icall_System_Environment_Exit (result=0) at icall.c:6006 6006 icall.c: No such file or directory. #7 0x4140eac2 in (wrapper managed-to-native) System.Environment:Exit (int) + 0x52 (0x4140ea70 0x4140eaee) [0x1921100 - smuxi-frontend-gnome.exe]#80x00000000029dae10 in ?? ()#90x00007ffeae665b30 in ?? ()#100x0000000000000005 in ?? ()#110x00007ffeae665b30 in ?? ()#120x0000000000000004 in ?? ()#130x00007ffeae665ca8 in ?? ()#140x413abd6e in <0x413abd6e - JIT trampoline for System.Environment:Exit (int)>#150x00007ffeae665770 in ?? ()#160x00007ffeae665610 in ?? ()#170x4140cccf in Smuxi.Frontend.Gnome.Frontend:Quit () + 0x4bf (0x4140c810 0x4140ccd5) [0x1921100 - smuxi-frontend-gnome.exe] #18 0x00000000029dae10 in ?? ()#190x00007ffeae665780 in ?? ()#200x00007ffeae6657f0 in ?? ()#210x00007f50d0800ab8 in ?? ()#220x00007f50d0afe4b0 in ?? () (gdb)
Updated by Mirco Bauer 3245 days ago
This seems to be the bug in Mono 4.x with a minimal code repro here: https://bugzilla.xamarin.com/show_bug.cgi?id=33020
Updated by Mirco Bauer 3243 days ago
- Target version deleted (
1.0.3)
Updated by Mirco Bauer 3226 days ago
- Status changed from New to Resolved
This is a Mono 4.x bug and was fixed in https://github.com/mono/mono/commit/23e34d77f2fd23ab5d61f6ba4aa905817f57668a