octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60334] Embedded Octave crashes on exit in oct


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60334] Embedded Octave crashes on exit in octave::interpreter::~interpreter()
Date: Wed, 7 Apr 2021 14:01:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #6, bug #60334 (project octave):

I tried the instructions in comment #5.  When I tried to use a build of the
current development version
(--with-mkoctfile=/usr/local/octave/dev/bin/mkoctfile) the mbdyn build failed
with missing symbol errors that I'm not sure I understand.

When I tried again without using the --with-mkoctfile configure option, the
build succeeded (I have Octave 6.2.0 installed from the Debian package) but
running the example does not fail with a segfault:


bash> ./mbdyn -f ../modules/module-octave/demo/octave_element.mbdyn 

MBDyn - MultiBody Dynamics develop
configured on Apr  6 2021 at 08:18:36

Copyright 1996-2017 (C) Paolo Mantegazza and Pierangelo Masarati,
Dipartimento di Ingegneria Aerospaziale <http://www.aero.polimi.it/>
Politecnico di Milano                   <http://www.polimi.it/>

MBDyn is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it
under certain conditions.  Use 'mbdyn --license' to see the conditions.
There is absolutely no warranty for MBDyn.  Use "mbdyn --warranty"
for details.

reading from file "../modules/module-octave/demo/octave_element.mbdyn"
configure with --enable-multithread for multithreaded assembly
Creating scalar solver with Naive linear solver
Reading Structural(1)
Reading Structural(2)
Reading Structural(3)
Reading Structural(4)
Reading Parameter(1)
Reading Parameter(2)
Reading Body(1)
Reading Body(2)
Reading Joint(1)
Reading Joint(2)
Reading Force(1)
Reading Force(2)
Reading Force(3)
Reading Force(4)
Reading LoadableElement(1)
An error occurred during the execution of MBDyn; aborting... 


Although your patch may avoid the crash for you, I'm hesitant to install it
without understanding why the crash is happening.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60334>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]