-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash on MacOSX 10.8.5 #25
Comments
here is the kernel compile part (part1): gdb ./App_Bullet3_OpenCL_Demos_Apple_gmake_debug (gdb) r Reading symbols for shared libraries . donestarted GwenUserInterfaceinit fontscompiling kernel copyTransformsToVBOKernel b3Error[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,82]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: |
and part 2: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: b3Warning[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,89]: |
Can you test latest version and make sure to delete the 'cache' folder in your build system? |
I can’t anymore with 10.8, meanwhile I installed Mavericks... I tested it a little bit, there are less problems. Thanks ! Stéphane Le 16 janv. 2014 à 23:32, erwincoumans notifications@github.com a écrit :
|
Hello,
The program launches, but crashes almost immediately (a window with a cube made of cubes appears, no interaction, crash).
I made it with premake4_osx, make config=debug32.
Other test programs seem to work (e.g. ImplicitCloth, simpleOpenGL3, Test_* except 'initialize' which fails at allocating 925 Mb)
Cheers,
Stéphane
here is the bt:
Reading symbols for shared libraries . done
Program received signal SIGABRT, Aborted.
0x9188ea6a in __pthread_kill ()
(gdb) bt
#0 0x9188ea6a in __pthread_kill ()
#1 0x9a340b2f in pthread_kill ()
#2 0x9a377631 in abort ()
#3 0x00747318 in gpusKillClient ()
#4 0x00747d16 in gpusQueueSubmitDataBuffers ()
#5 0x05e32a20 in gldClearFramebufferData ()
#6 0x05e328d0 in gldClearFramebufferData ()
#7 0x05e32cba in gldFinishQueue ()
#8 0x984ff391 in dyld_stub__CSCheckFix ()
#9 0x9851af23 in clFlush ()
#10 0x943ccc82 in _dispatch_client_callout ()
#11 0x943d1d2f in _dispatch_barrier_sync_f_slow ()
#12 0x943ce3fb in dispatch_barrier_sync_f ()
#13 0x9851b009 in clFinish ()
#14 0x001fbdb0 in b3GpuPgsContactSolver::solveContacts (this=0x1341a10, numBodies=1001, bodyBuf=0x133c720, inertiaBuf=0x133c340, numContacts=18523, contactBuf=0x133c0c0, config=@0x122bdb0, static0Index=0) at ../../src/Bullet3OpenCL/RigidBody/b3GpuPgsContactSolver.cpp:1042
#15 0x00207d27 in b3GpuRigidBodyPipeline::stepSimulation (this=0x122bd10, deltaTime=0.0166666675) at ../../src/Bullet3OpenCL/RigidBody/b3GpuRigidBodyPipeline.cpp:419
#16 0x0004883d in GpuRigidBodyDemo::clientMoveAndDisplay (this=0x1225f10) at ../../Demos3/GpuDemos/rigidbody/GpuRigidBodyDemo.cpp:225
#17 0x00013859 in main (argc=1, argv=0xbffff8d8) at ../../Demos3/GpuDemos/main_opengl3core.cpp:988
the init part:
Demo settings:
SelectedDemo=1, demoname = BoxBox
x_dim=10, y_dim=10, z_dim=10
x_gap=16.299999, y_gap=6.300000, z_gap=16.299999
OpenCL settings:
Preferred cl_device index -1
Preferred cl_platform index-1
Platform info:
CL_PLATFORM_VENDOR: Apple
CL_PLATFORM_NAME: Apple
CL_PLATFORM_VERSION: OpenCL 1.2 (Apr 25 2013 18:32:03)
Device Info:
CL_DEVICE_NAME: ATI Radeon HD 6750M
CL_DEVICE_VENDOR: AMD
CL_DRIVER_VERSION: 1.0
CL_DEVICE_TYPE: CL_DEVICE_TYPE_GPU
CL_DEVICE_MAX_COMPUTE_UNITS: 6
CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: 3
CL_DEVICE_MAX_WORK_ITEM_SIZES: 1024 / 1024 / 1024
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
CL_DEVICE_MAX_CLOCK_FREQUENCY: 600 MHz
CL_DEVICE_ADDRESS_BITS: 32
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 256 MByte
CL_DEVICE_GLOBAL_MEM_SIZE: 1024 MByte
CL_DEVICE_ERROR_CORRECTION_SUPPORT: no
CL_DEVICE_LOCAL_MEM_TYPE: local
CL_DEVICE_LOCAL_MEM_SIZE: 32 KByte
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 64 KByte
CL_DEVICE_QUEUE_PROPERTIES: CL_QUEUE_PROFILING_ENABLE
CL_DEVICE_IMAGE_SUPPORT: 1
CL_DEVICE_MAX_READ_IMAGE_ARGS: 128
CL_DEVICE_MAX_WRITE_IMAGE_ARGS: 8
CL_DEVICE_IMAGE 2D_MAX_WIDTH 8192
2D_MAX_HEIGHT 8192
3D_MAX_WIDTH 2048
3D_MAX_HEIGHT 2048
3D_MAX_DEPTH 2048
CL_DEVICE_EXTENSIONS:cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
CL_DEVICE_PREFERRED_VECTOR_WIDTH_ CHAR 16, SHORT 8, INT 4,LONG 2, FLOAT 4, DOUBLE 0
the compile part is too long for this issue ticket...
The text was updated successfully, but these errors were encountered: