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

Pwnagotchi crashing: "Stack smashing protect failure!" #265

Open
disaxq opened this issue Sep 14, 2024 · 6 comments
Open

Pwnagotchi crashing: "Stack smashing protect failure!" #265

disaxq opened this issue Sep 14, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@disaxq
Copy link

disaxq commented Sep 14, 2024

Describe the bug:

when my m5stick plus 2 detects pwnagothi, then it just reboots

@Ademolght
Copy link

Ademolght commented Sep 14, 2024

me too on cardputer and i have pwngrid file in my sd card but he tell me "no config file found"

@bmorcelli
Copy link
Collaborator

Describe the bug:

when my m5stick plus 2 detects pwnagothi, then it just reboots

Can you please send the Serial Monitor log for us to understand the problem and address the point to fix?

@disaxq
Copy link
Author

disaxq commented Sep 16, 2024

Соавтор

how i can it?

@bmorcelli
Copy link
Collaborator

Plug your stickCPlus2 into a computer, with the cable you used to flash, open m5burner and click at the 3 bars at the upper right corner, select serial Monitor, select the COMx that your device is connected (or plug into USB at this moment), hit connect and log the things...

Make the error happen and send the log

@disaxq
Copy link
Author

disaxq commented Sep 19, 2024

Selecionado Pwnagotchi
Pwnagotchi Initialized

Stack smashing protect failure!

Backtrace: 0x40084691:0x3ffdde70 0x40093cad:0x3ffdde90 0x40083a4a:0x3ffddeb0 0x4010768d:0x3ffdded0 0x401077ae:0x3ffddf40 0x40104992:0x3ffddfb0 0x40104afa:0x3ffddfd0 0x400d8f83:0x3ffde0f0 0x400d4fed:0x3ffde110 0x400d96c6:0x3ffde180 0x40309645:0x3ffde260 0x400f4d73:0x3ffde280 0x40197510:0x3ffde2d0

ELF file SHA256: d3535330a8103cc6

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
E ������J�*��}�х}���� not found otadata
[ 37][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 64][V][esp32-hal-uart.c:330] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(3) txPin(1)
[ 73][V][esp32-hal-uart.c:416] uartBegin(): UART0 not installed. Starting installation
[ 84][V][esp32-hal-uart.c:463] uartBegin(): UART0 initialization done.
[ 99][D][main.cpp:316] setup(): Total heap: 194260
[ 104][D][main.cpp:317] setup(): Free heap: 159292
[ 109][D][main.cpp:320] setup(): PSRAM Not Found
[ 113][D][main.cpp:321] setup(): Total PSRAM: 0
[ 118][D][main.cpp:322] setup(): Free PSRAM: 0
[ 1359][I][main.cpp:237] load_eeprom():
-EEPROM Settings-

rotation =003,
dimmerSet =010,
Brightness=100,
IR Tx Pin =019,
IR Rx Pin =033,
RF Tx Pin =032,
RF Rx Pin =033,
Time Zone =003,
FGColor =0xA80F
RfModule =000,
RfidModule=000,
----------*
[ 1389][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 27 - Using Channel 15, Value = 255
[ 1398][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000

bmorcelli added a commit to bmorcelli/Bruce that referenced this issue Sep 20, 2024
@bmorcelli bmorcelli changed the title Pwnagotchi Pwnagotchi crashing: "Stack smashing protect failure!" Sep 20, 2024
@bmorcelli
Copy link
Collaborator

Can you test with the artifacts of this Pull request?

https://github.com/pr3y/Bruce/actions/runs/10961481295

@bmorcelli bmorcelli added the bug Something isn't working label Sep 20, 2024
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

3 participants