* bug#46707: TeXmacs: Segmentation fault when starting interactive session
@ 2021-02-22 17:16 Luis Felipe via Bug reports for GNU Guix
2021-03-18 16:05 ` Ludovic Courtès
2021-12-23 23:54 ` Luis Felipe via Bug reports for GNU Guix
0 siblings, 2 replies; 4+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2021-02-22 17:16 UTC (permalink / raw)
To: 46707
The program crashes when starting any interactive session (except for a Scheme session).
TeXmacs 1.99.18
Guix c5dc87f
Guix System Linux gnu 5.10.14-gnu
## Steps to reproduce
1. Start TeXmacs from a terminal: LANG=C texmacs.
2. Create a new document: Press Ctrl+N (if there isn't one already).
3. Start an interactive Python session: In the main menu, Insert → Session → Python.
## Expected result
A new Python input field is inserted in the position of the caret.
## Unexpected result
The program crashes with the following error:
★★★★★★★★★★
LANG=C texmacs
TeXmacs] With linked TrueType support
TeXmacs] debug-shell, Launching 'python3 "/gnu/store/yv1d98c2xjjj1bx776hvj9r2w05mrni7-texmacs-1.99.18/share/TeXmacs/plugins/tmpy/session/tm_python.py"'
Throwing segmentation fault
-------------------------------------------------
Error message:
segmentation fault
System information:
TeXmacs version : 1.99.18
Built by :
Building date : Thu Feb 11 14:31:30 UTC 2021
Operating system : linux-gnu
Vendor : unknown
Processor : @CONFIG_HOST_CPU@
Crash date : Mon Feb 22 10:59:56 -05 2021
Editor status:
Root path : [ 1 ]
Current path : [ 1, 0, 2, 1, 1, 0, 0 ]
Shifted path : [ 1, 0, 2, 1, 1, 0, 0 ]
Physical selection : [ 1, 0, 0 ] -- [ 1, 0, 0 ]
Backtrace of C++ stack:
texmacs.bin() [0xfa8c19]
texmacs.bin() [0x5dfc9c]
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6 : () + 0x36b20
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x2239d9
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x21e1ae
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QProcess::start(QString const&, QStringList const&, QFlags<QIODevice::OpenModeFlag>) + 0x162
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QProcess::start(QString const&, QFlags<QIODevice::OpenModeFlag>) + 0x114
texmacs.bin() [0x4f0ab7]
texmacs.bin() [0xe65bee]
texmacs.bin() [0x74bb34]
texmacs.bin() [0x74c84a]
texmacs.bin() [0xaca38a]
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x5023c
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_dapply() + 0x9b5
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_with_throw_handler() + 0x109
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_catch() + 0x136
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_internal_catch() + 0xe
texmacs.bin() [0xb6368c]
texmacs.bin() [0xd0b946]
texmacs.bin() [0xd0c6e3]
texmacs.bin() [0xacbea0]
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x504c1
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_dapply() + 0x9b5
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_with_throw_handler() + 0x109
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_catch() + 0x136
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_internal_catch() + 0xe
texmacs.bin() [0xb6368c]
texmacs.bin() [0xd0b946]
texmacs.bin() [0xe557ff]
texmacs.bin() [0xe560f1]
texmacs.bin() [0xe5809a]
texmacs.bin() [0x4e43bf]
texmacs.bin() [0xcb4655]
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x2e2703
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QTimer::timeout(QTimer::QPrivateSignal) + 0x27
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QTimer::timerEvent(QTimerEvent*) + 0x28
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QObject::event(QEvent*) + 0x8b
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x9c
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Widgets.so.5 : QApplication::notify(QObject*, QEvent*) + 0x21f
texmacs.bin() [0xcb3f4b]
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*) + 0x103
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QTimerInfoList::activateTimers() + 0x3d9
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x306129
/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib/libglib-2.0.so.0 : g_main_context_dispatch() + 0x2aa
/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib/libglib-2.0.so.0 : () + 0x510d8
/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib/libglib-2.0.so.0 : g_main_context_iteration() + 0x2c
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 0x5c
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 0x12a
/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.so.5 : QCoreApplication::exec() + 0x83
texmacs.bin() [0x450405]
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x6859f
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x4068a
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_catch() + 0x136
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_i_with_continuation_barrier() + 0xa4
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_with_continuation_barrier() + 0x30
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_i_with_guile_and_parent() + 0x28
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_boot_guile() + 0x25
texmacs.bin() [0x42ddf7]
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6 : __libc_start_main() + 0xed
texmacs.bin() [0x44f29a]
-------------------------------------------------
terminate called after throwing an instance of 'string'
Abortado
★★★★★★★★★★
---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#46707: TeXmacs: Segmentation fault when starting interactive session
2021-02-22 17:16 bug#46707: TeXmacs: Segmentation fault when starting interactive session Luis Felipe via Bug reports for GNU Guix
@ 2021-03-18 16:05 ` Ludovic Courtès
2021-03-18 18:17 ` Luis Felipe via Bug reports for GNU Guix
2021-12-23 23:54 ` Luis Felipe via Bug reports for GNU Guix
1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2021-03-18 16:05 UTC (permalink / raw)
To: Luis Felipe; +Cc: 46707
Hi Luis,
Luis Felipe <luis.felipe.la@protonmail.com> skribis:
> The program crashes when starting any interactive session (except for a Scheme session).
>
> TeXmacs 1.99.18
> Guix c5dc87f
> Guix System Linux gnu 5.10.14-gnu
TeXmacs has since been updated. Could you check whether this still
happens?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#46707: TeXmacs: Segmentation fault when starting interactive session
2021-03-18 16:05 ` Ludovic Courtès
@ 2021-03-18 18:17 ` Luis Felipe via Bug reports for GNU Guix
0 siblings, 0 replies; 4+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2021-03-18 18:17 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 46707@debbugs.gnu.org
Hi Ludovic,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, March 18, 2021 4:05 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> Hi Luis,
>
> Luis Felipe luis.felipe.la@protonmail.com skribis:
>
> > The program crashes when starting any interactive session (except for a Scheme session).
> > TeXmacs 1.99.18
> > Guix c5dc87f
> > Guix System Linux gnu 5.10.14-gnu
>
> TeXmacs has since been updated. Could you check whether this still
> happens?
I checked and it still happens with these versions:
TeXmacs 1.99.19
Guix a12de21
Guix System Linux gnu 5.10.14-gnu
This is the output:
$ LANG=C texmacs
Welcome to TeXmacs 1.99.19
------------------------------------------------------------------------------
kpsepath works with your TeX distribution
kpsewhich works with your TeX distribution
mktextfm works with your TeX distribution
mktexpk works with your TeX distribution
texhash works with your TeX distribution
attempt install of inkscape extension
installing or updating inkscape extension
------------------------------------------------------------------------------
Installation completed successfully !
I will now start up the editor
------------------------------------------------------------------------------
TeXmacs] With linked TrueType support
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
TeXmacs] debug-shell, Launching 'python3 -X utf8 "/gnu/store/sbs2fjrq2977fg4fnrjay62nzb36ain6-texmacs-1.99.19/share/TeXmacs/plugins/tmpy/session/tm_python.py"'
Throwing segmentation fault
-------------------------------------------------
Error message:
segmentation fault
System information:
TeXmacs version : 1.99.19
Built by :
Building date : Sat Mar 6 10:54:35 UTC 2021
Operating system : linux-gnu
Vendor : unknown
Processor : @CONFIG_HOST_CPU@
Crash date : Thu Mar 18 13:09:46 -05 2021
Editor status:
Root path : [ 2 ]
Current path : [ 2, 0, 2, 1, 1, 0, 0 ]
Shifted path : [ 2, 0, 2, 1, 1, 0, 0 ]
Physical selection : [ 2, 0, 0 ] -- [ 2, 0, 0 ]
Backtrace of C++ stack:
texmacs.bin() [0xfaa679]
texmacs.bin() [0x5dfdac]
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6 : () + 0x36b20
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x2239d9
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x21e1ae
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QProcess::start(QString const&, QStringList const&, QFlags<QIODevice::OpenModeFlag>) + 0x162
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QProcess::start(QString const&, QFlags<QIODevice::OpenModeFlag>) + 0x114
texmacs.bin() [0x4f0ab7]
texmacs.bin() [0xe6765e]
texmacs.bin() [0x74be44]
texmacs.bin() [0x74cb5a]
texmacs.bin() [0xacb1fa]
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x5023c
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_dapply() + 0x9b5
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_with_throw_handler() + 0x109
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_catch() + 0x136
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_internal_catch() + 0xe
texmacs.bin() [0xb6466c]
texmacs.bin() [0xd0c926]
texmacs.bin() [0xd0d6c3]
texmacs.bin() [0xaccd10]
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x504c1
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_dapply() + 0x9b5
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_with_throw_handler() + 0x109
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_catch() + 0x136
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_internal_catch() + 0xe
texmacs.bin() [0xb6466c]
texmacs.bin() [0xd0c926]
texmacs.bin() [0xe5717f]
texmacs.bin() [0xe57a71]
texmacs.bin() [0xe59b2a]
texmacs.bin() [0x4e43bf]
texmacs.bin() [0xcb5635]
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x2e2703
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QTimer::timeout(QTimer::QPrivateSignal) + 0x27
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QTimer::timerEvent(QTimerEvent*) + 0x28
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QObject::event(QEvent*) + 0x8b
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x9c
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Widgets.so.5 : QApplication::notify(QObject*, QEvent*) + 0x21f
texmacs.bin() [0xcb4f2b]
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*) + 0x103
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QTimerInfoList::activateTimers() + 0x3d9
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : () + 0x306129
/gnu/store/5fyh99ycbxs72z21qrjwhk67p1vdfl55-glib-2.62.6/lib/libglib-2.0.so.0 : g_main_context_dispatch() + 0x2aa
/gnu/store/5fyh99ycbxs72z21qrjwhk67p1vdfl55-glib-2.62.6/lib/libglib-2.0.so.0 : () + 0x51288
/gnu/store/5fyh99ycbxs72z21qrjwhk67p1vdfl55-glib-2.62.6/lib/libglib-2.0.so.0 : g_main_context_iteration() + 0x2c
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 0x5c
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 0x12a
/gnu/store/i1cw1lsvf0295lbqxpxcnz1n4sm0j0ym-qtbase-5.15.2/lib/libQt5Core.so.5 : QCoreApplication::exec() + 0x83
texmacs.bin() [0x450405]
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x6859f
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : () + 0x4068a
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_catch() + 0x136
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_i_with_continuation_barrier() + 0xa4
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_c_with_continuation_barrier() + 0x30
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_i_with_guile_and_parent() + 0x28
/gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.17 : scm_boot_guile() + 0x25
texmacs.bin() [0x42ddf7]
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6 : __libc_start_main() + 0xed
texmacs.bin() [0x44f29a]
-------------------------------------------------
terminate called after throwing an instance of 'string'
Abortado
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#46707: TeXmacs: Segmentation fault when starting interactive session
2021-02-22 17:16 bug#46707: TeXmacs: Segmentation fault when starting interactive session Luis Felipe via Bug reports for GNU Guix
2021-03-18 16:05 ` Ludovic Courtès
@ 2021-12-23 23:54 ` Luis Felipe via Bug reports for GNU Guix
1 sibling, 0 replies; 4+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2021-12-23 23:54 UTC (permalink / raw)
To: 46707-done@debbugs.gnu.org
[-- Attachment #1.1: Type: text/plain, Size: 366 bytes --]
I can't reproduce the issue anymore in the following versions. The feature works quite nicely.
texmacs 2.1.1
guix describe
Generation 52 Dec 23 2021 11:56:54 (current)
guix 037c2b6
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 037c2b6d3acdf7f5b68ecb3024ef90bce85922df
---
Luis Felipe López Acevedo
[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-23 23:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22 17:16 bug#46707: TeXmacs: Segmentation fault when starting interactive session Luis Felipe via Bug reports for GNU Guix
2021-03-18 16:05 ` Ludovic Courtès
2021-03-18 18:17 ` Luis Felipe via Bug reports for GNU Guix
2021-12-23 23:54 ` Luis Felipe via Bug reports for GNU Guix
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.