Open Bug 1721089 Opened 3 years ago Updated 1 year ago

While using Screenshot:component, to select a particular area, moving the top left corner of the selected area to the one of the window, it crashed.

Categories

(Core :: Graphics, defect)

Firefox 90
defect

Tracking

()

UNCONFIRMED

People

(Reporter: raycy.jp, Unassigned, NeedInfo)

References

Details

Attachments

(9 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

While browsing at any site,
to take a screenshot of the selected area by component:Screenshot,
moving the top left corner of the selection frame to the top left of the browsing window,

Actual results:

Firefox crashed.

Expected results:

It the area should be selected, and I could get a screenshot.

Attached file about:support
Component: Untriaged → Screenshots
Summary: While using Screenshot:component, to select a particular area move the top left corner of the selected area to the one of the window, it crashed. → While using Screenshot:component, to select a particular area, moving the top left corner of the selected area to the one of the window, it crashed.

Hi raycy.jp,
Thanks for the report. Can you confirm that I'm following your steps as shown in my video? I cannot seem to be able to reproduce.
Could you please answer the following questions in order to further investigate this issue?

1- Does this issue happen with a new profile? Here is a link on how to create a new profile: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
2- Are you using add-ons? If so could you please list them? (you can try the issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .)
3- Does this issue occur in the latest nightly version of firefox? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/

A component has been assigned in order to get the dev team involved, but if it's not relevant, please feel free to change it to an appropriate one.

Thanks for the report.
Best regards, Clara.

Flags: needinfo?(raycy.jp)
  1. Yes.
    accessing BOJ,
    https://www.stat-search.boj.or.jp/index_en.html
    Interest rates:
    https://www.stat-search.boj.or.jp/ssi/cgi-bin/famecgi2?cgi=$graphwnd_en
    and, click print button,
    and, by Screenshot:component, selecting area, moving the left top corner of the selecting area to the left top corner of the browsing window,
    firefox crashed.

    1. is happen without any add-ons.
  2. Not tryed yet.

(In reply to Clara Guerrero from comment #3)

Hi raycy.jp,
Thanks for the report. Can you confirm that I'm following your steps as shown in my video? I cannot seem to be able to reproduce.
Could you please answer the following questions in order to further investigate this issue?

1- Does this issue happen with a new profile? Here is a link on how to create a new profile: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
2- Are you using add-ons? If so could you please list them? (you can try the issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .)
3- Does this issue occur in the latest nightly version of firefox? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/

A component has been assigned in order to get the dev team involved, but if it's not relevant, please feel free to change it to an appropriate one.

Thanks for the report.
Best regards, Clara.

Flags: needinfo?(raycy.jp)

The incidence will happen on the next "Print" display,

I've tryed the same thing on Windows 10, but the crash didn't happen.

(In reply to raycy.jp from comment #4)

  1. Yes.
    accessing BOJ,
    https://www.stat-search.boj.or.jp/index_en.html
    Interest rates:
    https://www.stat-search.boj.or.jp/ssi/cgi-bin/famecgi2?cgi=$graphwnd_en
    and, click print button,
    and, by Screenshot:component, selecting area, moving the left top corner of the selecting area to the left top corner of the browsing window,
    firefox crashed.

In case the crash has happen on Linux mint,

Can you look at the special page about:crashes and see if you have crashes listed there? We need the crash report id to investigate - each report should have a View link, could you add that here?

Flags: needinfo?(raycy.jp)

(In reply to Sam Foster [:sfoster] (he/him) from comment #8)

Can you look at the special page about:crashes and see if you have crashes listed there? We need the crash report id to investigate - each report should have a View link, could you add that here?

Done. 've send all of the remainings unsended on the list.

Flags: needinfo?(raycy.jp)

I've set the font on firefox from linux mint default:Takao to Noto . and monitoring so far..
https://bugzilla.mozilla.org/show_bug.cgi?id=1722426#c12
The trouble looks calming ..
It seems being known that the Takao font sometimes makes garbled characters on firefox...
It might be this kind of thing...
Thanks.

Flags: needinfo?(sfoster)

i'm not able to reproduce this on Linux Mint, using en-US locale. I suspect this issue is specific to the font and perhaps the japanese locale. I'm not sure why this would be triggered during a screenshot, but I'll move to this to a better component for further investigation.

Component: Screenshots → Graphics
Flags: needinfo?(sfoster)
Product: Firefox → Core

(In reply to raycy.jp from comment #9)

(In reply to Sam Foster [:sfoster] (he/him) from comment #8)

Can you look at the special page about:crashes and see if you have crashes listed there? We need the crash report id to investigate - each report should have a View link, could you add that here?

Done. 've send all of the remainings unsended on the list.

Could you please copy the links to the crashes from about:crashes to this bug? Thanks

Flags: needinfo?(raycy.jp)

(In reply to Jamie Nicol [:jnicol] from comment #12)

(In reply to raycy.jp from comment #9)

(In reply to Sam Foster [:sfoster] (he/him) from comment #8)

Can you look at the special page about:crashes and see if you have crashes listed there? We need the crash report id to investigate - each report should have a View link, could you add that here?

Done. 've send all of the remainings unsended on the list.

Could you please copy the links to the crashes from about:crashes to this bug? Thanks

I remind to catch it at the next time. Thanks.

Flags: needinfo?(raycy.jp)

(In reply to Sam Foster [:sfoster] (he/him) from comment #11)

i'm not able to reproduce this on Linux Mint, using en-US locale. I suspect this issue is specific to the font and perhaps the japanese locale. I'm not sure why this would be triggered during a screenshot, but I'll move to this to a better component for further investigation.

As you point, the troubles I'm suffering seems concerning to the font or else, when making another tab or window...
https://bugzilla.mozilla.org/show_bug.cgi?id=1720573
https://bugzilla.mozilla.org/show_bug.cgi?id=1728254
https://bugzilla.mozilla.org/show_bug.cgi?id=1728255
https://bugzilla.mozilla.org/show_bug.cgi?id=1724921

(In reply to Jamie Nicol [:jnicol] from comment #12)

Could you please copy the links to the crashes from about:crashes to this bug? Thanks
hmm...
These bugs may occur after follows or so..
"Attached image Screenshot at 2021-07-19 04-16-24.png — Details"
report id                   date/time
bp-56e0bb60-d868-489d-b010-7e7ec0210721 2021/07/21 19:15
bp-d9190e74-2ae6-4149-a5ab-7492b0210720 2021/07/20 17:09
bp-b89814d3-72bc-4100-ae46-f683e0210720 2021/07/20 13:53
bp-89a9abed-ecf4-43c3-9bad-3590c0210720 2021/07/20 13:38
bp-b7fea412-1d9d-4f10-a7d7-38b9a0210720 2021/07/20 13:10 ←
bp-96bde3e2-6cb3-4d24-8b77-147500210718 2021/07/19 4:03 ←
bp-c1112558-dddf-481b-859f-916260210718 2021/07/18 23:29
bp-8b160c2c-1ee9-4867-af1c-e233a0210718 2021/07/18 23:16
bp-70535118-3cdf-436d-8a11-98bf50210718 2021/07/18 22:31

These troubles I'm suffering may concern to this my pc's hdd trouble or linux window systems like kde or the font or so...

Consernig to this trouble, I've got some other incident on component: screenshot

"Lack of displaying most of texts or garbled happen, though can take complete Screenshot by component, later soon crashed. "
https://bugzilla.mozilla.org/show_bug.cgi?id=1720573

https://twitter.com/raycy/status/1432743855758077952
https://twitter.com/raycy/status/1432746028147437573
https://twitter.com/raycy/status/1432763519280173056

the date/time on the previous list may JST JapanST ...(In reply to raycy.jp from comment #15)

These troubles I'm suffering may concern to this my pc's hdd trouble or linux window systems like kde or the font or so...

I've been just changing to check in "Allow pages to choose their own fonts, instead of your selections above" on the font setting page.

cf.
https://bugzilla.mozilla.org/show_bug.cgi?id=1449964

(In reply to raycy.jp from comment #16)

I've been just changing to check in "Allow pages to choose their own fonts, instead of your selections above" on the font setting page.

cf.
https://bugzilla.mozilla.org/show_bug.cgi?id=1449964

No crashes since 2021-09-06 07:12:48 UTC ,
with checking "Allow pages to choose their own fonts, instead of your selections above"
and setting every fonts' settings to "Noto … CJK JP"s.

Still no crashes since 2021-09-06 07:12:48 UTC,
and 00:43:15 UTC Tuesday, 7 September 2021, now.(In reply to raycy.jp from comment #17)

(In reply to raycy.jp from comment #16)

No crashes since 2021-09-06 07:12:48 UTC ,
with checking "Allow pages to choose their own fonts, instead of your selections above"
and setting every fonts' settings to "Noto … CJK JP"s.

Without any crashes... Time has passed...
UTC current time is Tuesday, 07-Sep-21 04:18:44 UTC

That time 2021-8-25 or around was calming...
https://bugzilla.mozilla.org/show_bug.cgi?id=1720573#c13

So to confirm, if you check "Allow pages to choose their own fonts, instead of your selections above", then try to take a screenshot and move the top left corner of the rectangle to the top-left corner of the window, it does not crash?

But if you uncheck that option and move the top-left corner of the screenshot, then it does crash?

Flags: needinfo?(raycy.jp)

I can't reproduce the incident so far. Monitoring for a while...
Sorry for my making it mixing or scrambling with some others...

Flags: needinfo?(raycy.jp)

(In reply to Jamie Nicol [:jnicol] from comment #21)
I have not reproduced the incident so far,
but my pc has got the first crash since 2021-09-06 07:12:48 UTC ,
when browsing
http://www.nhc.gov.cn/xcs/yqtb/list_gzbd.shtml
,and click on the top of the list of
http://www.nhc.gov.cn/xcs/yqtb/202109/56f02706eb5244d1a6f1c669779ef6fe.shtml

So to confirm, if you check "Allow pages to choose their own fonts, instead of your selections above", then try to take a screenshot and move the top left corner of the rectangle to the top-left corner of the window, it does not crash?

But if you uncheck that option and move the top-left corner of the screenshot, then it does crash?

(In reply to raycy.jp from comment #23)

And at scecond trial to access the site, nothing happens on the browser of firefox... hmm... It often happens as these incident I'm suffering in these days...
Keeping the fonts settings and monitoring for a while...

(In reply to raycy.jp from comment #23)

but my pc has got the first crash since 2021-09-06 07:12:48 UTC ,
when browsing
http://www.nhc.gov.cn/xcs/yqtb/list_gzbd.shtml
,and click on the top of the list of
http://www.nhc.gov.cn/xcs/yqtb/202109/56f02706eb5244d1a6f1c669779ef6fe.shtml

http://crash-stats.mozilla.com/report/index/bp-4c343281-6aee-472e-a62d-9628a0210907

The suspected settings concerning for the fonts... , if concerning to make the browser crash...

(In reply to raycy.jp from comment #25)

(In reply to raycy.jp from comment #23)

but my pc has got the first crash since 2021-09-06 07:12:48 UTC ,
when browsing
http://www.nhc.gov.cn/xcs/yqtb/list_gzbd.shtml
,and click on the top of the list of
http://www.nhc.gov.cn/xcs/yqtb/202109/56f02706eb5244d1a6f1c669779ef6fe.shtml

http://crash-stats.mozilla.com/report/index/bp-4c343281-6aee-472e-a62d-9628a0210907

This has the crash reason: assertion failed: self.font_contexts.lock_shared_context().has_font(&font.font_key)

Lee, Jonathan, any ideas?

Flags: needinfo?(lsalzman)
Flags: needinfo?(jfkthame)
See Also: → 1511493

No specific ideas, sadly. Seems like this might be similar to bug 1726893 -- some kind of failure passing the expected font over to webrender, which ends up asserting because it expects the font to be there?

Flags: needinfo?(jfkthame)

I've got some crashes as follows after the last font settings.
So, I 've changed checking yes in the last checkbox on the font settings... and now...
report ID day/time send
bp-8715b527-754a-4f36-bd7a-00e8a0210908 2021/09/09 3:33
bp-54031ab5-b28a-4a53-bc66-ac35e0210908 2021/09/09 3:33
bp-19797728-86b7-47c8-9ae1-02efa0210908 2021/09/09 3:33
bp-ce9c329e-9c09-43ab-9710-f52380210908 2021/09/09 3:33
bp-9e506397-d571-4d4b-aaa8-c2a3a0210908 2021/09/09 3:33
bp-6e8cdb36-12cc-4fcb-ad91-52c130210908 2021/09/09 3:14
bp-c9cced47-0715-4e4a-9769-f59860210908 2021/09/09 3:01
bp-2a931114-892c-4a36-8dd5-bfd090210908 2021/09/09 2:58
bp-b24f1b51-2403-49b5-ae26-d3ce40210908 2021/09/09 2:58
bp-040ee5cb-7050-4a1c-ae3e-9cccd0210908 2021/09/09 2:49
bp-3dbe7900-50d3-4bf9-b67f-c18770210908 2021/09/09 2:08
bp-4c343281-6aee-472e-a62d-9628a0210907 2021/09/08 4:09
bp-55c5e348-b664-4992-b96d-59cd30210906 2021/09/06 16:12

The browser of firefox crashed for sometimes, since then as follows,
so, I've changed the font settings from default the Takao to the Noto … CJK JP.
reprot ID date/time send
bp-ec18cbb3-b396-46a1-9706-ed33b0210908 2021/09/09 7:28
bp-9efee2af-40b8-4bc4-9f3a-045820210908 2021/09/09 6:32
bp-8674ce44-e36f-4dde-acce-3b4b30210908 2021/09/09 6:32
bp-3b3d68ab-2b83-4168-8fd1-9ec730210908 2021/09/09 6:32
bp-fb5214c0-18b5-4c76-8996-669960210908 2021/09/09 6:26
bp-75271c8f-2b61-4386-93aa-a70c50210908 2021/09/09 6:26
bp-04db16ff-bc08-487b-91e2-9f6990210908 2021/09/09 6:21
bp-8715b527-754a-4f36-bd7a-00e8a0210908 2021/09/09 3:33

See Also: → 1729779
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: