Open Bug 1550919 Opened 5 years ago Updated 2 years ago

Gecko_IOThread] WARNING: pipe error: Broken pipe: ... ipc_channel_posix.cc

Categories

(Core :: Widget: Gtk, defect, P5)

66 Branch
defect

Tracking

()

Tracking Status
firefox66 --- affected
firefox70 --- affected

People

(Reporter: jidanni, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Ran this shell script:
set -eu
TMPPROFILE=mktemp -d
echo Using temporary profile: $TMPPROFILE
firefox --profile $TMPPROFILE -no-remote -new-instance "$@"
rm -rf $TMPPROFILE

Actual results:

Upon closing the browser, saw:
[Parent 14036, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox-ji9OBb/firefox-66.0.5/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 726

Expected results:

Should not have any error messages.

Note the above quotes are

TMPPROFILE=`mktemp -d`
set -eu
TMPPROFILE=`mktemp -d`
echo Using temporary profile: $TMPPROFILE
firefox --profile $TMPPROFILE -no-remote -new-instance "$@"
rm -rf $TMPPROFILE

Hi, I managed to reproduce this issue as well on Firefox Release 66.0.3 but I'm not sure if it happens on Nightly as well I tried running the command from my Nightly folder but it still opens the Release version, can you Please try our latest nightly and see if the issue still occurs there as well ? you can find the build here : https://nightly.mozilla.org/

Flags: needinfo?(jidanni)

(In reply to Rares Doghi from comment #3)
Sorry I wish to stick to Debian sid versions only, currently 66.0.5-1.

Flags: needinfo?(jidanni)
Status: UNCONFIRMED → NEW
Component: Untriaged → Widget: Gtk
Ever confirmed: true
Product: Firefox → Core
Priority: -- → P5
See Also: → 1555266

Same issue here,
Firefox 70.0 (manjaro, stable)

[Parent 2188, Gecko_IOThread] WARNING: pipe error (58): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 2188, Gecko_IOThread] WARNING: pipe error (161): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 2188, Gecko_IOThread] WARNING: pipe error (59): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
WebGL(0x7f2b12dca000)::ForceLoseContext
WebGL(0x7f2b12dda800)::ForceLoseContext
[Parent 2188, Gecko_IOThread] WARNING: pipe error (151): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 2188, Gecko_IOThread] WARNING: pipe error (234): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 2188, Gecko_IOThread] WARNING: pipe error (224): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 2188, Gecko_IOThread] WARNING: pipe error (239): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 2188, Gecko_IOThread] WARNING: pipe error (56): Connection reset by peer: file /build/src/firefox-70.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358

I cannot use browser normally with such things, because when i try to open new tab (by actually openning it or by clicking on any link in already opened tab) in some cases it will open white empty page (no home page about:home loaded) and without any available interaction - i cannot copy address from address bar with Ctrl-C, any changes in address bar ignored, force reload does not help, too.

[Tracking Requested - why for this release]:

I was experiencing this issue on Firefox 70.01 for Ubuntu 19.10 and decided to update to Firefox Beta (now running 71.0b9) which has the same error:

[Parent 30585, Gecko_IOThread] WARNING: pipe error (73): Connection reset by peer: file /build/firefox-1234/firefox-71.0~b9+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 30585, Gecko_IOThread] WARNING: pipe error (148): Connection reset by peer: file /build/firefox-1234/firefox-71.0~b9+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358

I don't remember experiencing this on earlier versions of Firefox before 70.1.

Same issue here. KDE Neon (based on Ubuntu 18.04), Firefox 70.0.1+build1-0ubuntu0.18.04.1, Linux 5.3.0-23-generic, xserver-xorg-core-hwe-18.04 2:1.20.4-1ubuntu3~18.04.1).
On average once in a day or two my firefox just freezes with this errors in console

[Parent 22372, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox-clezVp/firefox-70.0.1+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 728
[Parent 22372, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox-clezVp/firefox-70.0.1+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 728
[Parent 22372, Gecko_IOThread] WARNING: pipe error (228): Connection reset by peer: file /build/firefox-clezVp/firefox-70.0.1+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 22372, Gecko_IOThread] WARNING: pipe error (282): Connection reset by peer: file /build/firefox-clezVp/firefox-70.0.1+build1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358

(/usr/lib/firefox/firefox:7238): dconf-WARNING **: 12:18:24.543: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission denied

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

Hi,
This looks like a concurrency bug and you can reproduce it easily using this thread schedule fuzzing wrapper attached here. Compile it and use it with LD_PRELOAD when running firefox binary. I hope this helps to find the cause of this bug faster.

(In reply to Srivatsan Ramesh from comment #9)

Hi,
This looks like a concurrency bug and you can reproduce it easily using this thread schedule fuzzing wrapper attached here. Compile it and use it with LD_PRELOAD when running firefox binary. I hope this helps to find the cause of this bug faster.

I was able to reproduce this bug with the help of this wrapper in Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Running 71.0 on Arch Linux and getting similar issues. I also noticed that some tabs don't redraw correctly and I have to restart the browser

firefox 
[Parent 411278, Gecko_IOThread] WARNING: pipe error (153): Connection reset by peer: file /build/firefox/src/firefox-71.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 411278, Gecko_IOThread] WARNING: pipe error (132): Connection reset by peer: file /build/firefox/src/firefox-71.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 411278, Gecko_IOThread] WARNING: pipe error (241): Connection reset by peer: file /build/firefox/src/firefox-71.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
[Parent 411278, Gecko_IOThread] WARNING: pipe error (185): Connection reset by peer: file /build/firefox/src/firefox-71.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

ExceptionHandler::GenerateDump cloned child 417474
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.