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   |
 |
mirek
Messages: 14265 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Fri, 19 April 2019 00:32mirek wrote on Thu, 18 April 2019 04:53Novo wrote on Wed, 17 April 2019 21:31I 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? 
Mirek
|
|
|
 |
|
U++ 2019.1.rc4 released
By: mirek on Mon, 15 April 2019 08:23
|
 |
|
Re: U++ 2019.1.rc4 released
By: koldo on Mon, 15 April 2019 08:54
|
 |
|
Re: U++ 2019.1.rc4 released
By: Tom1 on Tue, 16 April 2019 08:39
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Wed, 17 April 2019 21:31
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 10:53
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Fri, 19 April 2019 00:32
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Fri, 19 April 2019 12:27
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Fri, 19 April 2019 16:43
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: forlano on Wed, 17 April 2019 23:43
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Thu, 18 April 2019 00:22
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 07:59
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 08:03
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: Tom1 on Thu, 18 April 2019 10:30
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Thu, 18 April 2019 22:20
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 00:33
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Mon, 22 April 2019 11:03
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 00:51
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Mon, 22 April 2019 11:08
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Tue, 23 April 2019 09:53
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Tue, 23 April 2019 15:33
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Tue, 23 April 2019 15:36
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Tue, 23 April 2019 15:05
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 00:57
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Sat, 20 April 2019 01:06
|
 |
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 04:46
|
Goto Forum:
Current Time: Wed Jul 16 15:23:12 CEST 2025
Total time taken to generate the page: 0.02451 seconds
|