Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Compilation warnings and random crashes
Re: Compilation warnings and random crashes [message #61004 is a reply to message #61002] |
Thu, 17 October 2024 15:08   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Oblivion wrote on Thu, 17 October 2024 14:40
==================
IdeImg::HubMainPackage().GetSize() = (16, 16)
IdeImg::MainPackage().GetSize() = (16, 16)
IdeImg::HubPackage().GetSize() = (16, 16)
IdeImg::Package().GetSize() = (16, 16)
~IdeImg::HubMainPackage() = 0x7e845c9a8850
~IdeImg::MainPackage() = 0x7e845c8edb50
~IdeImg::HubPackage() = 0x7e845cb31750
~IdeImg::Package() = 0x7e845c979a50
IdeImg::HubMainPackage().GetSize() = (16, 16)
IdeImg::MainPackage().GetSize() = (16, 16)
IdeImg::HubPackage().GetSize() = (16, 16)
IdeImg::Package().GetSize() = (16, 16)
~IdeImg::HubMainPackage() = 0x7e845c9a8850
~IdeImg::MainPackage() = 0x7e845c8edb50
~IdeImg::HubPackage() = 0x7e845cb31750
~IdeImg::Package() = 0x7e845c979a50
IdeImg::HubMainPackage().GetSize() = (16, 16)
IdeImg::MainPackage().GetSize() = (16, 16)
IdeImg::HubPackage().GetSize() = (16, 16)
IdeImg::Package().GetSize() = (16, 16)
~IdeImg::HubMainPackage() = 0x7e845c9a8850
~IdeImg::MainPackage() = 0x7e845c8edb50
~IdeImg::HubPackage() = 0x7e845cb31750
~IdeImg::Package() = 0x7e845c979a50
IdeImg::HubMainPackage().GetSize() = (16, 16)
IdeImg::MainPackage().GetSize() = (16, 16)
IdeImg::HubPackage().GetSize() = (16, 16)
IdeImg::Package().GetSize() = (16, 16)
~IdeImg::HubMainPackage() = 0x7e845c9a8850
~IdeImg::MainPackage() = 0x7e845c8edb50
~IdeImg::HubPackage() = 0x7e845cb31750
~IdeImg::Package() = 0x7e845c979a50
IdeImg::HubMainPackage().GetSize() = (16, 16)
IdeImg::MainPackage().GetSize() = (16, 16)
IdeImg::HubPackage().GetSize() = (16, 16)
IdeImg::Package().GetSize() = (16, 16)
~IdeImg::HubMainPackage() = 0x7e845c9a8850
~IdeImg::MainPackage() = 0x7e845c8edb50
~IdeImg::HubPackage() = 0x7e845cb31750
~IdeImg::Package() = 0x7e845c979a50
****************** PANIC: Invalid memory access!
Weird...
What about
for(int i = 0; i < packages.GetCount(); i++) {
const PkInfo& pkg = packages[i];
Image icon = pkg.icon;
#define DD(x) RDUMP(x.GetSize()); RLOGHEXDUMP(~x, min(32, int(x.GetLength() * sizeof(RGBA))));
DD(IdeImg::HubMainPackage());
DD(IdeImg::MainPackage());
DD(IdeImg::Package());
DD(IdeImg::HubPackage());
DD(icon);
#undef DD
if(IsNull(icon)) {
As far I can see it is either
- compiler bug
- IdeImg is busted, but it is weird that it does not happen in the first iteration
- pkg.icon is busted, although this is hardly explains final crash in Image copy contructor (that AFAIK is call to Retain the data from Iml)
Another thing to try is
for(int i = 0; i < packages.GetCount(); i++) {
const PkInfo& pkg = packages[i];
Image icon = Null; // <<<<<=============
#define DD(x) RDUMP(x.GetSize()); RLOGHEXDUMP(~x, min(32, int(x.GetLength() * sizeof(RGBA))));
DD(IdeImg::HubMainPackage());
DD(IdeImg::MainPackage());
DD(IdeImg::Package());
DD(IdeImg::HubPackage());
DD(icon);
#undef DD
if(IsNull(icon)) {
Uh and please send the whole log - want to compare with "good run" (first invocation of dialog)
[Updated on: Thu, 17 October 2024 15:08] 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 Jun 06 19:20:43 CEST 2025
Total time taken to generate the page: 0.07137 seconds
|