Univention Bugzilla – Bug 34125
Firefox hangs when loading UMC modules
Last modified: 2014-02-18 06:35:05 CET
First observed during UCS 3.2-1 development: After completing initial appliance setup and logging in to KDE as Administrator, Firefox 'hangs' while loading the UMC. Killing the instance and trying again with a new Firefox instance works. symptom is the same with FF 24.3.0 and 24.1.1: trace shows that the hang occurs when parsing /etc/mailcap strace -p $(pidof firefox): open("/home/Administrator/.mime.types", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/etc/mime.types", O_RDONLY|O_LARGEFILE) = 73 read(73, "################################"..., 4096) = 4096 close(73) = 0 open("/etc/mailcap", O_RDONLY|O_LARGEFILE) = 73 read(73, "################################"..., 4096) = 3731 stat64("/bin/sh", {st_mode=S_IFREG|0755, st_size=84144, ...}) = 0 write(31, "\0", 1) = 1 futex(0xaa7c9040, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x9f697ec4, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x9f697ec8, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xaa7c9040, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0x9f697ec8, FUTEX_WAIT_PRIVATE, 1, NULL A defunct process is blocking firefox: ps afx: 9845 pts/2 Sl+ 0:06 \_ /opt/firefox/firefox 9916 pts/2 Z+ 0:00 \_ [sh] <defunct> There is a debian bug about this behaviour: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703472 Quick Workaround: With an empty /etc/mailcap firefox does not hang
The line causing the problem is application/pdf; okular '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != ""; priority=6 /etc/mailcap is generated from source files in /usr/lib/mime/packages To work around the firefox issue okular will be patched and the line removed.
The mime type registration for okular was removed. r12601 kdegraphics Patch Version: 4:4.4.5-2.81.201402141307 r47817 Changelog entry amd64 build pending
Tests: OK I was unable to reproduce this issue with UCS 3.2-1 installations (amd64 and i386). YAML: OK
UCS 3.2-1 has been released: http://docs.univention.de/release-notes-3.2-1-en.html http://docs.univention.de/release-notes-3.2-1-de.html If this error occurs again, please use "Clone This Bug".