SRL Archive - Bugs

DTM's not freed?


64mas

2010-09-04 20:02:31

I just got simba set up, and have been trying to get it to run scripts. However, nothing is working. I Gives me this error message:
Error: Exception: Access violation at line 110
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL\Logs\SRL Log 04-09-10 0.txt] has not been freed in the script, freeing it now.
This is the line that gets highlighted, if it matters:
 Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492); 
The Script I am trying to run currently, by the way, is this one by bumblebee: http://villavu.com/forum/showthread.php?t=58797
And I am using simba version 707.

–If anyone has a solution, it would be very appreciated. Thank you.

Nava2

2010-09-04 22:58:07

It happens when a script errors and stops without fully ending.

Its basically a Segfault.

Don't worry about those messages though, Simba cleans up after itself! Its just letting you know.

Wizzup?

2010-09-05 04:39:27

From: 64mas
I just got simba set up, and have been trying to get it to run scripts. However, nothing is working. I Gives me this error message:
Error: Exception: Access violation at line 110
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL\Logs\SRL Log 04-09-10 0.txt] has not been freed in the script, freeing it now.
This is the line that gets highlighted, if it matters:
 Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492); 
The Script I am trying to run currently, by the way, is this one by bumblebee: http://villavu.com/forum/showthread.php?t=58797
And I am using simba version 707.

–If anyone has a solution, it would be very appreciated. Thank you.


An access violation is not good. Are you using SMART? Are there any informative messages in the black debug box? (terminal)

Nava2

2010-09-05 07:35:59

If its Blumblebee's script, it could be an issue of passing the Targets around (he likes to use SMART painting.)

64mas

2010-09-05 08:14:35

I just realised I forgot to install java, as this is a new machine… And yeah, I was using smart. (or trying to. :P)

Wizzup?

2010-09-05 08:33:16

From: 64mas
I just realised I forgot to install java, as this is a new machine… And yeah, I was using smart. (or trying to. :P)


That explains the access violation then. :)

Camaro'

2010-09-05 20:27:06

From: Wizzup?
That explains the access violation then. :)


I get the same thing at random times during testing.

[PHP]Compiled succesfully in 1201 ms.
SRL Compiled in 0 msec
Exception: Range check error at line 110
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Users\Aaron\Documents\Simba\Simba\Includes\SRL\Logs\SRL Log 05-09-10 0.txt] has not been freed in the script, freeing it now.[/PHP]

and it highlights the same line as the thread poster. Except this happened randomly when I was writing a script. The only way I can seem to fix is to restart my computer. :(

Wizzup?

2010-09-06 11:53:49

[QUOTE=Camaro';735247]I get the same thing at random times during testing.

[PHP]Compiled succesfully in 1201 ms.
SRL Compiled in 0 msec
Exception: Range check error at line 110
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Users\Aaron\Documents\Simba\Simba\Includes\SRL\Logs\SRL Log 05-09-10 0.txt] has not been freed in the script, freeing it now.[/PHP]

and it highlights the same line as the thread poster. Except this happened randomly when I was writing a script. The only way I can seem to fix is to restart my computer. :([/QUOTE]

It obviously explains the access violation as it was gone the minute he fixed his SMART (I assume). The just related it to DTM's because that is one of the last messages Simba prints.

As to your error, what line does it error and what is that line?

Camaro'

2010-09-07 15:22:49

From: Wizzup?
It obviously explains the access violation as it was gone the minute he fixed his SMART (I assume). The just related it to DTM's because that is one of the last messages Simba prints.

As to your error, what line does it error and what is that line?


Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492);

Login.scar I think its the 'LoggedIn' function.

Wizzup?

2010-09-07 15:33:40

[QUOTE=Camaro';735633][CODE]
Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492);
[/Code]

Login.scar I think its the 'LoggedIn' function.

I assume this is the first Find* function that is called, so most likely SMART hasn't been set as a correct target. :)

Camaro'

2010-09-07 16:37:28

From: Wizzup?
I assume this is the first Find* function that is called, so most likely SMART hasn't been set as a correct target. :)


I'm not using SMART.

Wizzup?

2010-09-07 16:46:30

[QUOTE=Camaro';735654]I'm not using SMART.

Then the target is somehow not reset to the desktop. That's what I can think of right now anyway.