[git]Hard Crash with shader error

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

[git]Hard Crash with shader error

#1 Post by Hachem_Muche »

While switching zones I got a sudden crash to desktop (windows) during level generation. The last section of the log is as follows:

Code: Select all

[LORE] refusing	sunwall-note-1
[LORE] refusing	sunwall-note-2
[LORE] refusing	sunwall-note-3
[LORE] refusing	sunwall-note-4
Loading entities file from memory	/data/general/objects/random-artifacts/melee.lua
Loading entities file from memory	/data/general/objects/random-artifacts/generic.lua
Randart generation:	level = 	721	points = 	126	nb_powers = 	25
Creating randart Ivibrethra the Dimwrack(glistening voratun battleaxe) with dark with level 721
 * using themes	acid,light,misc,arcane,dark
Added unique	mod.class.Object/Ivibrethra the Dimwrack	::	1
[TOME ENTITY FILTER] selected Double Greater	30.238981618602	57
[TOME ENTITY FILTER] selected Double Greater	51.829154078343	57
fight: 	searing drakeskin leather armour of Toknor	warbringer's voratun battleaxe of shearing	::	OFFHAND	BODY
[TOME ENTITY FILTER] selected Double Greater	29.233484389082	57
fight: 	magewarrior's short dragonbone magestaff of wizardry	warbringer's voratun battleaxe of shearing	::	OFFHAND	MAINHAND
fight: 	magewarrior's short dragonbone magestaff of wizardry	searing drakeskin leather armour of Toknor	::	nil	MAINHAND
[TOME ENTITY FILTER] selected Double Greater	34.182811088903	57
fight: 	tormentor's elven-silk robe of Linaniil	magewarrior's short dragonbone magestaff of wizardry	::	false	BODY
fight: 	tormentor's elven-silk robe of Linaniil	searing drakeskin leather armour of Toknor	::	nil	BODY
Loading tile	npc/lesser_vampire.png
[ACTOR] Adding path string for Xerawen the lesser vampire[return {open_door=true,can_pass={}}]
Added unique	mod.class.NPC/Xerawen the lesser vampire	::	1
[SHADER] Loading from /data/gfx/shaders/shadowfire.lua
New GL Shader program 40
GLSL ERROR: Compile error in shader inline
Fragment shader failed to compile with the following errors:
ERROR: 0:145: error(#164) l-value required assign "shieldIntensity" (can't modify a uniform)
ERROR: error(#273) 1 compilation errors.  No code generated

[SHADER] created fragment shader from /data/gfx/shaders/shadowfire.frag
The error doesn't appear to be repeatable, but I've had a couple of other random crashes in the last 3-4 days.

I have saved the entire log (Huge, multiple levels) and can provide machine specs if needed.

Edit: After a little more poking around, the problem is in the Flame of Urh'Rok talent, when it hits the particle creator:

Code: Select all

			particle = self:addParticles(Particles.new("shadowfire", 1)),
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Suslik
Spiderkin
Posts: 481
Joined: Wed Aug 22, 2012 4:41 pm

Re: [git]Hard Crash with shader error

#2 Post by Suslik »

Even though the error you listed is fixed, it should not cause a hard crash, it's a shader compilation error which will result in a dummy texture on a character(without applied shader). The crash is probably related to something else.

Post Reply