Opened 7 years ago
Closed 7 years ago
#4570 closed defect (fixed)
Windows - Crash in the GUI in debug mode
Reported by: | Itms | Owned by: | Vladislav Belov |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 22 |
Component: | Core engine | Keywords: | |
Cc: | Patch: | Phab:D484 |
Description
I don't know whether this also happens on Unix.
When running in Debug mode, the game will crash when opening the lobby logging window, if a username and/or password is memorized. The crash happens when trying to fill the CInput
s with memorized values (more precisely when shifting the cursor to the end of the text).
Expression: vector subscript out of range pyrogenesis_dbg.exe!std::vector<float,std::allocator<float> >::operator[](unsigned int _Pos) Ligne 1201 C++ pyrogenesis_dbg.exe!CInput::UpdateAutoScroll() Ligne 2081 C++ pyrogenesis_dbg.exe!CInput::HandleMessage(SGUIMessage & Message) Ligne 850 C++ pyrogenesis_dbg.exe!CInternalCGUIAccessorBase::HandleMessage(IGUIObject * pObject, SGUIMessage & message) Ligne 301 C++ pyrogenesis_dbg.exe!GUI<CStrW>::SetSetting(IGUIObject * pObject, const CStr8 & Setting, const CStrW & Value, const bool & SkipMessage) Ligne 412 C++ pyrogenesis_dbg.exe!JSI_IGUIObject::setProperty(JSContext * cx, JS::Handle<JSObject *> obj, JS::Handle<jsid> id, bool __formal, JS::MutableHandle<JS::Value> vp) Ligne 378 C++ mozjs38-ps-debug.dll!js::CallJSPropertyOpSetter(JSContext * cx, bool (JSContext *, JS::Handle<JSObject *>, JS::Handle<jsid>, bool, JS::MutableHandle<JS::Value>) * op, JS::Handle<JSObject *> obj, JS::Handle<jsid> id, bool strict, JS::MutableHandle<JS::Value> vp) Ligne 310 C++ [...]
It is easy to ignore the issue by deleting the configuration option, if one wants to test the lobby in Debug mode.
Change History (5)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Milestone: | Backlog → Alpha 22 |
---|
comment:3 by , 7 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
It was problem in UpdateAutoScrolls:
comment:4 by , 7 years ago
Patch: | → Phab:D484 |
---|
You can use the new "Patch" field to link differential revisions - you can also use the Phab shorthand everywhere in Trac :)
Note:
See TracTickets
for help on using tickets.
This sounds like r19234