wiiudev / libwiiu

Build system and examples for running C code on the Wii U
191 stars 39 forks source link

Every example crashes Wii U Browser #9

Closed DarkFlare69 closed 9 years ago

DarkFlare69 commented 9 years ago

When I load any example, my Wii U crashes without loading anything on screen.

I'm on 5.3.2U.

georgeklees commented 9 years ago

Could you please give me the specific examples you tried, how many attempts you made, and a clear description of what happened to the Wii U?

DarkFlare69 commented 9 years ago

I've tried every single example two times. The URL bar loads about halfway, and then crashes. I must then hard power off the console.

zhuowei commented 9 years ago

I'm getting the same error: I'm also on 5.3.2, and I've tried both the helloworld and rpc demos. The console loads the page halfway, then both the gamepad display and the TV display becomes mostly black with small specks of colour, and the console stops responding to input.

I'm compiling with DevkitPPC on Windows 8.1: the GCC version is powerpc-eabi-gcc (devkitPPC release 27) 4.8.2

georgeklees commented 9 years ago

Our underlying code, which overwrites the heap with a pointer to our spray, is still unreliable and doesn't work for several people. We will try to fix this eventually, but we're focusing on simpler bugs first.

zhuowei commented 9 years ago

With the latest master, I tried running Helloworld four times: three times, the console freezes with the progress bar at around half and with the contents of the screen intact; once, the screen went blank with speckles as before. No error messages or prints show on screen/

FIX94 commented 9 years ago

I have a similar issue on 3.1.0E, I tried all sorts of pages, compiled it myself and tried it but I always end up on this exact screen: http://s28.postimg.org/44oz8ujh9/IMG_20150622_000432382.jpg It also makes no difference if I type it in directly or go via a bookmark, no other tabs open, no cookies nothing so yea, maybe 3.1.0E is just not compatible?

ghost commented 9 years ago

3.1.0 may have some slight differences. I'll check that.

DarkFlare69 commented 9 years ago

I'm using wiiulib arndroid website, I don't compile it myself.

carnage702 commented 9 years ago

DarkFlare69 you need to close all tabs and then right the adress on the bowser directly, if you try to open any link trough gbatemp or any webpage the freeze is the most certain outcome so try putting the link directly on the bowser by typing it when all tabs are closed.

DarkFlare69 commented 9 years ago

Carnage, I saw advice like that too on GBAtemp, so I tried it. I tried deleting cookies and enabling developer tools and s***, but still isn't working. I'm using the wiiulib.arndroid.nl site... maybe that's the problem? Is it not updated?

carnage702 commented 9 years ago

i used crediars and gaunlet one on gba temp by wring the url directly on the bowser i never used that one tbh.

DarkFlare69 commented 9 years ago

What's their site url?

carnage702 commented 9 years ago

crediar i think took his down already and this 2 below also worked for me no idea if they are online still tough

www.gauntlethacks.me/Wiiu http://wj44.bplaced.net

DarkFlare69 commented 9 years ago

What's "TheHomebrewChannelU" on the second link?.

carnage702 commented 9 years ago

just a modified hello world basaicaly it isnt homebrew channel of course ...

ghost commented 9 years ago

Support for firmware version 3.1.0 has been added on the latest commit.

FIX94 commented 9 years ago

I just tried it out and I can confirm it works perfect on my 3.1.0E console, thank you so much :)

Hayajiro commented 9 years ago

In the last days, there were some commits to improve 5.3.2 support, but it still crashes on my Second Wii U everytime when I try to load a Homebrew(on the black glitchy screen). Whenever I try to run it on my dev Wii U however(just updated to 5.3.2), things work like a charm. Seems to be a Systeme dependend issue...

wj444 commented 9 years ago

make sure you have only one tab opened and type the url directly in the URL Bar!

Hayajiro commented 9 years ago

I already tried all things that could stop making the exploit to fail, only one tab, direct URL, Browser reset and so on. Same process on both consoles, on my dev one it works like a charm, but it won't work on my second console. Just got a simple OSFatal Homebrew running after 'bout 100 tries for one time - nothing reproducable.

wj444 commented 9 years ago

Here the exit example is the most stable ! http://wj44.bplaced.net/Exit/

Hayajiro commented 9 years ago

Well, it's also not working, just tried it. Neither self compiled nor precompiled works Am 30.06.2015 15:07 schrieb "wj444" notifications@github.com:

Here the exit example is the most stable one! http://wj44.bplaced.net/Exit/

— Reply to this email directly or view it on GitHub https://github.com/wiiudev/libwiiu/issues/9#issuecomment-117172470.

wj444 commented 9 years ago

Can you test this I've changed the code a bit. http://wj44.bplaced.net/edited_exit/

Hayajiro commented 9 years ago

Nope, also just crashes the console.

Hayajiro commented 9 years ago

Seems to be a bug directly in the underlying exploit itself. It crashes even doesn't execute the code from findcode532.c, it freezes before loading it. Maybe something goes wrong while spraying code?

wj444 commented 9 years ago

when it's froze it must be a false address in the coreinit.h!

TheRMario commented 9 years ago

I have try all pages and all frozen

wj444 commented 9 years ago

@RafaLuigi clear your cookies, have only one tab opened and type the url directly in the url Bar!

TheRMario commented 9 years ago

it works, thank you wj444

DarkFlare69 commented 9 years ago

I don't know what I'm doing wrong. Do I need to set a specific user agent? I've cleared cookies and tried the above site, still no luck.

wj444 commented 9 years ago

@DarkFlare69 clear your cookies, have only one tab opened and type the url directly in the url Bar!

DarkFlare69 commented 9 years ago

I'm not dumb, I cleared all my cookies, had one tab open, and typed it directly into the bar. Still freezes when the URL is about halfway.

carnage702 commented 9 years ago

Are you sure you are still on 5.3.2 DarlFlare? lots of people are getting standy updated becuase of the opendns fail block just check again in system settings.

Also there is no tabs opened to get the exploit to work everytime i do this open the bowser and acess the bookmarked link directly no tabs at all open i type it directly on the bowser start up or bookmark shortcut works everytime for me on 5.3.2.

georgeklees commented 9 years ago

If he were on 5.4.0, it wouldn't freeze at all, since the browser bug was patched.

wj444 commented 9 years ago

What site are you using?

TheRMario commented 9 years ago

1 • Go to system settings and make sure you have 5.3.2 2 • Open the Internet Browser 3 • Settings 4 • Search Engine- Google 5 • Delete Cookies 6 • Set User Agent - Wii U 7 • Enter URL wiiulib.arndroid.nl/brew/helloworld/payload532.html 8 • Hello World 9 • Wii U is unresponsive when you run the Hello World, thiis is normal The Hello Wold program calls OSFatal

I hope it helps you :+1: :)

DarkFlare69 commented 9 years ago

Yeah, I made my own tutorial on how to block updates, it'd be pretty embarrassing if it didn't work. I'm on 5.3.2. I did all those steps ^ and it's still not working.

wj444 commented 9 years ago

@DarkFlare69 Have you already tried to turn on the developer Program?

DarkFlare69 commented 9 years ago

Finally got it to work. I did nothing different, and it worked

DarkFlare69 commented 9 years ago

I guess this can be closed now.