Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on M1 Mac at the end of firmware flashing #100

Open
Aeron opened this issue Aug 4, 2022 · 9 comments
Open

Crashes on M1 Mac at the end of firmware flashing #100

Aeron opened this issue Aug 4, 2022 · 9 comments
Labels
bug Something isn't working

Comments

@Aeron
Copy link

Aeron commented Aug 4, 2022

I got my Flipper delivered a few hours back today. Happily, I turned it on, connected to my MBP (M1 Max, running macOS 12.5), downloaded and launched qFlipper (1.1.1), and clicked “update” (to release 0.63.3), and… got a crash on 100%. I tried to repair it, again and again, three times in a row, with the same outcome. On the fifth time, it made it somehow, when it wasn’t an active window (maybe it’s relevant, maybe not). Also, I didn’t try rebooting or reconnecting my Flipper because it was in recovery mode anyway.

More structured issue answers, closer to the template

Steps to reproduce the behavior

  1. Get a new Flipper
  2. Turn it on
  3. Connect it via USB to a M1-powered macOS-12.5-running machine
  4. Launch qFlipper 1.1.1
  5. Change nothing
  6. Click “Update”
  7. Wait until 100% and after

Expected behavior
A finished firmware update process, a running application, and a happy dolphin.

Actual behavior
A crashed application and a Flipper device in recovery mode.

Additional troubleshooting

  1. Does the issue persist if you try multiple times? No
  2. Does reconnecting/rebooting Flipper solve it? Unknown

Here’s the latest crash report. I got all four reports if it’ll help. Let me know if you need those as well.

Crash Report 2022-08-04-185623 (Translated)
Process:               qFlipper [8860]
Path:                  /Applications/qFlipper.app/Contents/MacOS/qFlipper
Identifier:            test.qFlipper
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-08-04 18:56:22.8669 +0700
OS Version:            macOS 12.5 (21G72)
Report Version:        12
Anonymous UUID:        2B94FF88-7968-4FDB-8749-906DC78B9FDE

Sleep/Wake UUID:       BBDBAEF2-851C-4F10-BD2E-CBF08EF157D0

Time Awake Since Boot: 780000 seconds
Time Since Wake:       877 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x3837313900000001 -> 0x0000313900000001 (possible pointer authentication failure)
Exception Codes:       0x0000000000000001, 0x3837313900000001
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [8860]

VM Region Info: 0x313900000001 is not in any region.  Bytes after previous region: 53639846559746  Bytes before following region: 51432233369599
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)        1000000000-7000000000   [384.0G] ---/--- SM=NUL  ...(unallocated)
--->  GAP OF 0x5f9000000000 BYTES
      MALLOC_NANO              600000000000-600008000000 [128.0M] rw-/rwx SM=PRV  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   <translation info unavailable>         0x1026fd3d0 ???
1   libusb-1.0.0.dylib                     0x10ac135f6 0x10ac11000 + 9718
2   libusb-1.0.0.dylib                     0x10ac135f6 0x10ac11000 + 9718
3   libusb-1.0.0.dylib                     0x10ac1403b libusb_open + 63
4   qFlipper                               0x1023794ca USBDevice::open() + 58
5   qFlipper                               0x10237467e DfuseDevice::beginTransaction() + 14
6   qFlipper                               0x102338d5b Flipper::Zero::DFUDeviceInfoHelper::nextStateLogic() + 43
7   QtCore                                 0x10f757614 QObject::event(QEvent*) + 900
8   QtWidgets                              0x10c244a56 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262
9   QtWidgets                              0x10c245e02 QApplication::notify(QObject*, QEvent*) + 466
10  QtCore                                 0x10f72e2b6 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 166
11  QtCore                                 0x10f72f3f3 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 803
12  libqcocoa.dylib                        0x10ef6a892 0x10ef2e000 + 247954
13  libqcocoa.dylib                        0x10ef6af98 0x10ef2e000 + 249752
14  CoreFoundation                      0x7ff81ad1b37a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
15  CoreFoundation                      0x7ff81ad1b2e2 __CFRunLoopDoSource0 + 180
16  CoreFoundation                      0x7ff81ad1b0c2 __CFRunLoopDoSources0 + 340
17  CoreFoundation                      0x7ff81ad19a70 __CFRunLoopRun + 892
18  CoreFoundation                      0x7ff81ad19034 CFRunLoopRunSpecific + 562
19  HIToolbox                           0x7ff823e355e6 RunCurrentEventLoopInMode + 292
20  HIToolbox                           0x7ff823e35213 ReceiveNextEventCommon + 283
21  HIToolbox                           0x7ff823e350e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
22  AppKit                              0x7ff81d689fad _DPSNextEvent + 927
23  AppKit                              0x7ff81d68866a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
24  AppKit                              0x7ff81d67ad19 -[NSApplication run] + 586
25  libqcocoa.dylib                        0x10ef69d74 0x10ef2e000 + 245108
26  QtCore                                 0x10f72a6b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
27  QtCore                                 0x10f72e852 QCoreApplication::exec() + 130
28  qFlipper                               0x1023116d3 main + 371
29  dyld                                   0x2027e352e start + 462

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                             0x7ff7ffc6a944 0x7ff7ffc66000 + 18756
1   runtime                             0x7ff7ffc783e0 0x7ff7ffc66000 + 74720
2   runtime                             0x7ff7ffc79e58 0x7ff7ffc66000 + 81496

Thread 2:
0   runtime                             0x7ff7ffc88814 0x7ff7ffc66000 + 141332

Thread 3:
0   runtime                             0x7ff7ffc88814 0x7ff7ffc66000 + 141332

Thread 4:: Qt bearer thread
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1f0aa poll + 10
2   QtCore                                 0x10f78c45c qt_safe_poll(pollfd*, unsigned int, timespec const*) + 220
3   QtCore                                 0x10f78dbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
4   QtCore                                 0x10f72a6b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
5   QtCore                                 0x10f568993 QThread::exec() + 131
6   QtCore                                 0x10f5698a9 0x10f548000 + 137385
7   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
8   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 5:: org.libusb.device-hotplug
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1897a mach_msg_trap + 10
2   libsystem_kernel.dylib              0x7ff81ac18ce8 mach_msg + 56
3   CoreFoundation                      0x7ff81ad1b560 __CFRunLoopServiceMachPort + 319
4   CoreFoundation                      0x7ff81ad19bf0 __CFRunLoopRun + 1276
5   CoreFoundation                      0x7ff81ad19034 CFRunLoopRunSpecific + 562
6   CoreFoundation                      0x7ff81ada0567 CFRunLoopRun + 40
7   libusb-1.0.0.dylib                     0x10ac1c39d 0x10ac11000 + 45981
8   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
9   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 6:: QQmlThread
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1f0aa poll + 10
2   QtCore                                 0x10f78c3de qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94
3   QtCore                                 0x10f78dbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
4   QtCore                                 0x10f72a6b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
5   QtCore                                 0x10f568993 QThread::exec() + 131
6   QtQml                                  0x10e79c9a9 0x10e509000 + 2701737
7   QtCore                                 0x10f5698a9 0x10f548000 + 137385
8   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
9   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 7:: com.apple.CFSocket.private
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac20d5a __select + 10
2   CoreFoundation                      0x7ff81ad422db __CFSocketManager + 643
3   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
4   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 8:: com.apple.NSEventThread
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1897a mach_msg_trap + 10
2   libsystem_kernel.dylib              0x7ff81ac18ce8 mach_msg + 56
3   CoreFoundation                      0x7ff81ad1b560 __CFRunLoopServiceMachPort + 319
4   CoreFoundation                      0x7ff81ad19bf0 __CFRunLoopRun + 1276
5   CoreFoundation                      0x7ff81ad19034 CFRunLoopRunSpecific + 562
6   AppKit                              0x7ff81d7f79ce _NSEventThread + 132
7   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
8   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 9:
0   runtime                             0x7ff7ffc88814 0x7ff7ffc66000 + 141332

Thread 10:
0   runtime                             0x7ff7ffc88814 0x7ff7ffc66000 + 141332

Thread 11:: Thread (pooled)
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1b3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib             0x7ff81ac55a6f _pthread_cond_wait + 1249
3   QtCore                                 0x10f571620 0x10f548000 + 169504
4   QtCore                                 0x10f57137e 0x10f548000 + 168830
5   QtCore                                 0x10f5712f3 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 83
6   QtCore                                 0x10f56dd5d 0x10f548000 + 154973
7   QtCore                                 0x10f5698a9 0x10f548000 + 137385
8   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
9   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 12:: QNetworkAccessManager thread
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1f0aa poll + 10
2   QtCore                                 0x10f78c45c qt_safe_poll(pollfd*, unsigned int, timespec const*) + 220
3   QtCore                                 0x10f78dbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
4   QtCore                                 0x10f72a6b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
5   QtCore                                 0x10f568993 QThread::exec() + 131
6   QtCore                                 0x10f5698a9 0x10f548000 + 137385
7   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
8   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 13:: QNetworkAccessManager thread
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1f0aa poll + 10
2   QtCore                                 0x10f78c45c qt_safe_poll(pollfd*, unsigned int, timespec const*) + 220
3   QtCore                                 0x10f78dbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
4   QtCore                                 0x10f72a6b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
5   QtCore                                 0x10f568993 QThread::exec() + 131
6   QtCore                                 0x10f5698a9 0x10f548000 + 137385
7   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
8   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 14:: Thread (pooled)
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1b3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib             0x7ff81ac55a6f _pthread_cond_wait + 1249
3   QtCore                                 0x10f571620 0x10f548000 + 169504
4   QtCore                                 0x10f57137e 0x10f548000 + 168830
5   QtCore                                 0x10f5712f3 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 83
6   QtCore                                 0x10f56dd5d 0x10f548000 + 154973
7   QtCore                                 0x10f5698a9 0x10f548000 + 137385
8   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
9   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 15:: QNetworkAccessManager thread
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1f0aa poll + 10
2   QtCore                                 0x10f78c45c qt_safe_poll(pollfd*, unsigned int, timespec const*) + 220
3   QtCore                                 0x10f78dbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
4   QtCore                                 0x10f72a6b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
5   QtCore                                 0x10f568993 QThread::exec() + 131
6   QtCore                                 0x10f5698a9 0x10f548000 + 137385
7   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
8   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 16:: QNetworkAccessManager thread
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1f0aa poll + 10
2   QtCore                                 0x10f78c45c qt_safe_poll(pollfd*, unsigned int, timespec const*) + 220
3   QtCore                                 0x10f78dbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
4   QtCore                                 0x10f72a6b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
5   QtCore                                 0x10f568993 QThread::exec() + 131
6   QtCore                                 0x10f5698a9 0x10f548000 + 137385
7   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
8   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15

Thread 17:: CVDisplayLink
0   ???                                 0x7ff8ab0ea940 ???
1   libsystem_kernel.dylib              0x7ff81ac1b3ea __psynch_cvwait + 10
2   libsystem_pthread.dylib             0x7ff81ac55aa4 _pthread_cond_wait + 1302
3   CoreVideo                           0x7ff822964e60 CVDisplayLink::waitUntil(unsigned long long) + 370
4   CoreVideo                           0x7ff822963ddc CVDisplayLink::runIOThread() + 526
5   libsystem_pthread.dylib             0x7ff81ac554e1 _pthread_start + 125
6   libsystem_pthread.dylib             0x7ff81ac50f6b thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x3837313900000001  rbx: 0x000000000000001c  rcx: 0x000000020285e6ac  rdx: 0x0000000308b95740
  rdi: 0x0000600000b97c30  rsi: 0x0000000000000004  rbp: 0x0000000308b95b70  rsp: 0x0000000308b95648
   r8: 0x00007ff85c370258   r9: 0x0000000000000000  r10: 0x00000000ffffff00  r11: 0x00007ff85c370250
  r12: 0x00000000000003ff  r13: 0x0000000308b9575c  r14: 0x0000000000000004  r15: 0x0000600000b97c30
  rip: <unavailable>       rfl: 0x0000000000000202
 tmp0: 0x0000000000000000 tmp1: 0x3837313900000001 tmp2: 0x000000010ac366f8


Binary Images:
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x10ac11000 -        0x10ac24fff libusb-1.0.0.dylib (*) <b189561f-9962-302c-bf72-9f044c6bf60e> /Applications/qFlipper.app/Contents/Frameworks/libusb-1.0.0.dylib
       0x102302000 -        0x10242afff test.qFlipper (*) <a22e761c-4886-3464-b427-231e3d030b3e> /Applications/qFlipper.app/Contents/MacOS/qFlipper
       0x10f548000 -        0x10fa8bfff org.qt-project.QtCore (5.15) <226f4f10-f8c2-301e-aa19-240048d7c206> /Applications/qFlipper.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
       0x10c231000 -        0x10c67cfff org.qt-project.QtWidgets (5.15) <151402d2-0ee6-34f3-a101-e6cdd04f398a> /Applications/qFlipper.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
       0x10ef2e000 -        0x10f095fff libqcocoa.dylib (*) <fdff1859-ee45-351c-8ecf-a60fe4edaca0> /Applications/qFlipper.app/Contents/PlugIns/platforms/libqcocoa.dylib
    0x7ff81ac9c000 -     0x7ff81b19cfff com.apple.CoreFoundation (6.9) <32d2d187-4e52-376e-bc07-245a48c37e2b> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff823e07000 -     0x7ff8240fafff com.apple.HIToolbox (2.1.1) <95eab511-8fc1-353a-ac8a-26aa19032e2e> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff81d64b000 -     0x7ff81e4dafff com.apple.AppKit (6.9) <bcb46e9b-acd5-3b26-878f-a3988bc5df7e> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x2027de000 -        0x202849fff dyld (*) <f71fb3ca-5fcc-3577-9457-b047888a46d1> /usr/lib/dyld
    0x7ff7ffc66000 -     0x7ff7ffc95fff runtime (*) <ef33add1-6b70-3cc9-8bbc-c8544b609d2b> /usr/libexec/rosetta/runtime
    0x7ff81ac17000 -     0x7ff81ac4efff libsystem_kernel.dylib (*) <a8ff3bd6-3ce8-3eee-813d-8a9202478b49> /usr/lib/system/libsystem_kernel.dylib
    0x7ff81ac4f000 -     0x7ff81ac5afff libsystem_pthread.dylib (*) <f32b6d06-b156-3da0-b086-a31cf011362b> /usr/lib/system/libsystem_pthread.dylib
       0x10e509000 -        0x10e864fff org.qt-project.QtQml (5.15) <a43ef279-9d2a-3a91-b35b-472c799822fa> /Applications/qFlipper.app/Contents/Frameworks/QtQml.framework/Versions/5/QtQml
    0x7ff822962000 -     0x7ff8229b3fff com.apple.CoreVideo (1.8) <bed93f09-4868-3a31-95d3-8ceff78cd8be> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=991.3M resident=0K(0%) swapped_out_or_unallocated=991.3M(100%)
Writable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG backing stores                 4032K        4 
ColorSync                          220K       25 
CoreAnimation                        4K        1 
CoreGraphics                        12K        2 
Foundation                          16K        1 
JS VM Gigacage                    4096K        1 
JS VM Isolated Heap               6400K        5 
Kernel Alloc Once                    8K        1 
MALLOC                           307.3M       55 
MALLOC guard page                  192K        8 
MALLOC_MEDIUM (reserved)         824.0M        7         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
OpenGL GLSL                        256K        3 
Rosetta Arena                     4096K        2 
Rosetta Generic                   1136K      281 
Rosetta IndirectBranch            1024K        1 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack               320K       32 
Rosetta Thread Context             320K       32 
STACK GUARD                         16K        4 
Stack                             23.7M       17 
Stack Guard                       56.1M       13 
VM_ALLOCATE                       4880K      147 
VM_ALLOCATE (reserved)              20K        3         reserved VM address space (unallocated)
__CTF                               756        1 
__DATA                            21.7M      391 
__DATA_CONST                      13.7M      201 
__DATA_DIRTY                       602K      112 
__FONT_DATA                          4K        1 
__GLSLBUILTINS                    5176K        1 
__LINKEDIT                       712.3M       60 
__OBJC_RO                         82.8M        1 
__OBJC_RW                         3200K        2 
__TEXT                           279.1M      401 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                        5.6G      755 
shared memory                      836K       20 
unshared pmap                     10.5M        7 
===========                     =======  ======= 
TOTAL                              8.4G     2605 
TOTAL, minus reserved VM space     7.2G     2605 

And here’re the full logs (four of crashes and one of success). They are a bit different; it might be worth including them all.

qFlipper-20220804-184407 (Crash)
1304 [APP] qFlipper version 1.1.1 commit 9e1b07c9 2022-07-27T22:29:06
1304 [APP] OS info: macOS 10.16 10.16 21.6.0
1368 [REG] Detected new device: VID_0x483:PID_0x5740
1637 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
1637 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
1669 [RPC] Starting RPC session...
1815 [RPC] RPC session started successfully.
1815 [RPC] (1) System Device Info START
1909 [RPC] (1) System Device Info SUCCESS
1918 [RPC] (2) Storage Info @/ext START
1969 [RPC] (2) Storage Info @/ext SUCCESS
1969 [RPC] (3) System Get DateTime START
2020 [DBG] Flipper time skew is -25078275 milliseconds
2020 [RPC] (3) System Get DateTime SUCCESS
2020 [RPC] (4) System Set DateTime START
2072 [RPC] (4) System Set DateTime SUCCESS
2072 [RPC] Stopping RPC session...
2082 [RPC] Attempting to unload protobuf plugin...
2086 [RPC] Unloaded protobuf plugin.
2086 [RPC] RPC session stopped successfully.
2086 [REG] Registering the device
2086 [DEV] Version: 0.43.1 commit: a4267626 radio: 1.12.1
2086 [BKD] Current device changed to "[REDACTED]"
2431 [RPC] Starting RPC session...
2552 [RPC] RPC session started successfully.
2552 [RPC] (1) Gui Start SreenStream START
2603 [RPC] (1) Gui Start SreenStream SUCCESS
18740 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
22706 [RPC] (2) Storage Info @/ext START
22770 [RPC] (2) Storage Info @/ext SUCCESS
22778 [RPC] (3) Gui Stop ScreenStream START
22829 [RPC] (3) Gui Stop ScreenStream SUCCESS
26553 [RPC] (4) Gui Start SreenStream START
26608 [RPC] (4) Gui Start SreenStream SUCCESS
31996 [RPC] (5) Gui Start VirtualDisplay START
32058 [RPC] (5) Gui Start VirtualDisplay SUCCESS
32385 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
32646 [DEV] Legacy Update @[REDACTED] START
33635 [ZIP] Uncompressing file with size of 165136 bytes...
33637 [ZIP] Uncompression finished : No Error
34047 [ZIP] Uncompressing file with size of 38068 bytes...
34049 [ZIP] Uncompression finished : No Error
34466 [UTL] Start Recovery Mode @[REDACTED] START
34467 [RPC] (6) System Reboot START
34467 [RPC] (6) System Reboot SUCCESS
34625 [RPC] Serial connection was lost.
34626 [RPC] Stopping RPC session...
34627 [RPC] Attempting to unload protobuf plugin...
34627 [RPC] Unloaded protobuf plugin.
34627 [RPC] RPC session stopped successfully.
34688 [REG] Device went offline: VID_0x483:PID_0x5740
35297 [REG] Detected new device: VID_0x483:PID_0xdf11
35347 [DBG] Device reported transfer size: 1024
35349 [DBG] Bytes uploaded: 32 100%
35349 [DBG] Upload has finished.
35352 [REG] Device went back online
35614 [UTL] Start Recovery Mode @[REDACTED] SUCCESS
35625 [RCY] Set Recovery boot mode @[REDACTED] START
35629 [DBG] Device is not idle, resetting...
35677 [DBG] Device reported transfer size: 1024
35680 [DBG] Bytes uploaded: 128 100%
35680 [DBG] Upload has finished.
35680 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
35685 [DBG] Device is not idle, resetting...
35723 [DBG] Device reported transfer size: 1024
37291 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
37292 [DBG] Unable to get device status
37292 [DBG] An error has occured during download phase
37292 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
37292 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
37292 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
37301 [REG] Device went offline: VID_0x483:PID_0xdf11
37310 [REG] Detected new device: VID_0x483:PID_0xdf11
37358 [DBG] Device reported transfer size: 1024
37360 [DBG] Bytes uploaded: 32 100%
37360 [DBG] Upload has finished.
37363 [REG] Device went back online
37633 [RCY] Set Recovery boot mode @[REDACTED] SUCCESS
37633 [RCY] Co-Processor Firmware Download @[REDACTED] START
37637 [DBG] Device is not idle, resetting...
37685 [DBG] Device reported transfer size: 1024
37688 [DBG] Bytes uploaded: 2 100%
37688 [DBG] Upload has finished.
37688 [DBG] FUS appears NOT to be running: Error occured, Not running.
37688 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
37693 [DBG] Device is not idle, resetting...
37741 [DBG] Device reported transfer size: 1024
39309 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
39310 [DBG] Bytes uploaded: 0 0%
39310 [DBG] End of transmission.
39310 [DBG] Upload has finished.
39310 [DBG] Failed to read FUS status
39310 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
39310 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
39310 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
39311 [REG] Device went offline: VID_0x483:PID_0xdf11
39327 [REG] Detected new device: VID_0x483:PID_0xdf11
39375 [DBG] Device reported transfer size: 1024
39378 [DBG] Bytes uploaded: 32 100%
39378 [DBG] Upload has finished.
39381 [REG] Device went back online
39642 [DBG] Device is not idle, resetting...
40867 [DBG] Getting Co-Processor (Wireless) status...
47247 [DBG] Failed to claim interface: LIBUSB_ERROR_NO_DEVICE
47248 [DBG] Failed to get FUS status. This is normal if the device has just rebooted.
47256 [REG] Device went offline: VID_0x483:PID_0xdf11
47257 [DBG] Getting Co-Processor (Wireless) status...
47257 [DBG] Failed to get FUS status. The device is offline at the moment.
47269 [REG] Detected new device: VID_0x483:PID_0xdf11
47317 [DBG] Device reported transfer size: 1024
47320 [DBG] Bytes uploaded: 32 100%
47320 [DBG] Upload has finished.
47323 [REG] Device went back online
47583 [DBG] Getting Co-Processor (Wireless) status...
47587 [DBG] Device is not idle, resetting...
47635 [DBG] Device reported transfer size: 1024
47638 [DBG] Bytes uploaded: 2 100%
47638 [DBG] Upload has finished.
47638 [DBG] Current FUS state: Idle, No error.
47639 [DBG] Attempting to flash CO-PROCESSOR firmware image...
47643 [DBG] Device is not idle, resetting...
47695 [DBG] Device reported transfer size: 1024
47698 [DBG] Bytes uploaded: 128 100%
47698 [DBG] Upload has finished.
47701 [DBG] SFSA value is 0xf4
47701 [DBG] Target address for co-processor firmware image is 0x80d7000
47704 [DBG] Device is not idle, resetting...
47770 [DBG] Erasing memory: 0%
47829 [DBG] Erasing memory: 3%
47884 [DBG] Erasing memory: 7%
47940 [DBG] Erasing memory: 10%
47997 [DBG] Erasing memory: 14%
…
49162 [DBG] Erasing memory: 85%
49218 [DBG] Erasing memory: 88%
49277 [DBG] Erasing memory: 92%
49332 [DBG] Erasing memory: 96%
49391 [DBG] Erasing memory: 99%
49392 [DBG] Erase done.
49396 [DBG] Device is not idle, resetting...
49437 [DBG] Device reported transfer size: 1024
49485 [DBG] Bytes downloaded: 1024 0%
49532 [DBG] Bytes downloaded: 2048 1%
49579 [DBG] Bytes downloaded: 3072 2%
49627 [DBG] Bytes downloaded: 4096 3%
49674 [DBG] Bytes downloaded: 5120 4%
49721 [DBG] Bytes downloaded: 6144 5%
…
54485 [DBG] Bytes downloaded: 109568 95%
54534 [DBG] Bytes downloaded: 110592 96%
54630 [DBG] Bytes downloaded: 112640 97%
54677 [DBG] Bytes downloaded: 113664 98%
54723 [DBG] Bytes downloaded: 114688 99%
54761 [DBG] Bytes downloaded: 115084 100%
54762 [DBG] Download has finished.
54763 [DBG] Sending FW_UPGRADE command...
54768 [DBG] Device is not idle, resetting...
55934 [DBG] Getting Co-Processor (Wireless) status...
62375 [DBG] Failed to claim interface: LIBUSB_ERROR_NO_DEVICE
62376 [DBG] Failed to get FUS status. This is normal if the device has just rebooted.
62377 [REG] Device went offline: VID_0x483:PID_0xdf11
62379 [DBG] Getting Co-Processor (Wireless) status...
62379 [DBG] Failed to get FUS status. The device is offline at the moment.
qFlipper-20220804-184528 (Crash)
285 [APP] qFlipper version 1.1.1 commit 9e1b07c9 2022-07-27T22:29:06
285 [APP] OS info: macOS 10.16 10.16 21.6.0
313 [REG] Detected new device: VID_0x483:PID_0xdf11
477 [DBG] Device reported transfer size: 1024
480 [DBG] Bytes uploaded: 32 100%
480 [DBG] Upload has finished.
482 [REG] Registering the device
482 [BKD] Current device changed to "[REDACTED]"
533 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
830 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
42389 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
42644 [DEV] Full Repair @[REDACTED] START
43896 [ZIP] Uncompressing file with size of 165136 bytes...
43898 [ZIP] Uncompression finished : No Error
44392 [ZIP] Uncompressing file with size of 38068 bytes...
44395 [ZIP] Uncompression finished : No Error
44858 [RCY] Set Recovery boot mode @[REDACTED] START
44863 [DBG] Device is not idle, resetting...
44911 [DBG] Device reported transfer size: 1024
44914 [DBG] Bytes uploaded: 128 100%
44914 [DBG] Upload has finished.
44914 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
44919 [DBG] Device is not idle, resetting...
44957 [DBG] Device reported transfer size: 1024
46526 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
46526 [DBG] Unable to get device status
46526 [DBG] An error has occured during download phase
46526 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
46526 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
46527 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
46527 [REG] Device went offline: VID_0x483:PID_0xdf11
46541 [REG] Detected new device: VID_0x483:PID_0xdf11
46590 [DBG] Device reported transfer size: 1024
46593 [DBG] Bytes uploaded: 32 100%
46593 [DBG] Upload has finished.
46596 [REG] Device went back online
46855 [RCY] Set Recovery boot mode @[REDACTED] SUCCESS
46866 [RCY] Co-Processor Firmware Download @[REDACTED] START
46870 [DBG] Device is not idle, resetting...
46918 [DBG] Device reported transfer size: 1024
46921 [DBG] Bytes uploaded: 2 100%
46921 [DBG] Upload has finished.
46921 [DBG] FUS appears NOT to be running: Error occured, Not running.
46921 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
46926 [DBG] Device is not idle, resetting...
46974 [DBG] Device reported transfer size: 1024
48537 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
48537 [DBG] Bytes uploaded: 0 0%
48537 [DBG] End of transmission.
48537 [DBG] Upload has finished.
48537 [DBG] Failed to read FUS status
48537 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
48538 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
48538 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
48541 [REG] Device went offline: VID_0x483:PID_0xdf11
48550 [REG] Detected new device: VID_0x483:PID_0xdf11
48598 [DBG] Device reported transfer size: 1024
48601 [DBG] Bytes uploaded: 32 100%
48601 [DBG] Upload has finished.
48604 [REG] Device went back online
48869 [DBG] Device is not idle, resetting...
49974 [REG] Device went offline: VID_0x483:PID_0xdf11
49983 [REG] Detected new device: VID_0x483:PID_0xdf11
50031 [DBG] Device reported transfer size: 1024
50034 [DBG] Bytes uploaded: 32 100%
50034 [DBG] Upload has finished.
50037 [REG] Device went back online
50296 [DBG] Getting Co-Processor (Wireless) status...
50300 [DBG] Device is not idle, resetting...
50348 [DBG] Device reported transfer size: 1024
50351 [DBG] Bytes uploaded: 2 100%
50351 [DBG] Upload has finished.
50351 [DBG] Current FUS state: Idle, No error.
50351 [DBG] Attempting to flash CO-PROCESSOR firmware image...
50356 [DBG] Device is not idle, resetting...
50404 [DBG] Device reported transfer size: 1024
50407 [DBG] Bytes uploaded: 128 100%
50407 [DBG] Upload has finished.
50410 [DBG] SFSA value is 0xf4
50410 [DBG] Target address for co-processor firmware image is 0x80d7000
50413 [DBG] Device is not idle, resetting...
50480 [DBG] Erasing memory: 0%
50539 [DBG] Erasing memory: 3%
50598 [DBG] Erasing memory: 7%
50653 [DBG] Erasing memory: 10%
50710 [DBG] Erasing memory: 14%
…
51853 [DBG] Erasing memory: 85%
51911 [DBG] Erasing memory: 88%
51966 [DBG] Erasing memory: 92%
52022 [DBG] Erasing memory: 96%
52080 [DBG] Erasing memory: 99%
52080 [DBG] Erase done.
52085 [DBG] Device is not idle, resetting...
52127 [DBG] Device reported transfer size: 1024
52173 [DBG] Bytes downloaded: 1024 0%
52222 [DBG] Bytes downloaded: 2048 1%
52269 [DBG] Bytes downloaded: 3072 2%
52315 [DBG] Bytes downloaded: 4096 3%
52364 [DBG] Bytes downloaded: 5120 4%
52413 [DBG] Bytes downloaded: 6144 5%
…
57222 [DBG] Bytes downloaded: 109568 95%
57268 [DBG] Bytes downloaded: 110592 96%
57364 [DBG] Bytes downloaded: 112640 97%
57410 [DBG] Bytes downloaded: 113664 98%
57457 [DBG] Bytes downloaded: 114688 99%
57495 [DBG] Bytes downloaded: 115084 100%
57495 [DBG] Download has finished.
57497 [DBG] Sending FW_UPGRADE command...
57502 [DBG] Device is not idle, resetting...
58574 [DBG] Getting Co-Processor (Wireless) status...
65110 [DBG] Failed to claim interface: LIBUSB_ERROR_NO_DEVICE
65110 [DBG] Failed to get FUS status. This is normal if the device has just rebooted.
65111 [REG] Device went offline: VID_0x483:PID_0xdf11
qFlipper-20220804-184646 (Crash)
282 [APP] qFlipper version 1.1.1 commit 9e1b07c9 2022-07-27T22:29:06
283 [APP] OS info: macOS 10.16 10.16 21.6.0
315 [REG] Detected new device: VID_0x483:PID_0xdf11
474 [DBG] Device reported transfer size: 1024
477 [DBG] Bytes uploaded: 32 100%
477 [DBG] Upload has finished.
479 [REG] Registering the device
479 [BKD] Current device changed to "[REDACTED]"
548 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
608 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
333320 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
333586 [DEV] Full Repair @[REDACTED] START
334883 [ZIP] Uncompressing file with size of 165136 bytes...
334894 [ZIP] Uncompression finished : No Error
335398 [ZIP] Uncompressing file with size of 38068 bytes...
335399 [ZIP] Uncompression finished : No Error
336097 [RCY] Set Recovery boot mode @[REDACTED] START
336102 [DBG] Device is not idle, resetting...
336150 [DBG] Device reported transfer size: 1024
336153 [DBG] Bytes uploaded: 128 100%
336153 [DBG] Upload has finished.
336153 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
336158 [DBG] Device is not idle, resetting...
336196 [DBG] Device reported transfer size: 1024
337766 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
337766 [DBG] Unable to get device status
337766 [DBG] An error has occured during download phase
337766 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
337766 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
337767 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
337768 [REG] Device went offline: VID_0x483:PID_0xdf11
337783 [REG] Detected new device: VID_0x483:PID_0xdf11
337830 [DBG] Device reported transfer size: 1024
337833 [DBG] Bytes uploaded: 32 100%
337833 [DBG] Upload has finished.
337836 [REG] Device went back online
338097 [RCY] Set Recovery boot mode @[REDACTED] SUCCESS
338108 [RCY] Co-Processor Firmware Download @[REDACTED] START
338112 [DBG] Device is not idle, resetting...
338160 [DBG] Device reported transfer size: 1024
338163 [DBG] Bytes uploaded: 2 100%
338163 [DBG] Upload has finished.
338163 [DBG] FUS appears NOT to be running: Error occured, Not running.
338163 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
338168 [DBG] Device is not idle, resetting...
338216 [DBG] Device reported transfer size: 1024
339779 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
339779 [DBG] Bytes uploaded: 0 0%
339779 [DBG] End of transmission.
339779 [DBG] Upload has finished.
339779 [DBG] Failed to read FUS status
339779 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
339779 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
339780 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
339785 [REG] Device went offline: VID_0x483:PID_0xdf11
339795 [REG] Detected new device: VID_0x483:PID_0xdf11
339842 [DBG] Device reported transfer size: 1024
339845 [DBG] Bytes uploaded: 32 100%
339845 [DBG] Upload has finished.
339847 [REG] Device went back online
340113 [DBG] Device is not idle, resetting...
341180 [REG] Device went offline: VID_0x483:PID_0xdf11
341237 [DBG] Getting Co-Processor (Wireless) status...
341237 [DBG] Failed to get FUS status. The device is offline at the moment.
341286 [REG] Detected new device: VID_0x483:PID_0xdf11
341334 [DBG] Device reported transfer size: 1024
341338 [DBG] Bytes uploaded: 32 100%
341338 [DBG] Upload has finished.
341341 [REG] Device went back online
341601 [DBG] Getting Co-Processor (Wireless) status...
341606 [DBG] Device is not idle, resetting...
341653 [DBG] Device reported transfer size: 1024
341657 [DBG] Bytes uploaded: 2 100%
341657 [DBG] Upload has finished.
341657 [DBG] Current FUS state: Idle, No error.
341657 [DBG] Attempting to flash CO-PROCESSOR firmware image...
341661 [DBG] Device is not idle, resetting...
341714 [DBG] Device reported transfer size: 1024
341716 [DBG] Bytes uploaded: 128 100%
341716 [DBG] Upload has finished.
341720 [DBG] SFSA value is 0xf4
341720 [DBG] Target address for co-processor firmware image is 0x80d7000
341722 [DBG] Device is not idle, resetting...
341790 [DBG] Erasing memory: 0%
341846 [DBG] Erasing memory: 3%
341905 [DBG] Erasing memory: 7%
341964 [DBG] Erasing memory: 10%
342022 [DBG] Erasing memory: 14%
…
343172 [DBG] Erasing memory: 85%
343231 [DBG] Erasing memory: 88%
343289 [DBG] Erasing memory: 92%
343346 [DBG] Erasing memory: 96%
343405 [DBG] Erasing memory: 99%
343405 [DBG] Erase done.
343409 [DBG] Device is not idle, resetting...
343451 [DBG] Device reported transfer size: 1024
343500 [DBG] Bytes downloaded: 1024 0%
343549 [DBG] Bytes downloaded: 2048 1%
343598 [DBG] Bytes downloaded: 3072 2%
343647 [DBG] Bytes downloaded: 4096 3%
343696 [DBG] Bytes downloaded: 5120 4%
343745 [DBG] Bytes downloaded: 6144 5%
…
348558 [DBG] Bytes downloaded: 109568 95%
348605 [DBG] Bytes downloaded: 110592 96%
348698 [DBG] Bytes downloaded: 112640 97%
348747 [DBG] Bytes downloaded: 113664 98%
348797 [DBG] Bytes downloaded: 114688 99%
348833 [DBG] Bytes downloaded: 115084 100%
348833 [DBG] Download has finished.
348834 [DBG] Sending FW_UPGRADE command...
348838 [DBG] Device is not idle, resetting...
350001 [DBG] Getting Co-Processor (Wireless) status...
356443 [DBG] Failed to claim interface: LIBUSB_ERROR_NO_DEVICE
356444 [DBG] Failed to get FUS status. This is normal if the device has just rebooted.
356465 [REG] Device went offline: VID_0x483:PID_0xdf11
356468 [DBG] Getting Co-Processor (Wireless) status...
356469 [DBG] Failed to get FUS status. The device is offline at the moment.
qFlipper-20220804-185341 (Crash)
269 [APP] qFlipper version 1.1.1 commit 9e1b07c9 2022-07-27T22:29:06
269 [APP] OS info: macOS 10.16 10.16 21.6.0
294 [REG] Detected new device: VID_0x483:PID_0xdf11
450 [DBG] Device reported transfer size: 1024
452 [DBG] Bytes uploaded: 32 100%
452 [DBG] Upload has finished.
455 [REG] Registering the device
455 [BKD] Current device changed to "[REDACTED]"
525 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
807 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
15733 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
138182 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
138443 [DEV] Full Repair @[REDACTED] START
139895 [ZIP] Uncompressing file with size of 165136 bytes...
139898 [ZIP] Uncompression finished : No Error
140332 [ZIP] Uncompressing file with size of 38068 bytes...
140335 [ZIP] Uncompression finished : No Error
140837 [RCY] Set Recovery boot mode @[REDACTED] START
140843 [DBG] Device is not idle, resetting...
140891 [DBG] Device reported transfer size: 1024
140893 [DBG] Bytes uploaded: 128 100%
140894 [DBG] Upload has finished.
140894 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
140899 [DBG] Device is not idle, resetting...
140937 [DBG] Device reported transfer size: 1024
142505 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
142505 [DBG] Unable to get device status
142505 [DBG] An error has occured during download phase
142505 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
142506 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
142506 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
142507 [REG] Device went offline: VID_0x483:PID_0xdf11
142520 [REG] Detected new device: VID_0x483:PID_0xdf11
142568 [DBG] Device reported transfer size: 1024
142571 [DBG] Bytes uploaded: 32 100%
142571 [DBG] Upload has finished.
142574 [REG] Device went back online
142833 [RCY] Set Recovery boot mode @[REDACTED] SUCCESS
142844 [RCY] Co-Processor Firmware Download @[REDACTED] START
142849 [DBG] Device is not idle, resetting...
142896 [DBG] Device reported transfer size: 1024
142900 [DBG] Bytes uploaded: 2 100%
142900 [DBG] Upload has finished.
142900 [DBG] FUS appears NOT to be running: Error occured, Not running.
142900 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
142904 [DBG] Device is not idle, resetting...
142953 [DBG] Device reported transfer size: 1024
144517 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
144518 [DBG] Bytes uploaded: 0 0%
144518 [DBG] End of transmission.
144518 [DBG] Upload has finished.
144518 [DBG] Failed to read FUS status
144518 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
144518 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
144518 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
144522 [REG] Device went offline: VID_0x483:PID_0xdf11
144533 [REG] Detected new device: VID_0x483:PID_0xdf11
144580 [DBG] Device reported transfer size: 1024
144582 [DBG] Bytes uploaded: 32 100%
144583 [DBG] Upload has finished.
144586 [REG] Device went back online
144847 [DBG] Device is not idle, resetting...
145918 [REG] Device went offline: VID_0x483:PID_0xdf11
146017 [DBG] Getting Co-Processor (Wireless) status...
146018 [DBG] Failed to get FUS status. The device is offline at the moment.
146026 [REG] Detected new device: VID_0x483:PID_0xdf11
146075 [DBG] Device reported transfer size: 1024
146077 [DBG] Bytes uploaded: 32 100%
146078 [DBG] Upload has finished.
146080 [REG] Device went back online
146343 [DBG] Getting Co-Processor (Wireless) status...
146346 [DBG] Device is not idle, resetting...
146394 [DBG] Device reported transfer size: 1024
146397 [DBG] Bytes uploaded: 2 100%
146397 [DBG] Upload has finished.
146398 [DBG] Current FUS state: Idle, No error.
146398 [DBG] Attempting to flash CO-PROCESSOR firmware image...
146402 [DBG] Device is not idle, resetting...
146454 [DBG] Device reported transfer size: 1024
146457 [DBG] Bytes uploaded: 128 100%
146457 [DBG] Upload has finished.
146460 [DBG] SFSA value is 0xf4
146460 [DBG] Target address for co-processor firmware image is 0x80d7000
146463 [DBG] Device is not idle, resetting...
146530 [DBG] Erasing memory: 0%
146590 [DBG] Erasing memory: 3%
146649 [DBG] Erasing memory: 7%
146708 [DBG] Erasing memory: 10%
146766 [DBG] Erasing memory: 14%
…
147921 [DBG] Erasing memory: 85%
147980 [DBG] Erasing memory: 88%
148038 [DBG] Erasing memory: 92%
148093 [DBG] Erasing memory: 96%
148153 [DBG] Erasing memory: 99%
148153 [DBG] Erase done.
148157 [DBG] Device is not idle, resetting...
148197 [DBG] Device reported transfer size: 1024
148246 [DBG] Bytes downloaded: 1024 0%
148295 [DBG] Bytes downloaded: 2048 1%
148340 [DBG] Bytes downloaded: 3072 2%
148387 [DBG] Bytes downloaded: 4096 3%
148433 [DBG] Bytes downloaded: 5120 4%
148479 [DBG] Bytes downloaded: 6144 5%
…
153282 [DBG] Bytes downloaded: 109568 95%
153329 [DBG] Bytes downloaded: 110592 96%
153425 [DBG] Bytes downloaded: 112640 97%
153474 [DBG] Bytes downloaded: 113664 98%
153521 [DBG] Bytes downloaded: 114688 99%
153558 [DBG] Bytes downloaded: 115084 100%
153559 [DBG] Download has finished.
153560 [DBG] Sending FW_UPGRADE command...
153565 [DBG] Device is not idle, resetting...
154630 [DBG] Getting Co-Processor (Wireless) status...
161172 [DBG] Failed to claim interface: LIBUSB_ERROR_NO_DEVICE
161172 [DBG] Failed to get FUS status. This is normal if the device has just rebooted.
161191 [REG] Device went offline: VID_0x483:PID_0xdf11
161192 [DBG] Getting Co-Processor (Wireless) status...
161192 [DBG] Failed to get FUS status. The device is offline at the moment.
161612 [USB] Failed to open device
161612 [REG] Detected new device: VID_0x483:PID_0xdf11
161621 [REG] Detected new device: VID_0x483:PID_0xdf11
qFlipper-20220804-185824 (Success)
265 [APP] qFlipper version 1.1.1 commit 9e1b07c9 2022-07-27T22:29:06
265 [APP] OS info: macOS 10.16 10.16 21.6.0
290 [REG] Detected new device: VID_0x483:PID_0xdf11
444 [DBG] Device reported transfer size: 1024
447 [DBG] Bytes uploaded: 32 100%
447 [DBG] Upload has finished.
450 [REG] Registering the device
450 [BKD] Current device changed to "[REDACTED]"
515 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
793 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
300237 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
300498 [DEV] Full Repair @[REDACTED] START
301740 [ZIP] Uncompressing file with size of 165136 bytes...
301743 [ZIP] Uncompression finished : No Error
302245 [ZIP] Uncompressing file with size of 38068 bytes...
302249 [ZIP] Uncompression finished : No Error
303006 [RCY] Set Recovery boot mode @[REDACTED] START
303013 [DBG] Device is not idle, resetting...
303061 [DBG] Device reported transfer size: 1024
303063 [DBG] Bytes uploaded: 128 100%
303063 [DBG] Upload has finished.
303064 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
303068 [DBG] Device is not idle, resetting...
303107 [DBG] Device reported transfer size: 1024
304676 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
304676 [DBG] Unable to get device status
304676 [DBG] An error has occured during download phase
304676 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
304676 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
304676 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
304676 [REG] Device went offline: VID_0x483:PID_0xdf11
304687 [REG] Detected new device: VID_0x483:PID_0xdf11
304735 [DBG] Device reported transfer size: 1024
304738 [DBG] Bytes uploaded: 32 100%
304738 [DBG] Upload has finished.
304741 [REG] Device went back online
305003 [RCY] Set Recovery boot mode @[REDACTED] SUCCESS
305014 [RCY] Co-Processor Firmware Download @[REDACTED] START
305018 [DBG] Device is not idle, resetting...
305066 [DBG] Device reported transfer size: 1024
305069 [DBG] Bytes uploaded: 2 100%
305069 [DBG] Upload has finished.
305070 [DBG] FUS appears NOT to be running: Error occured, Not running.
305070 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
305074 [DBG] Device is not idle, resetting...
305122 [DBG] Device reported transfer size: 1024
306688 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
306688 [DBG] Bytes uploaded: 0 0%
306688 [DBG] End of transmission.
306688 [DBG] Upload has finished.
306688 [DBG] Failed to read FUS status
306689 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
306689 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
306689 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
306695 [REG] Device went offline: VID_0x483:PID_0xdf11
306706 [REG] Detected new device: VID_0x483:PID_0xdf11
306755 [DBG] Device reported transfer size: 1024
306757 [DBG] Bytes uploaded: 32 100%
306758 [DBG] Upload has finished.
306761 [REG] Device went back online
307041 [DBG] Device is not idle, resetting...
308088 [REG] Device went offline: VID_0x483:PID_0xdf11
308167 [DBG] Getting Co-Processor (Wireless) status...
308167 [DBG] Failed to get FUS status. The device is offline at the moment.
308197 [REG] Detected new device: VID_0x483:PID_0xdf11
308245 [DBG] Device reported transfer size: 1024
308248 [DBG] Bytes uploaded: 32 100%
308249 [DBG] Upload has finished.
308251 [REG] Device went back online
308533 [DBG] Getting Co-Processor (Wireless) status...
308537 [DBG] Device is not idle, resetting...
308585 [DBG] Device reported transfer size: 1024
308588 [DBG] Bytes uploaded: 2 100%
308588 [DBG] Upload has finished.
308589 [DBG] Current FUS state: Idle, No error.
308589 [DBG] Attempting to flash CO-PROCESSOR firmware image...
308593 [DBG] Device is not idle, resetting...
308645 [DBG] Device reported transfer size: 1024
308648 [DBG] Bytes uploaded: 128 100%
308648 [DBG] Upload has finished.
308652 [DBG] SFSA value is 0xf4
308652 [DBG] Target address for co-processor firmware image is 0x80d7000
308654 [DBG] Device is not idle, resetting...
308718 [DBG] Erasing memory: 0%
308777 [DBG] Erasing memory: 3%
308834 [DBG] Erasing memory: 7%
308891 [DBG] Erasing memory: 10%
308949 [DBG] Erasing memory: 14%
…
310096 [DBG] Erasing memory: 85%
310155 [DBG] Erasing memory: 88%
310213 [DBG] Erasing memory: 92%
310273 [DBG] Erasing memory: 96%
310327 [DBG] Erasing memory: 99%
310328 [DBG] Erase done.
310332 [DBG] Device is not idle, resetting...
310373 [DBG] Device reported transfer size: 1024
310422 [DBG] Bytes downloaded: 1024 0%
310471 [DBG] Bytes downloaded: 2048 1%
310519 [DBG] Bytes downloaded: 3072 2%
310566 [DBG] Bytes downloaded: 4096 3%
310615 [DBG] Bytes downloaded: 5120 4%
310664 [DBG] Bytes downloaded: 6144 5%
…
315513 [DBG] Bytes downloaded: 109568 95%
315559 [DBG] Bytes downloaded: 110592 96%
315657 [DBG] Bytes downloaded: 112640 97%
315706 [DBG] Bytes downloaded: 113664 98%
315755 [DBG] Bytes downloaded: 114688 99%
315797 [DBG] Bytes downloaded: 115084 100%
315797 [DBG] Download has finished.
315798 [DBG] Sending FW_UPGRADE command...
315803 [DBG] Device is not idle, resetting...
316965 [DBG] Getting Co-Processor (Wireless) status...
318409 [DBG] Failed to claim interface: LIBUSB_ERROR_NO_DEVICE
318409 [DBG] Failed to get FUS status. This is normal if the device has just rebooted.
318410 [REG] Device went offline: VID_0x483:PID_0xdf11
318412 [DBG] Getting Co-Processor (Wireless) status...
318412 [DBG] Failed to get FUS status. The device is offline at the moment.
318422 [REG] Detected new device: VID_0x483:PID_0xdf11
318479 [DBG] Device reported transfer size: 1024
318482 [DBG] Bytes uploaded: 32 100%
318482 [DBG] Upload has finished.
318485 [REG] Device went back online
318767 [DBG] Getting Co-Processor (Wireless) status...
318784 [DBG] Device is not idle, resetting...
318904 [DBG] Device reported transfer size: 1024
319037 [DBG] Bytes uploaded: 2 100%
319037 [DBG] Upload has finished.
319038 [DBG] Current FUS state: Firmware upgrade ongoing, No error.
319066 [DBG] Getting Co-Processor (Wireless) status...
319092 [DBG] Device is not idle, resetting...
319212 [DBG] Device reported transfer size: 1024
319345 [DBG] Bytes uploaded: 2 100%
319345 [DBG] Upload has finished.
319346 [DBG] Current FUS state: Firmware upgrade ongoing, No error.
320093 [DBG] Getting Co-Processor (Wireless) status...
320112 [DBG] Device is not idle, resetting...
320174 [DBG] Device reported transfer size: 1024
320269 [DBG] Bytes uploaded: 2 100%
320269 [DBG] Upload has finished.
320270 [DBG] Current FUS state: Firmware upgrade ongoing, No error.
321088 [DBG] Getting Co-Processor (Wireless) status...
321094 [DBG] Device is not idle, resetting...
321214 [DBG] Device reported transfer size: 1024
321346 [DBG] Bytes uploaded: 2 100%
321346 [DBG] Upload has finished.
321347 [DBG] Current FUS state: Firmware upgrade ongoing, No error.
322088 [DBG] Getting Co-Processor (Wireless) status...
322108 [DBG] Device is not idle, resetting...
323623 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
323623 [DBG] Unable to issue abort request
323624 [DBG] Failed to abort to idle
323624 [DBG] Failed to prepare the device
323624 [DBG] Failed to read FUS status
323624 [DBG] Failed to get FUS status. This is normal if the device has just rebooted.
323624 [REG] Device went offline: VID_0x483:PID_0xdf11
323635 [REG] Detected new device: VID_0x483:PID_0xdf11
323646 [DBG] Getting Co-Processor (Wireless) status...
323646 [DBG] Failed to get FUS status. The device is offline at the moment.
323694 [DBG] Device reported transfer size: 1024
323697 [DBG] Bytes uploaded: 32 100%
323697 [DBG] Upload has finished.
323700 [REG] Device went back online
323977 [DBG] Getting Co-Processor (Wireless) status...
323982 [DBG] Device is not idle, resetting...
324030 [DBG] Device reported transfer size: 1024
324033 [DBG] Bytes uploaded: 2 100%
324033 [DBG] Upload has finished.
324034 [DBG] Current FUS state: Error occured, Not running.
324038 [DBG] Device is not idle, resetting...
324086 [DBG] Device reported transfer size: 1024
324089 [DBG] Bytes uploaded: 4 100%
324089 [DBG] Upload has finished.
324089 [DBG] Reading 56 bytes from address 0x20030024
324094 [DBG] Device is not idle, resetting...
324142 [DBG] Device reported transfer size: 1024
324145 [DBG] Bytes uploaded: 56 100%
324145 [DBG] Upload has finished.
324145 [DBG] FUS version: 1.2.0
324146 [DBG] Wireless Stack version: 1.13.3
324146 [RCY] Co-Processor Firmware Download @[REDACTED] SUCCESS
324157 [RCY] Firmware Download @[REDACTED] START
324528 [DBG] Device is not idle, resetting...
324595 [DBG] Erasing memory: 0%
324709 [DBG] Erasing memory: 1%
324827 [DBG] Erasing memory: 2%
324942 [DBG] Erasing memory: 3%
325057 [DBG] Erasing memory: 4%
325114 [DBG] Erasing memory: 5%
…
334408 [DBG] Erasing memory: 95%
334467 [DBG] Erasing memory: 96%
334581 [DBG] Erasing memory: 97%
334694 [DBG] Erasing memory: 98%
334809 [DBG] Erasing memory: 99%
334809 [DBG] Erase done.
334814 [DBG] Device is not idle, resetting...
334856 [DBG] Device reported transfer size: 1024
334905 [DBG] Bytes downloaded: 1024 0%
335236 [DBG] Bytes downloaded: 8192 1%
335582 [DBG] Bytes downloaded: 15360 2%
335919 [DBG] Bytes downloaded: 22528 3%
336254 [DBG] Bytes downloaded: 29696 4%
336594 [DBG] Bytes downloaded: 36864 5%
…
366297 [DBG] Bytes downloaded: 689152 95%
366610 [DBG] Bytes downloaded: 696320 96%
366924 [DBG] Bytes downloaded: 703488 97%
367239 [DBG] Bytes downloaded: 710656 98%
367553 [DBG] Bytes downloaded: 717824 99%
367866 [DBG] Bytes downloaded: 724856 100%
367866 [DBG] Download has finished.
367867 [RCY] Firmware Download @[REDACTED] SUCCESS
367868 [RCY] Correct Option Bytes @[REDACTED] START
367875 [DBG] Device is not idle, resetting...
367923 [DBG] Device reported transfer size: 1024
367926 [DBG] Bytes uploaded: 128 100%
367926 [DBG] Upload has finished.
367926 [DBG] Option Bytes mismatch @nSWBOOT0: this: 0x0, other: 0x1
367926 [DBG] Option Bytes mismatch @nBOOT0: this: 0x0, other: 0x1
367926 [DBG] Writing corrected Option Bytes...
367926 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
367931 [DBG] Device is not idle, resetting...
367969 [DBG] Device reported transfer size: 1024
369374 [DBG] Failed to perform control transfer: LIBUSB_ERROR_NO_DEVICE
369374 [DBG] Unable to get device status
369375 [DBG] An error has occured during download phase
369375 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
369375 [DBG] vvv ATTENTION: Ignore errors below until matching closing message. vvv
369375 [DBG] ^^^ ATTENTION: Ignore errors above until matching opening message. ^^^
369377 [REG] Device went offline: VID_0x483:PID_0xdf11
370596 [REG] Detected new device: VID_0x483:PID_0x5740
370599 [RPC] Starting RPC session...
370746 [RPC] RPC session started successfully.
370746 [RPC] (1) System Device Info START
370876 [RPC] (1) System Device Info SUCCESS
370876 [RPC] (2) Storage Info @/ext START
370930 [RPC] (2) Storage Info @/ext SUCCESS
370931 [RPC] (3) System Get DateTime START
370997 [DBG] Flipper time skew is -1223 milliseconds
370997 [RPC] (3) System Get DateTime SUCCESS
370997 [RPC] (4) System Set DateTime START
371050 [RPC] (4) System Set DateTime SUCCESS
371051 [RPC] Stopping RPC session...
371065 [RPC] Attempting to unload protobuf plugin...
371068 [RPC] Unloaded protobuf plugin.
371068 [RPC] RPC session stopped successfully.
371069 [REG] Device went back online
371079 [DEV] Version: 0.63.3 commit: 0c592ff8 radio: 1.13.3
372053 [RPC] Starting RPC session...
372186 [RPC] RPC session started successfully.
372191 [RCY] Correct Option Bytes @[REDACTED] SUCCESS
372191 [RPC] (1) Gui Start VirtualDisplay START
372192 [UTL] Assets Download @[REDACTED] START
372248 [RPC] (1) Gui Start VirtualDisplay SUCCESS
372248 [RPC] (2) Storage Info @/ext START
372306 [DBS] No external storage found, finishing early.
372306 [UTL] Assets Download @[REDACTED] SUCCESS
372306 [RPC] (2) Storage Info @/ext SUCCESS
372306 [UTL] Restart device @[REDACTED] START
372307 [RPC] (3) System Reboot START
372307 [RPC] (3) System Reboot SUCCESS
372476 [RPC] Serial connection was lost.
372476 [RPC] Stopping RPC session...
372478 [RPC] Attempting to unload protobuf plugin...
372479 [RPC] Unloaded protobuf plugin.
372479 [RPC] RPC session stopped successfully.
372507 [REG] Device went offline: VID_0x483:PID_0x5740
373301 [REG] Detected new device: VID_0x483:PID_0x5740
373303 [RPC] Starting RPC session...
373459 [RPC] RPC session started successfully.
373459 [RPC] (1) System Device Info START
373586 [RPC] (1) System Device Info SUCCESS
373586 [RPC] (2) Storage Info @/ext START
373639 [RPC] (2) Storage Info @/ext SUCCESS
373639 [RPC] (3) System Get DateTime START
373719 [DBG] Flipper time skew is -945 milliseconds
373719 [RPC] (3) System Get DateTime SUCCESS
373719 [RPC] (4) System Set DateTime START
373771 [RPC] (4) System Set DateTime SUCCESS
373772 [RPC] Stopping RPC session...
373783 [RPC] Attempting to unload protobuf plugin...
373784 [RPC] Unloaded protobuf plugin.
373784 [RPC] RPC session stopped successfully.
373784 [REG] Device went back online
373785 [DEV] Version: 0.63.3 commit: 0c592ff8 radio: 1.13.3
374833 [RPC] Starting RPC session...
374964 [RPC] RPC session started successfully.
374965 [UTL] Restart device @[REDACTED] SUCCESS
374965 [RPC] (4) Gui Start VirtualDisplay START
374965 [DEV] Full Repair @[REDACTED] SUCCESS
375022 [RPC] (4) Gui Start VirtualDisplay SUCCESS
375023 [RPC] (5) Gui ScreenFrame START
375023 [RPC] (5) Gui ScreenFrame SUCCESS
377203 [BKD] Finalized current operation
377205 [RPC] (6) Gui Stop VirtualDisplay START
377259 [RPC] (6) Gui Stop VirtualDisplay SUCCESS
377259 [RPC] (7) Gui Start SreenStream START
377318 [RPC] (7) Gui Start SreenStream SUCCESS
377318 [RPC] (8) Storage Info @/ext START
377383 [RPC] (8) Storage Info @/ext SUCCESS
580485 [RPC] (9) Storage Info @/ext START
580552 [RPC] (9) Storage Info @/ext SUCCESS
580559 [RPC] (10) Gui Stop ScreenStream START
580622 [RPC] (10) Gui Stop ScreenStream SUCCESS
583067 [RPC] (11) Storage List @/int START
583127 [RPC] (11) Storage List @/int SUCCESS
584401 [RPC] (12) Gui Start SreenStream START
584453 [RPC] (12) Gui Start SreenStream SUCCESS
600641 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
900794 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
1200599 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
1500666 [default] QIODevice::write (QTcpSocket): device not open
1501449 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
1800670 [UPD] Fetched update information from https://update.flipperzero.one/qFlipper/directory.json
2100811 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json
2370561 [APP] qFlipper exited
2370600 [default] "There are still \"1\" items in the process of being created at engine destruction."
@Aeron Aeron added the bug Something isn't working label Aug 4, 2022
@gsurkov
Copy link
Member

gsurkov commented Aug 4, 2022

Thank you for providing all of the crash logs. There is a pattern in them worth investigating. There is a chance that it is somehow connected to Rosetta though, an can truly be fixed only by migrating qFlipper to Qt6 series (which is planned, but cannot be done very easily and will impact users with older hardware/OSes).

The good thing is now that the firmware is updated, it supports the newer update method, which is much more stable, so this should not happen anymore.

@montali
Copy link

montali commented Aug 10, 2022

Same thing is happening on mine. Tried moving to my older i7 Macbook, still crashing. After trying lots of combinations, turns out installling the Development firmware fixes the issue, so this may be firmware-related.

@tnj
Copy link

tnj commented Aug 11, 2022

The same crash happened to me. I tried more than five times but had no luck. Changing the update channel to dev (a39111ad when I tried) didn't help for the first time but produced a different crash report, so I tried again then it worked.

Crash Report
Process:               qFlipper [89370]
Path:                  /Applications/qFlipper.app/Contents/MacOS/qFlipper
Identifier:            test.qFlipper
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-08-11 22:55:30.6101 +0900
OS Version:            macOS 12.1 (21C52)
Report Version:        12
Anonymous UUID:        213E1498-4FBB-6628-4E4B-2192013A45C3

Sleep/Wake UUID:       BE93BB51-CDE7-4235-B672-74E26C306B52

Time Awake Since Boot: 3500000 seconds
Time Since Wake:       564854 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0xe000000000000000 -> 0x0000000000000000 (possible pointer authentication failure)
Exception Codes:       0x0000000000000001, 0xe000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [89370]

VM Region Info: 0 is not in any region.  Bytes before following region: 4306153472
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      100aab000-100bd7000    [ 1200K] r-x/r-x SM=COW  ...acOS/qFlipper

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libusb-1.0.0.dylib            	       0x1093c237d 0x1093c0000 + 9085
1   libusb-1.0.0.dylib            	       0x1093c4830 libusb_get_device_descriptor + 43
2   qFlipper                      	       0x100b2651f USBDeviceDetector::fillDeviceInfo(USBDeviceInfo const&) + 207
3   qFlipper                      	       0x100b2714b 0x100aab000 + 508235
4   QtCore                        	       0x10df06614 QObject::event(QEvent*) + 900
5   QtWidgets                     	       0x10a9f3a56 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262
6   QtWidgets                     	       0x10a9f4e02 QApplication::notify(QObject*, QEvent*) + 466
7   QtCore                        	       0x10dedd2b6 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 166
8   QtCore                        	       0x10dede3f3 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 803
9   libqcocoa.dylib               	       0x10d719892 0x10d6dd000 + 247954
10  libqcocoa.dylib               	       0x10d719f98 0x10d6dd000 + 249752
11  CoreFoundation                	    0x7ff80de03c08 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
12  CoreFoundation                	    0x7ff80de03b70 __CFRunLoopDoSource0 + 180
13  CoreFoundation                	    0x7ff80de038e3 __CFRunLoopDoSources0 + 242
14  CoreFoundation                	    0x7ff80de022ff __CFRunLoopRun + 897
15  CoreFoundation                	    0x7ff80de018a9 CFRunLoopRunSpecific + 567
16  HIToolbox                     	    0x7ff816e834f1 RunCurrentEventLoopInMode + 292
17  HIToolbox                     	    0x7ff816e83247 ReceiveNextEventCommon + 587
18  HIToolbox                     	    0x7ff816e82fe5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
19  AppKit                        	    0x7ff810757b4c _DPSNextEvent + 886
20  AppKit                        	    0x7ff8107561b8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411
21  AppKit                        	    0x7ff8107485a9 -[NSApplication run] + 586
22  libqcocoa.dylib               	       0x10d718d74 0x10d6dd000 + 245108
23  QtCore                        	       0x10ded96b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
24  QtCore                        	       0x10dedd852 QCoreApplication::exec() + 130
25  qFlipper                      	       0x100aba8c3 main + 371
26  dyld                          	       0x200ef64fe start + 462

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7ffd9d8e4 0x7ff7ffd99000 + 18660
1   runtime                       	    0x7ff7ffdaa928 0x7ff7ffd99000 + 71976
2   runtime                       	    0x7ff7ffdac0a4 0x7ff7ffd99000 + 77988

Thread 2:: Qt bearer thread
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd071ae poll + 10
2   QtCore                        	       0x10df3cbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
3   QtCore                        	       0x10ded96b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4   QtCore                        	       0x10dd17993 QThread::exec() + 131
5   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
6   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 3:: org.libusb.device-hotplug
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd00aba mach_msg_trap + 10
2   CoreFoundation                	    0x7ff80de03df1 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff80de024af __CFRunLoopRun + 1329
4   CoreFoundation                	    0x7ff80de018a9 CFRunLoopRunSpecific + 567
5   CoreFoundation                	    0x7ff80de88e66 CFRunLoopRun + 40
6   libusb-1.0.0.dylib            	       0x1093cb39d 0x1093c0000 + 45981
7   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 4:: QQmlThread
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd071ae poll + 10
2   QtCore                        	       0x10df3cbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
3   QtCore                        	       0x10ded96b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4   QtCore                        	       0x10dd17993 QThread::exec() + 131
5   QtQml                         	       0x10cf4b9a9 0x10ccb8000 + 2701737
6   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
7   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 5:: com.apple.CFSocket.private
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd08e4a __select + 10
2   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
3   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 6:
0   runtime                       	    0x7ff7ffdbb814 0x7ff7ffd99000 + 141332

Thread 7:
0   runtime                       	    0x7ff7ffdbb814 0x7ff7ffd99000 + 141332

Thread 8:
0   runtime                       	    0x7ff7ffdbb814 0x7ff7ffd99000 + 141332

Thread 9:: com.apple.NSEventThread
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd00aba mach_msg_trap + 10
2   CoreFoundation                	    0x7ff80de03df1 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff80de024af __CFRunLoopRun + 1329
4   CoreFoundation                	    0x7ff80de018a9 CFRunLoopRunSpecific + 567
5   AppKit                        	    0x7ff8108c5d98 _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 10:: Thread (pooled)
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd03506 __psynch_cvwait + 10
2   QtCore                        	       0x10dd20620 0x10dcf7000 + 169504
3   QtCore                        	       0x10dd2037e 0x10dcf7000 + 168830
4   QtCore                        	       0x10dd202f3 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 83
5   QtCore                        	       0x10dd1cd5d 0x10dcf7000 + 154973
6   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
7   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 11:: QNetworkAccessManager thread
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd071ae poll + 10
2   QtCore                        	       0x10df3cbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
3   QtCore                        	       0x10ded96b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4   QtCore                        	       0x10dd17993 QThread::exec() + 131
5   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
6   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 12:: QNetworkAccessManager thread
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd071ae poll + 10
2   QtCore                        	       0x10df3cbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
3   QtCore                        	       0x10ded96b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4   QtCore                        	       0x10dd17993 QThread::exec() + 131
5   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
6   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 13:: Thread (pooled)
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd03506 __psynch_cvwait + 10
2   QtCore                        	       0x10dd20620 0x10dcf7000 + 169504
3   QtCore                        	       0x10dd2037e 0x10dcf7000 + 168830
4   QtCore                        	       0x10dd202f3 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 83
5   QtCore                        	       0x10dd1cd5d 0x10dcf7000 + 154973
6   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
7   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 14:: QNetworkAccessManager thread
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd071ae poll + 10
2   QtCore                        	       0x10df3cbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
3   QtCore                        	       0x10ded96b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4   QtCore                        	       0x10dd17993 QThread::exec() + 131
5   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
6   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 15:: QNetworkAccessManager thread
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd071ae poll + 10
2   QtCore                        	       0x10df3cbf6 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 790
3   QtCore                        	       0x10ded96b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4   QtCore                        	       0x10dd17993 QThread::exec() + 131
5   QtCore                        	       0x10dd188a9 0x10dcf7000 + 137385
6   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15

Thread 16:: CVDisplayLink
0   ???                           	    0x7ff89e2ba940 ???
1   libsystem_kernel.dylib        	    0x7ff80dd03506 __psynch_cvwait + 10
2   CoreVideo                     	    0x7ff8159cb8f6 CVDisplayLink::waitUntil(unsigned long long) + 366
3   CoreVideo                     	    0x7ff8159caa6a CVDisplayLink::runIOThread() + 534
4   libsystem_pthread.dylib       	    0x7ff80dd3d4f4 _pthread_start + 125
5   libsystem_pthread.dylib       	    0x7ff80dd3900f thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000003000000020  rbx: 0x00000001093cfbc0  rcx: 0x3f4baa556bc600c7  rdx: 0x00000001093d0677
  rdi: 0xe000000000000000  rsi: 0x0000000000000004  rbp: 0x0000000305a51730  rsp: 0x0000000305a51210
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x00000000ffffff00  r11: 0x00007fdce8088a78
  r12: 0x00000001093d0677  r13: 0x00007fdce80ead10  r14: 0x0000000000000004  r15: 0xe000000000000000
  rip: 0x00000001093c237d  rfl: 0x0000000000000283
 tmp0: 0xfffffffffffffbb0 tmp1: 0x0000000100d20160 tmp2: 0x00000001093c4830


Binary Images:
       0x1093c0000 -        0x1093d3fff libusb-1.0.0.dylib (*) <b189561f-9962-302c-bf72-9f044c6bf60e> /Applications/qFlipper.app/Contents/Frameworks/libusb-1.0.0.dylib
       0x100aab000 -        0x100bd6fff test.qFlipper (*) <36e30419-e3ca-3547-9d4d-70be07baefdf> /Applications/qFlipper.app/Contents/MacOS/qFlipper
       0x10dcf7000 -        0x10e23afff org.qt-project.QtCore (5.15) <226f4f10-f8c2-301e-aa19-240048d7c206> /Applications/qFlipper.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
       0x10a9e0000 -        0x10ae2bfff org.qt-project.QtWidgets (5.15) <151402d2-0ee6-34f3-a101-e6cdd04f398a> /Applications/qFlipper.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
       0x10d6dd000 -        0x10d844fff libqcocoa.dylib (*) <fdff1859-ee45-351c-8ecf-a60fe4edaca0> /Applications/qFlipper.app/Contents/PlugIns/platforms/libqcocoa.dylib
    0x7ff80dd84000 -     0x7ff80e284fff com.apple.CoreFoundation (6.9) <7e1d1901-3f9e-3e2e-a090-3655e5f5e04b> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff816e51000 -     0x7ff817148fff com.apple.HIToolbox (2.1.1) <535dbc28-4d26-3609-86bb-5c40227b648c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff810719000 -     0x7ff8115a7fff com.apple.AppKit (6.9) <d23b9681-3764-3298-a716-fbb511dd5a7c> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x200ef1000 -        0x200f5cfff dyld (*) <cef5a27a-d50b-3020-af03-1734b19bc8c5> /usr/lib/dyld
    0x7ff7ffd99000 -     0x7ff7ffdc8fff runtime (*) <21c1e0c9-a36e-3e4b-a12b-1bf54ce4403e> /usr/libexec/rosetta/runtime
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff80dd00000 -     0x7ff80dd36fff libsystem_kernel.dylib (*) <5aa1e5be-b5b8-3a02-9885-a8c99e0ca378> /usr/lib/system/libsystem_kernel.dylib
    0x7ff80dd37000 -     0x7ff80dd42fff libsystem_pthread.dylib (*) <6c7561b4-4b92-3f45-921e-abe669299844> /usr/lib/system/libsystem_pthread.dylib
       0x10ccb8000 -        0x10d013fff org.qt-project.QtQml (5.15) <a43ef279-9d2a-3a91-b35b-472c799822fa> /Applications/qFlipper.app/Contents/Frameworks/QtQml.framework/Versions/5/QtQml
    0x7ff8159c8000 -     0x7ff815a19fff com.apple.CoreVideo (1.8) <127e441f-3b6d-3c27-8a68-501b156ff6b9> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=985.5M resident=0K(0%) swapped_out_or_unallocated=985.5M(100%)
Writable regions: Total=506.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=506.0M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG backing stores                 5312K        8 
ColorSync                          228K       25 
CoreAnimation                        4K        1 
CoreGraphics                        16K        3 
Dispatch continuations            80.0M        1 
Foundation                          16K        1 
JS VM Gigacage                    4096K        1 
JS VM Isolated Heap               6400K        5 
Kernel Alloc Once                    8K        1 
MALLOC                           141.2M       56 
MALLOC guard page                  192K        8 
MALLOC_MEDIUM (reserved)          96.0M        1         reserved VM address space (unallocated)
OpenGL GLSL                        256K        3 
Rosetta Arena                     4096K        2 
Rosetta Generic                   1108K      274 
Rosetta IndirectBranch            1024K        1 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack               320K       32 
Rosetta Thread Context             320K       32 
STACK GUARD                         12K        3 
Stack                             23.1M       16 
Stack Guard                       56.1M       13 
VM_ALLOCATE                       6752K      160 
VM_ALLOCATE (reserved)              20K        3         reserved VM address space (unallocated)
__DATA                            21.6M      385 
__DATA_CONST                      13.6M      201 
__DATA_DIRTY                       606K      113 
__FONT_DATA                          4K        1 
__GLSLBUILTINS                    5176K        1 
__LINKEDIT                       708.4M       61 
__OBJC_RO                         81.8M        1 
__OBJC_RW                         3136K        3 
__TEXT                           277.2M      397 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                        5.5G      740 
shared memory                     1060K       16 
unshared pmap                     8608K        5 
===========                     =======  ======= 
TOTAL                              7.1G     2580 
TOTAL, minus reserved VM space     7.0G     2580 

@digitalresistor
Copy link

I was able to use qFlipper version 1.0.2 to do the initial update flash of my Flipper, after that I was able to use the latest version of qFlipper without issues to upload newer firmware or alternate firmwares on my flipper. Might be an option to downgrade qFlipper first (ignore the "this is not the latest version" warning).

@rubyroobs
Copy link

Thank you @bertjwregeer !!! Using 1.0.2 (download link) I was also able to get mine flashed and then just tested again in latest qFlipper that I could install the RC ok for 0.64.0. Hopefully others with the same issue see this.

@zhovner
Copy link
Member

zhovner commented Aug 12, 2022

Working on this issue, will release separate mac M1 version of qFlipper.

@jk779
Copy link

jk779 commented Aug 17, 2022

I just got my Flipper today and the same issue happend to me too, but I'm using a Intel Mac?! (Macmini8,1)
The workaround with Version 1.0.2 worked for me as well :) Maybe it's a problem with the MacOS version as a whole? 🤔

@gsurkov
Copy link
Member

gsurkov commented Aug 18, 2022

Since the majority of the crashes seem to happen inside libusb, and also some evidence that downgrading the application version is helping, there is a chance that it was at least partially caused by upgrading to libusb 1.0.26 on the build server which happened mid June.

Just to be safe, I have rolled it back to 1.0.24 and the upcoming qFlipper version will be bundled with it instead.
Of course, this is not a proper fix, Rosetta and possible libusb-related problems (bugs and/or improper use) still aren't off the table.

Hope this helps. Everything said earlier still stands: Qt6 and the native M1 version are a priority, which indirectly will help fixing problems like this one.

@sudocurse
Copy link

sudocurse commented Nov 10, 2023

Not sure if this is just a quirk of my update failure case though (stuck at "Updating resources" even after reboot) but I tried repairing with 1.3.2 and also got this crash, however when i tried 1.0.2:

6892 [ZIP] Uncompressing file with size of 168264 bytes...
6894 [ZIP] Uncompression finished : No Error
7311 [ZIP] Uncompressing file with size of 344395 bytes...
7325 [ZIP] Uncompression finished : No Error
7327 [DBG] FileInfo not found
7328 [DEV] Full Repair @Y0nspri0 ERROR: Failed to fetch the files: Failed to fetch file: Failed to open file for writing: Is a directory.
7328 [BKD] Current operation finished with error: "Failed to fetch the files: Failed to fetch file: Failed to open file for writing: Is a directory."

edit: well, after that failed, going back to 1.3.2 seems to complete firmware repair without crashing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants