Problem with GP32 port.
|Reported by:||SF/wonst719||Owned by:||SF/chrilith|
I tried to update port for the GP32 against latest SVN version (revision 21665). It compiles well, but it crashes when it tries to open config file useing hashed open. So I hacked into it, and...
config-manager.cpp Line 140: in ConfigManager::loadFile(...) file.cpp Line 206: in File::open(...) hashmap.h Line 322: in HashMap::contains(Key &) hashmap.h Line 302: in HashMap::lookup(Key &) func.h Line 31: in EqualTo::operator()(const String &, const String &) str.cpp Line 255: in String::operator ==(const String &) str.h Line 81: in String::c_str() CRASH
...the result is a hand-maded trace log. (I can't use GDB / debugger with GP32) I tried to put address checking in c_str() method. I usually get address 0x0c******, but this case I got 0xea000058. This prevents the GP32 port form working. I wonder if this happens because of compiler bug...?
Ticket imported from: #1466270. Ticket imported from: bugs/2558.