Closed Bug 1462678 Opened 6 years ago Closed 6 years ago

submitCrash(Intent intent) : Dead local store on crashId

Categories

(GeckoView :: General, defect, P3)

Unspecified
Android
defect

Tracking

(firefox-esr52 wontfix, firefox-esr60 wontfix, firefox61 wontfix, firefox62 wontfix, firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox-esr52 --- wontfix
firefox-esr60 --- wontfix
firefox61 --- wontfix
firefox62 --- wontfix
firefox63 --- fixed

People

(Reporter: Sylvestre, Assigned: arshadkazmi42, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, good-first-bug, Whiteboard: [CID 277696])

Attachments

(1 file)

OS: Unspecified → Android
Priority: -- → P3
Can I take this up? Is it available for grab?
Flags: needinfo?(sledru)
Flags: needinfo?(cpeterson)
Hi Arshad, thanks for your interest! Have you built Firefox for Android before? The first step for fixing this bug is download and build the code. Here are instructions:

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_for_Android_build
Flags: needinfo?(sledru)
Flags: needinfo?(cpeterson)
Hey Chris,
I have one doubt. 
So I already have a Desktop build running in my laptop. Is it possible to have android build also with the same folder in which my desktop build is running?
Flags: needinfo?(cpeterson)
done with the android artifact setup.
Any specific things I need to follow? or just have to open android code in android studio and make changes?
Correct :)

Also, as the code changed, the correct line is now:
https://dxr.mozilla.org/mozilla-central/source/mobile/android/geckoview/src/main/java/org/mozilla/gecko/CrashReporterService.java#200
                final String crashId = passedMinidumpName.substring(0, passedMinidumpName.length() - 4);
Flags: needinfo?(cpeterson)
I made the changes, but getting some issues during build in android studio.
Is there some docs to generate apk using 'mach' or anyother tool for that, to verify my fix?
Flags: needinfo?(sledru)
I am getting this error

Building with Gradle is only supported for Fennec, i.e., MOZ_BUILD_APP == 'mobile/android'.

Am I missing something from setup docs?
Flags: needinfo?(sledru)
yes, please read the doc that Chris shared with you.
Flags: needinfo?(sledru)
finally done with the build and completed the fix.
Pushed the code to phabricator for review

Whom should I add as reviewer?
Flags: needinfo?(sledru)
You will find the information here :)
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction#Step_4_Get_your_code_reviewed

(I am not lazy, I am giving you pointers for you to understand how to do it :)
Flags: needinfo?(sledru)
So I found two reviewers from previous commits to the same file.

:jchen && :snorp	

Go to add them & you :sylvestre (as you are assigned mentor)

as reviewers for my code push
Flags: needinfo?(sledru)
Assignee: nobody → arshadkazmi42
Flags: needinfo?(sledru)
Comment on attachment 9004075 [details]
Bug 1462678 - Remove an unused call in the android CrashReporterService

Jim Chen [:jchen] [:darchons] has approved the revision.
Attachment #9004075 - Flags: review+
Attachment #9004075 - Attachment description: Bug 1462678 - Removed unused code from Gecko → Bug 1462678 - Remove an unused call in the android CrashReporterService
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/48ca12e943f5
Removed unused code from Gecko r=jchen
https://hg.mozilla.org/mozilla-central/rev/48ca12e943f5
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 63 → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: