← Back to team overview

yade-dev team mailing list archive

[Bug 487089] Re: r1813 TriaxialTest crash

 

Sorry, the fix is trivial. Will commit in a few minutes, once other
things compile as well.

-- 
r1813 TriaxialTest crash
https://bugs.launchpad.net/bugs/487089
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
INFO: sanitize failed: 15 != 1.5e+07
INFO: sanitize failed: 15 != 1.5e+07
INFO: sanitize failed: 15 != 1.5e+07
INFO: sanitize failed: 15 != 1.5e+07
SIGSEGV/SIGABRT handler called; gdb batch file is `/home/gladk/.yade-currentMono/gdb_crash_batch-pid24906'
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9f4f792910 (LWP 24911)]
[New Thread 0x7f9f51497910 (LWP 24909)]
[New Thread 0x7f9f51c98910 (LWP 24908)]
[New Thread 0x7f9f5a064910 (LWP 24907)]
0x00007f9f677533c2 in select () from /lib/libc.so.6
Current language:  auto
The current source language is "auto; currently c".
No symbol "info" in current context.

Thread 5 (Thread 0x7f9f5a064910 (LWP 24907)):
#0  0x00007f9f677533c2 in select () from /lib/libc.so.6
#1  0x00007f9f500219cb in ?? () from /usr/lib/python2.6/lib-dynload/readline.so
#2  0x00007f9f6cceed30 in PyOS_Readline () from /usr/lib/libpython2.6.so.1.0
#3  0x00007f9f6cd8ac56 in ?? () from /usr/lib/libpython2.6.so.1.0
#4  0x00007f9f6cd94cf4 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#5  0x00007f9f6cd96975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#6  0x00007f9f6cd94b0f in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#7  0x00007f9f6cd96975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#8  0x00007f9f6cd94b0f in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#9  0x00007f9f6cd96975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#10 0x00007f9f6cd94b0f in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#11 0x00007f9f6cd96975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#12 0x00007f9f6cd1ee80 in ?? () from /usr/lib/libpython2.6.so.1.0
#13 0x00007f9f6ccf2e53 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#14 0x00007f9f6cd0364f in ?? () from /usr/lib/libpython2.6.so.1.0
#15 0x00007f9f6ccf2e53 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#16 0x00007f9f6cd027f6 in ?? () from /usr/lib/libpython2.6.so.1.0
#17 0x00007f9f6ccf2e53 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#18 0x00007f9f6cd93f97 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#19 0x00007f9f6cd96975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#20 0x00007f9f6cd96a42 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#21 0x00007f9f6cdb6950 in PyRun_FileExFlags () from /usr/lib/libpython2.6.so.1.0
#22 0x00007f9f6cdb6b1c in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.6.so.1.0
#23 0x00007f9f5bd88c0b in PythonUI::execScript (script=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at gui/py/PythonUI.cpp:46
#24 0x00007f9f5bd89756 in PythonUI::pythonSession () at gui/py/PythonUI.cpp:129
#25 0x00000000004a8a0a in boost::function0<void>::operator() (this=<value optimized out>) at /usr/include/boost/function/function_template.hpp:989
#26 0x00007f9f6c679f93 in thread_proxy () from /usr/lib/libboost_thread-mt.so.1.38.0
#27 0x00007f9f6ca8fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#28 0x00007f9f6775a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9f51c98910 (LWP 24908)):
#0  0x00007f9f677533c2 in select () from /lib/libc.so.6
#1  0x00007f9f6cde4360 in ?? () from /usr/lib/libpython2.6.so.1.0
#2  0x00007f9f6cd94cf4 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#3  0x00007f9f6cd96975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#4  0x00007f9f6cd1ee80 in ?? () from /usr/lib/libpython2.6.so.1.0
#5  0x00007f9f6ccf2e53 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#6  0x00007f9f6cd0364f in ?? () from /usr/lib/libpython2.6.so.1.0
#7  0x00007f9f6ccf2e53 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#8  0x00007f9f6cd8ee43 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0
#9  0x00007f9f6cdc49dd in ?? () from /usr/lib/libpython2.6.so.1.0
#10 0x00007f9f6ca8fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f9f6775a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9f51497910 (LWP 24909)):
#0  0x00007f9f677533c2 in select () from /lib/libc.so.6
#1  0x00007f9f6cde4360 in ?? () from /usr/lib/libpython2.6.so.1.0
#2  0x00007f9f6cd94cf4 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#3  0x00007f9f6cd96975 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#4  0x00007f9f6cd1ee80 in ?? () from /usr/lib/libpython2.6.so.1.0
#5  0x00007f9f6ccf2e53 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#6  0x00007f9f6cd0364f in ?? () from /usr/lib/libpython2.6.so.1.0
#7  0x00007f9f6ccf2e53 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#8  0x00007f9f6cd8ee43 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0
#9  0x00007f9f6cdc49dd in ?? () from /usr/lib/libpython2.6.so.1.0
#10 0x00007f9f6ca8fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f9f6775a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9f4f792910 (LWP 24911)):
#0  0x00007f9f6771eacd in __libc_waitpid (pid=24912, stat_loc=<value optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1  0x00007f9f676bc1f9 in do_system (line=<value optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007f9f676bc530 in __libc_system (line=<value optimized out>) at ../sysdeps/posix/system.c:190
#3  0x0000000000474039 in sigHandler (sig=11) at /home/gladk/dem/yade/currentMono/yade/core/yade.cpp:85
#4  <signal handler called>
#5  boost::shared_ptr<Material>::operator= (this=0x31b0360, deserializing=<value optimized out>) at /usr/include/boost/shared_ptr.hpp:213
#6  MetaBody::postProcessAttributes (this=0x31b0360, deserializing=<value optimized out>) at /home/gladk/dem/yade/currentMono/yade/core/MetaBody.cpp:76
#7  0x00007f9f68a93ef0 in Serializable::unregisterSerializableAttributes (this=<value optimized out>, deserializing=240) at /home/gladk/dem/yade/currentMono/yade/lib/serialization/Serializable.cpp:29
#8  0x00007f9f68a9e24b in XMLFormatManager::serializeSerializable (stream=..., ac=<value optimized out>, depth=<value optimized out>) at /home/gladk/dem/yade/currentMono/yade/lib/serialization-xml/XMLFormatManager.cpp:168
#9  0x00007f9f68a9dc4a in XMLFormatManager::serializeSmartPointer (stream=..., ac=..., depth=1) at /home/gladk/dem/yade/currentMono/yade/lib/serialization-xml/XMLFormatManager.cpp:284
#10 0x00000000004eb4e2 in IOFormatManager::saveToStream<boost::shared_ptr<MetaBody> > (libName=<value optimized out>, out=..., name=<value optimized out>, t=...) at /home/gladk/dem/yade/currentMono/build-currentMono/include/yade-currentMono/yade/lib-serialization/IOFormatManager.tpp:41
#11 0x00000000004eb890 in IOFormatManager::saveToFile<boost::shared_ptr<MetaBody> > (libName=<value optimized out>, fileName=..., name=<value optimized out>, t=<value optimized out>) at /home/gladk/dem/yade/currentMono/build-currentMono/include/yade-currentMono/yade/lib-serialization/IOFormatManager.tpp:63
#12 0x0000000000479aaf in FileGenerator::generateAndSave (this=0x2d03a60) at /home/gladk/dem/yade/currentMono/yade/core/FileGenerator.cpp:74
#13 0x000000000047ab33 in FileGenerator::singleAction (this=0x2d03a60) at /home/gladk/dem/yade/currentMono/yade/core/FileGenerator.cpp:94
#14 0x000000000046ab55 in ThreadWorker::callSingleAction (this=<value optimized out>) at /home/gladk/dem/yade/currentMono/yade/core/ThreadWorker.cpp:71
#15 ThreadRunner::call (this=<value optimized out>) at /home/gladk/dem/yade/currentMono/yade/core/ThreadRunner.cpp:44
#16 0x00000000004a8a0a in boost::function0<void>::operator() (this=<value optimized out>) at /usr/include/boost/function/function_template.hpp:989
#17 0x00007f9f6c679f93 in thread_proxy () from /usr/lib/libboost_thread-mt.so.1.38.0
#18 0x00007f9f6ca8fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f9f6775a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9f6d219800 (LWP 24906)):
#0  0x00007f9f677533c2 in select () from /lib/libc.so.6
#1  0x00007f9f69dd7b14 in QEventLoop::processEvents(unsigned int) () from /usr/lib/libqt-mt.so.3
#2  0x00007f9f69e3d5c1 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#3  0x00007f9f69e3d472 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#4  0x00007f9f5c080bcf in QtGUI::run (this=<value optimized out>, argc=1, argv=<value optimized out>) at gui/qt3/QtGUI.cpp:79
#5  0x0000000000478951 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/gladk/dem/yade/currentMono/yade/core/yade.cpp:329
Segmentation fault



References