|
| 11 Dec 2012 07:44 PM |
Lately, I have been working on my custom admin commands. I decided to test them out, and I started getting this weird error for no reason: "':' expected instead of '.'" (or something like that) There was no stack, not line number, nothing. I decided to try out oxcool1's Script Builder, there were a few others there, so I went to an abandoned one instead. The commands worked, and I continued to test them. Suddenly, the same error as previously stated. I was like "wtf!?". I kept trying and trying, nothing. Suddenly: "FREEZE BABY FREEZE" went ROBLOX. I opened up task manager, and my jaw dropped. ROBLOX was using every byte of my RAM and Page File... that's a total of *8 GIGABYTES*. o.o
Needless to say, I got the BSoD. I've tried to force this for recording purposes, but I've been unable to produce the memory leak again. Nobody crashed me, as the game was empty. I unfortunately do not have much to give to support this claim, except my word. Has anyone else experienced this memory leak? It's a pressing problem, and kind of annoying too.
PS: I highly doubt the commands have anything to do with this. They just broke, and it took several minutes after the error before this leak occurred.
Discuss.
~ I like pudding ◕‿◕ ~ |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2012 07:49 PM |
I was just able to replicate this issue (this time closing ROBLOX before the BSoD). Same error occuring shortly before. Is this something C-Side, maybe?
~ I like pudding ◕‿◕ ~ |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2012 07:52 PM |
| Likely so. Roblox dev's don't have a good reputation as being amazing programmers. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2012 07:57 PM |
"Roblox dev's don't have a good reputation as being amazing programmers." That's nothing new, sadly.
~ I like pudding ◕‿◕ ~ |
|
|
| Report Abuse |
|
|
Draeton
|
  |
| Joined: 04 Jun 2012 |
| Total Posts: 4269 |
|
|
| 11 Dec 2012 08:28 PM |
@TheCapacitor *takes as fuel for stupid desires* |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2012 10:38 PM |
Roblox has decided that they don't want you to have direct access to the functions so they can run with the least efficiency possible.
'p' is the player
local kinds={"Boolean","Number","String","Instance"} local loads,saves={},{} for i,v in next,kinds do loads[i]=p["Load"..v] saves[i]=p["Save"..v] end local function loadData(kind,key) local lv=loadedvalues[kind][key] if lv then return lv else local ran,value=pcall(loads[kind],p,key) if ran then loadedvalues[kind][key]=value return value else print("Failed to load data. ["..value.."]") end end end local function saveData(kind,key,value) return pcall(saves[kind],key,value)--success or failure returned end
Does not work because you MUST call SaveNumber as a member function.
local loadnum=p.LoadNumber--NOPE local _,n=pcall(loadnum,"Test")
local _,n=pcall(function() return p:LoadNumber("Test") end)--yes!
-_- |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2012 10:39 PM |
| Ehhh forgot p as the first argument in a few places, doesn't work anyways. |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 11 Dec 2012 11:07 PM |
@Monkey Not sure what you are doing differently, but this runs fine for me. local l = game.Lighting local set = l.SetMinutesAfterMidnight local get = l.GetMinutesAfterMidnight local waitTime = 1/15
while wait(waitTime) do set(l, get(l) + 1) end
[[There is no place like ~]] |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2012 11:14 PM |
| Not all member functions but be called as member functions at all times. GetChildren sometimes must follow this rule too, P_P but usually not. |
|
|
| Report Abuse |
|
|
| |
|
TeamDman
|
  |
| Joined: 04 Dec 2009 |
| Total Posts: 897 |
|
|
| 12 Dec 2012 06:03 AM |
Could just be that someone was lagging you. Did you check the replicators inside of the NetworkServer? That happens at oxcools...
§TeamDman§ Anti-Jared |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2012 06:51 PM |
This seems quite odd. Roblox is a 32-bit application, how is it allocating 8 gigs of memory? As well, when you run out of memory to alloc, malloc with fail and return NULL, the new keyword will throw a bad_alloc exception. Roblox will then either live without allocating that object if it can(eg. the texture won't show up), or it will stop/crash Roblox, but the OS should not crash.
My spidey sense is telling me the root of this problem lies elsewhere. |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2012 07:04 PM |
@SolarCrane That was exactly my thought. The System should not have crashed. I got a PAGE_FAULT_IN_NONPAGED_AREA BSoD on both occurrences. By the way: I only have 4 Gigabytes of RAM, the other 4 Gigabytes is Page File (Virtual Memory). I'm also running Windows 7 Ultimate x64. Ever since these freaky errors, my computer has been taking a dump on itself. I recently just had a complete RAM Failure (which gave me this epic matrix-like screen, no 100101's, just green lines). I'm not sure whether these problems are related to the incidents or not, I just think that's a bit hinky when this starts happening directly after the crashes. Also, I have been unable to make this happen again for recording purposes.
@TeamDman I stated the game was empty. That's not possible. |
|
|
| Report Abuse |
|
|
lombardo2
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 1604 |
|
|
| 12 Dec 2012 10:14 PM |
| ^Just punch your computer until it stops crashing. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 12 Dec 2012 10:22 PM |
It's entirely possible that the memory leak is the fault of whatever script was failing
> "':' expected instead of '.'" (or something like that)
Find the cause of that error before you do anything else. It's certainly not just "random". |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2012 10:24 PM |
Wait, this means your game could have the power to BSoD players...
e.e
-= The best thing about UDP jokes? I don't care if you get them or not. =- |
|
|
| Report Abuse |
|
|
|
| 12 Dec 2012 10:41 PM |
| Why do that when you can simply convince players to download malicious batch files into their startup folders? |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 12 Dec 2012 10:50 PM |
"Wait, this means your game could have the power to BSoD players..."
The easiest is just to spam 1000's of textures. If their video driver isn't the greatest it may blow up and BSOD them. |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 13 Dec 2012 01:00 AM |
I've been hearing a lot of people getting BSoD'd whilst using ROBLOX lately.
First the messages, now this... |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2012 11:53 AM |
| Out of curiosity, have you run memtest86+ yet? Bad RAM modules seem to be the cause of a lot of BSoDs, so it is always good to give that a thorough test before diving too deep anywhere else. Also, memory tends to fault more often at higher temperatures, so playing games like Roblox may help trigger it. |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2012 12:48 PM |
For some reason reading this story brought up a creepypasta related story in my head.
"I got a PAGE_FAULT_IN_NONPAGED_AREA BSoD on both occurrences"
Hmm, ROBLOX does not actually cause this for me it happens sometimes when I render a video at 1080P in sony vegas (Even if the video isn't that great in size)
Most of the time this happens when antivirus software takes a process and decides to do something with it. I don't know if this is true with everyone but that's mostly my personal experience. |
|
|
| Report Abuse |
|
|
TeamDman
|
  |
| Joined: 04 Dec 2009 |
| Total Posts: 897 |
|
|
| 13 Dec 2012 01:50 PM |
If you try hard enough you can BSoD a person with a _FEW_ replicating localscripts and looped messages in coroutines.
§TeamDman§ Anti-Jared |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2012 04:14 PM |
| I can't find the cause of the Lua Error. It obviously has something to do with the commands, but what? They don't using anything special. Just a butt-load of condition statements and two Chatted Handlers. I'll try and narrow it down as much as I can. |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2012 04:34 PM |
I think crashing is unrelated to the Lua Error. The Lua Error is caused by this function (this happens at random, something with calling it over and over): function inTable(t, i) if (t == nil) then err("'t' cannot be a nil array. (inTable(" ..tostring(t).. ", ...))") return end for a, b in pairs(t) do if (low(i) == low(b)) then out("Found match!") return true end end out("Match not found!") return false end
I'm still working on replicating the crash, and I have my camera handy for recording purposes. Also, I never said exactly what happens during the crash: 1) ROBLOX freezes 2) My computer begins to get slower and slower 3) BSoD
With all of that being said, I'm beginning to think that the RAM Modules are having something to do with it. Let me do some searching through EventViewer and BlueScreenView and see if anything comes up. |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2012 09:01 PM |
The obscure error message may be due to Lua running out of memory and having to give up on some section of your code due to memory related issues...
I mean, it does run perfectly otherwise, right? |
|
|
| Report Abuse |
|
|