0x5FCEE689 (ucrtbased.dll)处(位于 test.exe 中)引发的异常 问题解决

VS2019中scanf_s使用详解

今天在用VS2019的时候出现的报错。

#include <stdio.h>

int main() {
   
   
    char s[100];//数组初始化
    scanf_s("%s", s);
    for (
ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x28 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x4bc load:0x403c9700,len:0xbd8 load:0x403cc700,len:0x2a0c entry 0x403c98d0 uart1_init... baud_rate=115200,rx= 5,tx= 4 wifi spi project done... Sep 28 2025 20:50:02 �� SPI Slave 日志已启用,��查看收[CACHE UPDATED] AA 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F (33 bytes) 发数据✅ ESP32 SPI Slave 已启动,开始监听��信... E (129) spi: SPI3 already claimed by spi slave. Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception). Debug exception reason: Stack canary watchpoint triggered (spi_slave_task_) Core 1 register dump: PC : 0x4037b1ab PS : 0x00060a36 A0 : 0x8037b35f A1 : 0x3fcee350 A2 : 0x3fcee220 A3 : 0xffffffff A4 : 0x00060820 A5 : 0x420178cc A6 : 0x3fcf0858 A7 : 0x00000001 A8 : 0x8037c1e8 A9 : 0x3fcee360 A10 : 0x00060a23 A11 : 0x00000000 A12 : 0x00060a20 A13 : 0x00000042 A14 : 0x02c93620 A15 : 0x00ffffff SAR : 0x00000004 EXCCAUSE: 0x00000001 EXCVADDR: 0x00000000 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffa Backtrace: 0x4037b1a8:0x3fcee350 0x4037b35c:0x3fcee390 0x40378529:0x3fcee3b0 0x40378601:0x3fcee3e0 0x4200f47a:0x3fcee400 0x4200e4c1:0x3fcee420 0x4200e145:0x3fcee440 0x420178f9:0x3fcee460 0x42016846:0x3fcee480 0x420168ce:0x3fcee4a0 0x42017329:0x3fcee4d0 0x4202265d:0x3fcee500 0x4201e0f3:0x3fcee520 0x4201e269:0x3fcee830 0x42026155:0x3fcee860 0x420112d2:0x3fcee890 0x42011367:0x3fcee8c0 0x42004f65:0x3fcee940 0x42002485:0x3fcee9a0 ELF file SHA256: fbfcc041855d842e Rebooting...
最新发布
09-29
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值