← Back to team overview

yade-users team mailing list archive

Re: [Question #706851]: FreeGlut versus FREEGLUT package

 

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

Luc OGER gave more information on the question:
another strange behavior when I am trying to go behind the output
display error :

starting gdb with display crashes
then restarting with "-n" don't crash
the restarting with display works !!

see the extraction of the process (some thread are erased) :

mr078189:/home/oger/yade # gdb
GNU gdb (GDB; SUSE Linux Enterprise 15) 12.1
Copyright (C) 2022 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".
(gdb) file python3
Reading symbols from python3...
(No debugging symbols found in python3)
Missing separate debuginfos, use: zypper install python3-base-debuginfo-3.6.15-150300.10.48.1.x86_64
(gdb) run /opt/Yade/bin/yade-2023-06-14.git-fbf7a70 /home/oger/prog_perso/yade/Bouncing_spheres.py
Starting program: /usr/bin/python3 /opt/Yade/bin/yade-2023-06-14.git-fbf7a70 /home/oger/prog_perso/yade/Bouncing_spheres.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Welcome to Yade 2023-06-14.git-fbf7a70
Using python version: 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC]
[Detaching after fork from child process 23433]
TCP python prompt on localhost:9000, auth cookie `ckydas'
[New Thread 0x7fffc821e700 (LWP 23435)]
[New Thread 0x7fffc799d700 (LWP 23436)]
XMLRPC info provider on http://localhost:21000
................

Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d5439b in PyModule_GetState () from /usr/lib64/libpython3.6m.so.1.0
(gdb) s
Single stepping until exit from function PyModule_GetState,
which has no line number information.
crashHandler (sig=32767) at /home/oger/yade/trunk/core/main/pyboot.cpp:9
9       {
(gdb) b 8
Breakpoint 1 at 0x7ffff2389730: /data_1/oger/full_yade_local/trunk/core/main/pyboot.cpp:8. (2 locations)
(gdb) run /opt/Yade/bin/yade-2023-06-14.git-fbf7a70 -n
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/python3 /opt/Yade/bin/yade-2023-06-14.git-fbf7a70 -n
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Welcome to Yade 2023-06-14.git-fbf7a70
Using python version: 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC]
[Detaching after fork from child process 23700]
TCP python prompt on localhost:9000, auth cookie `cdausy'
[New Thread 0x7fffca198700 (LWP 23703)]
[New Thread 0x7fffc9957700 (LWP 23704)]
XMLRPC info provider on http://localhost:21000
[New Thread 0x7fffc8c89700 (LWP 23705)]
[[ ^L clears screen, ^U kills line. F8 plot. ]]

In [1]: run /opt/Yade/bin/yade-2023-06-14.git-fbf7a70 /home/oger/prog_perso/yade/Bouncing_spheres.py
Welcome to Yade 2023-06-14.git-fbf7a70
TCP python prompt on localhost:9001, auth cookie `descsk'
[New Thread 0x7fffba1c5700 (LWP 23732)]
[New Thread 0x7fffb99c4700 (LWP 23733)]
XMLRPC info provider on http://localhost:21001
.................................
[New Thread 0x7fff10ff9700 (LWP 23772)]
Running script /home/oger/prog_perso/yade/Bouncing_spheres.py
[[ ^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]: [New Thread 0x7fff09c7d700 (LWP 23781)]
[Thread 0x7fff09c7d700 (LWP 23781) exited]
....................
[New Thread 0x7ffeebfff700 (LWP 23806)]
[Thread 0x7ffeebfff700 (LWP 23806) exited]

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