← Back to team overview

yade-dev team mailing list archive

Re: Python inheritance

 

Hi,

@Janek

Yes, I'm aware of the doc about subclassing types in python. There are no problem about that, since it works when calling O.step() instead of O.run().

@Anton

The complete backtrace is attached to this mail. Functions of interests are around line 400.

Best Regards,

William


On 07/10/2019 18:19, Janek Kozicki (yade) wrote:
Only a quick question to make sure - you have read https://yade-dem.org/doc/prog.html#subclassing-c-types-in-python in documentation?


best regards
Janek

_______________________________________________
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
william@LaptopUGA:/media/datas/These/Script/potential$ yade-mybuild -f6 sedimentingSphere_withPotential.py
Welcome to Yade 2019-10-03.git-b45f39e 
Using python version: 3.6.8 (default, Aug 20 2019, 17:12:48) 
[GCC 8.3.0]
<INFO> _log.cpp:49 void setLevel(std::__cxx11::string, int): filter log level for Default has been set to 6
<INFO> Logging:187 void Logging::setNamedLogLevel(const string&, short int): setting "Default" log level to 6
<INFO> _log.cpp:49 void setLevel(std::__cxx11::string, int): filter log level for Default has been set to 6
TCP python prompt on localhost:9000, auth cookie `seacks'
XMLRPC info provider on http://localhost:21000
<DEBUG> OpenGLRenderer:66 void OpenGLRenderer::initgl(): (re)initializing GL for gldraw methods.

Running script sedimentingSphere_withPotential.py
/usr/lib/python3/dist-packages/matplotlib/__init__.py:831: MatplotlibDeprecationWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter.
  mplDeprecation)
/usr/lib/python3/dist-packages/matplotlib/__init__.py:801: MatplotlibDeprecationWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter.
  mplDeprecation)
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]

In [1]: O.step();
<DEBUG> InsertionSortCollider:227 virtual void InsertionSortCollider::action(): Resize bounds containers from 0 to 4, will std::sort.
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:841 virtual void pyGenericPotential::applyPotential(const Real&, LubricationPhys&, const Vector3r&): Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here
<TRACE> GenericPotential:853 virtual Real pyGenericPotential::potentialForce(const Real&) const: Been here
<TRACE> GenericPotential:858 virtual bool pyGenericPotential::hasContact(const Real&) const: Been here
<TRACE> Law2_ScGeom_VirtualLubricationPhys:537 void Law2_ScGeom_VirtualLubricationPhys::computeShearForceAndTorques_log(LubricationPhys*, ScGeom*, State*, State*, Vector3r&, Vector3r&): This method use log(u/a) for shear and torque component calculation. Make sure phys->delta is set before calling this method.
<DEBUG> ForceContainer:232 void ForceContainer::resize(size_t, int): Resize ForceContainer from the size 0 to the size 104

In [2]: O.run(1);
<DEBUG> yadeWrapper.cpp:647 void pyOmega::run(long int, bool): RUN (1 to go)!
<TRACE> GenericPotential:836 virtual Real pyGenericPotential::potential(const Real&, const LubricationPhys&) const: Been here
<TRACE> GenericPotential:848 virtual Real pyGenericPotential::contactForce(const Real&) const: Been here

SIGSEGV/SIGABRT handler called; gdb batch file is `/tmp/yade-n6gr7e/tmp-0'
In [3]: GNU gdb (Ubuntu 8.1-0ubuntu3.1) 8.1.0.20180409-git
Copyright (C) 2018 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
[New LWP 18849]
[New LWP 18850]
[New LWP 18851]
[New LWP 18852]
[New LWP 18853]
[New LWP 18854]
[New LWP 18855]
[New LWP 18856]
[New LWP 18902]
[New LWP 18907]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f194a87abf9 in __GI___poll (fds=0x446d3e0, nfds=3, timeout=50) at ../sysdeps/unix/sysv/linux/poll.c:29
29      ../sysdeps/unix/sysv/linux/poll.c: Aucun fichier ou dossier de ce type.                                                                                                              
/tmp/yade-n6gr7e/tmp-0:3: Error in sourced command file:                                                                                                                                     
Invalid thread ID: info                                                                                                                                             
(gdb) #0  0x00007f194a87abf9 in __GI___poll (fds=0x446d3e0, nfds=3, timeout=50) at ../sysdeps/unix/sysv/linux/poll.c:29                                                                      
#1  0x00007f193542b5c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                                  
#2  0x00007f193542b6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                          
#3  0x00007f193bb6397f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                         
#4  0x00007f193bb089fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                                            
#5  0x00007f1929d71ccb in  () at /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-36m-x86_64-linux-gnu.so                                                                                 
#6  0x0000000000509b45 in  ()                                                                                                                                                                
#7  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()                                                                                                                                        
#8  0x0000000000508c69 in  ()                                                                                                                                                                
#9  0x000000000050999d in  ()                                                                                                                                                                
#10 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()                                                                                                                                        
#11 0x0000000000508c69 in  ()                                                                                                                                                                
#12 0x000000000050999d in  ()                                                                                                                                                                
#13 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()                                                                                                                                        
#14 0x0000000000507125 in  ()                                                                                                                                                                
#15 0x0000000000508fa0 in  ()                                                                                                                                                                
#16 0x000000000050999d in  ()                                                                                                                                                                
#17 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()                                                                                                                                        
#18 0x0000000000507125 in  ()                                                                                                                                                                
#19 0x0000000000508fa0 in  ()                                                                                                                                                                
#20 0x000000000050999d in  ()                                                                                                                                                                
#21 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()                                                                                                                                        
#22 0x0000000000507125 in  ()
#23 0x0000000000508fa0 in  ()
#24 0x000000000050999d in  ()
#25 0x000000000050c36e in _PyEval_EvalFrameDefault ()
#26 0x0000000000508c69 in  ()
#27 0x000000000050999d in  ()
#28 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#29 0x0000000000507125 in  ()
#30 0x0000000000508fa0 in  ()
#31 0x000000000050999d in  ()
#32 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#33 0x0000000000507125 in  ()
#34 0x0000000000508fa0 in  ()
#35 0x000000000050999d in  ()
#36 0x000000000050c36e in _PyEval_EvalFrameDefault ()
#37 0x0000000000507125 in  ()
#38 0x0000000000508598 in _PyFunction_FastCallDict ()
#39 0x00000000005940d1 in  ()
#40 0x0000000000549f41 in  ()
#41 0x00000000005a95fc in _PyObject_FastCallKeywords ()
#42 0x0000000000509ad3 in  ()
#43 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#44 0x0000000000507125 in  ()
#45 0x0000000000508fa0 in  ()
#46 0x000000000050999d in  ()
#47 0x000000000050c36e in _PyEval_EvalFrameDefault ()
#48 0x0000000000507125 in  ()
#49 0x000000000050a3b3 in PyEval_EvalCode ()
#50 0x00000000006349e2 in  ()
#51 0x0000000000634a97 in PyRun_FileExFlags ()
#52 0x000000000063824f in PyRun_SimpleFileExFlags ()
#53 0x0000000000638df1 in Py_Main ()
#54 0x00000000004b0de0 in main ()
(gdb)   Id   Target Id         Frame 
* 1    Thread 0x7f194ad17740 (LWP 18846) "yade-mybuild" 0x00007f194a87abf9 in __GI___poll (fds=0x446d3e0, nfds=3, timeout=50) at ../sysdeps/unix/sysv/linux/poll.c:29
  2    Thread 0x7f1929963700 (LWP 18849) "WorkerThread" 0x00007f194a87abf9 in __GI___poll (fds=0x7f192e3f0e10, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
  3    Thread 0x7f19290e2700 (LWP 18850) "WorkerThread" 0x00007f194a87abf9 in __GI___poll (fds=0x7f192e3f0e40, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
  4    Thread 0x7f191741f700 (LWP 18851) "yade-mybuild" 0x00007f194a5549f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f19238ab110) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  5    Thread 0x7f1912325700 (LWP 18852) "QXcbEventReader" 0x00007f194a87abf9 in __GI___poll (fds=0x7f1912324d68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  6    Thread 0x7f1904bbe700 (LWP 18853) "QDBusConnection" 0x00007f194a87abf9 in __GI___poll (fds=0x7f19000029e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  7    Thread 0x7f18ffb8c700 (LWP 18854) "yade-mybuild" 0x00007f194a5576d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7f18f800c910) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  8    Thread 0x7f18f3dc1700 (LWP 18855) "python3:disk$0" 0x00007f194a5549f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x2df6328) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  9    Thread 0x7f18e9eff700 (LWP 18856) "yade-mybuild" 0x00007f194a87d03f in __GI___select (nfds=0, readfds=0x0, writefds=0x0, exceptfds=0x0, timeout=0x7f18e9efeb10) at ../sysdeps/unix/sysv/linux/select.c:41
  10   Thread 0x7f18e96fe700 (LWP 18902) "yade-mybuild" 0x00007f194a84a6c2 in __GI___waitpid (pid=18903, stat_loc=stat_loc@entry=0x7f18e96fc778, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  11   Thread 0x7f18e8bdf700 (LWP 18907) "yade-mybuild" 0x00007f194a887bb7 in epoll_wait (epfd=18, events=0x7f18e8ec1ba0, maxevents=2, timeout=-1000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
(gdb) [Switching to thread 2 (Thread 0x7f1929963700 (LWP 18849))]
#0  0x00007f194a87abf9 in __GI___poll (fds=0x7f192e3f0e10, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
29      in ../sysdeps/unix/sysv/linux/poll.c
(gdb) #0  0x00007f194a87abf9 in __GI___poll (fds=0x7f192e3f0e10, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00000000004c3cd7 in  ()
#2  0x00000000005097cf in  ()
#3  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#4  0x0000000000507125 in  ()
#5  0x0000000000508fa0 in  ()
#6  0x000000000050999d in  ()
#7  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#8  0x0000000000507125 in  ()
#9  0x0000000000508fa0 in  ()
#10 0x000000000050999d in  ()
#11 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#12 0x0000000000507125 in  ()
#13 0x0000000000508537 in _PyFunction_FastCallDict ()
#14 0x00000000005940d1 in  ()
#15 0x000000000059f50e in PyObject_Call ()
#16 0x00007f19299f748b in  () at /usr/lib/python3/dist-packages/sip.cpython-36m-x86_64-linux-gnu.so
#17 0x00007f19299f755f in  () at /usr/lib/python3/dist-packages/sip.cpython-36m-x86_64-linux-gnu.so
#18 0x00007f1929cfb503 in  () at /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-36m-x86_64-linux-gnu.so
#19 0x00007f193b92c17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f194a54e6db in start_thread (arg=0x7f1929963700) at pthread_create.c:463
#21 0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 3 (Thread 0x7f19290e2700 (LWP 18850))]
#0  0x00007f194a87abf9 in __GI___poll (fds=0x7f192e3f0e40, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
29      in ../sysdeps/unix/sysv/linux/poll.c
(gdb) #0  0x00007f194a87abf9 in __GI___poll (fds=0x7f192e3f0e40, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00000000004c3cd7 in  ()
#2  0x00000000005097cf in  ()
#3  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#4  0x0000000000507125 in  ()
#5  0x0000000000508fa0 in  ()
#6  0x000000000050999d in  ()
#7  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#8  0x0000000000507125 in  ()
#9  0x0000000000508fa0 in  ()
#10 0x000000000050999d in  ()
#11 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#12 0x0000000000507125 in  ()
#13 0x0000000000508537 in _PyFunction_FastCallDict ()
#14 0x00000000005940d1 in  ()
#15 0x000000000059f50e in PyObject_Call ()
#16 0x00007f19299f748b in  () at /usr/lib/python3/dist-packages/sip.cpython-36m-x86_64-linux-gnu.so
#17 0x00007f19299f755f in  () at /usr/lib/python3/dist-packages/sip.cpython-36m-x86_64-linux-gnu.so
#18 0x00007f1929cfb503 in  () at /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-36m-x86_64-linux-gnu.so
#19 0x00007f193b92c17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f194a54e6db in start_thread (arg=0x7f19290e2700) at pthread_create.c:463
#21 0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 4 (Thread 0x7f191741f700 (LWP 18851))]
#0  0x00007f194a5549f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f19238ab110) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
88      ../sysdeps/unix/sysv/linux/futex-internal.h: Aucun fichier ou dossier de ce type.
(gdb) #0  0x00007f194a5549f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f19238ab110) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f194a5549f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x37070a0, cond=0x7f19238ab0e8) at pthread_cond_wait.c:502
#2  0x00007f194a5549f3 in __pthread_cond_wait (cond=0x7f19238ab0e8, mutex=0x37070a0) at pthread_cond_wait.c:655
#3  0x00007f194357886c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f1922bec0a7 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5  0x00007f1922bec1e9 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6  0x00007f194357e66f in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f194a54e6db in start_thread (arg=0x7f191741f700) at pthread_create.c:463
#8  0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 5 (Thread 0x7f1912325700 (LWP 18852))]
#0  0x00007f194a87abf9 in __GI___poll (fds=0x7f1912324d68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29      ../sysdeps/unix/sysv/linux/poll.c: Aucun fichier ou dossier de ce type.
(gdb) #0  0x00007f194a87abf9 in __GI___poll (fds=0x7f1912324d68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f193260d747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f193260f36a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f19159215e9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f193b92c17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f194a54e6db in start_thread (arg=0x7f1912325700) at pthread_create.c:463
#6  0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 6 (Thread 0x7f1904bbe700 (LWP 18853))]
#0  0x00007f194a87abf9 in __GI___poll (fds=0x7f19000029e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29      in ../sysdeps/unix/sysv/linux/poll.c
(gdb) #0  0x00007f194a87abf9 in __GI___poll (fds=0x7f19000029e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f193542b5c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f193542b6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f193bb6397f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f193bb089fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f193b92723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f191542dd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f193b92c17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f194a54e6db in start_thread (arg=0x7f1904bbe700) at pthread_create.c:463
#9  0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 7 (Thread 0x7f18ffb8c700 (LWP 18854))]
#0  0x00007f194a5576d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7f18f800c910) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
205     ../sysdeps/unix/sysv/linux/futex-internal.h: Aucun fichier ou dossier de ce type.
(gdb) #0  0x00007f194a5576d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7f18f800c910) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  0x00007f194a5576d6 in do_futex_wait (sem=sem@entry=0x7f18f800c910, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f194a5577c8 in __new_sem_wait_slow (sem=0x7f18f800c910, abstime=0x0) at sem_waitcommon.c:181
#3  0x00000000005aa495 in PyThread_acquire_lock_timed ()
#4  0x00000000004cff1e in  ()
#5  0x0000000000509b45 in  ()
#6  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#7  0x0000000000507125 in  ()
#8  0x0000000000508fa0 in  ()
#9  0x000000000050999d in  ()
#10 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#11 0x0000000000507125 in  ()
#12 0x0000000000508fa0 in  ()
#13 0x000000000050999d in  ()
#14 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#15 0x0000000000507125 in  ()
#16 0x00000000005881aa in  ()
#17 0x000000000059f50e in PyObject_Call ()
#18 0x000000000050c854 in _PyEval_EvalFrameDefault ()
#19 0x0000000000507125 in  ()
#20 0x0000000000508fa0 in  ()
#21 0x000000000050999d in  ()
#22 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#23 0x0000000000508c69 in  ()
#24 0x000000000050999d in  ()
#25 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#26 0x0000000000508c69 in  ()
#27 0x000000000050999d in  ()
#28 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#29 0x0000000000508355 in _PyFunction_FastCallDict ()
#30 0x00000000005940d1 in  ()
#31 0x000000000059f50e in PyObject_Call ()
#32 0x00000000005e09f2 in  ()
#33 0x0000000000631584 in  ()
#34 0x00007f194a54e6db in start_thread (arg=0x7f18ffb8c700) at pthread_create.c:463
#35 0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 8 (Thread 0x7f18f3dc1700 (LWP 18855))]
#0  0x00007f194a5549f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x2df6328) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
88      ../sysdeps/unix/sysv/linux/futex-internal.h: Aucun fichier ou dossier de ce type.
(gdb) #0  0x00007f194a5549f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x2df6328) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f194a5549f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x2df62d8, cond=0x2df6300) at pthread_cond_wait.c:502
#2  0x00007f194a5549f3 in __pthread_cond_wait (cond=0x2df6300, mutex=0x2df62d8) at pthread_cond_wait.c:655
#3  0x00007f18f49a40aa in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f18f49a3dd7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f194a54e6db in start_thread (arg=0x7f18f3dc1700) at pthread_create.c:463
#6  0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 9 (Thread 0x7f18e9eff700 (LWP 18856))]
#0  0x00007f194a87d03f in __GI___select (nfds=0, readfds=0x0, writefds=0x0, exceptfds=0x0, timeout=0x7f18e9efeb10) at ../sysdeps/unix/sysv/linux/select.c:41
41      ../sysdeps/unix/sysv/linux/select.c: Aucun fichier ou dossier de ce type.
(gdb) #0  0x00007f194a87d03f in __GI___select (nfds=0, readfds=0x0, writefds=0x0, exceptfds=0x0, timeout=0x7f18e9efeb10) at ../sysdeps/unix/sysv/linux/select.c:41
#1  0x00000000005bab0b in  ()
#2  0x000000000050986c in  ()
#3  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#4  0x0000000000507125 in  ()
#5  0x00000000005880eb in  ()
#6  0x000000000059f50e in PyObject_Call ()
#7  0x00000000005e09f2 in  ()
#8  0x0000000000631584 in  ()
#9  0x00007f194a54e6db in start_thread (arg=0x7f18e9eff700) at pthread_create.c:463
#10 0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 10 (Thread 0x7f18e96fe700 (LWP 18902))]
#0  0x00007f194a84a6c2 in __GI___waitpid (pid=18903, stat_loc=stat_loc@entry=0x7f18e96fc778, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30      ../sysdeps/unix/sysv/linux/waitpid.c: Aucun fichier ou dossier de ce type.
(gdb) #0  0x00007f194a84a6c2 in __GI___waitpid (pid=18903, stat_loc=stat_loc@entry=0x7f18e96fc778, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00007f194a7b5067 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007f19488df5fd in crashHandler(int) (sig=11) at /home/william/Yade/trunk/core/main/pyboot.cpp:13
#3  0x00007f194a7a4f20 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#4  0x000000000052718b in PyUnicode_InternInPlace ()
#5  0x000000000055ec5b in PyObject_GetAttrString ()
#6  0x00007f19444033bc in boost::python::detail::wrapper_base::get_override(char const*, _typeobject*) const () at /usr/lib/x86_64-linux-gnu/libboost_python3-py36.so.1.65.1
#7  0x00007f1930771dbd in boost::python::wrapper<GenericPotential>::get_override(char const*) const (name=0x7f19307c6a3f "contactForce", this=0x7f18f2039ac8) at /usr/include/boost/python/wrapper.hpp:29
#8  0x00007f1930771dbd in pyGenericPotential::contactForce(double const&) const (this=0x7f18f2039ac0, u=@0x7f18e96fd300: 4.1099104552220038e-05) at /home/william/Yade/trunk/py/wrapper/yadeWrapper.cpp:849
#9  0x00007f1930771a43 in pyGenericPotential::potential(double const&, LubricationPhys const&) const (this=this@entry=0x7f18f2039ac0, u=@0x7f18e96fd300: 4.1099104552220038e-05) at /home/william/Yade/trunk/py/wrapper/yadeWrapper.cpp:837
#10 0x00007f1946e29fe3 in Law2_ScGeom_PotentialLubricationPhys::<lambda(Real)>::operator()(Real) const (__closure=__closure@entry=0x7f18e96fd4e0, delta=delta@entry=-5.4943540377619424) at /home/william/Yade/trunk/pkg/dem/LubricationWithPotential.cpp:71
#11 0x00007f1946e2ac33 in Law2_ScGeom_PotentialLubricationPhys::solve_normalForce(double const&, double const&, LubricationPhys&) (this=this@entry=0x3f32070, un=@0x7f18e96fd610: 0.99999881966339399, dt=@0x7f18e96fd630: 0.1061032953945969, phys=...) at /home/william/Yade/trunk/pkg/dem/LubricationWithPotential.cpp:72
#12 0x00007f1946e2ca6f in Law2_ScGeom_PotentialLubricationPhys::go(boost::shared_ptr<IGeom>&, boost::shared_ptr<IPhys>&, Interaction*) (this=0x3f32070, iGeom=..., iPhys=..., interaction=0x44cce70) at /home/william/Yade/trunk/pkg/dem/LubricationWithPotential.cpp:32
#13 0x00007f19469edc12 in InteractionLoop::action() (this=<optimized out>) at /home/william/Yade/trunk/pkg/common/InteractionLoop.cpp:166
#14 0x00007f193b163ecf in GOMP_parallel () at /usr/lib/x86_64-linux-gnu/libgomp.so.1
#15 0x00007f19469eed17 in InteractionLoop::action() (this=0x4074340) at /home/william/Yade/trunk/pkg/common/InteractionLoop.cpp:69
#16 0x00007f1946713dcf in Scene::moveToNextTimeStep() (this=this@entry=0x278a2d0) at /home/william/Yade/trunk/core/Scene.cpp:97
#17 0x00007f19467168f0 in SimulationFlow::singleAction() (this=0x298a0d0) at /home/william/Yade/trunk/core/SimulationFlow.cpp:24
#18 0x00007f19467444eb in ThreadWorker::callSingleAction() (this=0x298a0d0) at /home/william/Yade/trunk/core/ThreadWorker.cpp:71
#19 0x00007f1946741077 in ThreadRunner::call() (this=this@entry=0x285fff0) at /home/william/Yade/trunk/core/ThreadRunner.cpp:52
#20 0x00007f1946741ac0 in ThreadRunner::run() (this=0x285fff0) at /home/william/Yade/trunk/core/ThreadRunner.cpp:26
#21 0x00007f1946743942 in boost::function0<void>::operator()() const (this=<optimized out>) at /usr/include/boost/function/function_template.hpp:759
#22 0x00007f1946743942 in boost::detail::thread_data<boost::function0<void> >::run() (this=<optimized out>) at /usr/include/boost/thread/detail/thread.hpp:116
#23 0x00007f1943095bcd in  () at /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
#24 0x00007f194a54e6db in start_thread (arg=0x7f18e96fe700) at pthread_create.c:463
#25 0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) [Switching to thread 11 (Thread 0x7f18e8bdf700 (LWP 18907))]
#0  0x00007f194a887bb7 in epoll_wait (epfd=18, events=0x7f18e8ec1ba0, maxevents=2, timeout=-1000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30      ../sysdeps/unix/sysv/linux/epoll_wait.c: Aucun fichier ou dossier de ce type.
(gdb) #0  0x00007f194a887bb7 in epoll_wait (epfd=18, events=0x7f18e8ec1ba0, maxevents=2, timeout=-1000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00000000005cada1 in  ()
#2  0x0000000000509b45 in  ()
#3  0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#4  0x0000000000507125 in  ()
#5  0x0000000000508fa0 in  ()
#6  0x000000000050999d in  ()
#7  0x000000000050c36e in _PyEval_EvalFrameDefault ()
#8  0x0000000000508c69 in  ()
#9  0x000000000050999d in  ()
#10 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#11 0x0000000000508c69 in  ()
#12 0x000000000050999d in  ()
#13 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#14 0x0000000000507125 in  ()
#15 0x0000000000508fa0 in  ()
#16 0x000000000050999d in  ()
#17 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#18 0x0000000000507125 in  ()
#19 0x0000000000508fa0 in  ()
#20 0x000000000050999d in  ()
#21 0x000000000050c36e in _PyEval_EvalFrameDefault ()
#22 0x0000000000507125 in  ()
#23 0x00000000005881aa in  ()
#24 0x000000000059f50e in PyObject_Call ()
#25 0x000000000050c854 in _PyEval_EvalFrameDefault ()
#26 0x0000000000508c69 in  ()
#27 0x000000000050999d in  ()
#28 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#29 0x0000000000508c69 in  ()
#30 0x000000000050999d in  ()
#31 0x000000000050b4a9 in _PyEval_EvalFrameDefault ()
#32 0x0000000000508355 in _PyFunction_FastCallDict ()
#33 0x00000000005940d1 in  ()
#34 0x000000000059f50e in PyObject_Call ()
#35 0x00000000005e09f2 in  ()
#36 0x0000000000631584 in  ()
#37 0x00007f194a54e6db in start_thread (arg=0x7f18e8bdf700) at pthread_create.c:463
#38 0x00007f194a88788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) 

Follow ups

References