20646

gpus_ReturnGuiltyForHardwareRestart

I found more details about the bug. it seems related with the information, gpus_ReturnGuiltyForHardwareRestart. after google it, it seems that there is quite limited information about this bug. Have you ever met this before and know how to solve this?

<hr>

I think it is necessary for me to update what i have found about the crash.

It seems that the crashed described above is not related with subview for that after i disabled all the lines for processing the subview, the crash still happens.

The related code is as follows,

{ float scissor_x = _xMin; float scissor_y = _yMin; float scissor_w = _xAdd; float scissor_h = _yAdd; glEnable(GL_SCISSOR_TEST); glScissor(scissor_x, scissor_y, scissor_w, scissor_h); computeXY();//process some computation. glDisable(GL_SCISSOR_TEST); drawImage();//render the result computed above to the screen. _xAdd++; _yAdd++; _xAdd = (_xAdd > 300) ? 100 : _xAdd; _yAdd = (_yAdd > 300) ? 100 : _yAdd; }

The lines listed above will be called during each frame. I do not know whether there is some requirements for using glscissor(). If the value of _xAdd, _yAdd, is set as invariable, then the program goes successfully. But, if both of them are changed during each frame, the program is sure to crash after a few steps.

I really puzzled about it.

Here is the output of debugger,

(lldb) bt * thread #1: tid = 0x7262e, 0x337bc94a libGPUSupportMercury.dylib`gpus_ReturnGuiltyForHardwareRestart + 10, queue = 'com.apple.main- thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1) frame #0: 0x337bc94a libGPUSupportMercury.dylib`gpus_ReturnGuiltyForHardwareRestart + 10

Answer1:

I have solved this problem. When gl_scissor() is called, you have to make sure the pixel/texel, taking part in following computation own effective values. So, before i use gl_scissor(), i will initialize all the FBO buffers to make are that all the pixels or texels own effective value.

Thx.

Recommend

  • Cut QGLWidget?
  • Delta zeta not applied by gltranslatef
  • Creating a Cube-based 3-Dimensional Game
  • How to disable or configure clipping when rendering to texture using FBO in OpenGL?
  • PyOpenGL sphere with texture
  • OpenGL filled polygon color “bleeding”
  • C# Remove URL from String
  • BizTalk Party not being resolved for incoming HL7v2 message
  • Unable to gem install nokogiri
  • View/Download Pdf Files in React - Router 4
  • How to grep for a specific pattern and print everything above and below that pattern until you reach
  • iOS 9 custom transition - animationControllerForDismissedController not called
  • Issue with SVN Commit for certain File Extension
  • How do we generate stack trace in TOMCAT?
  • Catch 500 internal server error with System.WebClient
  • phpmailer - How to verify a sent email arrived at its destination
  • What's wrong with `var myEval = eval; myEval(“2+2”)`
  • Number of threads being used during Parallel.ForEach
  • get all processes in parallel
  • How to create a custom Powershell operator?
  • What does Main.1 output file do in XCode?
  • 'doc_del_count' bigger than 'doc_count' on CouchDB
  • Get Currently Active User in Android
  • Failed to find version-tag string. File must be updated
  • C# Excel interop - how to test if interop object is still working and performing a task?
  • select function not working in 3.5.4 version of d3.js
  • Google Places API - Find a company's CID and LRD
  • How can go in last activity with resume button?
  • MySQL performance when updating row with FK
  • Passing variable arguments using PowerShell's Start-Process cmdlet
  • Detecting null parameter in preprocessor macro
  • aapt.exe'' finished with non-zero exit value 1
  • Redshift Querying: error xx000 disk full redshift
  • Git describe fails to return most recent annotated tag
  • Adding elements to a huge XML file
  • Object and struct member access and address offset calculation
  • How can I sort a a table with VBA with given text condition?
  • Understanding cpu registers
  • How do I configure my settings file to work with unit tests?
  • How do I use LINQ to get all the Items that have a particular SubItem?