Opened 2 years ago

Last modified 17 months ago

#22960 new defect

Tor Browser crashes when IPC connection got lost

Reported by: cypherpunks Owned by: tbb-team
Priority: High Milestone:
Component: Applications/Tor Browser Version:
Severity: Major Keywords: tbb-e10s, tbb-crash, tbb-oom
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Sometimes something happens during load of a new page in a tab, and then other tabs show loading circles instead of pages, and nothing happens, except increase of

1,696 (100.0%) -- queued-ipc-messages
└──1,696 (100.0%) ── content-parent(???, pid=3796, open channel, 0x133abab8, refcnt=46)

which leads to OOM of the main process. (Killing child process brings TBB back to mind.)

Child Tickets

Change History (5)

comment:1 Changed 22 months ago by cypherpunks

It might be due to #18090.

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: firefox.exe
P2: 52.3.0.6242
P3: 00000000
P4: mozglue.dll
P5: 52.3.0.6242
P6: 00000000
P7: c0000005
P8: 000034a7
P9: 
P10: 

comment:2 Changed 18 months ago by cypherpunks

Priority: MediumHigh
Severity: NormalMajor

Unfortunately, this happens pretty often when you switch tabs on the latest alpha. If it happens when a child process lost connection to the parent, ipc queue is empty on the parent side, but it grows on the child side.

comment:3 in reply to:  2 ; Changed 18 months ago by gk

Status: newneeds_information

Replying to cypherpunks:

Unfortunately, this happens pretty often when you switch tabs on the latest alpha. If it happens when a child process lost connection to the parent, ipc queue is empty on the parent side, but it grows on the child side.

On which OS are you seeing that behavior?

comment:4 in reply to:  3 Changed 18 months ago by cypherpunks

Status: needs_informationnew

Replying to gk:

On which OS are you seeing that behavior?

On Windows 7.

comment:5 in reply to:  2 Changed 17 months ago by cypherpunks

Summary: Tor Browser is leaking IPC messagesTor Browser crashes when IPC connection got lost

Replying to cypherpunks:

Unfortunately, this happens pretty often when you switch tabs on the latest alpha. If it happens when a child process lost connection to the parent, ipc queue is empty on the parent side, but it grows on the child side.

It seems possible to bring the browser back to life by manually resuming suspended thread in child process like in #22813. Probably, upgrading MinGW-w64 could help.
(cypherpunks account is now able to Cc tor-dev@lists.torproject.org, please disable that)

Note: See TracTickets for help on using tickets.