texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] Re: [TeXmacs] Texmacs 1.0.6.14 segfault


From: Henri Lesourd
Subject: [Texmacs-dev] Re: [TeXmacs] Texmacs 1.0.6.14 segfault
Date: Sat, 29 Mar 2008 20:58:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

Martin Costabel wrote:

Henri Lesourd wrote:

Peter RapĨan wrote:

Hi,

After upgrading to the latest fink unstable version my Texmacs segfaults when closing a document . See the standard output:

texmacs
TeXmacs] With linked TrueType support
TeXmacs] Loading corktounicode
TeXmacs] Loading unicode-cork-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading unicode-symbol-oneway
Segmentation fault

This is a known bug which appeared some versions ago,
as far as I can remember (see e.g. mails on TeXmacs-dev
from 1/11/08).

I'm currently plugging back the actions in the menus
of my Qt version of TeXmacs, thus I should come across
this bug soon.


I can tell you the line where it happens:

In src/Texmacs/Data/tm_data.cpp, the last line of tm_data_rep::delete_view ():

  delete vw;

Uh, crappy.

In particular I have no idea what happens when a destructor is called that is not defined.

It should just free the object. The fact that it crashes
means that the memory is badly corrupted (by something
else, we don't know what ;-(... ).


The trade-off may be a memory leak or worse

Removing this instruction will not solve the corruption
problem...


P.S. : I move the thread to texmacs-dev, which is the place
 where bug-related discussions should occur.





reply via email to

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