Open Bug 1885112 Opened 3 months ago Updated 7 days ago

intermittent flightradar24 / zoom tab crash with texturehost errors and no crash report

Categories

(Core :: Graphics, defect)

x86_64
Linux
defect

Tracking

()

Tracking Status
firefox125 --- affected

People

(Reporter: gerard-majax, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Attachments

(1 file)

This has been happening to me intermittently for more than weeks.

STR:

  1. Browse flightradar24 (unauth)
  2. Drag the map around

Expected:
Drag works

Actual:
Sometimes, website disappear and tab report a crash. No crash generated in about:crashes

my syslog shows:

mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: Failed to create remote texture
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: WebGL(7f51cb8c0800)::LoseContext(0)
mars 13 11:54:23 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: Texture pushed during context lost
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: WebGL(7f514745f400)::LoseContext(0)
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[554795]: [Parent 554795, IPC I/O Parent] WARNING: Message needs unreceived descriptors channel:7f51489f1230 message-type:2621443 header()->num_handles:1 num_fds:0 fds_i:0: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:467
mars 13 11:54:30 portable-alex Firefox-Nightly.desktop[2333878]: Exiting due to channel error.
mars 13 11:54:33 portable-alex Firefox-Nightly.desktop[555001]: [fluent] Missing message in locale fr: newtab-custom-stories-toggle
mars 13 11:54:33 portable-alex rtkit-daemon[2716]: Supervising 6 threads of 6 processes of 1 users.
mars 13 11:54:33 portable-alex rtkit-daemon[2716]: Supervising 6 threads of 6 processes of 1 users.
mars 13 11:54:41 portable-alex rtkit-daemon[2716]: Supervising 6 threads of 6 processes of 1 users.
mars 13 11:54:41 portable-alex rtkit-daemon[2716]: Supervising 6 threads of 6 processes of 1 users.
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:54:46 portable-alex Firefox-Nightly.desktop[554795]: WebGL(7f52695dcf00)::LoseContext(0)
mars 13 11:55:02 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:55:02 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:55:02 portable-alex Firefox-Nightly.desktop[554795]: [GFX1]: DMABuf surface import failed!
mars 13 11:55:02 portable-alex Firefox-Nightly.desktop[554795]: [GFX1-]: TextureHost creation failure type=4
mars 13 11:55:02 portable-alex Firefox-Nightly.desktop[554795]: [Parent 554795, IPC I/O Parent] WARNING: Message needs unreceived descriptors channel:7f5172c4dde0 message-type:3538947 header()->num_handles:1 num_fds:0 fds_i:0: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:467
mars 13 11:55:02 portable-alex Firefox-Nightly.desktop[2334057]: Exiting due to channel error.
Keywords: crash
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Attached file about:support
Severity: -- → S2

Just happened to me but with ... Zoom.

mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: Failed to create remote texture
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1]: DMABuf surface import failed!
mars 19 14:16:40 portable-alex Firefox-Nightly.desktop[3063123]: [GFX1-]: TextureHost creation failure type=4
mars 19 14:16:41 portable-alex Firefox-Nightly.desktop[3063123]: [Parent 3063123, IPC I/O Parent] WARNING: Message needs unreceived descriptors channel:7f73243ef8a0 message-type:13434886 header()->num_handles:1 num_fds:0 fds_i:0: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:467

Happened again on a Zoom meeting. There's definitively a regression somehow.

Summary: intermittent flightradar24 tab crash with texturehost errors and no crash report → intermittent flightradar24 / zoom tab crash with texturehost errors and no crash report

Gabrielle, why do you think we don't get crash reports?

Flags: needinfo?(gsvelto)

Hard to say. Alexandre, can you try and catch this with gdb? One possibility is file descriptor exhaustion which typically causes our crash reporting code to fail. The last message in the log corresponds to this code and will cause the IPC channel to close so I don't know what causes the actual crash.

Flags: needinfo?(gsvelto) → needinfo?(lissyx+mozillians)

no i cannot: it's not happening often (no repro since my last report, though I did use zoom quite a lot), and i cannot run weeks-long gdb sessions ...

Flags: needinfo?(lissyx+mozillians)

(In reply to Gabriele Svelto [:gsvelto] from comment #5)

Hard to say. Alexandre, can you try and catch this with gdb? One possibility is file descriptor exhaustion which typically causes our crash reporting code to fail. The last message in the log corresponds to this code and will cause the IPC channel to close so I don't know what causes the actual crash.

Gabriele, is there a bug for the file descriptor exhaustion causing crash reporting to fail? Could we reserve some file descriptors and close them so that we can use them during a crash?

Flags: needinfo?(lissyx+mozillians)
Flags: needinfo?(lissyx+mozillians) → needinfo?(gsvelto)

We might also be able to check if we're out of file descriptors by calling pipe() to see if that works if DMA buf creation fails and log it more appropriately.

We suspect that a good portion of the failures in bug 1360392 are related to file descriptor exhaustion, and also similar issues we see in automation where we fail to generate a minidump entirely. Reserving file descriptors sounds like a good idea, we already do that with virtual address space in 32-bit hosts, so why not? I'll make a note of that.

Flags: needinfo?(gsvelto)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: