Closed Bug 1543264 Opened 6 years ago Closed 5 years ago

lldb crashes with aarch64

Categories

(Firefox Build System :: General, defect)

ARM64
Android
defect
Not set
normal

Tracking

(firefox68 affected)

RESOLVED WORKSFORME
Tracking Status
firefox68 --- affected

People

(Reporter: agi, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:p3])

Attachments

(1 file)

Attached file lldb-crash.dmp

I'm not sure this is the right place for this, apologies if so.

lldb crashes for me on a local aarch64 build, armv7 works as expected. Android Studio's logs has this:

04/08 22:28:27: Launching geckoview_example
$ adb push /Users/asferro/workspace/gecko-dev/obj-aarch64-unknown-linux-android/gradle/build/mobile/android/geckoview_example/outputs/apk/withGeckoBinaries/debug/geckoview_example-withGeckoBinaries-debug.apk /data/local/tmp/org.mozilla.geckoview_example
$ adb shell pm install -t -r "/data/local/tmp/org.mozilla.geckoview_example"
Success
APK installed in 2 s 352 ms
$ adb shell am start -n "org.mozilla.geckoview_example/org.mozilla.geckoview_example.GeckoViewActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: org.mozilla.geckoview_example | org.mozilla.geckoview_example.test
Waiting for application to come online: org.mozilla.geckoview_example | org.mozilla.geckoview_example.test
Connecting to org.mozilla.geckoview_example
Now Launching Native Debug Session
$ adb shell cat /data/local/tmp/lldb-server | run-as org.mozilla.geckoview_example sh -c 'cat > /data/data/org.mozilla.geckoview_example/lldb/bin/lldb-server && chmod 700 /data/data/org.mozilla.geckoview_example/lldb/bin/lldb-server'
$ adb shell cat /data/local/tmp/start_lldb_server.sh | run-as org.mozilla.geckoview_example sh -c 'cat > /data/data/org.mozilla.geckoview_example/lldb/bin/start_lldb_server.sh && chmod 700 /data/data/org.mozilla.geckoview_example/lldb/bin/start_lldb_server.sh'
Starting LLDB server: /data/data/org.mozilla.geckoview_example/lldb/bin/start_lldb_server.sh /data/data/org.mozilla.geckoview_example/lldb unix-abstract /org.mozilla.geckoview_example-0 platform-1554787711334.sock "lldb process:gdb-remote packets"
Debugger attached to process 11272
Crash detected. Minidump saved to: /Users/asferro/Library/Caches/AndroidStudio3.3/tmp/lldb/D48C80EB-F4FB-40DC-B1B6-9EF273DE705F.dmp

Process finished with exit code 0

Note the Crash detected line. Also see the attached minidump.

Agi says this is an lldb bug.

OS: Unspecified → Android
Hardware: Unspecified → ARM64
Whiteboard: [geckoview] → [geckoview:p3]

This seems to work in the latest version of AS.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: