Closed conversy closed 10 years ago
here is the kernel compile part (part1):
gdb ./App_Bullet3_OpenCL_Demos_Apple_gmake_debug GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb 6 22:51:23 UTC 2013) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x8664-apple-darwin"...No symbol table is loaded. Use the "file" command. Breakpoint 1 (ptrace if ((unsigned int_)($esp+4)) == 0x1f) pending. Reading symbols for shared libraries ........... done
(gdb) r Starting program: /Users/conversy/recherche/wingLift/code/bullet3/bin/App_Bullet3_OpenCL_Demos_Apple_gmakedebug Reading symbols for shared libraries ++++++++++...................................................................................................................................... done Breakpoint 1 at 0x9188eabc Pending breakpoint 1 - "ptrace if ((unsigned int_)($esp+4)) == 0x1f" resolved Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries .. done Reading symbols for shared libraries ... done Reading symbols for shared libraries .. done Reading symbols for shared libraries .......... done main startVendor: ATI Technologies Inc. Renderer: AMD Radeon HD 6750M OpenGL Engine Version: 3.2 ATI-1.8.19 GLSL: 1.50
started GwenUserInterfaceinit fontscompiling kernel copyTransformsToVBOKernel b3Error[../../src/Bullet3OpenCL/Initialize/b3OpenCLUtils.cpp,82]: Error: OpenCL Build Warning : Compiler build log:
Hello,
The program launches, but crashes almost immediately (a window with a cube made of cubes appears, no interaction, crash).
I made it with premake4osx, 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_VECTORWIDTH CHAR 16, SHORT 8, INT 4,LONG 2, FLOAT 4, DOUBLE 0
the compile part is too long for this issue ticket...