15¦ CRPackBuffer *buf = &thread->BeginEndBuffer; 16¦ 17¦ /* XXX comparing mode >= 0 here is not needed since mode is unsigned */ 18¦ CRASSERT( mode >= GL_POINTS && mode <= GL_POLYGON ); 19¦ 20¦ #if CR_ARB_vertex_buffer_object 21¦ { 22¦ GLboolean serverArrays = GL_FALSE; 23¦ GET_CONTEXT(ctx); 24+> if (ctx->clientState->extensions.ARB_vertex_buffer_object) 25¦ serverArrays = crStateUseServerArrays(); 26¦ if (serverArrays) { 27¦ CRClientState *clientState = &(ctx->clientState->client); 28¦ if (clientState->array.locked && !clientState->array.synced) 29¦ { 30¦ crPackLockArraysEXT(clientState->array.lockFirst, clientState->array.lockCount); 31¦ clientState->array.synced = GL_TRUE; 32¦ } /mnt/lfs/a15108/a15108_h5/usr/src/packages/BUILD/VirtualBox-4.2.12/out/linux.x86/release/obj/VBoxOGLgen/packspu_beginend.c Program received signal SIGSEGV, Segmentation fault. packspu_Begin (mode=6) at /usr/src/packages/BUILD/VirtualBox-4.2.12/out/linux.x86/release/obj/VBoxOGLgen/packspu_beginend.c:24 (gdb) bt #0 packspu_Begin (mode=6) at /usr/src/packages/BUILD/VirtualBox-4.2.12/out/linux.x86/release/obj/VBoxOGLgen/packspu_beginend.c:24 #1 0xb34ca058 in feedbackspu_Begin (mode=6) at /usr/src/packages/BUILD/VirtualBox-4.2.12/out/linux.x86/release/obj/VBoxOGLgen/feedbackspu.c:566 #2 0xb3df9571 in cr_glBegin (mode=6) at /usr/src/packages/BUILD/VirtualBox-4.2.12/out/linux.x86/release/obj/VBoxOGLgen/linux_exports.c:95 #3 0x0805c8ec in Layer::cmdGeoTriangles (this=0x829c3b8, cmd=0xbfffe4e8) at \CommonJHCN\sources\grafik\process/layer.cpp:1069 #4 0x0805cb94 in Layer::drawGeometry (this=0x829c3b8, cmd=0xbfffe4b4) at \CommonJHCN\sources\grafik\process/layer.cpp:1184 #5 0x0805d19a in Layer::add (this=0x829c3b8, cmd=0xbfffe4b4, drawNow=true) at \CommonJHCN\sources\grafik\process/layer.cpp:125 #6 0x08064ea7 in cmdScratch (cmd=0xbfffe4b4, pwin=0x80b34e0 ) at \CommonJHCN\sources\grafik\process/viewthread.cpp:1608 #7 0x080668ec in decodeViewMsg (msg=0xbfffe4b4, pwin=0x80b34e0 ) at \CommonJHCN\sources\grafik\process/viewthread.cpp:1987 #8 0x0808f921 in WaitableQueue::Notify (this=0x81ebaa0) at nckmain.cpp:70 #9 0xb631817e in Handle (data=0x81ebaa0, evmask=16777216, handle=0x81f1958) at \CommonJHCN\sources\framework\backend/fwaitable.cpp:390 #10 FWaitableEV::Handle (handle=0x81f1958, evmask=16777216, data=0x81ebaa0) at \CommonJHCN\sources\framework\backend/fwaitable.cpp:379 #11 0xb62fef3a in do_sysevents (evh=0x81f1958) at \CommonJHCN\sources\common/evhandler.c:819 #12 0xb62fefba in handlesysevents (evh=0x81f1958, fd=, data=, rwe=1) at \CommonJHCN\sources\common/evhandler.c:797 #13 0xb62ff42f in EVHandlerHandleIOEvent (handle=0x81f1958) at \CommonJHCN\sources\common/evhandler.c:271 #14 0xb63188e5 in FWaitable::NotifyAll (head=0x81f1658, handle=0x81f1958) at \CommonJHCN\sources\framework\backend/fwaitable.cpp:159 #15 0xb63145e1 in FThread::DispatchEvents (this=0xbffff730) at \CommonJHCN\sources\framework\backend/fthread.cpp:1094 #16 0xb6312d64 in DefaultExceptionShell (thread=...) at \CommonJHCN\sources\framework\backend/fthread.cpp:132 #17 0xb6313691 in FThread::Run (this=0xbffff730) at \CommonJHCN\sources\framework\backend/fthread.cpp:791 #18 0x08053450 in main (argc=6, argv=0xbffff874) at nckmain.cpp:156 (gdb) p ctx $1 = (ContextInfo *) 0x0 (gdb)