Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1091
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.


[Updated on: Fri, 20 May 2011 21:02]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hydra is limited to 10 threads
Next Topic: DragAndDrop FILES does not work under LINUX
Goto Forum:
  


Current Time: Thu Mar 28 11:11:12 CET 2024

Total time taken to generate the page: 0.01380 seconds