Closed Bug 1047615 Opened 10 years ago Closed 10 years ago

[e10s] Hang when viewing a page with VimFx 0.5.12 extension enabled.

Categories

(Core :: IPC, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s + ---

People

(Reporter: Aleksej, Unassigned)

References

Details

(Keywords: addon-compat, hang, Whiteboard: [e10s][testday-20140801])

2014-08-01-03-02-01-mozilla-central-firefox-34.0a1.ru.linux-x86_64

1. VimFx 0.5.12 from https://addons.mozilla.org/en-US/firefox/addon/vimfx/
2. Change "browser.tabs.remote.autostart" to true and restart Firefox.
3. View a page, e.g. Wikipedia.

In a second or two, Firefox hangs.

kill -ILL:
bp-5e2960f1-0b4d-4c96-bd82-52e1a2140801
bp-668ec5ec-8f32-481d-8163-6048b2140801
bp-6625f4de-86df-4367-8e6c-63c6c2140801
bp-946d83ac-8827-4176-93c6-96c4b2140801



Terminal:

…@…:…/2014-08-01-03-02-01-mozilla-central-firefox-34.0a1.ru.linux-x86_64$ ./firefox -P

(process:28545): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

(firefox:28545): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
/usr/share/themes/Shiki-Dust/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.

(process:28545): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(firefox:28545): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

(firefox:28545): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
/usr/share/themes/Shiki-Dust/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/share/themes/Shiki-Dust/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
###!!! [MessageChannel][Child][/builds/slave/m-cen-l64-ntly-000000000000000/build/ipc/glue/MessageChannel.cpp:583] Assertion (!DispatchingUrgentMessage()) failed.  sync messages forbidden while handling urgent message 
  MessageChannel 'backtrace':
  [(0) out async PBrowser::Msg_RpcMessage(actor=2) ]
  [(1) out sync PBrowser::Msg_GetInputContext(actor=2) ]
  remote Interrupt stack guess: 0
  deferred stack size: 0
  out-of-turn Interrupt replies stack size: 0
  Pending queue size: 0, front to back:
[Child 28616] ###!!! ABORT: sync messages forbidden while handling urgent message: file /builds/slave/m-cen-l64-ntly-000000000000000/build/ipc/glue/MessageChannel.cpp, line 1733
2014-08-02 00:10:21: stackwalker.cc:125: INFO: Couldn't load symbols for: /lib/x86_64-linux-gnu/libpthread.so.0|
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x0
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359cc6608
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa3594683a0
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x13f
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d140c0
2014-08-02 00:10:21: stackwalker.cc:125: INFO: Couldn't load symbols for: /…/2014-08-01-03-02-01-mozilla-central-firefox-34.0a1.ru.linux-x86_64/libnspr4.so|
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d141c0
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0xffffffff
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359becc20
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x31f6bca
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d140e0
2014-08-02 00:10:21: stackwalker.cc:125: INFO: Couldn't load symbols for: /…/2014-08-01-03-02-01-mozilla-central-firefox-34.0a1.ru.linux-x86_64/libxul.so|
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359ae0060
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0xffffffff
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d14110
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359ae0060
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359ae0060
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa355ce3c70
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d141c0
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d14140
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0xffffffdd
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359ae0060
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa355ce3c70
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0xffffffdd
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d14190
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359ae0060
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa359becc20
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa357b0e1b8
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fa355ce3c70
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d14290
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d142d0
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d14220
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d14288
2014-08-02 00:10:21: basic_code_modules.cc:88: INFO: No module at 0x7fffe5d1425c
…@…:…/2014-08-01-03-02-01-mozilla-central-firefox-34.0a1.ru.linux-x86_64$ /usr/share/themes/Shiki-Dust/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
~
When the hang happens, I see the line with "ABORT"; some time later, the rest appears.
"kill -ILL" leaves the "plugin-container" (AKA "Browser") process around.  I had 30 of those piled up.
Thanks, Aleksej. This hang is probably related to or a duplicate of bug 1010737.
Blocks: e10s-addons
tracking-e10s: --- → ?
Depends on: 1010737
Regression window:

wfm 2014-07-15-03-02-07-mozilla-central-firefox-33.0a1.ru.linux-x86_64  095d2a9c2be5
hang 2014-07-16-03-02-02-mozilla-central-firefox-33.0a1.ru.linux-x86_64  869971ad9fd6

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=095d2a9c2be5&tochange=869971ad9fd6
Thanks for finding the regression range, Aleksej. There are a few suspicious bugs in that pushlog:

* bug 1037374 - Update Add-on SDK
* bug 1031609 - e10s add-on shim
* bug 1017323 - e10s add-on interposition
Aleksej: does VimFx still hang your browser with e10s enabled?

hi akhodakivskiy, if you have any questions about add-on support for multiprocess Firefox (e10s), just drop by the #e10s IRC channel on irc.mozilla.org. MDN also has a good introduction:

https://developer.mozilla.org/en-US/Add-ons/Working_with_multiprocess_Firefox
Thanks for heads up, I will investigate this.
(In reply to Chris Peterson (:cpeterson) from comment #6)
> Aleksej: does VimFx still hang your browser with e10s enabled?

No, 2014-08-30-03-02-04-mozilla-central-firefox-34.0a1.en-US.linux-x86_64 does not hang.  But VimFx keys do not work.
hang 2014-08-17-03-02-04-mozilla-central-firefox-34.0a1.ru.linux-x86_64
hang 2014-08-19-03-02-02-mozilla-central-firefox-34.0a1.ru.linux-x86_64 111a1da2a95d
wfm 2014-08-20-03-02-02-mozilla-central-firefox-34.0a1.en-US.linux-x86_64 ffdd1a398105
wfm 2014-08-22-03-02-01-mozilla-central-firefox-34.0a1.en-US.linux-x86_64

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=111a1da2a95d&tochange=ffdd1a398105
Just to be clear - the current hanging issue - is it a problem with e10s implementation, or something wrong about the VimFx addon? As I understood there will be backward compatibility for older addons..
(In reply to [:Aleksej] from comment #9)
> https://hg.mozilla.org/mozilla-central/
> pushloghtml?fromchange=111a1da2a95d&tochange=ffdd1a398105

Aleksej, thanks for bisecting the hang fix. Nothing in that pushlog range stands out (to me) as an obvious hang fix, but at least the hang is gone. :)


(In reply to Anton Khodakivskiy from comment #10)
> Just to be clear - the current hanging issue - is it a problem with e10s
> implementation, or something wrong about the VimFx addon? As I understood
> there will be backward compatibility for older addons..

Anton, from Aleksej's comment 8, it sounds like the hang is no longer a problem, but VimFx has some other problems with e10s. We will try to maintain Firefox compatibility for older addons, but many addons will require fixes to work well with e10s.
I'm closing this bug WFM because we've received other VimFx bug reports (like bug 1095748), so presumably those testers' browsers are not hanging. :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.