← Back to team overview

yade-users team mailing list archive

Re: [Question #679428]: unable to display sphere with latest version

 

Question #679428 on Yade changed:
https://answers.launchpad.net/yade/+question/679428

    Status: Answered => Open

Luc OGER is still having a problem:
new research for solving my problem: here the debug answer with latest
verison 15/04/2019 with qt5 and python 2.7 on Opnsuse 15.0

DEBUG /home/oger/Yade/trunk/core/Omega.cpp:140 buildDynlibDatabase: Factoring plugin ZECollider
DEBUG /home/oger/Yade/trunk/pkg/dem/FlatGridCollider.cpp:44 initIndices: sphereIdx=1
DEBUG /home/oger/Yade/trunk/pkg/dem/FlatGridCollider.cpp:44 initIndices: sphereIdx=1
TCP python prompt on localhost:9000, auth cookie `kecyds'
XMLRPC info provider on http://localhost:21000
DEBUG /home/oger/Yade/trunk/pkg/common/OpenGLRenderer.cpp:66 initgl: (re)initializing GL for gldraw methods.

qt5ct: using qt5ct plugin
Running script 01-bouncing-sphere.py
INFO  /home/oger/Yade/trunk/core/Omega.cpp:265 saveSimulation: Saving file :memory:
[[ ^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]: QXcbConnection: XCB error: 145 (Unknown), sequence: 171, resource id: 0, major code: 139 (Unknown), minor code: 20
inotify_add_watch("/home/oger/.config/qt5ct") failed: "No such file or directory"


In [2]: INFO  /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:350 centerScene: Select with shift, press 'm' to move.
DEBUG /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:359 centerScene: scene's bound not yet calculated or has zero or nan dimension(s), attempt get that from bodies' positions.
DEBUG /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:370 centerScene: Got scene box min=0 0 0 and max=0 0 2
DEBUG /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:374 centerScene: Scene center=0 0 1, halfSize=0 0 1, radius=1
INFO  /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:350 centerScene: Select with shift, press 'm' to move.
DEBUG /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:359 centerScene: scene's bound not yet calculated or has zero or nan dimension(s), attempt get that from bodies' positions.
DEBUG /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:370 centerScene: Got scene box min=0 0 0 and max=0 0 2
DEBUG /home/oger/Yade/trunk/gui/qt5/GLViewer.cpp:374 centerScene: Scene center=0 0 1, halfSize=0 0 1, radius=1
SIGSEGV/SIGABRT handler called; gdb batch file is `/tmp/yade-YVDdwH/tmp-0'
GNU gdb (GDB; openSUSE Leap 15.0) 8.2
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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
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 12572]
[New LWP 12573]

[New LWP 12594]
[New LWP 13036]
Missing separate debuginfo for /usr/bin/python2.7


/tmp/yade-YVDdwH/tmp-0:3: Error in sourced command file:
Invalid thread ID: info
(gdb)
infp threads

  Id   Target Id                                           Frame
* 1    Thread 0x7fe0619c34c0 (LWP 12567) "yade-2019-04-15" 0x00007fe060e8cd97 in waitpid () from /lib64/libc.so.6
  2    Thread 0x7fe03d83e700 (LWP 12572) "WorkerThread"    0x00007fe060eb6ef3 in select () from /lib64/libc.so.6
  3    Thread 0x7fe03d03d700 (LWP 12573) "WorkerThread"    0x00007fe060eb6ef3 in select () from /lib64/libc.so.6
  4    Thread 0x7fe02a1be700 (LWP 12574) "yade-2019-04-15" 0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  5    Thread 0x7fe02231c700 (LWP 12575) "llvmpipe-0"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  6    Thread 0x7fe021b1b700 (LWP 12576) "llvmpipe-1"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  7    Thread 0x7fe02131a700 (LWP 12577) "llvmpipe-2"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  8    Thread 0x7fe01cb19700 (LWP 12578) "llvmpipe-3"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  9    Thread 0x7fe020b19700 (LWP 12579) "llvmpipe-4"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  10   Thread 0x7fe020318700 (LWP 12580) "llvmpipe-5"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  11   Thread 0x7fe01fb17700 (LWP 12581) "llvmpipe-6"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  12   Thread 0x7fe01f316700 (LWP 12582) "llvmpipe-7"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  13   Thread 0x7fe01775f700 (LWP 12583) "QXcbEventReader" 0x00007fe060eb507b in poll () from /lib64/libc.so.6
  14   Thread 0x7fe01608e700 (LWP 12584) "yade-2019-04-15" 0x00007fe061191246 in do_futex_wait.constprop () from /lib64/libpthread.so.0
  15   Thread 0x7fdfed247700 (LWP 12585) "QDBusConnection" 0x00007fe060eb507b in poll () from /lib64/libc.so.6
  16   Thread 0x7fdfec98d700 (LWP 12587) "llvmpipe-0"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  17   Thread 0x7fdfe7fff700 (LWP 12588) "llvmpipe-1"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  18   Thread 0x7fdfdf7fe700 (LWP 12589) "llvmpipe-2"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  19   Thread 0x7fdfe77fe700 (LWP 12590) "llvmpipe-3"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  20   Thread 0x7fdfe6ffd700 (LWP 12591) "llvmpipe-4"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  21   Thread 0x7fdfe67fc700 (LWP 12592) "llvmpipe-5"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  22   Thread 0x7fdfe5ffb700 (LWP 12593) "llvmpipe-6"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  23   Thread 0x7fdfe57fa700 (LWP 12594) "llvmpipe-7"      0x00007fe06118e8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  24   Thread 0x7fdfdffff700 (LWP 13036) "yade-2019-04-15" 0x00007fe060eb6ef3 in select () from /lib64/libc.so.6

  
(gdb) Undefined command: "py-bt".  Try "help".
(gdb) Breakpoint 1 at 0x7fe060e8cd97
(gdb) Note: breakpoint 1 also set at pc 0x7fe060e8cd97.
Breakpoint 2 at 0x7fe060e8cd97
(gdb) #0  0x00007fe060e8cd97 in waitpid () at /lib64/libc.so.6
#1  0x00007fe060e0a42f in do_system () at /lib64/libc.so.6
#2  0x00007fe05ea13de5 in crashHandler(int) (sig=11) at /home/oger/Yade/trunk/core/main/pyboot.cpp:13
#3  0x00007fe060dfd160 in <signal handler called> () at /lib64/libc.so.6
#4  0x00007fe056148743 in fghDrawGeometrySolid () at /usr/lib64/libglut.so.3
#5  0x00007fe05614955c in  () at /usr/lib64/libglut.so.3
#6  0x00007fe05cf9b68c in Gl1_Sphere::initGlutGlList() (this=<optimized out>) at /home/oger/Yade/trunk/pkg/common/Gl1_Primitives.cpp:248
#7  0x00007fe05cf9c8bd in Gl1_Sphere::go(boost::shared_ptr<Shape> const&, boost::shared_ptr<State> const&, bool, GLViewInfo const&) (this=0x55eb60fd2ad0, cm=..., wire2=<optimized out>) at /home/oger/Yade/trunk/pkg/common/Gl1_Primitives.cpp:146
#8  0x00007fe05d0db3c7 in DynLibDispatcher<Loki::Typelist<Shape, Loki::NullType>, GlShapeFunctor, void, Loki::Typelist<boost::shared_ptr<Shape> const&, Loki::Typelist<boost::shared_ptr<State> const&, Loki::Typelist<bool, Loki::Typelist<GLViewInfo const&, Loki::NullType> > > >, true>::operator()<boost::shared_ptr<State>, bool, GLViewInfo>(boost::shared_ptr<Shape>&, boost::shared_ptr<State>, bool, GLViewInfo) (base=..., this=0x55eb60fd1128) at /home/oger/Yade/trunk/lib/multimethods/DynLibDispatcher.hpp:367
#9  0x00007fe05d0db3c7 in OpenGLRenderer::renderShape() (this=this@entry=0x55eb60fd0e50) at /home/oger/Yade/trunk/pkg/common/OpenGLRenderer.cpp:359
#10 0x00007fe05d0dc4f5 in OpenGLRenderer::render(boost::shared_ptr<Scene> const&, int) (this=0x55eb60fd0e50, _scene=..., selection=<optimized out>) at /home/oger/Yade/trunk/pkg/common/OpenGLRenderer.cpp:210
#11 0x00007fe0565de5e1 in GLViewer::draw() (this=0x55eb60bcb480) at /home/oger/Yade/trunk/gui/qt5/GLViewerDisplay.cpp:127
#12 0x00007fe05155742d in QGLViewer::paintGL() () at /usr/local/lib/libQGLViewer-qt5.so.2
#13 0x00007fe050a86544 in QGLWidget::glDraw() () at /usr/lib64/libQt5OpenGL.so.5
#14 0x00007fe050a85f7d in QGLWidget::paintEvent(QPaintEvent*) () at /usr/lib64/libQt5OpenGL.so.5
#15 0x00007fe0503cfcd8 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007fe050393e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007fe05039b244 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007fe037a237de in  () at /usr/lib64/python2.7/site-packages/PyQt5/QtWidgets.so
#19 0x00007fe054e20a88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fe0503c92ea in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007fe0503c9861 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007fe0503a0f4a in QWidgetPrivate::repaint_sys(QRegion const&) () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007fe0503ebdf6 in  () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fe0503ec753 in  () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fe050393e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007fe05039b244 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007fe037a237de in  () at /usr/lib64/python2.7/site-packages/PyQt5/QtWidgets.so
#28 0x00007fe054e20a88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#29 0x00007fe04fbd5fe9 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib64/libQt5Gui.so.5
#30 0x00007fe04fbd6b4d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#31 0x00007fe04fbaf65b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#32 0x00007fe01e6ae160 in  () at /usr/lib64/libQt5XcbQpa.so.5
#33 0x00007fe04e59ae07 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#34 0x00007fe04e59b1b0 in  () at /usr/lib64/libglib-2.0.so.0
#35 0x00007fe04e59b23c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#36 0x00007fe054e76bff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#37 0x00007fe054e1f09a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#38 0x00007fe03db9981b in  () at /usr/lib64/python2.7/site-packages/PyQt5/QtCore.so
#39 0x00007fe0614a85fa in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#40 0x00007fe0614a8cf7 in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#41 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#42 0x00007fe0614ae3aa in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#43 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#44 0x00007fe0614ae3aa in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#45 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#46 0x00007fe0614ae3aa in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#47 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#48 0x00007fe0614adebe in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#49 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#50 0x00007fe0614ae3aa in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#51 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#52 0x00007fe0614adebe in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#53 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#54 0x00007fe0614adebe in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#55 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#56 0x00007fe06145ca1e in  () at /usr/lib64/libpython2.7.so.1.0
#57 0x00007fe061447373 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#58 0x00007fe06144fc6e in  () at /usr/lib64/libpython2.7.so.1.0
#59 0x00007fe061447373 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#60 0x00007fe0614f8e7b in  () at /usr/lib64/libpython2.7.so.1.0
#61 0x00007fe061447373 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#62 0x00007fe0614addbd in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#63 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#64 0x00007fe0614adebe in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#65 0x00007fe0614a7554 in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#66 0x00007fe06150d419 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#67 0x00007fe061513e9f in  () at /usr/lib64/libpython2.7.so.1.0
#68 0x00007fe061513e42 in PyRun_FileExFlags () at /usr/lib64/libpython2.7.so.1.0
#69 0x00007fe061513d3e in PyRun_SimpleFileExFlags () at /usr/lib64/libpython2.7.so.1.0
#70 0x00007fe061519d19 in Py_Main () at /usr/lib64/libpython2.7.so.1.0
#71 0x00007fe060de7f4a in __libc_start_main () at /lib64/libc.so.6
#72 0x000055eb5f39a7fa in _start ()
(gdb)

the crash appears as soon as I click on View 3D otherwise everything is
running!

I look through the different cpp file defind in the thread list but I don't know how to go further?
pyboot.cpp
Gl1_Primitives.cpp
OpenGLRenderer.cpp
GLViewerDisplay.cpp


could you give me some hints

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.