Level Builder Outputs 4gb file...
by Rob Sandbach · in Torque Game Builder · 05/10/2006 (2:56 pm) · 13 replies
Was building a level in the level builder, went to save and T2D whacks up to 100% CPU usage. So I leave it running for about 4 mins before deciding its crashed, go back to load the level and find the file is about 4gb in size!!!!!
Any thoughts?
Any thoughts?
#2
This is a bummer of a bug! We've been using the LevelBuilder over here for quite some time longer than it's been available to our community and we've never had this problem. If you can try to find a simple way for us to be able to reproduce this bug (make ours output 4gb files!) then we can surely get it fixed pronto. Without a reproduction scenario it will likely be much more difficult to track something like this down.
Let me know what you come up with!
Cheers,
-Justin
05/11/2006 (8:52 am)
Rob,This is a bummer of a bug! We've been using the LevelBuilder over here for quite some time longer than it's been available to our community and we've never had this problem. If you can try to find a simple way for us to be able to reproduce this bug (make ours output 4gb files!) then we can surely get it fixed pronto. Without a reproduction scenario it will likely be much more difficult to track something like this down.
Let me know what you come up with!
Cheers,
-Justin
#3
I'll try my best to replicate it and see what i can do!
05/11/2006 (4:01 pm)
I know, I'll try and replicate exactly what I did, but I think it's just one of those chancy situations. What's more is I can't find a file editor to see exactly what it was spewing out :s.I'll try my best to replicate it and see what i can do!
#4
Do you want me to type it up here or drop you an email?
05/11/2006 (4:08 pm)
OK I did replicate it again....Good news right?Do you want me to type it up here or drop you an email?
#5
05/11/2006 (4:19 pm)
Please type it up here :)
#6
OK In level editor create a static sprite of the 1st frame of the particle 6 image map, the white circle. Expand it so it's 75x75 and position it at 0,0. Then drag on 26 of the same images, leaving them at standard size and position them around the larger 1st circle. If you then mount all the smaller pictures to the main and save it crashes out for me. I can't figure out how many of them exactly makes it crash but it seems to be between 25-28ish?
It's probably just me doing something im not supposed to be able to creating some sort of loop, but as far as I can see im just mouting 26 square static sprites onto one big square?
05/12/2006 (6:11 am)
Ok this happens when I was designing a catherine wheel firework, letter input screen. Im going to type up exactly what causes it for me, haven't tried it with different images etc.OK In level editor create a static sprite of the 1st frame of the particle 6 image map, the white circle. Expand it so it's 75x75 and position it at 0,0. Then drag on 26 of the same images, leaving them at standard size and position them around the larger 1st circle. If you then mount all the smaller pictures to the main and save it crashes out for me. I can't figure out how many of them exactly makes it crash but it seems to be between 25-28ish?
It's probably just me doing something im not supposed to be able to creating some sort of loop, but as far as I can see im just mouting 26 square static sprites onto one big square?
#7
05/12/2006 (9:32 am)
My gut tells me infinite recursion in mounting/linking somewhere like you said...which shouldn't happen.
#8
Thanks for the feedback, it is as I suspected--I recently resolved issues with large numbers of mount or link points causing a crash when saving. There was a buffer overrun problem that turned out to be a Torque Core issue that had never appeared because noone had tried to write out such lengthy fields from an object.
However, I was only able to reproduce a crash with this scenario. I was unable to produce any loop that did not crash the engine. To produce a 4GB file that indicates that it got stuck but did nothing naughty to cause a bail. Is the situation you listed producing files of that size or just crashing out?
With regards to the crashing, we will be releasing a point release very soon that will address this as well as some other stability issues we've identified since the release of Beta3.
Cheers,
-Justin
05/12/2006 (4:23 pm)
Rob,Thanks for the feedback, it is as I suspected--I recently resolved issues with large numbers of mount or link points causing a crash when saving. There was a buffer overrun problem that turned out to be a Torque Core issue that had never appeared because noone had tried to write out such lengthy fields from an object.
However, I was only able to reproduce a crash with this scenario. I was unable to produce any loop that did not crash the engine. To produce a 4GB file that indicates that it got stuck but did nothing naughty to cause a bail. Is the situation you listed producing files of that size or just crashing out?
With regards to the crashing, we will be releasing a point release very soon that will address this as well as some other stability issues we've identified since the release of Beta3.
Cheers,
-Justin
#9
You have a Group A and B. Group B is a child of Group A, and Group A is a child of Group B.
The engine shouldn't allow this to happen, but if you were doing any grouping of objects, that could be the case. I've tried a couple of things to replicate this, but have been unsuccessful. Any more info you could provide would be very helpful.
05/12/2006 (5:16 pm)
The only way I can think of that would cause looping during level saving is if you somehow managed to have a group inside of a group which was inside the first group. For instance:You have a Group A and B. Group B is a child of Group A, and Group A is a child of Group B.
The engine shouldn't allow this to happen, but if you were doing any grouping of objects, that could be the case. I've tried a couple of things to replicate this, but have been unsuccessful. Any more info you could provide would be very helpful.
#10
If I setup the screen exactly as shownin the screeny above, goto file, saveas and type a filename and click save, T2D locks up at 100% CPU usage, very similar to when using the packing utility. However When I leave T2D to run at 100% for a while as I learnt to do with ther packing utility, it just goes on and on outputting an ever expanding file as the file name. Once im back on my dev PC (Monday) I'll open up a level editor file and see exadtly what it's spweing out for you :)
05/13/2006 (10:07 am)
Hey Justin,If I setup the screen exactly as shownin the screeny above, goto file, saveas and type a filename and click save, T2D locks up at 100% CPU usage, very similar to when using the packing utility. However When I leave T2D to run at 100% for a while as I learnt to do with ther packing utility, it just goes on and on outputting an ever expanding file as the file name. Once im back on my dev PC (Monday) I'll open up a level editor file and see exadtly what it's spweing out for you :)
#11
05/16/2006 (3:41 am)
Ok, ive got the file building error replicated on 3 different pcs now...
#12
This issue should be resolved in our Beta4 release as of Monday. You can get it on your downloads page. Let me know if this still exhibits strange behavior.
Cheers,
-Justin
05/24/2006 (2:40 pm)
Rob,This issue should be resolved in our Beta4 release as of Monday. You can get it on your downloads page. Let me know if this still exhibits strange behavior.
Cheers,
-Justin
#13
Thanks again
- Rob
05/25/2006 (9:55 am)
Excellent work, thanks a lot Justin :) Look forward to playing with it after my Exams!Thanks again
- Rob
Torque Owner Adam Johnston
*sorry for the spam*