Description of the issue
Installed WebApp crashes when trying to open it.
Steps to Reproduce
- Go to https://brave-bug.ces.rocks/
- Make sure you don’t have Javascript disabled for the page.
- Once the page is loaded, wait a moment until the manifest.json and the service worker are loaded.
- Once that’s ready you should be able to click on the hamburger button and see an Open in Test WebApp menu entry. Click it.
- Click Install on the “Install App?” dialog.
- Tab closes, Apps folder opens in Finder (on Mac), webapp is launched and crashes instantly. Reproduces every time.
Actual Result
Here’s what the crash looks like:
Here’s the report generated:
Process: app_mode_loader [43828]
Path: /Users/USER/*/Test WebApp.app/Contents/MacOS/app_mode_loader
Identifier: com.brave.Browser.app.Default-ecibhmkcfkfmbgikigfipjggblfchmje
Version: 2019.5.8.53090 (63.55)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: app_mode_loader [43828]
User ID: 501
Date/Time: 2019-05-08 16:26:33.767 -0300
OS Version: Mac OS X 10.14.4 (18E226)
Report Version: 12
Anonymous UUID: 37B7D812-FFF8-4D75-0CB2-22E5C7843A0A
Sleep/Wake UUID: 4360407E-0188-4FDB-B089-17E818252781
Time Awake Since Boot: 1100000 seconds
Time Since Wake: 440000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [43828]
Application Specific Information:
dyld2 mode
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.brave.Browser.app.Default-ecibhmkcfkfmbgikigfipjggblfchmje 0x00000001058c6444 0x105704000 + 1844292
1 com.brave.Browser.app.Default-ecibhmkcfkfmbgikigfipjggblfchmje 0x0000000105706413 0x105704000 + 9235
2 com.brave.Browser.app.Default-ecibhmkcfkfmbgikigfipjggblfchmje 0x000000010570605b main + 27
3 libdyld.dylib 0x00007fff58d743d5 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff58f613f0 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00007fff58f613f0 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff8bd6e9a0 rcx: 0x0000000000000000 rdx: 0x0000000000000400
rdi: 0x00007ffeea4fb240 rsi: 0x00007fdcf4e0bdb0 rbp: 0x00007ffeea4fb710 rsp: 0x00007ffeea4fb1e0
r8: 0x00000000000130a8 r9: 0x00007fff8bd6e048 r10: 0x0000000000000000 r11: 0x00007fff8bd6e040
r12: 0x00007fdcf4e0bdb0 r13: 0x00007ffeea4fb228 r14: 0x00007ffeea4fb820 r15: 0x00007ffeea4fb830
rip: 0x00000001058c6444 rfl: 0x0000000000000246 cr2: 0x00007fff8bd71260
Logical CPU: 2
Error Code: 0x00000000
Trap Number: 3
[ Continuing report in topic comments because topics have 30000 character limit]
Operating System and Brave Version
MacOS Mojave 10.14.4 (18E226)
Brave Version 0.63.55 Chromium: 74.0.3729.131 (Official Build) (64-bit)
Additional Notes
This works like a charm on Chrome. Which leads me to think that this is a Brave issue.
That’s all. Thanks for all the great work.