Thread Tools Display Modes
05-21-16, 09:01 PM   #1
Siku
A Fallenroot Satyr
 
Siku's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 29
Client crash if you set a texture's sublevel out of bounds.

Code:
/script CreateFrame("Frame"):CreateTexture(nil, "ARTWORK", nil, 10)
On live, you get a Lua error that the texture's subLevel is beyond the acceptable range of -8 to 7. On the Legion Beta, it outright crashes the client.

ERROR #0 (0x85100000) Assertion failure!

Program: C:\World of Warcraft Beta\WoWB-64.exe
ProcessID: 1168
File: SMemoryCategory.cpp
Line: 83
Expr: pReplace == m_pCategory
 
05-24-16, 10:37 AM   #2
ceylina
A Wyrmkin Dreamwalker
Join Date: Oct 2014
Posts: 50
Not sure if this ties into your finding but I am having issues trying to load some custom .tga textures with the sharedmedia addon. Looks like either the way they are called or the textures themselves will crash the beta client

ERROR #0 (0x85100000) Assertion failure!

Program: C:\Program Files (x86)\World of Warcraft Beta\WowB-64.exe
ProcessID: 4664
File: CGxDeviceD3d11\CGxD3d11Texture.cpp
Line: 1148
Expr: texId->m_flags.m_immutable == 0
 
05-25-16, 03:30 AM   #3
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by ceylina View Post
Not sure if this ties into your finding but I am having issues trying to load some custom .tga textures with the sharedmedia addon. Looks like either the way they are called or the textures themselves will crash the beta client
Same issue here, my client crashes every 5-10 minutes. And I have no idea why. Error logs dun mention TGAs, just random BLPs, e.g.

Code:
Async streaming failed for World\MapTextures\Kalimdor\Kalimdor_33_9.blp [Invalid file handle].
Errorstack: Can't find file in build manifest
or dun mention any textures at all.

Wish I knew what exactly was causing this crash, so I could fix it

P.S. Ofc I tried repairing the client
__________________

Last edited by lightspark : 05-25-16 at 03:34 AM.
 
05-25-16, 09:32 AM   #4
ceylina
A Wyrmkin Dreamwalker
Join Date: Oct 2014
Posts: 50
For me disabling sharedmedia stopped the crashing. I was using it on pitbull and quartz so when I would either encounter a spell being triggered or a redraw on the unit frame, it would randomly and without warning crash the client.

Funny thing any addon with the library for sharedmedia won't crash the client, even when sharing a texture cross addon, just sharedmedia itself and using a texture stored in that addon's directory.

I won't even start on how sharedmedia fonts refuse to load in legion...

Edit: Spoke too soon. Applying a libsharedmedia enabled addon's texture to another addon crashed the client this morning. Sounds like texture handling is just messed up right now.

Oh and also the error now reports "[Invalid file handle]"

Last edited by ceylina : 05-25-16 at 10:46 AM.
 
05-26-16, 01:48 AM   #5
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Found the cause of my crashes T_T
__________________

Last edited by lightspark : 05-26-16 at 02:05 AM. Reason: Moved comment to its own thread
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Client crash if you set a texture's sublevel out of bounds.

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