qemu-ios icon indicating copy to clipboard operation
qemu-ios copied to clipboard

Stack smashing detected

Open CONIGUERO opened this issue 1 year ago • 4 comments

Command:

# ./qemu-system-arm.exe -M iPod-Touch,bootrom=/home/Usuario/qemu-ios/build/br/bootrom_240_4,nand=/home/Usuario/qemu-ios/build/nand/,nor=/home/Usuario/qemu-ios/build/nor/nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp -D logq.txt

Output:

s5l8900_gpio_read: read from location 0x00000164
s5l8900_gpio_read: read from location 0x00000184
s5l8900_gpio_read: read from location 0x00000064
s5l8900_gpio_read: read from location 0x00000064
s5l8900_gpio_read: read from location 0x00000064
s5l8900_gpio_read: read from location 0x00000064
s5l8900_gpio_read: read from location 0x00000064
s5l8900_gpio_read: read from location 0x00000064
*** stack smashing detected ***: terminated

Environment: MSYS64 in Windows 10, built QEMU with minGW64

Configure flags:

../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp --extra-ldflags='-lcrypto' --disable-werror

CONIGUERO avatar Nov 09 '23 12:11 CONIGUERO

hey i am getting the same error as you have you found a fix yet or are you still stuck

nanocodium avatar Dec 15 '23 22:12 nanocodium

Compile QEMU-IOS with --disable-stack-protector.

spetterman66 avatar Dec 16 '23 11:12 spetterman66

Compile QEMU-IOS with --disable-stack-protector.

That just results in a segmentation fault (which is what the error truly was anyway I guess)

CONIGUERO avatar Dec 16 '23 16:12 CONIGUERO

Hmm thanks for reporting. I would have to further debug this one!

devos50 avatar Jan 01 '24 16:01 devos50