|
|
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » VISTA BUG: crash of App when closing due to IML
VISTA BUG: crash of App when closing due to IML [message #23608] |
Wed, 04 November 2009 11:17  |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
hi there
i am struggeling with the iml stuff. got a sample down attached.
a project, which is barely a template CtrlLib project with main window and an iml file includes another project, which is also a bare Template CtrlLib project, with another iml file, they are kept seperately, i dont mix them , nether include header of the included project, simply include the project in package organizer.
compiled with MINGW DEBUG, with the release shipped in upp 2008.1 and all shared, release version 1659
starting the application under VISTA goes well, but it crashes ugly when closing it. using a smaller (or the original includen iml from template, with a dummy image inside) goes well. this occures only under vista, NOT under XP pro or home.
NO IDEA about that. guess its due to some kind of memory alignment, allocation or related problems when using the iml. maybe the iml is too huge...
for security reasons i included the exe also in the zip, soto verify. --> had to go, file size limit 2097152 bytes 
is there anything i have forgotten???
greets
PS: using the zip: simply extrct into MyApps and use CtrlLibTest, which uses the CtrlTest2. compile MINGW DEBUG all shared and run under vista (home premium)
|
|
|
Re: VISTA BUG: crash of App when closing due to IML [message #23609 is a reply to message #23608] |
Wed, 04 November 2009 11:43   |
 |
mirek
Messages: 14256 Registered: November 2005
|
Ultimate Member |
|
|
kohait00 wrote on Wed, 04 November 2009 05:17 | hi there
i am struggeling with the iml stuff. got a sample down attached.
a project, which is barely a template CtrlLib project with main window and an iml file includes another project, which is also a bare Template CtrlLib project, with another iml file, they are kept seperately, i dont mix them , nether include header of the included project, simply include the project in package organizer.
compiled with MINGW DEBUG, with the release shipped in upp 2008.1 and all shared, release version 1659
starting the application under VISTA goes well, but it crashes ugly when closing it. using a smaller (or the original includen iml from template, with a dummy image inside) goes well. this occures only under vista, NOT under XP pro or home.
NO IDEA about that. guess its due to some kind of memory alignment, allocation or related problems when using the iml. maybe the iml is too huge...
for security reasons i included the exe also in the zip, soto verify. --> had to go, file size limit 2097152 bytes 
is there anything i have forgotten???
greets
PS: using the zip: simply extrct into MyApps and use CtrlLibTest, which uses the CtrlTest2. compile MINGW DEBUG all shared and run under vista (home premium)
|
No problem with XP and MSC 
Mirek
|
|
|
Re: VISTA BUG: crash of App when closing due to IML [message #23610 is a reply to message #23608] |
Wed, 04 November 2009 11:52   |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
hi mirek
yes not problem with msc at all, neither under vista..
i found out with testing that, using simple 32 images, 1 px wide enad height, no problem, but as soon as there is 33 such pics, (or actually any kind of, but more than 32 pics) it crashes.
but as i said, MINGW DEBUG (release also i think) under VISTA.
is there some kind of restriction in the iml parsing stuff (i found in the iml_source some hints of 32 beeing kind of a limit of a IMAGE_DATA...
as a workaround, one could use multiple iml, with not more than 32 pics, but it should be made clear to the publics 
PS: a test iml file with 32 1px pics attached
|
|
|
Re: VISTA BUG: crash of App when closing due to IML [message #23611 is a reply to message #23610] |
Wed, 04 November 2009 12:09   |
 |
mirek
Messages: 14256 Registered: November 2005
|
Ultimate Member |
|
|
kohait00 wrote on Wed, 04 November 2009 05:52 | hi mirek
yes not problem with msc at all, neither under vista..
i found out with testing that, using simple 32 images, 1 px wide enad height, no problem, but as soon as there is 33 such pics, (or actually any kind of, but more than 32 pics) it crashes.
but as i said, MINGW DEBUG (release also i think) under VISTA.
is there some kind of restriction in the iml parsing stuff (i found in the iml_source some hints of 32 beeing kind of a limit of a IMAGE_DATA...
as a workaround, one could use multiple iml, with not more than 32 pics, but it should be made clear to the publics 
PS: a test iml file with 32 1px pics attached
|
Nonsense. See .imls in CtrlLib. Must be something else.
My bet is some issue related to destruction of .imls. Have you tried to debug it and spot the crash place?
Mirek
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Apr 30 23:25:56 CEST 2025
Total time taken to generate the page: 0.01118 seconds
|
|
|