← Back to team overview

yade-users team mailing list archive

Re: [Question #693260]: Yade crashes at "show 3D" in Ubuntu 20.04

 

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

    Status: Answered => Open

Jiannan Wang is still having a problem:
Hello Janek,

Thank you so much for troubleshooting for me step by step. I used
yadedaily -f6, and there is the output:

Welcome to Yade 20201004-4238~57d1c9c~focal1 
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:189 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 `acyduk'
XMLRPC info provider on http://localhost:21000
<DEBUG> OpenGLRenderer:84 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:523 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): Select with shift, press 'm' to move.
<DEBUG> GLViewer:535 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): scene's bound not yet calculated or has zero or nan dimension(s), attempt get that from bodies' positions.
<DEBUG> GLViewer:551 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): No min/max computed from bodies either, setting cube (-1,-1,-1)×(1,1,1)
<DEBUG> GLViewer:559 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): Got scene box min=-1 -1 -1 and max=1 1 1
<DEBUG> GLViewer:563 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): Scene center=0 0 0, halfSize=1 1 1, radius=1, suggestedRadius=-1
<INFO> GLViewer:523 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): Select with shift, press 'm' to move.
<DEBUG> GLViewer:535 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): scene's bound not yet calculated or has zero or nan dimension(s), attempt get that from bodies' positions.
<DEBUG> GLViewer:551 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): No min/max computed from bodies either, setting cube (-1,-1,-1)×(1,1,1)
<DEBUG> GLViewer:559 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): Got scene box min=-1 -1 -1 and max=1 1 1
<DEBUG> GLViewer:563 void yade::GLViewer::centerScene(const Real&, const Vector3r&, const Vector3r&, int): Scene center=0 0 0, halfSize=1 1 1, radius=1, suggestedRadius=-1

############## The following is the terminal output when I closed the 3D
view and crashed. ############

<DEBUG> GLViewer:53 static void yade::GLViewer::staticCloseEvent(QCloseEvent*, int): Accept this event: Will emit closeView for view #0
<DEBUG> GLViewer:55 static void yade::GLViewer::staticCloseEvent(QCloseEvent*, int): Call OpenGLManager::self->emitCloseView for view #0
<DEBUG> OpenGLManager:76 virtual void yade::OpenGLManager::closeViewSlot(int): Closing primary view.
<DEBUG> OpenGLManager:78 virtual void yade::OpenGLManager::closeViewSlot(int): The currently closed view will be destroyed later. (QWindow insists on accessing the about to be destroyed instance)
<DEBUG> GLViewer:59 static void yade::GLViewer::staticCloseEvent(QCloseEvent*, int): Finished OpenGLManager::self->emitCloseView for view #0
<DEBUG> OpenGLManager:41 virtual void yade::OpenGLManager::cleanupViewsSlot(): mutex locked, now calling: if(not viewsLater.empty()) { ... }
<DEBUG> GLViewer:44 virtual yade::GLViewer::~GLViewer(): Closing 0
Segmentation fault (core dumped)


Let me know. 

Best regards
Jiannan

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