unable to display sphere with latest version

Asked by Luc OGER

i am using the latest git version of Yade and compiled it on Opensuse 15.0 without any error but alot of warnings...as ususal!

but recently I got aproblem for having a display of the spheres

here the final lines in the debug mode when I run yade 01-bopuncing case and prss display 3D:
Missing separate debuginfo for /usr/lib64/kde4/plugins/imageformats/kimg_xview.so
Try: zypper install -C "debuginfo(build-id)=a85fc879980a1489d22bab033684de284a79320c"
0x00007f8380cf2d97 in waitpid () from /lib64/libc.so.6
/tmp/yade-q0wBU7/tmp-0:3: Error in sourced command file:
Invalid thread ID: info

I did not catched where I have to look to solve this new problem?

Thanks in advance for your help

Luc

here the cmake log of the yade generation:
isce-suse:/home/Yade/build # cmake -DUSE_QT5=OFF -DPYTHON_EXECUTABLE=/usr/bin/python2 -DCMAKE_VERBOSE_MAKEFILE=ON -DLocalBoost=1.166 -Wno-dev -Wno-deprecated -Wno-int-in-bool-context -DENABLE_LBMFLOW=OFF -DENABLE_TWOPHASEFLOW=OFF -DENABLE_PFVFLOW=OFF -DQGLVIEWER_INCLUDE_DIR=/usr/local/include/QGLViewer -DLocalBoost=1.66.0 -DDEBUG=ON ../trunk
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.14")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.7")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Version is set to 2019-03-14.git-8b073f5
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib64/libgl2ps.so
-- Found CGAL: /usr/include, /usr/lib64/libCGAL.so
-- Found NumPy: version "1.14.0" /usr/lib64/python2.7/site-packages/numpy/core/include
-- Found Loki: /usr/include
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0
-- GCC Version >= 4.8. Adding -save-temps
-- GCC Version >= 4.9. Adding -fstack-protector-strong
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- chrono
-- atomic
-- Boost_VERSION: 106600
-- Boost_LIB_VERSION: 1_66
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib64/libboost_python.so/usr/lib64/libboost_thread.so/usr/lib64/libboost_filesystem.so/usr/lib64/libboost_iostreams.so/usr/lib64/libboost_regex.so/usr/lib64/libboost_serialization.so/usr/lib64/libboost_system.so/usr/lib64/libboost_date_time.so/usr/lib64/libboost_chrono.so/usr/lib64/libboost_atomic.so
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.14")
-- Found Eigen3, version: 3.3.4
-- Disable vectorization
-- Found VTK
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib64/glib-2.0/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Found GTS
-- Found GLUT: /usr/lib64/libglut.so
-- USE QT4
-- Found QGLVIEWER-qt4: /usr/local/include/QGLViewer
-- Found Qt4: /usr/bin/qmake (found version "4.8.7")
-- Found GUI-LIBS
-- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so
-- Found GMP: /usr/include
-- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so
-- Found CGAL
-- SuiteSparse version 4.5.5 found, CHOLMOD direct solver for CPU activated.
-- Found Cholmod: /usr/lib64/libcholmod.so
-- Found OpenBlas: /usr/lib64/libopenblas.so
-- Found Metis: /usr/include
-- Found Cholmod in /usr/lib64/libcholmod.so
-- Found OpenBlas in /usr/lib64/libopenblas.so
-- Found Metis in /usr/lib64/libmetis.so
-- Found GL2PS
Yade will be installed to /usr/local
-- Suffix is set to -2019-03-14.git-8b073f5
-- LIBRARY_OUTPUT_PATH is set to lib64
-- runtimePREFIX is set to /usr/local
-- Found gts: /usr/lib64/python2.7/site-packages/gts
-- Use system gts version
-- Found minieigen: /usr/lib64/python2.7/site-packages/minieigen.so
-- Found Tkinter: /usr/lib64/python2.7/lib-tk/Tkinter.pyc
-- VTK version >7 is found
-- ===========================================================
-- Yade configured with following features: Odeint VTK OpenMP GTS GUI CGAL LINSOLV GL2PS
-- Disabled features: PFVFLOW CHOLMOD_GPU TWOPHASEFLOW SPH DEFORM LIQMIGRATION LBMFLOW MASK_ARBITRARY THERMAL PROFILING PotentialParticles PotentialBlocks
-- Debug build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Yade/build

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#1

Hi,
We are not actively testing builds on openSuse.
The error message "Missing separate debuginfo for.." is not very specific and it apparently appears in ultiple forums, usually related to opensuse and various softwares.

It would be useful to know which revision made this problem occur. Are you 100% sure that another version compiled the same way on the same system will work (then which one)?

Bruno

Revision history for this message
Luc OGER (luc-oger) said :
#2

Dear Bruno,

I agreed that the missing debug info is due to nissing debug package in the OS but it is just a list of warning linked to the gdb stop due to an error during the visualization process.

My problem is to try to discover where to look to find the problem : yade in batch mode is working well; !
I have tried to compile previous versionbut 2018-02a and b cannot be compiled with my opensuse 15.0 as the CGAL package has a different number of argument for some functions..
the 2019.01 generates the same crash as the daily one

I know that november versionswere working well but I don't know how to get back a specific old daily git package (if possible?) to try again and check when the development starts to crash.

Luc

Revision history for this message
Jérôme Duriez (jduriez) said :
#3

Hello,

Regarding
"get back a specific old daily git package (if possible?)"

I would say this is what version control systems are made for ;-)

Use either "git log" in your terminal, or browse https://github.com/yade/trunk/commits/master (for history before January 2019) to identify which commit (its id, eg 6387d336023fd836fd3145505ae1a59c9f3670f2 but you do not need to type the whole thing) you want to get back

Then type something like
git cherry-pick theDesiredCommitId # maybe with -n command depending on what you want, see man git cherry-pick or https://git-scm.com/docs/git-cherry-pick

How smoothly it will work may depend whether you modified the sources.

If you did modify them and have private personal changes that are nowhere else than on your computer, maybe save them elsewhere before experimenting git !

Jérôme

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#4

I would not recommend cherry-pick here since it would generate versions which never existed.
Better: git checkout 911e8c9

Preserving local changes (if any) is straightforward:
git stash
git checkout 911e8c9
git stash pop

Bruno

p.s. There is confusion between package versions (daily, 2019.01,...) and source code versions (6387d336023f... and alike) in your messages.

Revision history for this message
Luc OGER (luc-oger) said :
#5

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

Revision history for this message
Janek Kozicki (cosurgi) said :
#6

I suspect qt. See on installation page the „
Warning

To provide Qt4->Qt5 migration one needs.....”
On 19 Apr 2019, 14:43 +0200, Luc OGER <email address hidden>, wrote:
> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
Janek Kozicki (cosurgi) said :
#7

I meant that maybe there is some conflict between qt versions. Maybe you have installed both qt4 and qt5. And yade is compiled with one, but when buinary is executed it tries to use the other. Try uninstalling all qt libraries, then installing only the smallest necessary subset. Assuming you do not have some stray *.so file in lib directory

Revision history for this message
Luc OGER (luc-oger) said :
#8

I have erased all links to qt4 and compile libQGLViewer for qt5 and qmake-qt5
The program still crashes at the same "view 3D" choice....

the last line is :
/tmp/yade-Debt3H/tmp-0:3: Error in sourced command file:
Invalid thread ID: info
(gdb)
i don't even understand the term info for the thread ID ???

if I ask for the "info thread" i got this: Id Target Id Frame
* 1 Thread 0x7f0ffc4084c0 (LWP 30222) "yade-2019-04-26" 0x00007f0ffb8d1dd7 in waitpid () from /lib64/libc.so.6
  2 Thread 0x7f0fd827b700 (LWP 30227) "WorkerThread" 0x00007f0ffbbd6246 in do_futex_wait.constprop () from /lib64/libpthread.so.0
  3 Thread 0x7f0fd7a7a700 (LWP 30228) "WorkerThread" 0x00007f0ffbbd6246 in do_futex_wait.constprop () from /lib64/libpthread.so.0
  4 Thread 0x7f0fc4b1a700 (LWP 30229) "yade-2019-04-26" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  5 Thread 0x7f0fbcd1c700 (LWP 30230) "llvmpipe-0" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  6 Thread 0x7f0fbc51b700 (LWP 30231) "llvmpipe-1" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  7 Thread 0x7f0fbbd1a700 (LWP 30232) "llvmpipe-2" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  8 Thread 0x7f0fbb519700 (LWP 30233) "llvmpipe-3" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  9 Thread 0x7f0fbad18700 (LWP 30234) "llvmpipe-4" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  10 Thread 0x7f0fba517700 (LWP 30235) "llvmpipe-5" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  11 Thread 0x7f0fb9d16700 (LWP 30236) "llvmpipe-6" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  12 Thread 0x7f0fb9515700 (LWP 30237) "llvmpipe-7" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  13 Thread 0x7f0f9a303700 (LWP 30435) "QXcbEventReader" 0x00007f0ffb8fa0bb in poll () from /lib64/libc.so.6
  14 Thread 0x7f0f98bf1700 (LWP 30436) "yade-2019-04-26" 0x00007f0ffbbd6246 in do_futex_wait.constprop () from /lib64/libpthread.so.0
  15 Thread 0x7f0f87bf4700 (LWP 30437) "QDBusConnection" 0x00007f0ffb8fa0bb in poll () from /lib64/libc.so.6
  16 Thread 0x7f0f8733a700 (LWP 30438) "llvmpipe-0" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  17 Thread 0x7f0f86b39700 (LWP 30439) "llvmpipe-1" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  18 Thread 0x7f0f86338700 (LWP 30440) "llvmpipe-2" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  19 Thread 0x7f0f85b37700 (LWP 30441) "llvmpipe-3" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  20 Thread 0x7f0f85336700 (LWP 30442) "llvmpipe-4" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  21 Thread 0x7f0f84b35700 (LWP 30443) "llvmpipe-5" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  22 Thread 0x7f0f6ffff700 (LWP 30444) "llvmpipe-6" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  23 Thread 0x7f0f6f7fe700 (LWP 30445) "llvmpipe-7" 0x00007f0ffbbd38ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  24 Thread 0x7f0f6effd700 (LWP 30452) "yade-2019-04-26" 0x00007f0ffb8fbf33 in select () from /lib64/libc.so.6

this looks to be a problem for a pthread but I have no idea where to look inside ou avoid this?

Revision history for this message
Janek Kozicki (cosurgi) said :
#9

Try cleaning thread libraries the same way you did this with qt libraries?

I have done some much testing of yade last month, that I am sure it must work. Maybe try inside a clear install of linux in chroot or virtualbox? Just to find out if it can work for you. In one case yade wasn't working for one student because he defined some special PATHs in ~/.bashrc to get to work some other unrelated custom software installed from .tar.gz (not from the package manager). We discovered this after simple `adduser test` on his laptop. And yade worked on that user test, but didn't work in his regular account.

Can you help with this problem?

Provide an answer of your own, or ask Luc OGER for more information if necessary.

To post a message you must log in.