Comment 3 for bug 400088

Revision history for this message
In , Zyta2002 (zyta2002) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090718 Shiretoko/3.5.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090718 Shiretoko/3.5.1

Since 3.5 i have the problem that Firefox is not able to terminate correctly. I disabled all plugins, and started using a blank Profile (in safe mode) nothing helped.

Distribution: arch
Filesystem: /dev/sda3 on / type ext4 (rw)

Reproducible: Always

Steps to Reproduce:
1. Start Firefox
2. Close Firefox (CTRL-Q, or menu)
3. Window disappears, process will not be closed.
Actual Results:
Window disappears, process will not be closed. So I have to kill the process manually to restart the browser (kill PID).

Expected Results:
Process terminates correctly.

--snip--
# strace -ffff -s 256 firefox

unlink("/home/andy/.mozilla/firefox/aowqj2iz.default/lock") = 0
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\231\7\2\0f\0 \0046\0\2\0e\0 \4\231\7\2\0b\0 \0046\1\2\0a\0 \4\231\7\2\0~\0 \0046\0\2\0}\0 \4\231\7\2\0\355\0 \4\231\7\2\0q\1 \0046\0\2\0\354\0 \4\231\7\2\0\221\0 \0046\1\2\0\220\0 \4\231\7\2\0\275\0 \4\231\7\2\0r\1 \0046\1\2\0\274\0 \4\231\7\2\0j\0 \0046\6\2\0i\0 \4\231\7\2\0]\0 \0046\1\2\0\\\0 \4\231\7\2\0\271\0 \0046\0\2\0\270\0 \4\231\7\2\0\215\0 \0046\0\2\0\214\0 \4\231\7\2\0\305\0 \4\231\7\2\0\207\2 \0046\0\2\0\304\0 \4\231\7\2\0\245\0 \0046\0\2\0\244\0 \4\231\7\2\0\235\0 \0046\0\2\0\234\0 \4\231\7\2\0\225\0 \4\231\7\2\0k\1 \0046\0\2\0\224\0 \4\231"..., 796}, {NULL, 0}, {""..., 0}], 3) = 796
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\21\345\243\21\203\0 \4\203\0 \4\320\2\36\10\354\"\302\277\5\0\0\0\210\"\302\277z\25\t\10\34\237\243\21\203\0 \4k\1\0\0\6}V\0\1\0\0\0\240\230\302\n\230!\302\277\330X\t\10\34\2\243\21\203\0 \4\37\1\0\0\6}V\0\1:G\n\240\230\302\n\230!\302\277\320\2\36\10\34\2\243\21\203\0 \4\35\1\0\0\6}V\0\1l\24\v\240\230\302\n\230!\302\277\320\2\36\10\34\2\243\21\203\0 \4\362\0\0\0\6}V\0\1\n&\v\240\230\302\n\230!\302\277\320\2\36\10\34\2\243\21\203\0 \4\21\1\0\0\6}V\0\1\213\"\n\240\230\302\n\230!\302\277\320\2\36\10\34\2\243\21\203\0 \4T\1\0\0\6}V\0\1\210\233\t\240\230\302\n\230!\302\277\320\2\36\10\34\2\243\21\203\0 \4$\0\0\0\6}V\0\1\333\220\n\240\230\302\n\230!\302\277\320\2\36\10\34"..., 4096) = 512
read(3, 0xb788d058, 4096) = -1 EAGAIN (Resource temporarily unavailable)
shmdt(0xb2859000) = 0
munmap(0xb09ae000, 4527600) = 0
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"\217\2\2\0003\0 \4\220\4\2\0\2\0 \4\220\4\2\0\3\0 \4<\1\2\0005\0 \4<\7\2\0002\0 \4\4\0\2\0\1\0 \4<\7\2\0\0\0 \4.\7\2\0\257\0 \4+\0\1\0"..., 68}, {NULL, 0}, {""..., 0}], 3) = 68
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\21\"\252\21\1\0 \4\1\0 \4\353\215\24\10\320\2\36\10\1\0 \4H\"\302\277\301Q\23\10\34\237\252\21\1\0 \4\364\0\0\0\6}V\0\1\0\0\0\310\252\311\t\230!\302\277\330X\t\10\34\2\252\21\1\0 \4C\0\0\0\6}V\0\1dC\v\310\252\311\t\230!\302\277\320\2\36\10\34\2\252\21\1\0 \4\"\0\0\0\6}V\0\1\36\231\t\310\252\311\t\230!\302\277\320\2\36\10\34\2\252\21\1\0 \4\35\1\0\0\6}V\0\1\303\373\t\310\252\311\t\230!\302\277\320\2\36\10\34\2\252\21\1\0 \4e\1\0\0\6}V\0\1\212\"\n\310\252\311\t\230!\302\277\320\2\36\10\34\2\252\21\1\0 \4\362\0\0\0\6}V\0\1\253\302\t\310\252\311\t\230!\302\277\320\2\36\10\34\2\252\21\1\0 \4\21\1\0\0\6}V\0\1\352\300\n\310\252\311\t\230!\302\277\320\2\36\10\34"..., 4096) = 544
read(3, 0xb788d058, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"+\2\1\0"..., 4}, {NULL, 0}, {""..., 0}], 3) = 4
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\1\256\21\0\0\0\0Y\0\240\3\0\0\0\0008\0\0\0\310\241\36\10\270\345\334\t\0\0\0\0"..., 4096) = 32
read(3, 0xb788d058, 4096) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL) = 1 (out [3])
writev(3, [{"<\2\2\0+\2 \4<\4\2\0\0\1 \4<\4\2\0_\0 \4<\1\2\0h\0 \4<\7\2\0d\0 \4<\0\2\0\200\0 \4<\7\2\0\357\0 \4<\7\2\0\223\0 \4<\0\2\0\277\0 \4<\7\2\0l\0 \4<\1\2\0`\0 \4<\7\2\0\273\0 \4<\7\2\0\217\0 \4<\1\2\0\307\0 \4<\7\2\0\247\0 \4<\6\2\0\237\0 \4<\7\2\0\227\0 \4<\1\2\0\347\0 \4<\7\2\0\337\0 \4<\0\2\0p\0 \4<\7\2\0\353\0 \4<\0\2\0\343\0 \4<\7\2\0\303\0 \4<\7\2\0t\0 \4<\0\2\0|\0 \4<\7\2\0\333\1 \4<\0\2\0\312\1 \4<\7\2\0x\0 \4<\0\2\0\313\0 \4<\7\2\0\367\0 \4<\7\2\0\333\0 \4<\0\2\0\233\0 \4<"..., 508}, {NULL, 0}, {""..., 0}], 3) = 508
select(4, [3], [], NULL, NULL) = 1 (in [3])
read(3, "\1\1\356\21\0\0\0\0Y\0\240\3\0\0\0\0008\0\0\0\310\241\36\10\270\345\334\t\0\0\0\0"..., 4096) = 32
read(3, 0xb788d058, 4096) = -1 EAGAIN (Resource temporarily unavailable)
close(3) = 0
select(4, [3], [3], NULL, NULL) = -1 EBADF (Bad file descriptor)
futex(0xb788e094, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>
--end snip--

lsof after terminate::

--snip--
firefox 3746 andy mem REG 8,3 10131640 126192 /usr/lib/mozilla/plugins/libflashplayer.so
firefox 3746 andy mem REG 8,3 32516 167375 /usr/lib/xulrunner-1.9.1/components/libmozgnome.so
firefox 3746 andy mem REG 8,3 815304 167340 /usr/lib/xulrunner-1.9.1/libmozjs.so
firefox 3746 andy 15wW REG 8,3 0 104183 /home/andy/.mozilla/firefox/6ijoie4g.default/.parentlock
firefox 3746 andy 32u REG 8,3 2048 104192 /home/andy/.mozilla/firefox/6ijoie4g.default/permissions.sqlite
firefox 3746 andy 40r REG 8,3 1446030 7608 /home/andy/.mozilla/firefox/6ijoie4g.default/XUL.mfasl
firefox 3746 andy 42uw REG 8,3 32768 104201 /home/andy/.mozilla/firefox/6ijoie4g.default/cookies.sqlite
firefox 3746 andy 43u REG 8,3 3608 16888 /home/andy/.mozilla/firefox/6ijoie4g.default/cookies.sqlite-journal
firefox 3746 andy 44r DIR 8,3 4096 104175 /home/andy/.mozilla/firefox/6ijoie4g.default

--end snip--