Crash when trying to open a notification

UNCONFIRMED
Unassigned

Status

()

Toolkit
Notifications and Alerts
P3
critical
UNCONFIRMED
a year ago
9 months ago

People

(Reporter: goetz.waschk, Unassigned)

Tracking

({crash, stackwanted})

52 Branch
x86_64
Linux
crash, stackwanted
Points:
---

Firefox Tracking Flags

(firefox-esr52 affected, firefox56 affected)

Details

(URL)

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170420093621

Steps to reproduce:

This is with the last.fm web-scrobbler extension installed and enabled:
https://github.com/david-sabata/web-scrobbler
I was playing this youtube video: https://www.youtube.com/watch?v=ilfy5XjRl7Q&feature=em-subs_digest



Actual results:

firefox crashed with this error message:

1497422069136 addons.webextension.{799c0914-748b-41df-a25c-22d008f9e83f} WARN Loading extension '{799c0914-748b-41df-a25c-22d008f9e83f}': Reading manifest: Error processing page_action.chromeBroken: An unexpected property was found in the WebExtension manifest.
1497422069136 addons.webextension.{799c0914-748b-41df-a25c-22d008f9e83f} WARN Loading extension '{799c0914-748b-41df-a25c-22d008f9e83f}': Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
1497422069166 addons.webextension.{799c0914-748b-41df-a25c-22d008f9e83f} WARN Please specify whether you want browser_style or not in your page_action options.
process 18426: arguments to dbus_message_iter_append_fixed_array() were incorrect, assertion "n_elements <= DBUS_MAXIMUM_ARRAY_LENGTH / _dbus_type_get_alignment (element_type)" failed in file dbus-message.c line 2344.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Redirecting call to abort() to mozalloc_abort

[1] 18426 segmentation fault firefox


Expected results:

It should have opened a notification bubble 'now playing this song'.
(Reporter)

Comment 1

a year ago
This is on Firefox ESR 52.1.0 as provided by Red Hat Enterprise 6.9. 
The version of the web-scrobbler extension is 1.65.0. I have linked the bug I had opened for web-scrobbler, they pointed me here.
The crash didn't happen with other youtube music videos, e.g. this one worked fine: https://www.youtube.com/watch?v=I8Xq9enRx18
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → WebExtensions: General
Product: Firefox → Toolkit
Component: WebExtensions: General → Shell Integration
Product: Toolkit → Firefox

Comment 2

a year ago
WFM with these STR in Fx 52.1.0esr on Win10 1703, without last.fm connected.

Please try the https://developer.mozilla.org/en-US/docs/How_to_get_a_stacktrace_for_a_bug_report.
Severity: normal → critical
Component: Shell Integration → Untriaged
Keywords: crash, stackwanted
(Reporter)

Comment 3

a year ago
(In reply to YF (Yang) from comment #2)
> WFM with these STR in Fx 52.1.0esr on Win10 1703, without last.fm connected.
> 
> Please try the
> https://developer.mozilla.org/en-US/docs/
> How_to_get_a_stacktrace_for_a_bug_report.

It will not crash if last.fm is not connected. I have tried to get a stacktrace but failed. I was able to reproduce the bug with the mozilla.org build of firefox 54.0 on Ubuntu 16.04 x86_64. I didn't get anything in about:crashes . The error on the console is this:

./firefox
1497507877207	addons.webextension.{799c0914-748b-41df-a25c-22d008f9e83f}	WARN	Loading extension '{799c0914-748b-41df-a25c-22d008f9e83f}': Reading manifest: Error processing page_action.chromeBroken: An unexpected property was found in the WebExtension manifest.
1497507877207	addons.webextension.{799c0914-748b-41df-a25c-22d008f9e83f}	WARN	Loading extension '{799c0914-748b-41df-a25c-22d008f9e83f}': Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
1497507877235	addons.webextension.{799c0914-748b-41df-a25c-22d008f9e83f}	WARN	Please specify whether you want browser_style or not in your page_action options.
[1]    11580 terminated  ./firefox

Comment 4

a year ago
I was tried the above STR with last.fm connected now, but not encounter a crash, maybe it is Linux-only or something else.
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 

I could not reproduce the issue with latest esr build 52.2.0 on Ubuntu 14.04 (x86) and 16.04 (x64) with last.fm connected. It shows the expected notification bubble "now playing this song" and no error in the console at all.

You can try to reproduce it with latest ESR build 52.2.0.
Flags: needinfo?(goetz.waschk)
(Reporter)

Comment 6

a year ago
It still crashes 100% on RHEL6 with firefox ESR 52.2.0 and on Ubuntu 16.04 with Firefox 54.0. I haven't tested ESR on Ubuntu yet.
Flags: needinfo?(goetz.waschk)
(Reporter)

Comment 7

a year ago
OK, it also crashes on Ubuntu 16.04 with ESR 52.2.0.
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Given the fact that the issue seems to be related to something that is specific to your setup, could you please try to find a regression range using Mozregression tool using the Firefox 54 or to provide a crash ID as proposed by Yang in comment 2?
Information on the tool is available at http://mozilla.github.io/mozregression/. Please do not hesitate to contact us if you encounter and problems.
Flags: needinfo?(goetz.waschk)
(Reporter)

Comment 9

a year ago
(In reply to Stefan [:StefanG_QA] from comment #8)
As I said, after the crash, about:crashes stays empty. So I cannot provide a crash ID. Also I don't know if it is useful to bisect firefox if it isn't clear if it is a regression at all.

I have just tested 55.0b3 on Ubuntu 16.04, I still can reproduce the crash. I will try nightly next.
Flags: needinfo?(goetz.waschk)
(Reporter)

Comment 10

a year ago
I have just tested the nightly 56.0a1.en-US.linux-x86_64. I can still reproduce the crash. This time, the error message is this:

./firefox
1498068282181	addons.webextension.{799c0914-748b-41df-a25c-22d008f9e83f}	WARN	Please specify whether you want browser_style or not in your page_action options.
[Child 704] WARNING: pipe error (20): Connection reset by peer: file /home/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
Making sure andym knows about this.
Flags: needinfo?(amckay)

Comment 12

10 months ago
Thanks Joe, I don't think this is WebExtensions per se, but the underlying notification library. There doesn't seem to be a triage owner for this component though. Instead pinging Karl who is the module owner...
Flags: needinfo?(amckay) → needinfo?(karlt)
Guessing a component, but it's difficult to determine much without a stack trace.
Component: Widget: Gtk → Notifications and Alerts
Flags: needinfo?(karlt)
Product: Core → Toolkit
Possibly related to bug 1282419?

Marking as P3 since we've been shipping with this issue since at least 52 and haven't got a high volume of reports.
status-firefox56: --- → affected
status-firefox-esr52: --- → affected
Priority: -- → P3
See Also: → bug 1282419
(Reporter)

Comment 15

9 months ago
I'm still able to reproduce with ESR 52.3.0 on RHEL6 and with 55.0.2 on Ubuntu 16.04.
You need to log in before you can comment on or make changes to this bug.