Page 1 of 1

libogc 1.8.5 - wpad crashing when connecting balance board

Posted: Sat Nov 20, 2010 7:07 pm
by Michael
I'm getting a crash in any homebrew which uses wpad and is compiled against libogc 1.8.5. The crash occurs when connecting a balance board. Prior versions of libogc run without crashing. To reproduce:

1. compile and link against libogc 1.8.5, any homebrew which uses WPAD_Init(), WPAD_ScanPads(), etc
2. make sure your balance board is not connected yet (e.g. powered off)
3. run homebrew as normal
4. after homebrew has started, make sure a wiimote is connected first, then press the button on the balance board to connect it

After pressing the button on the board, the homebrew crashes. Below are the last 4 functions from the stack dump screen:

0. __lwp_queue_firstnodeI (lwp_queue.inl:35)
1. wiiuse_sendcmd
2. __wiiuse_receive
3. bte_process_input - (bte.c:0)

I used the 'hello world' template example from the devkit to reproduce this.

Re: libogc 1.8.5 - wpad crashing when connecting balance boa

Posted: Mon Dec 06, 2010 4:57 am
by Michael
This was fixed in the latest SVN. Thank you.