thanks for the reply.
I am using pyopencl-0.91
python test_wrapper.py -v
outputs
================================================================= test
session starts
=================================================================
python: platform darwin -- Python 2.6.1
test object 1: /Volumes/DATA/Development/Python/pyopencl-0.91/test/
test_wrapper.py
test_wrapper.py Segmentation fault
the gdb output is
(gdb) run
Starting program: /usr/bin/python test_wrapper.py
Reading symbols for shared libraries .++..... done
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fff5fc01028 in __dyld__dyld_start ()
(gdb) c
Continuing.
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
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
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
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
================================================================= test
session starts
=================================================================
python: platform darwin -- Python 2.6.1
test object 1: /Volumes/DATA/Development/Python/pyopencl-0.91/test/
test_wrapper.py
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
test_wrapper.py Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000001ffff000e
0x00007fff879ee50c in CFGetTypeID ()
On Sep 17, 2009, at 9:30 PM, Andreas Klöckner wrote:
test_wrapper.py Segmentation fault
What version of PyOpenCL?
Can you provide a traceback? (Does gdb work on OS X?)
On Linux, you would run the whole thing with "gdb -args python
test_wrapper.py", then "r<enter>", wait for crash, then "bt<enter>"
and paste
the output.
Also, since test_wrapper iterates over all your CL "platforms" (i.e.
GPU and
CPU on Apple) and devices, it would be good to know on which one the
crash
occurs. First, grab the newest PyOpenCL from git, rm build -Rf,
rebuild, then
run "python test_wrapper.py -v". You should see exactly where the
crash
occurs.
The result is always 0.0.
As well it should be--it prints the error norm. :)
HTH,
Andreas
_______________________________________________
PyOpenCL mailing list
[email protected]
http://tiker.net/mailman/listinfo/pyopencl_tiker.net
_______________________________________________
PyOpenCL mailing list
[email protected]
http://tiker.net/mailman/listinfo/pyopencl_tiker.net