Skip to Content.
Sympa Menu

texmacs-users - Re: TikZ and xypic plugin documentation and examples

Subject: mailing-list for TeXmacs Users

List archive

Re: TikZ and xypic plugin documentation and examples


Chronological Thread 
  • From: Antonio R <address@hidden>
  • To: Kostas Oikonomou <address@hidden>
  • Cc: address@hidden
  • Subject: Re: TikZ and xypic plugin documentation and examples
  • Date: Mon, 4 Jul 2022 18:06:28 -0500

Dear Phillipe and Kostas,

The AppImage file: texmacs-0-Build161.1.glibc2.15-x86_64.AppImage works! However, it does give me an error starting up:

QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.

It repeated this error twice originally, and the Graph plugin didn't work. However, I added the line

export QT_STYLE_OVERRIDE=gtk2

to my .bashrc and this eliminated one instance of the error message, after which the Graph plugin started to work.

Many thanks!

Best wishes,

Antonio

On Mon, 4 Jul 2022 at 17:43, Antonio R <address@hidden> wrote:
Dear Phillipe and Kostas,

Many thanks! Trying them now. The Ubuntu build for Ubuntu 22.04 still gives me the segmentation fault below when trying to run the first example in the Graph plugin help document:

Best wishes,

Antonio
============================================
TeXmacs] With linked TrueType support
TeXmacs] debug-shell, Launching 'python3 "/usr/local/share/TeXmacs/plugins/tmpy/session/tm_graph.py"'
Throwing segmentation fault
-------------------------------------------------
Error message:
  segmentation fault

System information:
  TeXmacs version  : 2.1.2
  Built by         : abuild
  Building date    : Sat Jul  2 12:22:35 UTC 2022
  Operating system : linux-gnu
  Vendor           : pc
  Processor        : @CONFIG_HOST_CPU@
  Crash date       : lun 04 jul 2022 17:38:23 CDT

Editor status:
  Root path          : [ 0 ]
  Current path       : [ 0, 0, 2, 9, 1 ]
  Shifted path       : [ 0, 0, 2, 9, 1 ]
  Physical selection : [ 0, 0, 2, 9, 1 ] -- [ 0, 0, 2, 9, 1 ]

Backtrace of C++ stack:
  texmacs.bin : () + 0x29b4f2
  texmacs.bin : () + 0x1ea976
  /usr/lib/x86_64-linux-gnu/libc.so.6 : () + 0x42520
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : () + 0x22e4ce
  texmacs.bin : () + 0x97fac7
  texmacs.bin : () + 0x38ef88
  texmacs.bin : () + 0x6d0d9d
  /lib/libguile.so.17 : () + 0x50d07
  /lib/libguile.so.17 : () + 0x50e9b
  /lib/libguile.so.17 : scm_dapply() + 0xa7d
  /lib/libguile.so.17 : scm_c_with_throw_handler() + 0x120
  /lib/libguile.so.17 : scm_c_catch() + 0x15e
  /lib/libguile.so.17 : scm_internal_catch() + 0x12
  texmacs.bin : () + 0x84ff46
  texmacs.bin : () + 0x46a980
  texmacs.bin : () + 0x46b252
  texmacs.bin : () + 0x70827f
  /lib/libguile.so.17 : () + 0x50d77
  /lib/libguile.so.17 : () + 0x50e9b
  /lib/libguile.so.17 : scm_dapply() + 0xa7d
  /lib/libguile.so.17 : scm_c_with_throw_handler() + 0x120
  /lib/libguile.so.17 : scm_c_catch() + 0x15e
  /lib/libguile.so.17 : scm_internal_catch() + 0x12
  texmacs.bin : () + 0x857144
  texmacs.bin : () + 0x46cfb3
  texmacs.bin : () + 0xbb3aa6
  texmacs.bin : () + 0x970d00
  texmacs.bin : () + 0x816679
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : () + 0x2f17b8
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QTimer::timeout(QTimer::QPrivateSignal) + 0x3e
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QObject::event(QEvent*) + 0x1cf
  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x83
  texmacs.bin : () + 0x81d401
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*) + 0x13a
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QTimerInfoList::activateTimers() + 0x3db
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : () + 0x312cdc
  /lib/x86_64-linux-gnu/libglib-2.0.so.0 : g_main_context_dispatch() + 0x26b
  /lib/x86_64-linux-gnu/libglib-2.0.so.0 : () + 0xaa6f8
  /lib/x86_64-linux-gnu/libglib-2.0.so.0 : g_main_context_iteration() + 0x33
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 0x68
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 0x12b
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : QCoreApplication::exec() + 0x94
  texmacs.bin : () + 0x1fc4c5
  /lib/libguile.so.17 : () + 0x6ab13
  /lib/libguile.so.17 : () + 0x3ffce
  /lib/libguile.so.17 : scm_c_catch() + 0x15e
  /lib/libguile.so.17 : scm_i_with_continuation_barrier() + 0xb5
  /lib/libguile.so.17 : scm_c_with_continuation_barrier() + 0x44
  /lib/libguile.so.17 : scm_i_with_guile_and_parent() + 0x3a
  /lib/libguile.so.17 : scm_boot_guile() + 0x39
  texmacs.bin : () + 0x1d1dae
  /usr/lib/x86_64-linux-gnu/libc.so.6 : () + 0x29d90
  /usr/lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main() + 0x80
  texmacs.bin : () + 0x1ea815

-------------------------------------------------
TeXmacs] failed-error, Exception, segmentation fault



On Mon, 4 Jul 2022 at 15:57, Kostas Oikonomou <address@hidden> wrote:
Philippe,

Your rather simple fix

> This requires to adjust in socket_notifier.cpp :
>
> #ifndef QTTEXMACS  ->  #if !(defined (QTTEXMACS) && defined (QTPIPES))

has worked for me in FreeBSD for compiling all of the 2.x versions of
TeXmacs from source, and
all the plugins I use (shell, Maxima, Fricas) work perfectly.

                         Kostas

On 7/4/22 11:47, Philippe Joyez wrote:
> Hi Antonio,
>
> The bug you mentioned (http://savannah.gnu.org/bugs/?60931) is still not fixed
> in the trunk, and it causes the segfaults you experience.
>
> My Linux builds
> (https://software.opensuse.org/download.html?project=home:slowphil:texmacs-devel&amp;package=texmacs)
> and the distribution-independent AppImage
> (https://download.opensuse.org/repositories/home:/slowphil:/texmacs-devel/AppImage/)
> incorporate an inelegant but effective fix for that bug. You may wish to try
> them.
>
>
> Best,
> Philippe




Archive powered by MHonArc 2.6.24.

Top of Page