← Back to team overview

yade-dev team mailing list archive

Re: Dem3DOFGeom : ScGeom

 

r2369 :
- Revert r2365 as a whole (and r2367).
- All changes in ScGeom and related functors will be commited again when I have time.

Jerome, Anton, the errors will perhaps be back when I will commit again ScGeom. Could you provide scripts? The output below makes me think of dispatching problem or missing declaration of a pure virtual.

Bruno





On 15/07/10 15:46, Jerome Duriez wrote:
It seems to me also that something is broken : NormalInelasticityTest crashes also now (I'll investigate to try to know if it is indeed linked or not) :

jduriez@c1solimara-l:~/YADE/bin$ ./yade-trunk-classic /home/3S-LAB/jduriez/yade/scripts/NormalInelasticityTest.py
Welcome to Yade bzr2368
TCP python prompt on localhost:9000, auth cookie `kcssay'
TCP info provider on localhost:21000
Running script /home/3S-LAB/jduriez/yade/scripts/NormalInelasticityTest.py /usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module matplotlib was already imported from /usr/lib/pymodules/python2.6/matplotlib/__init__.py, but /usr/lib/pymodules/python2.6 is being added to sys.path
  from pkg_resources import resource_stream
/home/3S-LAB/jduriez/YADE/lib/yade-trunk-classic/py/yade/__init__.py:27: DeprecationWarning: Class `Ip2_2xCohFrictMat_NormalInelasticityPhys' was renamed to (or replaced by) `Ip2_2xNormalInelasticMat_NormalInelasticityPhys', update your code! (you can run 'yade --update script.py' to do that automatically)
  # important: initialize c++ by importing libstdc++ directly
FunctorWrapper::go/goReverse - called function was not overloaded in dynamic library. check if your argument types are correct, remember that only fundamental types and pure pointers are passed by value, all other types (including shared_ptr<>) are passed by reference, for details look into Loki::TypeTraits.hpp::ParametrType.types are:
1. N5boost10shared_ptrI19InteractionGeometryEE
2. N5boost10shared_ptrI18InteractionPhysicsEE
3. P11Interaction
4. P5Scene
5. N4Loki9EmptyTypeE
6. N4Loki9EmptyTypeE
7. N4Loki9EmptyTypeE
number of types used in the call: 4

terminate called after throwing an instance of 'MultiMethodsBadVirtualCall' what(): FunctorWrapper::go/goReverse - called function was not overloaded in dynamic library. check if your argument types are correct, remember that only fundamental types and pure pointers are passed by value, all other types (including shared_ptr<>) are passed by reference, for details look into Loki::TypeTraits.hpp::ParametrType.types are:
1. N5boost10shared_ptrI19InteractionGeometryEE
2. N5boost10shared_ptrI18InteractionPhysicsEE
3. P11Interaction
4. P5Scene
5. N4Loki9EmptyTypeE
6. N4Loki9EmptyTypeE
7. N4Loki9EmptyTypeE
number of types used in the call: 4


Abandon


Jerome


Le 15/07/2010 14:02, Bruno Chareyre a écrit :
It can't be due to inheritance, which kept ScGeom intact.
Could you send the script please?

Bruno



On 15/07/10 13:51, Anton Gladky wrote:
Sorry, I take my words back!

r2367 Crashes, while using ScGeom:

________________________________
Welcome to Yade bzr2367
TCP python prompt on localhost:9000, auth cookie `uesdcy'
TCP info provider on localhost:21000
Running script Schnecke.py
39850
Added 11050 particles generated
SIGSEGV/SIGABRT handler called; gdb batch file is `/tmp/yade-rYoYr9/tmp-0'
sh: gdb: not found
Segmentation fault
________________________________


/tmp/yade-rYoYr9/tmp-0 does not give anything valuable, but:

attach 29492
set pagination off
thread info
thread apply all backtrace
detach
quit

________________________________

r2364 works just fine! I don't think r2366 and r2367 make a problem, it is definitely r2365.

Bruno, please, make revert 2365, while it is not too many commits after 2365.
Please, do not forget also https://bugs.launchpad.net/yade/+bug/585898
Is it not too many bugs in so serious part of the code?

Sorry, but I told you already, that it must be *seriously* tested before adding to the main trunk.

Please, revert.

Anton



_______________________________________________
Mailing list:https://launchpad.net/~yade-dev
Post to     :yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe :https://launchpad.net/~yade-dev
More help   :https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp





Follow ups

References