Closed Bug 641010 Opened 13 years ago Closed 13 years ago

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

Categories

(Core Graveyard :: Widget: Android, defect)

ARM
Android
defect
Not set
critical

Tracking

(firefox5 fixed, firefox6 fixed, fennec5+)

RESOLVED FIXED
Tracking Status
firefox5 --- fixed
firefox6 --- fixed
fennec 5+ ---

People

(Reporter: tarend, Assigned: dougt)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

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
Component: General → Widget: Android
Product: Fennec → Core
QA Contact: general → android
Assignee: nobody → doug.turner
tracking-fennec: --- → ?
Sounds like a dupe of bug 640337
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
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
Closed: 13 years ago13 years ago
Resolution: --- → WORKSFORME
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).
Archaeopteryx, where can Link2Clipboard be found?  I don't see it when searching on AMO.
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?
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
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....
Attached patch patch v.1Splinter Review
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)
Attachment #534613 - Flags: review?(mwu) → review+
tracking-fennec: - → 5+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/9eae975b3d6f
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
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+
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+
Crash Signature: [@ libdvm.so@0x35790] [@ libdvm.so@0x35748 ] [@ libdvm.so@0x35784 ] [@ libdvm.so@0x357d0 ]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: