Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Compilation warnings and random crashes
Re: Compilation warnings and random crashes [message #61021 is a reply to message #61020] |
Sat, 19 October 2024 17:32   |
 |
mirek
Messages: 14266 Registered: November 2005
|
Ultimate Member |
|
|
[quote title=Oblivion wrote on Sat, 19 October 2024 17:09]Quote:And the last obligatory question: It really is crashing only on opening new main package, right?
However, I'm suspecting this is a compiler error now. (maybe O3 optimization level related?). I'll try other options (O2 and GCC), report back asap.
Well, clang got picky over unaligned access undefined behaviour, simply ignoring code like dword x[2]; dword y = *(dword )((const char *)x + 1); which caused some problems, but I think compiler error there would appear with some regularity. Irregular pattern like this is usually a race condition or uninitialised data...
Anyway, other things to try
for(int i = 0; i < packages.GetCount(); i++) {
const PkInfo& pkg = packages[i];
DDUMP(IdeImg::GetCount());
Adding this log should might help to resolve whether IdeImg iml indeed gets damaged
And possibly
// alist.SetDisplay(alist.GetCount() - 1, 0, pkg.main ? bpd : pd);
Comment display out, just to test if it is somehow related (the only other thing that does something with icons in the loop).
[Updated on: Sat, 19 October 2024 17:33] Report message to a moderator
|
|
|
 |
|
Compilation warnings and random crashes
By: Novo on Wed, 22 May 2024 00:10
|
 |
|
Re: Compilation warnings and random crashes
By: Novo on Sun, 26 May 2024 06:54
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Wed, 26 June 2024 14:44
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Sun, 13 October 2024 12:50
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 11:34
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 11:36
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Thu, 17 October 2024 11:47
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 12:03
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Thu, 17 October 2024 12:11
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 13:01
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Thu, 17 October 2024 13:10
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 13:18
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Thu, 17 October 2024 13:22
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 13:30
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Thu, 17 October 2024 13:53
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 14:00
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Thu, 17 October 2024 14:40
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Thu, 17 October 2024 15:08
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Thu, 17 October 2024 14:48
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Fri, 18 October 2024 09:29
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Fri, 18 October 2024 09:42
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sat, 19 October 2024 09:54
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Sat, 19 October 2024 10:20
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sat, 19 October 2024 11:01
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Sat, 19 October 2024 13:24
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sat, 19 October 2024 16:26
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Sat, 19 October 2024 17:09
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sat, 19 October 2024 17:32
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sat, 19 October 2024 17:57
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Sat, 19 October 2024 17:58
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sun, 20 October 2024 09:23
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Sun, 20 October 2024 09:45
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sun, 20 October 2024 09:55
|
 |
|
Re: Compilation warnings and random crashes
By: Tom1 on Sun, 20 October 2024 13:45
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sun, 20 October 2024 14:01
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Mon, 21 October 2024 20:07
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Mon, 21 October 2024 22:54
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Mon, 21 October 2024 23:24
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Tue, 22 October 2024 11:37
|
 |
|
Re: Compilation warnings and random crashes
By: mirek on Sat, 23 November 2024 12:33
|
 |
|
Re: Compilation warnings and random crashes
By: Oblivion on Sun, 24 November 2024 08:57
|
Goto Forum:
Current Time: Fri Jul 18 13:56:04 CEST 2025
Total time taken to generate the page: 0.03720 seconds
|