bugGNU TeXmacs - Bugs: bug #35478, Crashes with FreeType on OS X Lion

 
 

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

bug #35478: Crashes with FreeType on OS X Lion

Submitted by:  François-Xavier Thomas <frix>
Submitted on:  Wed 08 Feb 2012 02:49:31 PM UTC  
 
Category: Qt portPriority: 5 - Normal
Item Group: ErrorStatus: Invalid
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.0.7.14Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Mon 05 Mar 2012 10:54:14 PM UTC, comment #3:

I close the bug since the submitter seems to have found that the state of the .TeXmacs directory was causing the crash.

Massimiliano Gubinelli <mgubi>
Project Administrator
Wed 08 Feb 2012 05:43:58 PM UTC, comment #2:

Forget it, the ~/.TeXmacs folder was causing all this. Now, it's working fine.

François-Xavier Thomas <frix>
Wed 08 Feb 2012 02:56:11 PM UTC, comment #1:

Just tried with the .dmg provided by http://www.texmacs.org, with same results.
Only thing different is, TeXmacs doesn't crash with <strong> tags, it merely doesn't display them.

Another thing I forgot to mention is, I previously built the exact same version (without QT) using MacPorts, and it worked perfectly well.

François-Xavier Thomas <frix>
Wed 08 Feb 2012 02:49:31 PM UTC, original submission:

Hi,

I just finished manually compiling TeXmacs 1.0.7.14 on Mac OS X (I'm writing a package for the newest package manager, Homebrew), and there are two problems I find quite annoying. Other than that, it just "seems to work".

First, the <strong> tag makes TeXmacs crash instantly, no matter where it comes from (loading a file or using the "strong text" button on the UI). As a lot of my older files include such a tag, I can't open them anymore, which is troublesome ;)

From what I can tell, this comes from FreeType, as the backtrace happens right on this library (see below). I guess I'll try to install the latest one, to see if that works, but does anybody have problems with 2.4.4?

(...)
5 libsystem_c.dylib 0x00007fff8b2eccfa _sigtramp + 26
6 libfreetype.6.dylib 0x00000001017e6cce FT_Request_Size + 62
7 libfreetype.6.dylib 0x00000001017e6e19 FT_Set_Char_Size + 123
8 texmacs.bin 0x00000001005228bb tt_font_glyphs_rep::get(int) + 75
9 texmacs.bin 0x000000010048543b tex_font_rep::get_extents(string, metric_struct (&) [1]) + 795
10 texmacs.bin 0x0000000100492e03 text_box_rep::text_box_rep(list<int>, int, string, font, unsigned int) + 211
11 texmacs.bin 0x0000000100495af5 text_box_rep* tm_new<text_box_rep, list<int>, int, string, font, unsigned int>(list<int>&, int&, string&, font&, unsigned int&) + 117
12 texmacs.bin 0x0000000100493f9f text_box(list<int>, int, string, font, unsigned int) + 47
13 texmacs.bin 0x00000001000d2486 concater_rep::typeset_substring(string, list<int>, int) + 86
14 texmacs.bin 0x00000001000dbab1 concater_rep::typeset_text_string(tree, list<int>, int, int) + 2601
15 texmacs.bin 0x00000001000de234 concater_rep::typeset(tree, list<int>) + 738
16 texmacs.bin 0x00000001000e6340 typeset_concat(edit_env, tree, list<int>) + 208
17 texmacs.bin 0x000000010033bb7e typeset_concat_or_table(edit_env, tree, list<int>) + 622
18 texmacs.bin 0x00000001003406a8 typeset_stack(edit_env, tree, list<int>, array<line_item>, array<line_item>, stack_border&) + 312
19 texmacs.bin 0x000000010052cfc9 typesetter_rep::insert_paragraph(tree, list<int>) + 253
(...)

The second issue is with titles. When adding a title (the <doc-title> tag), I can type whatever I want, the text doesn't show and the status line says : "text roman 0 bold". I'm guessing that the "0" in here means that there was a problem with the font. Again, FreeType?

I made sure I included every dependency listed on the readme, but I may have forgotten one :

  • Guile
  • QT
  • Freetype 2 from Apple (2.4.4)
  • Ghostscript
  • Aspell
  • ImageMagick
  • LibIconv

Any ideas?

François-Xavier Thomas

François-Xavier Thomas <frix>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mgubi (Posted a comment)
  • -unavailable- added by frix (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Mar 2012 10:54:14 PM UTCmgubiCategoryMacOS port=>Qt port
      StatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1