06-27-2006 18:44
Wasn't doing anything too complex... just working on some scripts... good thing I always run SL in a debugger now:

CODE

(gdb) bt
#0 0x097e66da in LLToolCompTranslate::render ()
#1 0x09c6c872 in LLViewerWindow::renderSelections ()
#2 0x09f50769 in render_hud_elements ()
#3 0x09f3a433 in LLPipeline::renderGeom ()
#4 0x099783fd in display ()
#5 0x09f6ca4e in main_loop ()
#6 0x09f656a5 in main ()

(gdb) disass
Dump of assembler code for function _ZN19LLToolCompTranslate6renderEv:
0x097e66c0 <_ZN19LLToolCompTranslate6renderEv+0>: push %ebp
0x097e66c1 <_ZN19LLToolCompTranslate6renderEv+1>: mov %esp,%ebp
0x097e66c3 <_ZN19LLToolCompTranslate6renderEv+3>: sub $0x28,%esp
0x097e66c6 <_ZN19LLToolCompTranslate6renderEv+6>: mov %ebx,0xfffffff8(%ebp)
0x097e66c9 <_ZN19LLToolCompTranslate6renderEv+9>: mov 0x8(%ebp),%ebx
0x097e66cc <_ZN19LLToolCompTranslate6renderEv+12>: mov %esi,0xfffffffc(%ebp)
0x097e66cf <_ZN19LLToolCompTranslate6renderEv+15>: mov 0x8(%ebx),%edx
0x097e66d2 <_ZN19LLToolCompTranslate6renderEv+18>: mov (%edx),%ecx
0x097e66d4 <_ZN19LLToolCompTranslate6renderEv+20>: mov %edx,(%esp)
0x097e66d7 <_ZN19LLToolCompTranslate6renderEv+23>: call *0x58(%ecx)
0x097e66da <_ZN19LLToolCompTranslate6renderEv+26>: mov 0x18(%ebx),%edx
0x097e66dd <_ZN19LLToolCompTranslate6renderEv+29>: cmp %edx,0x8(%ebx)
0x097e66e0 <_ZN19LLToolCompTranslate6renderEv+32>: je 0x97e6733 <_ZN19LLToolCompTranslate6renderEv+115>

(gdb) info reg
eax 0x0 0
ecx 0xa79b009c -1483013988
edx 0x0 0
ebx 0x3f252d16 1059400982
esp 0xafe986f0 0xafe986f0
ebp 0xafe98718 0xafe98718
esi 0xbf0f8741 -1089501375
edi 0x1 1
eip 0x97e66da 0x97e66da <LLToolCompTranslate::render()+26>
eflags 0x10286 66182
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51


And, predictably,

CODE

(gdb) x 0x3f252d16
0x3f252d16: Cannot access memory at address 0x3f252d16


This speaks for itself, I guess. Nothing out of the ordinary in SL's console output right before the crash. Dereferenced an uninitted pointer again :(