← Back to team overview

yade-dev team mailing list archive

Re: trying cmdGui

 

$ scons CXXFLAGS=-fno-stack-protector


OK, now I got his:




janek@szpak:~/20-Programowanie/10-cpp/50-Yade/Bin/moment_law2/bin$ ./yade-svn1244-moment_law2 -N cmdGui -- -s ./cmdGui1.py
Constructing ClassFactory  (if multiple times - check '-rdynamic' flag!).
Constructing SerializableSingleton  (if multiple times - check '-rdynamic' flag!).
WARNING: cannot open file used for capillary law, in TriaxalTestWater
Available generators: ['BoxStack', 'BrefcomTestGen', 'ClumpTestGen', 'CohesiveTriaxialTest', 'FEMBeam', 'Funnel', 'HangingCloth', 'HydraulicTest', 'LatticeExample', 'RotatingBox', 'SDECImpactTest', 'SDECLinkedSpheres', 'SDECMovingWall', 'SDECSpheresPlane', 'ScrewGen', 'TetraTestGen', 'TetrahedronsTest', 'ThreePointBending', 'TriaxialTest', 'TriaxialTestWater', 'USCTGen']
Available serializers: ['BINFormatManager', 'XMLFormatManager']
2960 [3056416480] FATAL yade.FileGenerator  - core/FileGenerator.cpp:71 generateAndSave: Unhandled exception: St13runtime_error : Class `InteractingSphere2InteractingSphere4ClosestFeatures' could not be cast to required 2D EngineUnit
SIGSEGV/SIGABRT handler called; gdb batch file is `/home/janek/.yade-svn1244-moment_law2/gdb_crash_batch-pid19492'
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1238550816 (LWP 19492)]
0xffffe410 in __kernel_vsyscall ()
No symbol "info" in current context.

Thread 1 (Thread -1238550816 (LWP 19492)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb721f2f3 in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2  0xb71c7669 in strtold_l () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e6aadd in system () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x0812ec71 in sigHandler (sig=6) at core/yade.cpp:52
#5  <signal handler called>
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb71ba811 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb71bbfb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x080d5034 in FileGenerator::generateAndSave (this=0x81b1358) at core/FileGenerator.cpp:72
#10 0xb25a73fa in pyPreprocessor::generate (this=0x8240a88) at gui/cmd/yadeControl.cpp:229
#11 0xb259a1fc in boost::python::detail::invoke<boost::python::to_python_value<bool const&>, bool (pyPreprocessor::*)(), boost::python::arg_from_python<pyPreprocessor&> > (rc=@0xbfb4bfba, f=@0x823e664, tc=@0xbfb4bfb0) at /usr/include/boost/python/detail/invoke.hpp:88
#12 0xb259a2e5 in boost::python::detail::caller_arity<1u>::impl<bool (pyPreprocessor::*)(), boost::python::default_call_policies, boost::mpl::vector2<bool, pyPreprocessor&> >::operator() (this=0x823e664, args_=0xb621992c) at /usr/include/boost/python/detail/caller.hpp:199
#13 0xb259a340 in boost::python::objects::caller_py_function_impl<boost::python::detail::caller<bool (pyPreprocessor::*)(), boost::python::default_call_policies, boost::mpl::vector2<bool, pyPreprocessor&> > >::operator() (this=0x823e660, args=0xb621992c, kw=0x0)
    at /usr/include/boost/python/object/py_function.hpp:38
#14 0xb7479f56 in boost::python::objects::function::call () from /usr/lib/libboost_python-gcc41-mt-1_34_1.so.1.34.1
#15 0xb747bf37 in boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke ()
   from /usr/lib/libboost_python-gcc41-mt-1_34_1.so.1.34.1
#16 0xb7e1702a in boost::function0<void, std::allocator<boost::function_base> >::operator() () from /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
#17 0xb74812eb in boost::python::handle_exception_impl () from /usr/lib/libboost_python-gcc41-mt-1_34_1.so.1.34.1
#18 0xb747b45e in boost::python::handle_exception<boost::python::objects::(anonymous namespace)::bind_return> ()
   from /usr/lib/libboost_python-gcc41-mt-1_34_1.so.1.34.1
#19 0xb7477f9a in boost::python::objects::function::add_overload () from /usr/lib/libboost_python-gcc41-mt-1_34_1.so.1.34.1
#20 0xb7e91237 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#21 0xb7ef8fa1 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
---Type <return> to continue, or q <return> to quit---
#22 0xb7efc77a in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#23 0xb7efc7e5 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#24 0xb7f21357 in PyRun_FileExFlags () from /usr/lib/libpython2.4.so.1.0
#25 0xb7f21566 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.4.so.1.0
#26 0xb7f21781 in PyRun_SimpleFileEx () from /usr/lib/libpython2.4.so.1.0
#27 0xb7f217ba in PyRun_SimpleFile () from /usr/lib/libpython2.4.so.1.0
#28 0xb4d2febd in cmdGui::run (this=0x81daca8, argc=3, argv=0xbfb4c960) at gui/cmd/cmdGui.cpp:67
#29 0x0812e6e6 in main (argc=3, argv=0xbfb4c960) at core/yade.cpp:207
#0  0xffffe410 in __kernel_vsyscall ()
(gdb)


-- 
Janek Kozicki                                                         |
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References