Question #693260 on Yade changed:
https://answers.launchpad.net/yade/+question/693260
Status: Needs information => Open
Jiannan Wang gave more information on the question:
Hello Janek,
For me, the crash only happen when I open and then close the 3D view
from the controller. Otherwise the simulation itself is fine.
I tried to open the controller without actual running anything. I just
copy and past everything from the terminal to here just in case:
Welcome to Yade 2020.01a
Using python version: 3.8.2 (default, Jul 16 2020, 14:00:26)
[GCC 9.3.0]
LOGGER Warning: setting "Default" log level higher than MAX_LOG_LEVEL=5 will
have no effect. Logs will not be printed, they were removed during compilation.
LOGGER Warning: to be able to use "Default"=6 you have to recompile yade with
cmake option MAX_LOG_LEVEL=6 or higher.
<INFO> _log.cpp:49 void yade::setLevel(std::string, int): filter log level for
Default has been set to 6
<INFO> Logging:187 void Logging::setNamedLogLevel(const string&, short int):
setting "Default" log level to 6
LOGGER Warning: setting "Default" log level higher than MAX_LOG_LEVEL=5 will
have no effect. Logs will not be printed, they were removed during compilation.
LOGGER Warning: to be able to use "Default"=6 you have to recompile yade with
cmake option MAX_LOG_LEVEL=6 or higher.
<INFO> _log.cpp:49 void yade::setLevel(std::string, int): filter log level for
Default has been set to 6
TCP python prompt on localhost:9000, auth cookie `csdkyu'
XMLRPC info provider on http://localhost:21000
<DEBUG> OpenGLRenderer:68 void yade::OpenGLRenderer::initgl(): (re)initializing
GL for gldraw methods.
[[ ^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]: yade.qt.Controller()
In [2]: <INFO> GLViewer:351 void yade::GLViewer::centerScene(): Select with
shift, press 'm' to move.
<DEBUG> GLViewer:360 void yade::GLViewer::centerScene(): scene's bound not yet
calculated or has zero or nan dimension(s), attempt get that from bodies'
positions.
<DEBUG> GLViewer:368 void yade::GLViewer::centerScene(): No min/max computed
from bodies either, setting cube (-1,-1,-1)×(1,1,1)
<DEBUG> GLViewer:371 void yade::GLViewer::centerScene(): Got scene box min=-1
-1
-1 and max=1
1
1
<DEBUG> GLViewer:375 void yade::GLViewer::centerScene(): Scene center=0
0
0, halfSize=1
1
1, radius=1
<INFO> GLViewer:351 void yade::GLViewer::centerScene(): Select with shift,
press 'm' to move.
<DEBUG> GLViewer:360 void yade::GLViewer::centerScene(): scene's bound not yet
calculated or has zero or nan dimension(s), attempt get that from bodies'
positions.
<DEBUG> GLViewer:368 void yade::GLViewer::centerScene(): No min/max computed
from bodies either, setting cube (-1,-1,-1)×(1,1,1)
<DEBUG> GLViewer:371 void yade::GLViewer::centerScene(): Got scene box min=-1
-1
-1 and max=1
1
1
<DEBUG> GLViewer:375 void yade::GLViewer::centerScene(): Scene center=0
0
0, halfSize=1
1
1, radius=1
#########################################
The crash happened when I closed the "Show 3D" window. Here is the
message from the terminal:
<DEBUG> GLViewer:50 virtual void yade::GLViewer::closeEvent(QCloseEvent*): Will
emit closeView for view #0
<DEBUG> OpenGLManager:52 virtual void yade::OpenGLManager::closeViewSlot(int):
Closing primary view.
Segmentation fault (core dumped)
###############
Thank you.
Best regards
Jiannan
--
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 protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp