Andrey G. Grozin | 7 Nov 2011 07:29
Picon
Favicon

[TeXmacs] Re: [Texmacs-dev] 1.0.7.13 and 1.07.14 segmentation fault with maxima plugin

On Sun, 6 Nov 2011, Kostas Oikonomou wrote:
> I've tried the 1.0.7.13 X version, and both the 1.0.7.14 X and Qt versions. 
> With any of these, when I start a maxima session and enter
>
> (a^2+a*b+b^2)/3 - (a+b)^2/2
>
> all versions produce a segmentation fault.  (This is maxima 5.25.1.)  I don't 
> know if something has changed in TeXmacs or in the maxima plugin.
I cannot reproduce this problem:

Qt TeXmacs-1.0.7.14
maxima-5.25.1 compiled with sbcl-1.0.51 or clisp-2.49
Gentoo Linux (32-bit Intel)

Your input works as expected. Try

texmacs -debug-io

to see what bytes are sent from TeXmacs to maxima and back, and at what 
exact moment the crash happens.

Andrey

Kostas Oikonomou | 7 Nov 2011 14:39
Picon

Re: [TeXmacs] Re: 1.0.7.13 and 1.07.14 segmentation fault with maxima plugin

Hi Andrey,

I am also using sbcl 1.0.51 for maxima.  I forgot to note in 
my original post that if I run maxima from the command line, 
the input (a^2+a*b+b^2/3 - (a+b)^2/2 works fine.

Here is the output from -debug-io:

wiley$ /opt/texmacs/x-bin/texmacs -debug-io
TeXmacs] With linked TrueType support
Reading ko-kbd.scm...
TeXmacs] Launching 'tm_maxima 5.25.1 sbcl'
STYLE-WARNING: redefining MAXIMA::MAIN-PROMPT in DEFUN
TeXmacs] Loading corktounicode
TeXmacs] Loading unicode-cork-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading unicode-symbol-oneway
STYLE-WARNING: redefining MAXIMA::TEX-STRIPDOLLAR in DEFUN
STYLE-WARNING: redefining MAXIMA::TEX-MEXPT in DEFUN
STYLE-WARNING: redefining MAXIMA::TEX-CHOOSE in DEFUN
STYLE-WARNING: redefining MAXIMA::TEX-INT in DEFUN
STYLE-WARNING: redefining MAXIMA::TEX-SUM in DEFUN
STYLE-WARNING: redefining MAXIMA::TEX-LSUM in DEFUN
[BEGIN]verbatim:
Maxima 5.25.1 http://maxima.sourceforge.net
using Lisp SBCL 1.0.51.0-a546163-dirty
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
[BEGIN]channel:prompt[END][BEGIN]latex:\red (\mathrm{\%i}1) 
(Continue reading)

Joris van der Hoeven | 7 Nov 2011 15:34

Re: [TeXmacs] Re: 1.0.7.13 and 1.07.14 segmentation fault with maxima plugin

Hi Kostas,

On Mon, Nov 07, 2011 at 08:39:59AM -0500, Kostas Oikonomou wrote:
> TeXmacs] Fatal error, segmentation fault
> TeXmacs] Crash report saved in
> /export/home/ko/.TeXmacs/system/crash/crash_report_8
> TeXmacs] Current buffer report saved in
> /export/home/ko/.TeXmacs/system/crash/crash_report_8_tree
> Assertion failed: false, file ./Texmacs/Texmacs/texmacs.cpp, line
> 76, function clean_exit_on_segfault
> Abort
> wiley$
> 
> 
> There are also the two files in .TeXmacs/system/crash but I don't
> understand what they mean.

Could you please send or attach these files;
maybe the problem is not due to the Maxima interface.

Thanks, --Joris

Gmane