Jump to content

iwi2200 crash and possible fix


  • Please log in to reply
No replies to this topic

#1
streambranch

streambranch

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I installed the latest stable iwi2200_wep.dmg. It worked great at the first location I tried. Then I packed up, went to a different location. nsGUI would crash every time - so would networkSelector. Debugging showed nsGUI crashing in MainController-preAction:

if (priv.ieee->networks[c].ssid_len>0)
{
priv.ieee->networks[c+1]=priv.ieee->networks[c];
goto rep;
}

c is 127 when it crashes. If I change it as shown below it does not crash:


if (priv.ieee->networks[c].ssid_len>0 && (c < 127))
{
priv.ieee->networks[c+1]=priv.ieee->networks[c];
goto rep;
}

An ugly hack since I don't know the first thing about how this structure is put together but it might be a clue for someone who knows what's going on.

Hope this helps,

Stream





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy