|
|
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Strange (and dangerous) bug
Strange (and dangerous) bug [message #3490] |
Sat, 27 May 2006 20:22 |
|
In my project I selected one of lay files and started to moving it up using ctrl+shit+up. After a few such operations theide froze and I had to kill it manually. Strange is this lay file was cut in the middle and its size grew to 136 MB! I'am able to repeat it..
Clue: It seems that size of file grew after each "move up" because theide constantly slowing down..
PS: Can anyone confirm that?
[Updated on: Sun, 28 May 2006 06:15] by Moderator Report message to a moderator
|
|
|
Re: Strange (and dangerous) bug [message #3491 is a reply to message #3490] |
Sat, 27 May 2006 20:39 |
|
Ok, I found the cause..
It was connected with latest change in ctrllib.usc file. I had unfixed version with buggy line:
ctrl Option {
...
Text SetLabel ? @1 "Option text" << should be @1 ?
...
If that line was "broken" and any lay file was selected then after each refresh of project (after moving items on list or closing/opening groups) in console appeared..:
error in parsing line 331 of ctrllib.usc (or sth similar..)
and that had to cause some kind of memory leak (theide ate all my memory) and finally ide hung up..
I think it is worth of small investigation.
|
|
|
|
|
Re: Strange (and dangerous) bug [message #3505 is a reply to message #3493] |
Mon, 29 May 2006 20:39 |
|
You must have lay file open to repeat the bug, have you?
Anyway, I'm sure that big memory allocation happens before SyncUsc gets called. I don't know exactely where, but I will find it later.
I think all this case is connected with polish chars because my laymain.lay file is broken after one of polish char (everytime in the same place):
LAYOUT(SyncOptionsLayout, 420, 128)
ITEM(Button, ok, SetLabel(t_("OK")).RightPosZ(4, 76).BottomPosZ(4, 24))
ITEM(LabelBox, dv___1, SetLabel(t_("Opcje synchronizacji")).HSizePosZ(4, 4).VSizePosZ(0, 32))
ITEM(Switch, syncmode, SetLabel(t_("Automatycznie nadpisuj istniejÃÆ⤙Ã⤠’Æââ⤨¬â⤸¢à ƒÆ’Æ⤙ââ⤨¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â⠂¬Å¾Ã‚¢ÃƒÆ⤙Ã⤠’ââ‚à ‚¬Ã⤨ ÃÆ⤙Ã⤨¢Ã¢ââ⤨¬à …¡Ã⤨¬Ã¢ââ⤨¬Å¾Ã⤨¢Ã
I'm attaching this file to this post (in correct form). Try to add it to your project and repeat my "bug procedure" (have this file and console visible and move it many times up and down (in console you should see error in parsing in line 331 - and in a certain moment you should see like available memory is rapidly going down)
-
Attachment: LayMain.lay
(Size: 10.33KB, Downloaded 1596 times)
|
|
|
Goto Forum:
Current Time: Wed May 15 04:50:56 CEST 2024
Total time taken to generate the page: 0.01893 seconds
|
|
|