Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » ColorPopup widget crashes TheIDE with "Invaild memory Access" on latest Daily builds of U+
ColorPopup widget crashes TheIDE with "Invaild memory Access" on latest Daily builds of U+ [message #32490] |
Fri, 20 May 2011 20:56 |
Oblivion
Messages: 1093 Registered: August 2007
|
Senior Contributor |
|
|
Hello guys,
There seems to be a crucial bug in Colorpopup.cpp which crashes any application, including TheIDE itself, using ColorPopup widget due to an "invalid memory access". Tested on both Ubuntu + Kubuntu 11.04
Crash can be reproduced while changing Syntax highlighting colors through Setup/Environment/Syntax Highlighting/Color buttons
Crash occures when SetFocus() method is invoked in CtrlLib/ColorPopup.cpp, line 317:
popup->SetRect(rt);
if(!popup->IsOpen())
popup->PopUp(owner, true, true, true);
SetFocus(); // **************** Crashes any application using Colorpopup
I didn't have the time to examine the source code further, but shouldn't it be popup->SetFocus() ?
Regards.
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Fri, 20 May 2011 21:02] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu May 09 23:40:43 CEST 2024
Total time taken to generate the page: 0.02481 seconds
|