← Back to team overview

yade-dev team mailing list archive

[Bug 795468] Re: plot.plot() causes crash

 

I think it crashes somewhere in QT libraries.
Does it still happens?

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/795468

Title:
  plot.plot() causes crash

Status in Yet Another Dynamic Engine:
  New

Bug description:
  When trying to plot datas, the plot.plot() commande causes crash. 
  I run Debian (mixed) with Python 2.6.6, python-matplotlib 1.0.1-2.
  I can reproduce the crash with scripts/test/chained-cylinder-spring.py, giving me following backtrace :

  Yade [1]: plot.plot()
  Yade [2]: SIGSEGV/SIGABRT handler called; gdb batch file is `/tmp/yade-6e5SLo/tmp-0'
  GNU gdb (GDB) 7.2-debian
  Copyright (C) 2010 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 "i486-linux-gnu".
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>.
  [Thread debugging using libthread_db enabled]
  [New Thread 0x9eb4bb70 (LWP 6850)]
  [New Thread 0xa2606b70 (LWP 6847)]
  [New Thread 0xa46ffb70 (LWP 6846)]
  [New Thread 0xa50f4b70 (LWP 6845)]
  0xb784e424 in __kernel_vsyscall ()
  No symbol "info" in current context.

  Thread 5 (Thread 0xa50f4b70 (LWP 6845)):
  #0  0xb784e424 in __kernel_vsyscall ()
  #1  0xb7579bf1 in select () from /lib/i686/cmov/libc.so.6
  #2  0x08132399 in ?? ()
  #3  0x080e09ef in PyEval_EvalFrameEx ()
  #4  0x080e2968 in PyEval_EvalCodeEx ()
  #5  0x080e0b5f in PyEval_EvalFrameEx ()
  #6  0x080e2968 in PyEval_EvalCodeEx ()
  #7  0x08174c9c in ?? ()
  #8  0x08066d7a in PyObject_Call ()
  #9  0x0806f931 in ?? ()
  #10 0x08066d7a in PyObject_Call ()
  #11 0x080dc2f2 in PyEval_CallObjectWithKeywords ()
  #12 0xa50fbfa3 in ?? () from /usr/lib/pymodules/python2.6/sip.so
  #13 0xa515830d in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
  #14 0xa518e066 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
  #15 0xb5d56d53 in ?? () from /usr/lib/libQtCore.so.4
  #16 0xb7819c39 in start_thread () from /lib/i686/cmov/libpthread.so.0
  #17 0xb75808ee in clone () from /lib/i686/cmov/libc.so.6

  Thread 4 (Thread 0xa46ffb70 (LWP 6846)):
  #0  0xb784e424 in __kernel_vsyscall ()
  #1  0xb7579bf1 in select () from /lib/i686/cmov/libc.so.6
  #2  0x08132399 in ?? ()
  #3  0x080e09ef in PyEval_EvalFrameEx ()
  #4  0x080e2968 in PyEval_EvalCodeEx ()
  #5  0x080e0b5f in PyEval_EvalFrameEx ()
  #6  0x080e2968 in PyEval_EvalCodeEx ()
  #7  0x08174c9c in ?? ()
  #8  0x08066d7a in PyObject_Call ()
  #9  0x0806f931 in ?? ()
  #10 0x08066d7a in PyObject_Call ()
  #11 0x080dc2f2 in PyEval_CallObjectWithKeywords ()
  #12 0xa50fbfa3 in ?? () from /usr/lib/pymodules/python2.6/sip.so
  #13 0xa515830d in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
  #14 0xa518e066 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
  #15 0xb5d56d53 in ?? () from /usr/lib/libQtCore.so.4
  #16 0xb7819c39 in start_thread () from /lib/i686/cmov/libpthread.so.0
  #17 0xb75808ee in clone () from /lib/i686/cmov/libc.so.6

  Thread 3 (Thread 0xa2606b70 (LWP 6847)):
  #0  0xb784e424 in __kernel_vsyscall ()
  #1  0xb7579bf1 in select () from /lib/i686/cmov/libc.so.6
  #2  0xa26f97d2 in ?? () from /usr/lib/libtcl8.5.so.0
  #3  0xb7819c39 in start_thread () from /lib/i686/cmov/libpthread.so.0
  #4  0xb75808ee in clone () from /lib/i686/cmov/libc.so.6

  Thread 2 (Thread 0x9eb4bb70 (LWP 6850)):
  #0  0xb784e424 in __kernel_vsyscall ()
  #1  0xb7579bf1 in select () from /lib/i686/cmov/libc.so.6
  #2  0x0811f5f2 in ?? ()
  #3  0xa5e5ee90 in ?? ()

  Thread 1 (Thread 0xb74b36c0 (LWP 6842)):
  #0  0xb784e424 in __kernel_vsyscall ()
  #1  0xb754aefb in waitpid () from /lib/i686/cmov/libc.so.6
  #2  0xb74ed053 in ?? () from /lib/i686/cmov/libc.so.6
  #3  0xb74ed3e2 in system () from /lib/i686/cmov/libc.so.6
  #4  0xb782265d in system () from /lib/i686/cmov/libpthread.so.0
  #5  0xb709d914 in crashHandler (sig=11) at core/main/pyboot.cpp:45
  #6  <signal handler called>
  #7  0xb60e4d6c in ?? () from /usr/lib/libQtGui.so.4
  #8  0xb6304c59 in ?? () from /usr/lib/libQtGui.so.4
  #9  0xb62fefdd in ?? () from /usr/lib/libQtGui.so.4
  #10 0xb62ff14a in ?? () from /usr/lib/libQtGui.so.4
  #11 0xb62cd0a9 in ?? () from /usr/lib/libQtGui.so.4
  #12 0xb629b403 in ?? () from /usr/lib/libQtGui.so.4
  #13 0xb62df3b3 in ?? () from /usr/lib/libQtGui.so.4
  #14 0xb62344f3 in ?? () from /usr/lib/libQtGui.so.4
  #15 0xb62448f3 in QPaintEngineEx::draw(QVectorPath const&) () from /usr/lib/libQtGui.so.4
  #16 0xb6245c69 in QPaintEngineEx::drawRects(QRectF const*, int) () from /usr/lib/libQtGui.so.4
  #17 0xb6257f15 in QPainter::drawRects(QRectF const*, int) () from /usr/lib/libQtGui.so.4
  #18 0xa3035751 in ?? () from /usr/lib/libQtSvg.so.4
  #19 0xa305ebeb in QSvgTinyDocument::draw(QPainter*, QRectF const&) () from /usr/lib/libQtSvg.so.4
  #20 0xa305ecbd in QSvgTinyDocument::draw(QPainter*) () from /usr/lib/libQtSvg.so.4
  #21 0xa305ff6d in QSvgRenderer::render(QPainter*) () from /usr/lib/libQtSvg.so.4
  #22 0xa0ca7c0f in ?? () from /usr/lib/qt4/plugins/iconengines/libqsvgicon.so
  #23 0xb61a77e4 in QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const () from /usr/lib/libQtGui.so.4
  #24 0xb643ca49 in QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
  #25 0xb64e68e8 in QWindowsStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
  #26 0xb6445e74 in QCommonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
  #27 0xb64ed9b5 in QWindowsStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /usr/lib/libQtGui.so.4
  #28 0xb65d9163 in QToolButton::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
  #29 0xb614a5d9 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
  #30 0xb64ffe79 in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
  #31 0xb65d9a6c in QToolButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
  #32 0xb60f0044 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  #33 0xb60f5488 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  #34 0xa3cbdddb in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtGui.so
  #35 0xb5e51f7e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
  #36 0xb614730c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #37 0xb6148034 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #38 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #39 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #40 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #41 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #42 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #43 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #44 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #45 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #46 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #47 0xb6147068 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #48 0xb6148034 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #49 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #50 0xb6147efa in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #51 0xb6147068 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
  #52 0xb632e07e in ?? () from /usr/lib/libQtGui.so.4
  #53 0xb632e40d in ?? () from /usr/lib/libQtGui.so.4
  #54 0xb613ca84 in QWidgetPrivate::syncBackingStore(QRegion const&) () from /usr/lib/libQtGui.so.4
  #55 0xb6178d7f in ?? () from /usr/lib/libQtGui.so.4
  #56 0xb6179790 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
  #57 0xb61a552c in ?? () from /usr/lib/libQtGui.so.4
  #58 0xb3c30252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
  #59 0xb3c30a30 in ?? () from /lib/libglib-2.0.so.0
  #60 0xb3c30ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
  #61 0xb5e802b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
  #62 0xb61a514a in ?? () from /usr/lib/libQtGui.so.4
  #63 0xb5e50f9d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
  #64 0xb5e511e1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
  #65 0xb5e5594a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
  #66 0xa515b60e in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
  #67 0xa89b1c1b in ?? () from /usr/lib/python2.6/lib-dynload/readline.so
  #68 0x08163a0d in PyOS_Readline ()
  #69 0x080d73ed in ?? ()
  #70 0xa5e5fadd in ?? ()
  Backtrace stopped: previous frame inner to this frame (corrupt stack?)
  Erreur de segmentation

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/795468/+subscriptions


Follow ups

References