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: ConversionPriority: 9 - Immediate
Item Group: ErrorStatus: Confirmed
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Originator Name: Open/Closed: Open
Release: svn r9057Release: None
Fixed Release: NoneFixed 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

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
  • -unavailable- added by pjoyez (Posted a comment)
  • -unavailable- added by mdbenito (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Mar 2017 09:37:52 PM UTCpjoyezSummaryexec_verbatim() crashes=>exec_verbatim() crashes when mouse-selecting list items in beamer
    Sun 22 Mar 2015 09:59:45 AM UTCmdbenitoPriority7 - High=>9 - Immediate
      Releasesvn r8859=>svn r9057
    Wed 25 Feb 2015 02:36:29 PM UTCmdbenitoPriority5 - Normal=>7 - High
    Sun 22 Feb 2015 03:58:34 PM UTCmdbenitoAttached File-=>Added crash-exec_verbatim.tm, #33151

    Back to the top

    Powered by Savane 3.1-cleanup1