mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6


Chronological Thread 
  • From: Kyle Andrews <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6
  • Date: Wed, 03 Jan 2018 03:47:11 +0000

TeXmacs also crashes with what looks to be the same error message when I try to insert a "Miscellaneous Symbol" inside math mode.

On Mon, 1 Jan 2018 at 21:37 Kyle Andrews <address@hidden> wrote:
I don't know if this is related to QT5, but I've noticed that if I try to change the foreground or background color (or just clicking "Color" under format menu) of any text through the menu interface, TeXmacs immediately segmentation faults. It tries to paint the menu, but before it can render it crashes. Clicking the toolbar button for setting the foreground color also causes it to crash.

texmacs -d
Installing internal plug-ins...
Opening display...
Starting server...
TeXmacs] debug-std, Evaluating /usr/share/TeXmacs/progs/init-texmacs.scm...
Creating 'no name' buffer...
TeXmacs] debug-fonts, Try tfm ecrm10.tfm
TeXmacs] With linked TrueType support
TeXmacs] debug-fonts, Loading larm.enc
TeXmacs] debug-fonts, Loading grmn.enc
TeXmacs] debug-fonts, Try tfm ecss10.tfm
TeXmacs] debug-std, Redefined color dark slate
TeXmacs] debug-std, #2F4F4F replaced by #483D8B
TeXmacs] debug-std, Redefined color light slate
TeXmacs] debug-std, #778899 replaced by #8470FF
TeXmacs] debug-std, Redefined color light goldenrod
TeXmacs] debug-std, #FAFAD2 replaced by #EEDD82
TeXmacs] debug-std, Evaluating /usr/share/TeXmacs/progs/init-buffer.scm...
Starting event loop...
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 1 ]
TeXmacs] debug-fonts, Try tfm ectt10.tfm
TeXmacs] debug-fonts, Try tfm cmr10.tfm
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 2 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 3 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 4 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 5 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
TeXmacs] std-warning, resynchronizing for path [ 0, 0, 6 ]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Throwing segmentation fault
-------------------------------------------------
Error message:
  segmentation fault

System information:
  TeXmacs version  : 1.99.5
  Built by         : kyle
  Building date    : 2018-01-01T21:15:01
  Operating system : linux-gnu
  Vendor           : pc
  Processor        : x86_64
  Crash date       : Mon Jan  1 21:30:05 EST 2018

Editor status:
  Root path          : [ 0 ]
  Current path       : [ 0, 0, 6 ]
  Shifted path       : [ 0, 0, 6 ]
  Physical selection : [ 0, 0, 5 ] -- [ 0, 0, 5 ]

Backtrace of C++ stack:
  texmacs.bin : () + 0x857af6
  texmacs.bin : () + 0x6c5342
  /usr/lib/libc.so.6 : () + 0x348e0
  [0x562c4c31c670]

-------------------------------------------------
terminate called after throwing an instance of 'string'
Aborted (core dumped)


I would be interested in learning more about what the right way to dig up more information on this would be. However, I'm not very knowledgeable about C++.

Regards,

Kyle

On Sat, 30 Dec 2017 at 23:29 Andrey G. Grozin <address@hidden> wrote:
On Sat, 23 Dec 2017, Karl Hegbloom wrote:
> Rather than Qt4, I would install the Qt5 development packages via the qt5-default package.
I managed to compile TeXmacs with Qt5 using CMakeLists.txt files by
Massimiliano Gubinelli (the autoconf machinery does not inclide
QtPrintSuttort, and as a result #include <QPringer> fails; cmake correctly
includes this Qt5 package).

After the upgrade, some pieces in the maxima interface don't work (I'm
sure they worked in the past). What is this <large-sqrt-O>? If I copy to
TeXmacs-scheme, I get

(concat " " (math (with "math-display" "true" (concat (text (with
"font-family" "tt" "color" "red" (concat "(" (with "math-font-family" "rm"
"%o1") ") "))) (frac (concat "a*" (math-up "asinh") (space "0.27em")
(around* "(" (frac "x" (sqrt "a")) ")")) "2") "+" (frac (concat "x*" (sqrt
(concat "x" (rsup "2") "+a"))) "2")))))

The relevant part here is just

(sqrt "a")

which seems correct. Why does it produce such a strange result in the
TeXmacs window (see the attachment)?

Andrey



Archive powered by MHonArc 2.6.19.

Top of page