← Back to team overview

yade-users team mailing list archive

Re: [Question #237047]: BubbleMat updated, interaction not working after 1 or 2 contacts

 

Question #237047 on Yade changed:
https://answers.launchpad.net/yade/+question/237047

    Status: Answered => Open

Nolan Dyck is still having a problem:
I had been using a version of yade from May or June when I first made my
improvements. At that point I had the problem from the title of this
post.

I thought there may have been some important improvements and bug fixes
to yade since then, so I updated to the most recent version yesterday.
Since updating, I have only encountered segfault errors.

Below is the command line output when the bubbles touch in the debug-
build. I tried commenting out a code block from BubbleMat.cpp and
rebuilding, but I got the exact same error.

Code I tried commenting out (line 76):
	if(geom->penetrationDepth <0) {
		scene->interactions->requestErase(I);
		return;
	}

Error generated when the bubbles touch (with and without the above code block):
 python: /home/ndyck/Documents/yade/trunk/pkg/common/InteractionLoop.cpp:132: virtual void InteractionLoop::action(): Assertion `I->phys' failed.
SIGSEGV/SIGABRT handler called; gdb batch file is `/tmp/yade-N4Ltp4/tmp-0'
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>.
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
/tmp/yade-N4Ltp4/tmp-0:1: Error in sourced command file:
ptrace: Operation not permitted.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.