bugGNU TeXmacs - Bugs: bug #38283, Crash while trying to surround the...

 
 

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

bug #38283: Crash while trying to surround the doc-title

Submitted by:  Miguel de Benito <mdbenito>
Submitted on:  Thu 07 Feb 2013 06:08:28 PM UTC  
 
Category: TypesetterPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: Francois Poulain <fpoulain>
Originator Name: Open/Closed: Closed
Release: r6255Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Mon 04 Mar 2013 11:21:50 AM UTC, comment #5:

Works fine for me (mouse selection as well). I suggest we close this. Thanks!

Miguel de Benito <mdbenito>
Project Member
Mon 04 Mar 2013 10:05:23 AM UTC, comment #4:

Thank you for the explanations, I was able to reproduce it.

Fixed in trunk. Ready for tests. :)

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Sun 03 Mar 2013 09:35:38 AM UTC, comment #3:

On one machine I still have a version dated jan 29 that doesn't have the bug, that's not too long ago. So I have bisected to find where in came in: the bug was introduced in rev 6211. http://svn.savannah.gnu.org/viewvc?view=rev&root=texmacs&revision=6211

Note that I found out that it was necessary to clear ~/.TeXmacs each time in order to have consistent results (an older "good" version might appear buggy otherwise).

Note also that I did the bisection testing as Miguel reported. (I cannot reproduce the mouse-select bug in -r6211).

The bad news is that changes in in r6211 were only style files. Style files are just like black magic for me, and I have no idea how to debug further. Assigning it to you Fran├žois, but since you cannot reproduce the bug...

If it can help, I join a backtrace at the crash.

(file #27558)

Philippe Joyez <pjoyez>
Project Member
Sat 02 Mar 2013 10:30:10 AM UTC, comment #2:

I can reproduce the problem as described by Miguel (on ubuntu 12.04 64 bits). It even happens if you clear ~/.TeXmacs folder.

Moreover, I can provoque a title-related crash (the same?) without even applying the frame to the title: If I simply mouse-select the title, TeXmacs tries (and fails) to generate a font and crashes immediatly.

TeXmacs] System: mktexpk --dpi 600 --bdpi 600 --mag 600/600 --destdir /home/phil/.TeXmacs/fonts/pk ecbx0
TeXmacs] system command failed: mktexpk --dpi 600 --bdpi 600 --mag 600/600 --destdir /home/phil/.TeXmacs/fonts/pk ecbx0
show_wait_indicator """"
FOCUSOUT: simple_widget id: 3
TeXmacs] Error during ecbx0.600pk loading

TeXmacs] Fatal error, segmentation fault
TeXmacs] Crash report saved in /home/phil/.TeXmacs/system/crash/crash_report_4
TeXmacs] Current buffer report saved in /home/phil/.TeXmacs/system/crash/crash_report_4_tree
texmacs.bin: ./Texmacs/Texmacs/texmacs.cpp:78: void clean_exit_on_segfault(int): Assertion `false' failed.
Aborted

Philippe Joyez <pjoyez>
Project Member
Fri 08 Feb 2013 10:30:36 AM UTC, comment #1:

I cannot reproduce it. What are the details of the crash ? Could you try to clean the cache ?

Francois Poulain <fpoulain>
Project MemberIn charge of this item.
Thu 07 Feb 2013 06:08:28 PM UTC, original submission:
  • Create a new buffer
  • Insert a title, e.g. using the button in the focus bar
  • select the title and try to apply any of the tags for "prominent piece of text": framed, both-lined, etc.
  • Dead.

Alternatively, one can insert first the tag, then try to paste inside it the doc-title. Very dead.

Miguel de Benito <mdbenito>
Project Member

 

Attached Files
file #27558:  backtrace added by pjoyez (5kB - 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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 18 Mar 2013 10:50:09 AM UTCmdbenitoOpen/ClosedOpen=>Closed
    Mon 04 Mar 2013 10:05:23 AM UTCfpoulainStatusConfirmed=>Fixed
    Sun 03 Mar 2013 09:35:38 AM UTCpjoyezAttached File-=>Added backtrace, #27558
      Assigned toNone=>fpoulain

    Back to the top


    Powered by Savane 3.1-cleanup