Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Compilation warnings and random crashes
Re: Compilation warnings and random crashes [message #61025 is a reply to message #61023] |
Sun, 20 October 2024 09:23   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Noticed something:
#2 0x00005555557a129f in IdeImg::Get (i=225) at /home/maldoror/Geliştirme/upp/devel/uppsrc/Draw/iml_source. h:113
If gdb gets it right, 225 is out of range. Which would be consistent with random crashes in release mode and probably a compiler bug.
Can you try
DLOG("======== LOAD");
for(int i = 0; i < packages.GetCount(); i++) {
const PkInfo& pkg = packages[i];
Image icon = pkg.icon;
if(IsNull(icon)) {
if(pkg.main)
icon = pkg.upphub ? IdeImg::HubMainPackage() : IdeImg::MainPackage();
else
icon = pkg.upphub ? IdeImg::HubPackage() : IdeImg::Package();
}
nest_list.Add(pkg.nest);
clist.Add(pkg.package, DPI(icon, 16));
alist.Add(pkg.package, GetFileName(pkg.nest), pkg.description, icon);
alist.SetDisplay(alist.GetCount() - 1, 0, pkg.main ? bpd : pd);
}
DLOG("~~~ LOAD");
Image Iml::Get(int i)
{
DDUMP(i);
IImage& m = map[i];
if(!m.loaded) {
Mutex::Lock __(sImlLock);
if(!m.loaded) {
m.image = MakeImlImage(GetId(i), [&](int mode, const String& id) { return GetRaw(mode, id); }, global_flags);
m.loaded = true;
}
}
return m.image;
}
If it really dumps out of range numbers in the loop, can you send me disassembly of void SelectPackageDlg::SyncList(const String& find) ?
|
|
|
 |
|
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 Jun 06 19:25:54 CEST 2025
Total time taken to generate the page: 0.04259 seconds
|