Strange Extension Crashes

569 views
Skip to first unread message

HL

unread,
May 2, 2013, 4:51:32 AM5/2/13
to chromium-...@chromium.org
Hello,

I'm developing a chrome extension that uses the Event Page API. I'm also using the alarm API.
For some some users there are strage and often crashes of the extension.

This is the Chrome's log :

[2545:39683:0421/181857:VERBOSE1:resource_loader.cc(336)] OnResponseStarted: http://1-act.channel.facebook.com/pull?channel=p_840918375&seq=1&partition=160&clienti$

[2545:39683:0421/181857:VERBOSE1:buffered_resource_handler.cc(275)] To buffer: http://1-act.channel.facebook.com/pull?channel=p_840918375&seq=1&partition=160&clien$

[2545:39683:0421/181857:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "http://1-act.channel.facebook.com/pull?channel=p_840918375&seq=1&partition=160&clientid$

[2545:39683:0421/181857:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "http://1-act.channel.facebook.com/pull?channel=p_840918375&seq=1&partition=160&clientid$

[2545:39683:0421/181857:VERBOSE1:resource_loader.cc(627)] ResponseCompleted: http://1-act.channel.facebook.com/pull?channel=p_840918375&seq=1&partition=160&clienti$

[2545:39683:0421/181916:VERBOSE1:resource_loader.cc(336)] OnResponseStarted: https://secure.onefeed.me/v2/notifications

[2545:39683:0421/181916:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "https://secure.onefeed.me/v2/notifications" bytes_read = 601

[2545:39683:0421/181916:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "https://secure.onefeed.me/v2/notifications" bytes_read = 0

[2545:39683:0421/181916:VERBOSE1:resource_loader.cc(627)] ResponseCompleted: https://secure.onefeed.me/v2/notifications

[2545:3079:0421/181916:INFO:CONSOLE(1)] "Error query notifications", source: chrome-extension://cidjbmjjebfhfjodbphfklcmknafddmb/js/modules/ReadOnlyResource.js (1)

[2545:39683:0421/181919:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "https://0.docs.google.com/spreadsheet/fm/bind?id=tU5EKn3M6jmpqfxKTtFhhWw.02974577669273$

[2545:39683:0421/181919:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "https://0.docs.google.com/spreadsheet/fm/bind?id=tU5EKn3M6jmpqfxKTtFhhWw.02974577669273$

[2545:39683:0421/181919:VERBOSE1:resource_loader.cc(627)] ResponseCompleted: https://0.docs.google.com/spreadsheet/fm/bind?id=tU5EKn3M6jmpqfxKTtFhhWw.0297457766927$

[2545:39683:0421/181919:VERBOSE1:resource_loader.cc(336)] OnResponseStarted: https://0.docs.google.com/spreadsheet/fm/bind?id=tU5EKn3M6jmpqfxKTtFhhWw.0297457766927$

[2545:39683:0421/181919:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "https://0.docs.google.com/spreadsheet/fm/bind?id=tU5EKn3M6jmpqfxKTtFhhWw.02974577669273$

[3475:1799:0421/181931:VERBOSE1:dispatcher.cc(873)] Num tracked contexts: 1

[3475:1799:0421/181931:VERBOSE1:chrome_v8_context.cc(50)] Destroyed context for extension

  extension id: cidjbmjjebfhfjodbphfklcmknafddmb

[3475:1799:0421/181931:VERBOSE1:chrome_v8_context.cc(126)] Could not execute chrome hidden method: dispatchOnUnload

[3475:1799:0421/181931:VERBOSE1:dispatcher.cc(873)] Num tracked contexts: 0

[3475:1799:0421/181931:VERBOSE1:chrome_v8_context.cc(50)] Destroyed context for extension

  extension id:

[3475:18951:0421/181931:VERBOSE1:ipc_sync_channel.cc(385)] Canceling pending sends

[2545:39683:0421/181937:VERBOSE1:resource_loader.cc(336)] OnResponseStarted: https://docs.google.com/spreadsheet/health/checkreload?id=tU5EKn3M6jmpqfxKTtFhhWw.0297$

[2545:39683:0421/181937:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "https://docs.google.com/spreadsheet/health/checkreload?id=tU5EKn3M6jmpqfxKTtFhhWw.02974$

[2545:39683:0421/181937:VERBOSE1:resource_loader.cc(376)] OnReadCompleted: "https://docs.google.com/spreadsheet/health/checkreload?id=tU5EKn3M6jmpqfxKTtFhhWw.02974$

[2545:39683:0421/181937:VERBOSE1:resource_loader.cc(627)] ResponseCompleted: https://docs.google.com/spreadsheet/health/checkreload?id=tU5EKn3M6jmpqfxKTtFhhWw.0297$


It seems like this is the problem : "Could not execute chrome hidden method: dispatchOnUnload"

Does anyone have an idea what is the problem causing these bugs ?


Thanks!



Benjamin Kalman

unread,
May 2, 2013, 10:13:31 AM5/2/13
to HL, chromium-...@chromium.org
I may have found the bug - are you able to figure out the Chrome version that these errors are for? Are you able to repro it? It would be great if you could file a bug with any info you have.


--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en-US.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.
 
 

Benjamin Kalman

unread,
May 2, 2013, 10:22:57 AM5/2/13
to HL, chromium-...@chromium.org
I would guess that it happens if an extension's event page runs without ever making an API call. This would seem a pretty likely thing to happen with event pages + alarms API.

Benjamin Kalman

unread,
May 2, 2013, 4:44:15 PM5/2/13
to HL, chromium-...@chromium.org
I can repro this but it doesn't cause a crash.

HL

unread,
May 6, 2013, 7:47:58 AM5/6/13
to chromium-...@chromium.org, HL
Hi,

Hi thanks so much.
I cannot repro this bug, it happens occasionally on my friends mac running chrome 26.0.1410.65.

What do you mean by 'extension's event page runs without ever making an API call' ??

Thanks,
Hadar.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.

Benjamin Kalman

unread,
May 6, 2013, 11:58:11 AM5/6/13
to HL, chromium-...@chromium.org

On Mon, May 6, 2013 at 4:47 AM, HL <hla...@gmail.com> wrote:
What do you mean by 'extension's event page runs without ever making an API call' ??

The extension system is initialised lazily - only after the first call to extension APIs. However, the bug is that the extension unload logic runs regardless of whether it was initialised or not. This is what may be causing the problems, but I can't repro it.
Reply all
Reply to author
Forward
0 new messages