Thread Tools Display Modes
04/20/14, 09:07 AM   #1
genadine
Premium Member
Join Date: Feb 2014
Posts: 1
Can ADD-Ons cause Random Game Crashes?

As the title says, I am running with quite a few Add-Ons and over the last few days I am getting lots of random client crashes, stood still bam crash, finish quest bam crash, NPC dialogue bam crash, zoning bam crash.

There is nothing in particular I am doing each time.

Any thoughts?
  Reply With Quote
04/20/14, 09:45 AM   #2
Stormknight
 
Stormknight's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 128
It's certainly possible as the LUA interface isn't as robust as it could be for ESO.

There are known ways of crashing the game with addon script.

I suggest disabling some addons to see if the problem goes away.
  Reply With Quote
04/20/14, 12:52 PM   #3
ins
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 76
/script d(%i)

Is enough to crash the game.
  Reply With Quote
04/20/14, 01:13 PM   #4
BadVolt
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 74
Originally Posted by ins View Post
/script d(%i)

Is enough to crash the game.
I think everyone just tried it.
  Reply With Quote
04/20/14, 04:34 PM   #5
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 161
Reading the above I feel like it might be more like faulty (v)ram that 's causing this. But yep, it 's possible.

Does it happen without addons as well? Even if no, these might just be pushing your boundaries just over the point of it. Anyway - try going from zero to hero (as in disabling every addon, enabling one by one doing long-term tests before enabling another one). If you by any chance find the fauly one, one might take a glance at the sourcecode of it and tell you if that might be the case or not.

Originally Posted by BadVolt View Post
I think everyone just tried it.
I wish I could but my GFX-Card ****ed up itself even before I could lol.
  Reply With Quote
04/21/14, 05:12 AM   #6
Vicster0
 
Vicster0's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 82
I wrote an infinite loop once while developing one of my addons and crashed the game. If there's a will, there's a way.
  Reply With Quote
04/21/14, 05:48 AM   #7
Biki
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 34
I've toggled the visibility of the GuiRoot several times now. Can't recommend it
Makes the whole UI unresponsive of course. I think I fixed it somehow by somehow getting my UI to reload, but more often than not, I have to restart the game.
  Reply With Quote
04/24/14, 09:25 AM   #8
pjt15253
Spam Warrior
 
pjt15253's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 16
I know for a fact that you can hard crash the client with certain calls to string.find() or string.match(). Did some research and it turns out the version of Lua they're using for this game doesn't limit the recursion for pattern matching - so you can end up with stack overflow segfaults with certain patterns.
  Reply With Quote
04/24/14, 12:08 PM   #9
ins
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 76
You can get a lot of infinite loops when you work with tables/arrays in LUA Which in the end will crash the game (or fill the drive - THEN crash the game, if working with Savedvariables )
  Reply With Quote
04/24/14, 01:08 PM   #10
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
Originally Posted by ins View Post
You can get a lot of infinite loops when you work with tables/arrays in LUA Which in the end will crash the game (or fill the drive - THEN crash the game, if working with Savedvariables )
That NEVER EVER happened to me ... HONESTLY ... REALLY ... rofl

Nothing like the same 50 lines repeating in the saved variables file resulting in at least 10k lines rofl by the time I realised the game had crashed because of a loop, 10 restarts later rofl.
  Reply With Quote
04/25/14, 04:45 PM   #11
ckaotik
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 12
Originally Posted by ins View Post
/script d(%i)
Another nice one I encountered was

Code:
for k, v in mystring:gmatch('(.+') do
    -- do stuff. noticed the missing ) in the pattern above?
end
  Reply With Quote
04/25/14, 08:54 PM   #12
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
I got a crash from d("10%)

I forgot the closing quotes.
  Reply With Quote
04/26/14, 06:53 AM   #13
Wobin
 
Wobin's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 78
Originally Posted by Vicster0 View Post
I wrote an infinite loop once while developing one of my addons and crashed the game. If there's a will, there's a way.
I did the same, but it surprisingly recovered, with an OOM error.
  Reply With Quote
05/27/14, 08:18 PM   #14
drunky
Join Date: Apr 2014
Posts: 2
Originally Posted by genadine View Post
As the title says, I am running with quite a few Add-Ons and over the last few days I am getting lots of random client crashes, stood still bam crash, finish quest bam crash, NPC dialogue bam crash, zoning bam crash.

There is nothing in particular I am doing each time.

Any thoughts?
yes it's possible. I had one of those addon that caused the ESO client to crash at random. Some time i had the crash windows show up (sending a report to ZOS) but not always. I found out it was an addon by disabling one of them and never had a crash since that.
  Reply With Quote

ESOUI » General Discussion » Chit-Chat » Can ADD-Ons cause Random Game Crashes?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off