crash [@ libdvm.so@0x35790][@ libdvm.so@0x35748 ][@ libdvm.so@0x35784 ][@ libdvm.so@0x357d0 ]

RESOLVED FIXED

Status

()

Core
Widget: Android
--
critical
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: tarend, Assigned: dougt)

Tracking

({crash})

Trunk
ARM
Android
crash
Points:
---

Firefox Tracking Flags

(firefox5 fixed, firefox6 fixed, fennec5+)

Details

(crash signature)

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
This bug was filed from the Socorro interface and is 
report bp-f46cdd8c-4833-47ec-a58e-97bcb2110311 .
============================================================= 
This happens wjen long-tapping on a url and selecting copy

Updated

6 years ago
Component: General → Widget: Android
Product: Fennec → Core
QA Contact: general → android
(Assignee)

Updated

6 years ago
Assignee: nobody → doug.turner
tracking-fennec: --- → ?
Sounds like a dupe of bug 640337
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 640337
all these crash reports came in the day after 640337 landed, so I don't think its a dupe.

However, all these crash reports were for one build only, so it looks like it is a dupe of something that landed on 3/10.
Status: RESOLVED → REOPENED
tracking-fennec: ? → 2.0-
Resolution: DUPLICATE → ---
so... resolving works for me since this fell off the crash stats
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago6 years ago
Resolution: --- → WORKSFORME

Comment 4

6 years ago
It is in 4.0 crash stats:
https://crash-stats.mozilla.com/report/list?range_value=2&range_unit=weeks&signature=libdvm.so%400x35790
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Firefox Mobile 4.0 RC 1 build 3, Android 2.3.3 (Google Nexus)

Copying the url from urlbar causes a crash.

Steps to reproduce:
1. Launch Firefox Mobile.
2. Open a website, e.g. mozilla.com
3. Click into the urlbar to get into edit mode.
4. Click and hold for getting the context menu, choose copy.

A second later or so the applications crashes.
It also happens in a new profile create with the 'Mobile Profiles' extension. Here is the crash from my default profile: https://crash-stats.mozilla.com/report/index/7fc2f882-249b-4447-be41-c609c2110329
This happens also using the Link2Clipboard extension which simply copies a link url to the clipboard (before crashing). So sound like a clipboard issue (in Fennec or Android).

Comment 8

6 years ago
Archaeopteryx, where can Link2Clipboard be found?  I don't see it when searching on AMO.
Wasn't yet visible as no editor hadn't yet reviewed it. You find it here:
https://addons.mozilla.org/mobile/addon/link2clipboard/

Comment 10

6 years ago
I added other related crash signatures to the summary.
With combined signatures, it is a virtual #16 top crasher in 4.0 over the last 3 days.

More reports at:
https://crash-stats.mozilla.com/query/query?product=Fennec&version=Fennec%3A4.0&platform=linux&branch=2.0&range_value=1&range_unit=weeks&query_search=signature&query_type=startswith&query=libdvm.so@0x357&build_id=&process_type=any&hang_type=any&do_query=1
Summary: crash [@ libdvm.so@0x35790] → crash [@ libdvm.so@0x35790][@ libdvm.so@0x35748 ][@ libdvm.so@0x35784 ][@ libdvm.so@0x357d0 ]
Doug/Brad, could this be a result of a missing |AutoLocalJNIFrame jniFrame;| in AndroidBridge::SetClipboardText?
(Assignee)

Comment 12

6 years ago
wouldn't that result in a java crash?
(In reply to comment #5)
> Firefox Mobile 4.0 RC 1 build 3, Android 2.3.3 (Google Nexus)
> 
> Copying the url from urlbar causes a crash.
> 
> Steps to reproduce:
> 1. Launch Firefox Mobile.
> 2. Open a website, e.g. mozilla.com
> 3. Click into the urlbar to get into edit mode.
> 4. Click and hold for getting the context menu, choose copy.
> 
> A second later or so the applications crashes.

I reproduced this, albeit once on today's nightly 05/03. Still seems like an issue, as Aakash points out http://input.mozilla.com/en-US/opinion/2011891
(Assignee)

Comment 14

6 years ago
Program received signal SIGSEGV, Segmentation fault.
0x80035790 in dvmMarkObjectNonNull () from /builds/android_tools/tegra-gdb-20100902/lib/libdvm.so
(gdb) bt
#0  0x80035790 in dvmMarkObjectNonNull () from /builds/android_tools/tegra-gdb-20100902/lib/libdvm.so
#1  0x80052060 in ?? () from /builds/android_tools/tegra-gdb-20100902/lib/libdvm.so
#2  0x80052060 in ?? () from /builds/android_tools/tegra-gdb-20100902/lib/libdvm.so


nothing on adb logcat.


Looks like we are passing back a string to java that isn't null terminated.  patching coming up....
(Assignee)

Comment 15

6 years ago
Created attachment 534613 [details] [diff] [review]
patch v.1

I went through the file looking for other uses and also found a few places where we don't have a jni frame on the stack.  I fixed that up.
Attachment #534613 - Flags: review?(mwu)

Updated

6 years ago
Attachment #534613 - Flags: review?(mwu) → review+
(Assignee)

Updated

6 years ago
tracking-fennec: - → 5+
Keywords: checkin-needed
(Assignee)

Comment 16

6 years ago
http://hg.mozilla.org/mozilla-central/rev/9eae975b3d6f
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
(Assignee)

Updated

6 years ago
Attachment #534613 - Flags: approval-mozilla-aurora?
Comment on attachment 534613 [details] [diff] [review]
patch v.1

android-only crash fix
Attachment #534613 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+

Comment 18

6 years ago
From today, we are in Firefox 6 Aurora.
If this patch is wanted for Firefox 5 mobile, it should be landed on Beta.
Comment on attachment 534613 [details] [diff] [review]
patch v.1

Android-only. Wanted for Fx5.
Attachment #534613 - Flags: approval-mozilla-beta+
(Assignee)

Comment 20

6 years ago
http://hg.mozilla.org/releases/mozilla-aurora/rev/9eae975b3d6f
status-firefox6: --- → fixed
http://hg.mozilla.org/releases/mozilla-beta/rev/0ba4cd9abe00
status-firefox5: --- → fixed
Crash Signature: [@ libdvm.so@0x35790] [@ libdvm.so@0x35748 ] [@ libdvm.so@0x35784 ] [@ libdvm.so@0x357d0 ]
You need to log in before you can comment on or make changes to this bug.