From: Kevron R. <ke...@ne...> - 2007-05-25 06:19:37
|
I'm trying to work out the latest seg fault. I've identified that it happened within mp3class::loadmodule_xml(). the screen number that was passed was -1. The error actually happens when I call this within the mainmenu_ih() function in gui.cpp: cout<<"screen changed to: "<<menu.myscreens->get_screen(s_num).get_name()<<endl; this code returns "xml" as the screen name. get_type() also returns "xml". I can't understand why this would break. It was working fine the night I commited (maybe I was too tired and only dreamed it worked) and the next day it was broke. what do you think? -kev |