# Chrome window crashing on upload

**URL:** https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330
**Category:** Bug
**Created:** [May 27, 2015, 8:44pm UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330 "2015-05-27T20:44:39Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![yamikuronue](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yamikuronue/32/114514_2.png) [@yamikuronue](https://meta.discourse.org/u/yamikuronue)
#### Post date: [May 27, 2015, 7:39pm UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330/1 "2015-05-27T19:39:46Z")

</div>

Could the reason [for the bug this report originally was posted in] cause crashing because I’m seeing crashing and if it’s a duplicate I’d rather not waste time typing it up.

But I’m not happy about the crashing.

ETA: I’m less happy about the flagging and moderation comment caused by this post, but since I’ve had some time to calm down, I’ll play the game a wee bit longer.

**Steps to repeat**

1. Open a Chrome window with multiple tabs
2. (Unsure if relevant) Open a second Chrome window with multiple tabs
3. Open a single Discourse tab in one of the windows
4. Take a screenshot
5. Begin composing a reply
6. In Paint, copy a subset of the image
7. Paste into the reply window

**Expected** : Image appears in the reply window  
**Actual** : The entire window vanishes just as it reaches 100% uploaded. The second Chrome window remains open.

**Environment** : Chrome for Windows 7  
**Reproducibility:** I’m batting 50% right now: two crashes in four pasted images.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 27, 2015, 8:54pm UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330/3 "2015-05-27T20:54:30Z")

</div>

What are the repro steps exactly? Just to upload an image in Chrome?

![](https://global.discourse-cdn.com/meta/original/3X/2/7/27e15c04eba8a58460e86feb8f30f5c7d51812fb.png)

No crashes here after uploading that in Chrome.

---

<div class="post-metadata">

### Author: ![GiraffeSilver](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/giraffesilver/32/42168_2.png) [@GiraffeSilver](https://meta.discourse.org/u/GiraffeSilver)
#### Post date: [May 27, 2015, 9:08pm UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330/4 "2015-05-27T21:08:49Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/e/1/e1541ddf1d5c65b100c6863f2a919199f60d338f.png)

norepro

---

<div class="post-metadata">

### Author: ![yamikuronue](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yamikuronue/32/114514_2.png) [@yamikuronue](https://meta.discourse.org/u/yamikuronue)
#### Post date: [May 27, 2015, 9:21pm UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330/5 "2015-05-27T21:21:18Z")

</div>

> [@codinghorror](#):
>
> What are the repro steps exactly?

I have edited the opening post of this thread, which I didn’t need twenty characters to say, so I’m expanding upon that point slightly.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 28, 2015, 8:21am UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330/6 "2015-05-28T08:21:56Z")

</div>

Isn’t this fixed by @sam’s fix to not broadcast image uploads to all message bus browser clients?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 1, 2015, 2:53am UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330/7 "2015-06-01T02:53:30Z")

</div>

I am pretty certain this is fixed, we were routing “stuff just got uploaded” to all windows and it could cause issues. Additionally we were not tearing down events right. Combined this causes pain.

@yamikuronue closing, flag to reopen if still an issue.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 1, 2015, 2:53am UTC](https://meta.discourse.org/t/chrome-window-crashing-on-upload/29330/8 "2015-06-01T02:53:36Z")

</div>


