bugGNU TeXmacs - Bugs: bug #56202, Crash on exporting to pdf format

 
 

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

bug #56202: Crash on exporting to pdf format

Submitted by:  Zhilei Han <linusboyle>
Submitted on:  Wed 24 Apr 2019 08:30:19 AM UTC  
 
Category:  Conversion Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  1.99.9 Release:  None
Fixed Release:  None Fixed Release: 
Keywords: 

Wed 24 Apr 2019 12:48:35 PM UTC, comment #3: 

Thank you both for looking into this.

I have search the database but missed the bug #52745. And yes, the font I'm using is exactly  'Source Hans Sans SC' When I change the font it works fine.

I don't know why this specific font caused problem, but when I'm launching texmacs it gives several fontconfig warnings, maybe it's relevant:

Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig warning: line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 76: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 76: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 84: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 8: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 9: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 12: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 70: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 78: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 86: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 94: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 110: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 118: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 126: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 134: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 142: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 150: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 158: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 166: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 174: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 182: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 190: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 198: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 206: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 214: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 222: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 230: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 238: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 246: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 254: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 262: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 270: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 278: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 286: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 294: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 302: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 310: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 318: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 326: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 334: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 342: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 350: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 358: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 367: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 375: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 383: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 391: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 399: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 407: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 415: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 423: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 431: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 439: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 447: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 455: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 463: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 471: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 479: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 487: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 495: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 506: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 514: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 522: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 530: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 539: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 547: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 555: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 563: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 574: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 582: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 590: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 598: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 606: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 615: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 623: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 632: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 641: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 653: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 661: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 672: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 683: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 691: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 699: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 707: bad alias
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 715: bad alias
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/58-family-prefer-local.conf", line 22: bad alias
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/61-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/61-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/61-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 34: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"

Zhilei Han <linusboyle>
Wed 24 Apr 2019 11:57:50 AM UTC, comment #2: 

Works fine for me too after changing the font (I do not have the original one). It's maybe related to bug https://savannah.gnu.org/bugs/index.php?52745

Philippe Joyez <pjoyez>
Project Member
Wed 24 Apr 2019 09:27:33 AM UTC, comment #1: 

It works fine for me. What do you mean with "when editing plain English"?

Massimiliano Gubinelli <mgubi>
Project Administrator
Wed 24 Apr 2019 08:30:19 AM UTC, original submission:  

Using 1.99.9 on openSUSE Tumbleweed.

Texmacs can preview the file and export to postscript quite well. Besides other formats can be converted to without problems. But when it comes to pdf texmacs will crash. It says: 'double free or corruption (out)'

It seems that when editing plain English file this problem is gone. I attached a sample which might help.

best regards,
Zhilei Han

Zhilei Han <linusboyle>

 

Attached Files
file #46821:  test.tm added by linusboyle (400KiB - text/x-texmacs)

 

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 mgubi (Posted a comment)
  • -email is unavailable- added by linusboyle (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.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-24 linusboyle Attached File- => Added test.tm, #46821

    Back to the top


    Powered by Savane 3.5