mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Texmacs 1.0.6.14 segfault


Chronological Thread 
  • From: Martin Costabel <address@hidden>
  • To: address@hidden
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] Texmacs 1.0.6.14 segfault
  • Date: Sat, 29 Mar 2008 20:16:55 +0100

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;

But I cannot explain it; my grasp of C++ is too weak. In particular I have no idea what happens when a destructor is called that is not defined.

If one simply removes this line, the crash disappears. The trade-off may be a memory leak or worse, but anyway, I am tentatively updating the Fink texmacs package to 1.0.6.12-2 with this removal, and we'll see what happens.

--
Martin


--
Martin






Archive powered by MHonArc 2.6.19.

Top of page