From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2BduLrvnM2C7NAAA0tVLHw (envelope-from ) for ; Mon, 22 Feb 2021 17:19:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CMY+KrvnM2BDbQAAB5/wlQ (envelope-from ) for ; Mon, 22 Feb 2021 17:19:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AAD532B115 for ; Mon, 22 Feb 2021 18:19:54 +0100 (CET) Received: from localhost ([::1]:55368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEEsC-0007ya-HK for larch@yhetil.org; Mon, 22 Feb 2021 12:19:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEEpT-0005TT-0w for bug-guix@gnu.org; Mon, 22 Feb 2021 12:17:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEEpS-0004Yk-Nc for bug-guix@gnu.org; Mon, 22 Feb 2021 12:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEEpS-00038y-JL for bug-guix@gnu.org; Mon, 22 Feb 2021 12:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46707: TeXmacs: Segmentation fault when starting interactive session Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Feb 2021 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46707 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46707@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.161401422012071 (code B ref -1); Mon, 22 Feb 2021 17:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2021 17:17:00 +0000 Received: from localhost ([127.0.0.1]:57447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEEpP-00038W-JP for submit@debbugs.gnu.org; Mon, 22 Feb 2021 12:17:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:51002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEEpM-00038H-NT for submit@debbugs.gnu.org; Mon, 22 Feb 2021 12:16:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEEpM-0005Gj-Fz for bug-guix@gnu.org; Mon, 22 Feb 2021 12:16:56 -0500 Received: from mail4.protonmail.ch ([185.70.40.27]:40309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEEpJ-0004V2-Kr for bug-guix@gnu.org; Mon, 22 Feb 2021 12:16:55 -0500 Date: Mon, 22 Feb 2021 17:16:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1614014199; bh=Y0bsY8tVtscnG+cWT+/qFoeH4sxqFui7vPub56SXeYc=; h=Date:To:From:Reply-To:Subject:From; b=FcBUuUwazjqPdXHNRLopxTcoY+Dpict+DpAPRSp61NUXWsCAcjospFh7Gi2GipCY5 UZJ3G/P6YhCMBPBRnI3KVZlbDZNuCteVPy7p6qZ7D9OcU+T2yoAzCocXvYcjRE0TQN TxEE36GjiQHH00jmudrU1s/pUIdKEoThQy85OdE8= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.27; envelope-from=luis.felipe.la@protonmail.com; helo=mail4.protonmail.ch X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) AC_FROM_MANY_DOTS=2.999, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe From: Luis Felipe via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=FcBUuUwa; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: AAD532B115 X-Spam-Score: -2.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: OzVQH+BuC0d3 The program crashes when starting any interactive session (except for a Sch= eme 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=3DC 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 =E2=86= =92 Session =E2=86=92 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: =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85 LANG=3DC texmacs TeXmacs] With linked TrueType support TeXmacs] debug-shell, Launching 'python3 "/gnu/store/yv1d98c2xjjj1bx776hvj9= r2w05mrni7-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) + 0x162 /gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.= so.5 : QProcess::start(QString const&, QFlags) + 0= x114 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.1= 7 : () + 0x5023c /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_dapply() + 0x9b5 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_c_with_throw_handler() + 0x109 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_c_catch() + 0x136 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : 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.1= 7 : () + 0x504c1 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_dapply() + 0x9b5 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_c_with_throw_handler() + 0x109 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_c_catch() + 0x136 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : 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/libQt5Widge= ts.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x9c /gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Widge= ts.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.s= o.0 : g_main_context_dispatch() + 0x2aa /gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib/libglib-2.0.s= o.0 : () + 0x510d8 /gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib/libglib-2.0.s= o.0 : g_main_context_iteration() + 0x2c /gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.= so.5 : QEventDispatcherGlib::processEvents(QFlags) + 0x5c /gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2/lib/libQt5Core.= so.5 : QEventLoop::exec(QFlags) + 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.1= 7 : () + 0x6859f /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : () + 0x4068a /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_c_catch() + 0x136 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_i_with_continuation_barrier() + 0xa4 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_c_with_continuation_barrier() + 0x30 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : scm_i_with_guile_and_parent() + 0x28 /gnu/store/5dd1vnwdivh7kx6qzaqr35rilphmsf1l-guile-1.8.8/lib/libguile.so.1= 7 : 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 =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85 --- Luis Felipe L=C3=B3pez Acevedo https://luis-felipe.gitlab.io/