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 » Community » U++ community news and announcements » U++ 2019.1.rc4 released
Re: U++ 2019.1.rc4 released [message #51601 is a reply to message #51598] Fri, 19 April 2019 12:27 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
Novo wrote on Fri, 19 April 2019 00:32
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.


Did it trigger any valgrind errors? If so, which ones?

Quote:

(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.


Probably not noticeably, but it is matter of principle: Do I need from now on to initialize variables that are not used in particular branch of code?

Quote:

This is C++98 initialization style. I didn't do that C++11 way for compatibility reason.


Why? Smile

Mirek
 
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: Wed Jul 16 15:23:12 CEST 2025

Total time taken to generate the page: 0.02451 seconds