Closed Bug 1372819 Opened 7 years ago Closed 1 year ago

Crash when trying to open a notification

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect, P3)

52 Branch
x86_64
Linux

Tracking

(firefox-esr52 affected, firefox56 affected)

RESOLVED WORKSFORME
Tracking Status
firefox-esr52 --- affected
firefox56 --- affected

People

(Reporter: goetz.waschk, Unassigned)

References

()

Details

(Keywords: crash, stackwanted)

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'.
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
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
(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
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)
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)
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)
(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)
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)
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.
Priority: -- → P3
See Also: → 1282419
I'm still able to reproduce with ESR 52.3.0 on RHEL6 and with 55.0.2 on Ubuntu 16.04.
Severity: critical → S2

goetz, do you still crash?

Flags: needinfo?(goetz.waschk)

Oh, the old bug, just close it already.

Flags: needinfo?(goetz.waschk)
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.