bugGNU TeXmacs - Bugs: bug #60015, Invoking the macro editor on macro...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60015: Invoking the macro editor on macro render-todo crashes TeXMacs

Submitted by:  Giovanni Piredda <pireddag>
Submitted on:  Sat 06 Feb 2021 01:26:48 PM UTC  
 
Category:  Editor Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  Release:  None
Fixed Release:  None Fixed Release: 
Keywords: 

Wed 17 Mar 2021 11:53:29 AM UTC, comment #3: 

It is like J. said.

Apart this, I do not know it is possible to enter the tag inside the macro editor, or in source mode :-)

Giovanni Piredda <pireddag>
Wed 17 Mar 2021 11:25:33 AM UTC, comment #2: 

Oddly, this happens for me only when trying to edit a "bare" render-todo tag entered manually into a document (see steps below).

If I enter a todo tag, edit its macro, enter the render-todo tag in the macro editor and apply the macro editor to render-todo from there, things do work.

=== Steps to reproduce ===

  1. Insert a render-todo tag into any document (typing \render-todo + Enter)
  2. Edit the render-todo macro by clicking the wrench icon -> "Edit macro"
JW <jeronim>
Tue 16 Mar 2021 10:28:51 PM UTC, comment #1: 

It would be useful to have a recipe to trigger the bug. The title is ok but it would require to me to guess what exactly you did.

Massimiliano Gubinelli <mgubi>
Project Administrator
Sat 06 Feb 2021 01:26:48 PM UTC, original submission:  

Here is the error (Ubuntu 20.10)

TeXmacs] std-warning, Couldn't concretize arg fg
TeXmacs] std-warning, Couldn't concretize arg fg
TeXmacs] convert-error, could not determine size of 'xxx'
TeXmacs] convert-error, you may consider :
TeXmacs] convert-error,  - checking the file is valid,
TeXmacs] convert-error,  - converting to a more standard format,
TeXmacs] convert-error,  - defining an appropriate converter (see documentation).
TeXmacs] convert-error, bad image size for 'arg fg' setting 35x35
Throwing segmentation fault
-------------------------------------------------
Error message:
  segmentation fault

System information:
  TeXmacs version  : 1.99.18
  Built by         : magix
  Building date    : Wed Dec 30 10:25:42 CET 2020
  Operating system : linux-gnu
  Vendor           : pc
  Processor        : @CONFIG_HOST_CPU@
  Crash date       : Sa 06 Feb 2021 14:24:29 CET

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

Backtrace of C++ stack:
  texmacs.bin() [0x1028915]
  texmacs.bin() [0x59f698]
  /lib/x86_64-linux-gnu/libc.so.6 : () + 0x41950
  texmacs.bin() [0x61b43d]
  texmacs.bin() [0xef770a]
  texmacs.bin() [0xef9761]
  texmacs.bin() [0x100c634]
  texmacs.bin() [0x5cebf6]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5cee06]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x5cea3e]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x5ced9f]
  texmacs.bin() [0x881970]
  texmacs.bin() [0x886474]
  texmacs.bin() [0x8873ce]
  texmacs.bin() [0x887a49]
  texmacs.bin() [0xeffe75]
  texmacs.bin() [0xf006d9]
  texmacs.bin() [0xeeac22]
  texmacs.bin() [0x4b9697]
  texmacs.bin() [0xd18905]
  texmacs.bin() [0x1a9a1d1]
  texmacs.bin() [0x1a96039]
  texmacs.bin() [0x11f83bc]
  texmacs.bin() [0x11fba7b]
  texmacs.bin() [0xd182aa]
  texmacs.bin() [0x1a84b3c]
  texmacs.bin() [0x1aaf98e]
  texmacs.bin() [0x1aafb40]
  texmacs.bin() [0x12913ef]
  texmacs.bin() [0x1a838e2]
  texmacs.bin() [0x1a83d54]
  texmacs.bin() [0x1a8973a]
  texmacs.bin() [0x410677]
  texmacs.bin() [0x1b60217]
  texmacs.bin() [0x1bc2abd]
  texmacs.bin() [0x1ba8ced]
  texmacs.bin() [0x1bc2a59]
  texmacs.bin() [0x1bc2b40]
  texmacs.bin() [0x1ba6d96]
  texmacs.bin() [0x1ba6d57]
  texmacs.bin() [0x1b601a0]
  texmacs.bin() [0x415201]
  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main() + 0xf2
  texmacs.bin() [0x40ecb9]

-------------------------------------------------
terminate called after throwing an instance of 'string'

Giovanni Piredda <pireddag>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jeronim (Posted a comment)
  • -email is unavailable- added by mgubi (Posted a comment)
  • -email is unavailable- added by pireddag (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.7