[sldev] "ERROR: assert_glerror: GL Error:invalid value" when taking high-res snapshot in Deployment builds

Dana Fagerstrom Dana.Fagerstrom at Sun.COM
Thu Apr 17 05:03:39 PDT 2008


Sammy,

This is likely https://jira.secondlife.com/browse/VWR-6343

The workaround reported by Fooke, disabling Avatar Imposters and 
Atmospheric Shaders, works great on all platforms I've tested.

D/Whoops

Sammy Frederix wrote:
> Has anyone else been seeing "ERROR: assert_glerror: GL Error:invalid 
> value" when running debug builds of the
> Branch_1-20-Viewer (rev:481) when high-res snapshots and trying to take 
> one with Control-` ?
> 
> It's been happening to me on the Mac, but only with Development (Debug) 
> builds. It crashes before the Save as dialogue box is displayed. 
> Deployment builds get to the save as dialogue and I can save perfectly.
> 
> I'm not sure if it's related to 
> https://jira.secondlife.com/browse/VWR-3529 or not, because Deployment 
> builds work fine for me (even ones I've built myself).
> 
> Regards,
> Sammy
> 
> Console error:
> 
> 2008-04-17T00:58:49Z llwindow/llgl.cpp(959) : error
> 2008-04-17T00:58:49Z ERROR: assert_glerror: GL Error:invalid value
> 
> System:
>   Model Name:    MacBook Pro 15"
>   Model Identifier:    MacBookPro2,2
>   Chipset Model:    ATY,RadeonX1600
>   VRAM (Total):    256 MB
>   Vendor:    ATI (0x1002)
>   ROM Revision:    113-xxxxxx-158
>   EFI Driver Version:    01.00.158
>   System Version:    Mac OS X 10.5.2 (9C7010)
>   Kernel Version:    Darwin 9.2.2
> 
> Stack trace (from when the dialogue box was displayed):
> 
> #0  0x903149e6 in mach_msg_trap ()
> #1  0x9031c1dc in mach_msg ()
> #2  0x901500de in CFRunLoopRunSpecific ()
> #3  0x90150d18 in CFRunLoopRunInMode ()
> #4  0x92ef66a0 in RunCurrentEventLoopInMode ()
> #5  0x92faa28f in GetNextEventMatchingMask ()
> #6  0x92fa9f96 in WNEInternal ()
> #7  0x92fa9ef5 in WaitNextEvent ()
> #8  0x92fa8c35 in ModalDialog ()
> #9  0x92fdf1b2 in RunStandardAlert ()
> #10 0x00e160fa in OSMessageBoxMacOSX (text=0x2f340b7c "ERROR: 
> assert_glerror: GL Error:invalid value", caption=0xfb5ac0 "Fatal Error", 
> type=0) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llwindowmacosx.cpp:3143
> #11 0x00daf624 in OSMessageBox (text=0x2f340b7c "ERROR: assert_glerror: 
> GL Error:invalid value", caption=0xfb5ac0 "Fatal Error", type=0) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llwindow.cpp:225
> #12 0x00c0f274 in errorCallback (error_string=@0xbfffcf18) at 
> /Users/home/SLOrig/linden/indra/newview/llappviewer.cpp:1402
> #13 0x00d03601 in LLError::Log::flush (out=0x7236050, site=@0x2891700) 
> at /Users/home/SLOrig/linden/indra/newview/../llcommon/llerror.cpp:1029
> #14 0x00e2d272 in assert_glerror () at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llgl.cpp:959
> #15 0x006d99ff in display (rebuild=0, zoom_factor=1, subfield=0, 
> for_snapshot=1) at 
> /Users/home/SLOrig/linden/indra/newview/llviewerdisplay.cpp:495
> #16 0x0013d9c7 in LLViewerWindow::rawSnapshot (this=0x17e7e530, 
> raw=0x34a7be10, image_width=2770, image_height=1570, 
> keep_window_aspect=1, is_texture=0, show_ui=0, do_rebuild=0, 
> type=LLViewerWindow::SNAPSHOT_TYPE_COLOR, max_size=6144) at 
> /Users/home/SLOrig/linden/indra/newview/llviewerwindow.cpp:4518
> #17 0x00bc995e in LLFileTakeSnapshotToDisk::handleEvent 
> (this=0x2be5ed90, event=@0xbfffd4c8, userdata=@0x739a748) at 
> /Users/home/SLOrig/linden/indra/newview/llviewermenufile.cpp:397
> #18 0x00a6968b in LLSimpleDispatcher::fireEvent (this=0x2c2118e0, 
> event=@0xbfffd50c, filter=@0xbfffd508) at 
> /Users/home/SLOrig/linden/indra/newview/../llcommon/llevent.cpp:228
> #19 0x00a69403 in LLEventDispatcher::fireEvent (this=0x739e170, 
> event=@0xbfffd54c, filter=@0xbfffd548) at 
> /Users/home/SLOrig/linden/indra/newview/../llcommon/llevent.cpp:153
> #20 0x00a694c7 in LLObservable::fireEvent (this=0x2c211d68, 
> event=@0xbfffd59c, filter=@0xbfffd598) at 
> /Users/home/SLOrig/linden/indra/newview/../llcommon/llevent.cpp:104
> #21 0x0083169c in LLMenuItemCallGL::doIt (this=0x2c211bb0) at 
> /Users/home/SLOrig/linden/indra/newview/../llui/llmenugl.cpp:853
> #22 0x00829bb5 in LLMenuItemGL::handleAcceleratorKey (this=0x2c211bb0, 
> key=96 '`', mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/../llui/llmenugl.cpp:195
> #23 0x0082d61c in LLMenuItemCallGL::handleAcceleratorKey 
> (this=0x2c211bb0, key=96 '`', mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/../llui/llmenugl.cpp:892
> #24 0x0082e557 in LLMenuGL::handleAcceleratorKey (this=0x2c20ebc0, 
> key=96 '`', mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/../llui/llmenugl.cpp:2743
> #25 0x0083176d in LLMenuItemBranchDownGL::handleAcceleratorKey 
> (this=0x2c213fc0, key=96 '`', mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/../llui/llmenugl.cpp:1483
> #26 0x0082e557 in LLMenuGL::handleAcceleratorKey (this=0x2bea9de0, 
> key=96 '`', mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/../llui/llmenugl.cpp:2743
> #27 0x0082fbcb in LLMenuBarGL::handleAcceleratorKey (this=0x2bea9de0, 
> key=96 '`', mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/../llui/llmenugl.cpp:3867
> #28 0x0013fc3a in LLViewerWindow::handleKey (this=0x17e7e530, key=96 
> '`', mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/llviewerwindow.cpp:2603
> #29 0x0080c26f in LLViewerKeyboard::handleKey (this=0x254d0a0, 
> translated_key=96 '`', translated_mask=1, repeated=0) at 
> /Users/home/SLOrig/linden/indra/newview/llviewerkeyboard.cpp:654
> #30 0x0013752e in LLViewerWindow::handleTranslatedKeyDown 
> (this=0x17e7e530, key=96 '`', mask=1, repeated=0) at 
> /Users/home/SLOrig/linden/indra/newview/llviewerwindow.cpp:1300
> #31 0x00e1e042 in LLKeyboard::handleTranslatedKeyDown (this=0x6e8e400, 
> translated_key=96 '`', translated_mask=1) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llkeyboard.cpp:243
> #32 0x00e23620 in LLKeyboardMacOSX::handleKeyDown (this=0x6e8e400, 
> key=50, mask=4096) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llkeyboardmacosx.cpp:237 
> 
> #33 0x00e1ba17 in LLWindowMacOSX::eventHandler (this=0x6e45e00, 
> myHandler=0xbfffe2e0, event=0x2f3e8ee0) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llwindowmacosx.cpp:2300
> #34 0x00e1af3f in LLWindowMacOSX::eventHandler (this=0x6e45e00, 
> myHandler=0xbfffe2e0, event=0x2be41f60) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llwindowmacosx.cpp:2159
> #35 0x00e1d56b in LLWindowMacOSX::staticEventHandler 
> (myHandler=0xbfffe2e0, event=0x2be41f60, userData=0x6e45e00) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llwindowmacosx.cpp:1963
> #36 0x92ecdfc3 in DispatchEventToHandlers ()
> #37 0x92ecd3fd in SendEventToEventTargetInternal ()
> #38 0x92ee9e0e in SendEventToEventTarget ()
> #39 0x92efcbc6 in ToolboxEventDispatcherHandler ()
> #40 0x92ece37c in DispatchEventToHandlers ()
> #41 0x92ecd3fd in SendEventToEventTargetInternal ()
> #42 0x92ee9e0e in SendEventToEventTarget ()
> #43 0x92fcbab5 in SendTSMEvent ()
> #44 0x93009314 in SendUnicodeTextAEToUnicodeDoc ()
> #45 0x92fca03b in TSMKeyEvent ()
> #46 0x92f1db13 in TSMProcessRawKeyEvent ()
> #47 0x930761a5 in HandleCompatibilityKeyEvent ()
> #48 0x92ec9c07 in HIApplication::EventHandler ()
> #49 0x92ecdfc3 in DispatchEventToHandlers ()
> #50 0x92ecd3fd in SendEventToEventTargetInternal ()
> #51 0x92ecd262 in SendEventToEventTargetWithOptions ()
> #52 0x92efcafa in ToolboxEventDispatcherHandler ()
> #53 0x92ece37c in DispatchEventToHandlers ()
> #54 0x92ecd3fd in SendEventToEventTargetInternal ()
> #55 0x92ee9e0e in SendEventToEventTarget ()
> #56 0x92f57110 in ToolboxEventDispatcher ()
> #57 0x92faa4b0 in GetOrPeekEvent ()
> #58 0x92faa17a in GetNextEventMatchingMask ()
> #59 0x92fa9f96 in WNEInternal ()
> #60 0x92fa9ef5 in WaitNextEvent ()
> #61 0x00e16b1a in LLWindowMacOSX::gatherInput (this=0x6e45e00) at 
> /Users/home/SLOrig/linden/indra/newview/../llwindow/llwindowmacosx.cpp:1159
> #62 0x00c1d222 in LLAppViewer::mainLoop (this=0x7235f10) at 
> /Users/home/SLOrig/linden/indra/newview/llappviewer.cpp:921
> #63 0x00c29358 in main (argc=1, argv=0xbffff6d0) at 
> /Users/home/SLOrig/linden/indra/newview/llappviewermacosx.cpp:88
> 
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

-- 
=====================================================================
Dana Fagerstrom                        Phone: 877.851.6343
Sun Services                             Fax: 877.851.6343
400 Atrium Dr.                         Email: dana.fagerstrom at Sun.COM
Somerset, NJ  08873               SneakerNet: USMT01
=====================================================================
    Pressure - It can turn a lump of coal into a flawless diamond,
               and an average person into a perfect basketcase.
               -- www.despair.com
=====================================================================



More information about the SLDev mailing list