bugGNU TeXmacs - Bugs: bug #44341, exec_verbatim() crashes when...


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

bug #44341: exec_verbatim() crashes when mouse-selecting list items in beamer

Submitted by:  Miguel de Benito <mdbenito>
Submitted on:  Sun 22 Feb 2015 03:58:34 PM UTC  
Category:  Conversion Priority:  9 - Immediate
Item Group:  Error Status:  Confirmed
Privacy:  Public Assigned to:  Joris van der Hoeven <vdhoeven>
Originator Name:  Open/Closed:  Open
Release:  svn r9057 Release:  None
Fixed Release:  None Fixed Release: 

Thu 23 Mar 2017 09:37:52 PM UTC, comment #1: 

Updating the description to make clear that it appears only in a presentation, with mouse select (keyboard selection OK, unless followed by copy to verbatim as Miguel noted). Also, I find that selecting a single item is enough to get a segfault, contrarily to what stated in the original report.

exec_verbatim() crashes
exec_verbatim() crashes when mouse-selecting list items in beamer

Philippe Joyez <pjoyez>
Project Member
Sun 22 Feb 2015 03:58:34 PM UTC, original submission:  

The attached file causes TeXmacsQt to crash if at least two items of the enumeration are selected. This is caused by exec_verbatim() (called automatically in Qt while setting the selection), which enters a deep recursion. By commenting the line

      tmp= exec_verbatim (t, tp);

inside edit_select_rep::selection_set(), the text may be selected without TeXmacs crashing.

However The bug can still be triggered by then clicking Edit->Copy to->Verbatim, so this is not Qt specific, but due to exec_verbatim().

Miguel de Benito <mdbenito>
Project Member


Attached Files
file #33151:  crash-exec_verbatim.tm added by mdbenito (974B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by mdbenito (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.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-23 pjoyez Summaryexec_verbatim() crashes => exec_verbatim() crashes when mouse-selecting list items in beamer
    2015-03-22 mdbenito Priority7 - High => 9 - Immediate
        Releasesvn r8859 => svn r9057
    2015-02-25 mdbenito Priority5 - Normal => 7 - High
    2015-02-22 mdbenito Attached File- => Added crash-exec_verbatim.tm, #33151

    Back to the top

    Powered by Savane 3.5