-
Notifications
You must be signed in to change notification settings - Fork 69
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
Buggy OpenMP in _LikelihoodFunction::ComputeBlock() #5
Comments
Can you recompile MP2 with -g flags so we get the actual code referenced traceback? Thread issues are a bitch to debug. Sigh |
Whatever you did in likefunc.cpp seems to have fixed the issue. L On Mon, Sep 12, 2011 at 10:10 PM, Sergei Pond
|
Guess not, actually. Here's a full backtrace. #0 0x00007fff919d8bca in __psynch_cvwait () |
Yep, this is a data race/write condition of some sort. Need helgrind... |
Do we really need to recompile gcc (since we're using Mac OS X (not linux with its futexes))? Also, no (?:(?:hell|val)grind|drd) on 10.7 yet. Le sigh, le sigh. |
Since we can't debug the issue, and other projects (notably Blender) are just disabling OpenMP in Lion until something is fixed, I am going to disable OpenMP for Lion builds. |
Whilst running the 454 UDS pipeline, we get this with MP2, but not with DEBUG. Interesting, eh?
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000009045f5740
[Switching to process 25604 thread 0x1903]
0x00000001002c4cb1 in _LikelihoodFunction::ComputeBlock ()
(gdb) bt
#0 0x00000001002c4cb1 in _LikelihoodFunction::ComputeBlock ()
#1 0x0000000100002da3 in gomp_thread_start ()
#2 0x00007fff8ca318bf in _pthread_start ()
#3 0x00007fff8ca34b75 in thread_start ()
The text was updated successfully, but these errors were encountered: