🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fatal crash on sta.scan() in UIFlow2 v2.4.4 on Tab5 - firmware bug

    Scheduled Pinned Locked Moved UIFlow
    2 Posts 1 Posters 57 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RunaqueR Away
      Runaque
      last edited by

      Hey everyone,

      Yesterday I got my M5Stack Tab5 and started building a wardriving app in UIFlow2 MicroPython. During development I discovered that calling sta.scan() causes a fatal Guru Meditation Error every single time, crashing and rebooting the device.

      After extensive testing I can confirm:

      • The crash is 100% reproducible - every scan attempt crashes
      • The same crash address (MEPC: 0x4ff13582) appears every single time
      • It happens regardless of code complexity, UI framework, scan interval or WiFi credentials
      • It cannot be caught by Python exception handling - it crashes below the MicroPython VM
      • Register analysis points to a null pointer dereference in the esp-hosted SDIO transport layer after an ETIMEDOUT on the ESP32-C6 coprocessor

      I've filed a detailed bug report on GitHub including a minimal reproducer, crash dump analysis and probable root cause:

      👉 https://github.com/m5stack/uiflow-micropython/issues/94

      Has anyone else hit this on their Tab5? Any confirmations would help strengthen the case for a fix!

      [url=https://wigle.net][img]https://wigle.net/bi/t2siA9I1JCSX8NFkxbPOFQ.png[/img][/url]

      RunaqueR 1 Reply Last reply Reply Quote 0
      • RunaqueR Away
        Runaque @Runaque
        last edited by

        Additional finding: Secondary firmware bug — boot sequence crash on cold boot (MEPC: 0x00000006)
        While investigating the sta.scan() crash, I discovered a second distinct firmware bug affecting the Tab5 in UIFlow2 v2.4.4.
        Description:
        On every cold boot, the device crashes during UIFlow2's initialization sequence before any user code runs. The device automatically reboots and boots successfully on the second attempt.
        Crash signature:
        Guru Meditation Error: Core 1 panic'ed (Instruction access fault). Exception was unhandled.

        MEPC : 0x00000006
        MCAUSE : 0x00000001
        MTVAL : 0x00000006
        Key observation:
        The stack contains 0x7474696c (ASCII: "litt") pointing to a crash inside UIFlow2's LittlevGL/LVGL initialization sequence — not in user code.
        Reproducibility:

        100% reproducible on cold boot
        Device always self-recovers on automatic reboot
        Completely independent of user code — happens before any user application starts

        This is a separate bug from issue #94 (sta.scan() at MEPC: 0x4ff13582). Both bugs share the same root environment (UIFlow2 v2.4.4 on Tab5) but occur at different stages and involve different subsystems.

        [url=https://wigle.net][img]https://wigle.net/bi/t2siA9I1JCSX8NFkxbPOFQ.png[/img][/url]

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post