Closed Bug 1096496 Opened 10 years ago Closed 10 years ago

Tab crashes on bugzilla.mozilla.org when uploading an attachment

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1086684
Tracking Status
e10s ? ---

People

(Reporter: u279076, Unassigned)

References

Details

(Whiteboard: [e10s])

Crash Data

Attachments

(1 file)

I was trying to report a bug and attach a screenshot to the bug but the e10s tab kept crashing. I crashed three times before I gave up and switched to non-e10s mode. 

All three crashes have the same signature:
> mozalloc_abort(char const*) | Abort | NS_DebugBreak | mozilla::ipc::MessageChannel::DebugAbort(char const*, int, char const*, char const*, bool) const | mozilla::ipc::MessageChannel::Send(IPC::Message*, IPC::Message*) 

Here is one of those crash reports:
https://crash-stats.mozilla.com/report/index/3a3dc1c7-ee64-4a92-83b1-6c0d22141110
Blocks: e10s
Anthony, are you able to do this in e10s mode on https://landfill.bugzilla.org/bugzilla-tip/ ?  Or is this bmo-specific?  Trying to find a way to reproduce without spamming bmo.  ;)
(In reply to Boris Zbarsky [:bz] from comment #2)
> Anthony, are you able to do this in e10s mode on
> https://landfill.bugzilla.org/bugzilla-tip/ ? 

Yes, this reproduces for me by trying to attach an image to a new bug report on bugzilla-tip.
Here's mine, from a similar scenario with Bugzilla today, on nightly (Windows 7): https://crash-stats.mozilla.com/report/index/4b96145d-2e27-4343-b4a4-e823b2141112
I've been trying to reproduce (on Mac) on landfill and failing so far.  :(

Anything interesting about the filenames of the images in question?
(In reply to Boris Zbarsky [:bz] from comment #6)
> I've been trying to reproduce (on Mac) on landfill and failing so far.  :(
> 
> Anything interesting about the filenames of the images in question?

Attached is a patch that caused the tab crash for me even on landfill.bugzilla.org. Also, when this happens for me all other open tabs show the 'Tab crashed' message, requiring me to click 'Try Again' or in some cases reloading from the toolbar.
This might be a more generic issue - I just saw the same thing uploading a running activity to runkeeper.com
> Attached is a patch that caused the tab crash for me even on landfill.bugzilla.org.

OK.  Could you please post _exact_ steps to reproduce?  Because these steps that I just followed in a current trunk debug build with a clean profile:

1)  Save attachment 8522898 [details] [diff] [review] to /Users/bzbarsky/bug1095751.patch
2)  Load https://landfill.bugzilla.org/bugzilla-tip/show_bug.cgi?id=2565 in the debug build
3)  Click the "Add an attachment" link.
4)  Log in (because it's a clean profile, so no cookies)
5)  Click the "Browse..." button.
6)  Select the file with the mouse in the file picker, click "Open" in the filepicker.
7)  Type "hello" in the "Description" field.
8)  Click "Submit"

do not cause a crash for me.

I also tried with 2014-11-16 nightly (opt build now), just in case, using the same steps.  Again, no crash.

So it would be really nice to have steps to reproduce that _do_ cause the crash.

> This might be a more generic issue   

Sure.  The reason it would be nice to reproduce on landfill is that no one cares if we upload a bunch of stuff there.  But I'll settle for reliable steps to reproduce on any site, really.
I'm also unable to replicate on latest nightly with a fresh profile. I can still replicate it with my default profile though. The steps are:

1. Log into landfill.bugzilla.org
2. Start creating a new bug
3. Select any file as an attachment
OK.  Can you figure out what it is about your profile that triggers the crash?  Extensions?  Preferences?  Something else?
Flags: needinfo?(dave.hunt)
The people who are able to reproduce this bug - do you have the Lazarus form recovery add-on?

If so, this is likely a dupe of bug 1086684.
Flags: needinfo?(anthony.s.hughes)
(In reply to Mike Conley (:mconley) - Needinfo me! from comment #12)
> The people who are able to reproduce this bug - do you have the Lazarus form
> recovery add-on?
> 
> If so, this is likely a dupe of bug 1086684.

I had Lazarus enabled. After disabling it I cannot reproduce the problem. I'll leave Anthony to resolve as a duplicate if this is the same for him.
Flags: needinfo?(dave.hunt)
That's why I asked about clean profiles...  is this extension not installed in the profile?
(In reply to Please do not ask for reviews for a bit [:bz] from comment #14)
> That's why I asked about clean profiles...  is this extension not installed
> in the profile?

As I said in comment 10 I can't replicate with a clean profile, and in comment 14 I also said that I can't replicate it when I just disable the Lazarus addon. I can't speak for Anthony though.
Oh, I see.  I had misread comment 10 just now, sorry!
I do not have the Lazarus add-on nor do I know what that is. When I reported this I was able to reproduce with a new profile. That said, I can no longer reproduce this in today's Nightly. Perhaps this has been inadvertently fixed for my use case.
Flags: needinfo?(anthony.s.hughes)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: