[ubuntu-mono] [Bug 123308] Muine sometimes hangs on startup
Pedro CĂ´rte-Real
pedro at pedrocr.net
Sat Jun 30 21:18:10 UTC 2007
Public bug reported:
Muine sometimes hangs on a futex call on startup. It seems to be a race
condition that creates a deadlock since it doesn't happen every time. It
seems to happen more when starting muine for the first time. On
subsequent tries the cache is hot so I guess the window for the deadlock
becomes smaller. Here are the last few lines of a strace where this
happened:
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb58d0000
mprotect(0xb58d0000, 4096, PROT_NONE) = 0
clone(child_stack=0xb59d0494, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xb59d0bd8, {entry_number:6, base_addr:0xb59d0b90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb59d0bd8) = 20337
futex(0x84b8c, FUTEX_WAIT, 0, NULL) = 0
semop(98306, 0xbff083ea, 1) = 0
futex(0xb77d2918, FUTEX_WAKE, 1) = 0
time(NULL) = 1183237453
futex(0xb7909618, FUTEX_WAIT, 1, NULL) = 0
futex(0xb79095fc, FUTEX_WAIT, 2, NULL) = 0
futex(0xb79095fc, FUTEX_WAKE, 1) = 0
open("/usr/lib/muine/plugins/InotifyPlugin.dll", O_RDONLY|O_LARGEFILE) = 39
fstat64(39, {st_mode=S_IFREG|0755, st_size=15360, ...}) = 0
mmap2(NULL, 16384, PROT_READ, MAP_PRIVATE, 39, 0) = 0xb56fb000
mprotect(0xb56fb000, 16384, PROT_READ|PROT_EXEC) = 0
readlink("/usr/lib/muine/plugins/InotifyPlugin.dll", 0xbff0766b, 4096) = -1 EINVAL (Invalid argument)
open("/usr/lib/muine/plugins/libinotifyglue", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
futex(0x822b320, FUTEX_WAIT, 2, NULL)
** Affects: muine (Ubuntu)
Importance: Undecided
Status: New
--
Muine sometimes hangs on startup
https://bugs.launchpad.net/bugs/123308
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for muine in ubuntu.
More information about the Ubuntu-mono
mailing list