U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » U++ 2019.1.rc4 released
Re: U++ 2019.1.rc4 released [message #51598 is a reply to message #51580] Fri, 19 April 2019 00:32 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1433
Registered: December 2006
Ultimate Contributor
mirek wrote on Thu, 18 April 2019 04:53
Novo wrote on Wed, 17 April 2019 21:31
I was investigating a crash with TheIDE and discovered a bunch of uninitialized memory reads. Please check an attached file.


Should be all fixed in the trunk.

All of it was innocent things like Enabling/Disableing random buttons in theide toolbar during initialization, then it got fixed by second SetBar call even before theide is open.

That said, it is definitely better if theide runs valgrind clean, so I from now on I will do valgrind checks before each release. Thank you.

Mirek

Thank you! Below are two more fixes which make TheIDE 100% valgrind-clean.
(I fixed/added two constructors)
	CppItem() : access(), kind(), at(), virt(), decla(), lvalue(), isptr(), filetype(), impl(), file(), line(), qualify(true) {}

struct PPItem {
	PPItem() : type(), segment_id() {}

These changes won't make TheIDE any slower.
This is C++98 initialization style. I didn't do that C++11 way for compatibility reason.


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dark theme support changes
Next Topic: U++ 2019.1.rc1 released
Goto Forum:
  


Current Time: Sun Sep 13 12:40:47 GMT+2 2026

Total time taken to generate the page: 0.01409 seconds