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