Race condition when creating tab in closing window?

23 views
Skip to first unread message

Ben

unread,
Jan 24, 2012, 3:59:35 AM1/24/12
to Chromium-extensions
There seems to be a race condition when trying to create a tab in a
window that is closing (which ultimately results in a crash). Obviously,
you should probably not do that. But because it is possible, I thought I
should bring it to someone's attention.

I've attached a simple test extension (unpacked, zipped) which exhibits
this behavior. To test, simply do the following:

- unzip and install the extension
- open a new window
- navigate to some site (optional)
- close the tab

(Warning, will likely *crash* your browser, so save your work first,
backup important data, etc., just in case)

tabrace.zip

Sam Kerner

unread,
Jan 24, 2012, 10:57:12 AM1/24/12
to Ben, Chromium-extensions
Ben,
If you can crash the browser, you should file a bug at
http://crbug.com/new . What OS do you see this on? What version of
chrome?

Sam

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

Ben

unread,
Jan 24, 2012, 4:17:03 PM1/24/12
to Sam Kerner, Chromium-extensions
Sorry, filed at http://crbug.com/111245

OS: Fedora 16, 64-bit
Chrome: 17.0.963.33 (Beta)

Sam Kerner

unread,
Jan 24, 2012, 4:42:48 PM1/24/12
to Ben, Chromium-extensions
On Tue, Jan 24, 2012 at 4:17 PM, Ben <benj...@gmail.com> wrote:
> Sorry, filed at http://crbug.com/111245
>
> OS: Fedora 16, 64-bit
> Chrome: 17.0.963.33 (Beta)

Ben,
Thanks for reporting with a testcase.

Sam

Devin

unread,
Jan 24, 2012, 6:54:40 PM1/24/12
to Chromium-extensions
*LIKE*
>  tabrace.zip
> 1KViewDownload
Reply all
Reply to author
Forward
0 new messages