Bug #1084

avatar

Smuxi is not responding when quitting on Mono >= 4.2.1

Added by Mirco Bauer 3245 days ago. Updated 3226 days ago.

Status:Resolved Start:01/25/2016
Priority:Normal Due date:
Assigned to:avatarMirco 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.


Related issues

duplicated by Smuxi - Bug #1089 Smuxi hangs at exit New 02/13/2016

History

Updated by Mirco Bauer 3245 days ago

avatar

It looks like Environment.Exit(0) is not always returning

Updated by Mirco Bauer 3245 days ago

avatar

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
#1  0x0000000000638308 in monoeg_g_usleep (microseconds=microseconds@entry=21220) at gdate-unix.c:53
#2  0x0000000000627cf9 in suspend_sync_nolock (id=id@entry=139985018812160, interrupt_kernel=interrupt_kernel@entry=1) at mono-threads.c:870
#3  0x0000000000628190 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
#4  0x000000000058535f in suspend_thread_internal (thread=0x7f50ce704330, interrupt=1) at threads.c:4529
#5  0x0000000000586b65 in mono_thread_suspend_all_other_threads () at threads.c:3152
#6  0x0000000000538b76 in ves_icall_System_Environment_Exit (result=0) at icall.c:6006
#7  0x000000004140eac2 in ?? ()
#8  0x00000000029dae10 in ?? ()
#9  0x00007ffeae665b30 in ?? ()
#10 0x0000000000000005 in ?? ()
#11 0x00007ffeae665b30 in ?? ()
#12 0x0000000000000004 in ?? ()
#13 0x00007ffeae665ca8 in ?? ()
#14 0x00000000413abd6e in ?? ()
#15 0x00007ffeae665770 in ?? ()
#16 0x00007ffeae665610 in ?? ()
#17 0x000000004140cccf in ?? ()
#18 0x00000000029dae10 in ?? ()
#19 0x00007ffeae665780 in ?? ()
#20 0x00007ffeae6657f0 in ?? ()
#21 0x00007f50d0800ab8 in ?? ()
#22 0x00007f50d0afe4b0 in ?? ()
#23 0x0000000000000000 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.
#1  0x0000000000638308 in monoeg_g_usleep (microseconds=microseconds@entry=21220) at gdate-unix.c:53
53    gdate-unix.c: No such file or directory.
#2  0x0000000000627cf9 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.
#3  0x0000000000628190 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
#4  0x000000000058535f in suspend_thread_internal (thread=0x7f50ce704330, interrupt=1) at threads.c:4529
4529    threads.c: No such file or directory.
#5  0x0000000000586b65 in mono_thread_suspend_all_other_threads () at threads.c:3152
3152    in threads.c
#6  0x0000000000538b76 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]
#8  0x00000000029dae10 in ?? ()
#9  0x00007ffeae665b30 in ?? ()
#10 0x0000000000000005 in ?? ()
#11 0x00007ffeae665b30 in ?? ()
#12 0x0000000000000004 in ?? ()
#13 0x00007ffeae665ca8 in ?? ()
#14 0x413abd6e in <0x413abd6e - JIT trampoline for System.Environment:Exit (int)>
#15 0x00007ffeae665770 in ?? ()
#16 0x00007ffeae665610 in ?? ()
#17 0x4140cccf in  Smuxi.Frontend.Gnome.Frontend:Quit () + 0x4bf (0x4140c810 0x4140ccd5) [0x1921100 - smuxi-frontend-gnome.exe]
#18 0x00000000029dae10 in ?? ()
#19 0x00007ffeae665780 in ?? ()
#20 0x00007ffeae6657f0 in ?? ()
#21 0x00007f50d0800ab8 in ?? ()
#22 0x00007f50d0afe4b0 in ?? ()
(gdb) 

Updated by Mirco Bauer 3245 days ago

avatar

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

avatar
  • Target version deleted (1.0.3)

Updated by Mirco Bauer 3226 days ago

avatar
  • Status changed from New to Resolved

Also available in: Atom PDF