[MacPorts] #41651: emacs +x11: Segmentation Fault (was: Segmentation Fault for emacs +x11)

MacPorts noreply at macports.org
Tue Dec 3 14:06:06 PST 2013


#41651: emacs +x11: Segmentation Fault
----------------------+----------------------
  Reporter:  aseth@…  |      Owner:  dports@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.2.1
Resolution:           |   Keywords:
      Port:  emacs    |
----------------------+----------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => dports@…
 * cc: aseth@… (removed)
 * cc: ryandesign@… (added)
 * keywords:  +x11 +gtk =>


Old description:

> I've just got a new rMBP running mavericks and
> Xcode 5.0.2
> The first thing I installed after installing macports was
> sudo port install emacs +x11
> It installed successfully with no errors:
> --->  Installing emacs @24.3_0+x11
> --->  Activating emacs @24.3_0+x11
> --->  Cleaning emacs
> --->  Updating database of binaries: 100.0%
> --->  Scanning binaries for linking errors: 100.0%
> --->  No broken files found.
> but unfortunately it will not launch, getting a segmentation fault
> instead.  Backtrace is given below.  I've uninstalled and cleaned several
> times, including reinstalling all of macports.  The +gtk variant and
> emacs23 +x11 also suffer from segmentation faults.  Any help appreciated.
> Thanks,
> Anil
>

> Backtrace:
> 0   emacs                               0x00000001000cbb2a
> emacs_backtrace + 87
> 1   emacs                               0x00000001000b1684
> terminate_due_to_signal + 95
> 2   emacs                               0x00000001000cc521
> tcsetpgrp_without_stopping + 0
> 3   emacs                               0x00000001000cb9c3
> maybe_fatal_sig + 0
> 4   libsystem_platform.dylib            0x00007fff8eb885aa _sigtramp + 26
> 5   ???                                 0x0000000000000020 0x0 + 32
> 6   libfreetype.6.dylib                 0x0000000100579657
> load_truetype_glyph + 696
> 7   libfreetype.6.dylib                 0x00000001005720ed tt_glyph_load
> + 392
> 8   libfreetype.6.dylib                 0x00000001005639a2 FT_Load_Glyph
> + 661
> 9   libfontconfig.1.dylib               0x00000001005f5155
> FcFreeTypeCheckGlyph + 68
> 10  libfontconfig.1.dylib               0x00000001005f46cf
> FcFreeTypeCharSetAndSpacingForSize + 312
> 11  libfontconfig.1.dylib               0x00000001005f3cd2
> FcFreeTypeQueryFace + 5527
> 12  libfontconfig.1.dylib               0x00000001005f4245
> FcFreeTypeQuery + 93
> 13  libfontconfig.1.dylib               0x00000001005f0a40
> FcFileScanConfig + 179
> 14  libfontconfig.1.dylib               0x00000001005f0cbb
> FcDirScanConfig + 420
> 15  libfontconfig.1.dylib               0x00000001005f0e02 FcDirCacheScan
> + 138
> 16  libfontconfig.1.dylib               0x00000001005eb0cf
> FcConfigAddDirList + 126
> 17  libfontconfig.1.dylib               0x00000001005eaff4
> FcConfigBuildFonts + 85
> 18  libfontconfig.1.dylib               0x00000001005f5daa
> FcInitLoadOwnConfigAndFonts + 31
> 19  libfontconfig.1.dylib               0x00000001005ea8b8 FcConfigEnsure
> + 36
> 20  libfontconfig.1.dylib               0x00000001005ea889 FcConfigInit +
> 9
> 21  emacs                               0x000000010016e7a5 ftfont_list +
> 79
> 22  emacs                               0x0000000100170dc3 xftfont_list +
> 14
> 23  emacs                               0x000000010012a8cc
> font_list_entities + 459
> 24  emacs                               0x000000010012c5bc
> font_find_for_lface + 1648
> 25  emacs                               0x000000010012cc31
> font_load_for_lface + 33
> 26  emacs                               0x000000010012d018
> font_open_by_name + 159
> 27  emacs                               0x0000000100012e9b x_set_font +
> 440
> 28  emacs                               0x0000000100011d46
> x_set_frame_parameters + 461
> 29  emacs                               0x0000000100013e9e
> x_default_parameter + 104
> 30  emacs                               0x00000001000a6f60
> x_default_font_parameter + 437
> 31  emacs                               0x00000001000a5710
> Fx_create_frame + 1650
> 32  emacs                               0x000000010011d8b1 Ffuncall + 947
> 33  emacs                               0x000000010014e2be exec_byte_code
> + 2052
> 34  emacs                               0x000000010011e18b funcall_lambda
> + 653
> 35  emacs                               0x000000010011d74f Ffuncall + 593
> 36  emacs                               0x000000010014e2be exec_byte_code
> + 2052
> 37  emacs                               0x000000010011e18b funcall_lambda
> + 653
> 38  emacs                               0x000000010011d74f Ffuncall + 593
> 39  emacs                               0x000000010014e2be exec_byte_code
> + 2052
> 40  emacs                               0x000000010011e18b funcall_lambda
> + 653

New description:

 I've just got a new rMBP running mavericks and
 Xcode 5.0.2
 The first thing I installed after installing macports was
 {{{
 sudo port install emacs +x11
 }}}
 It installed successfully with no errors:
 {{{
 --->  Installing emacs @24.3_0+x11
 --->  Activating emacs @24.3_0+x11
 --->  Cleaning emacs
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.
 }}}
 but unfortunately it will not launch, getting a segmentation fault
 instead.  Backtrace is given below.  I've uninstalled and cleaned several
 times, including reinstalling all of macports.  The +gtk variant and
 emacs23 +x11 also suffer from segmentation faults.  Any help appreciated.

 Thanks, [[br]]
 Anil

 {{{
 Backtrace:
 0   emacs                               0x00000001000cbb2a emacs_backtrace
 + 87
 1   emacs                               0x00000001000b1684
 terminate_due_to_signal + 95
 2   emacs                               0x00000001000cc521
 tcsetpgrp_without_stopping + 0
 3   emacs                               0x00000001000cb9c3 maybe_fatal_sig
 + 0
 4   libsystem_platform.dylib            0x00007fff8eb885aa _sigtramp + 26
 5   ???                                 0x0000000000000020 0x0 + 32
 6   libfreetype.6.dylib                 0x0000000100579657
 load_truetype_glyph + 696
 7   libfreetype.6.dylib                 0x00000001005720ed tt_glyph_load +
 392
 8   libfreetype.6.dylib                 0x00000001005639a2 FT_Load_Glyph +
 661
 9   libfontconfig.1.dylib               0x00000001005f5155
 FcFreeTypeCheckGlyph + 68
 10  libfontconfig.1.dylib               0x00000001005f46cf
 FcFreeTypeCharSetAndSpacingForSize + 312
 11  libfontconfig.1.dylib               0x00000001005f3cd2
 FcFreeTypeQueryFace + 5527
 12  libfontconfig.1.dylib               0x00000001005f4245 FcFreeTypeQuery
 + 93
 13  libfontconfig.1.dylib               0x00000001005f0a40
 FcFileScanConfig + 179
 14  libfontconfig.1.dylib               0x00000001005f0cbb FcDirScanConfig
 + 420
 15  libfontconfig.1.dylib               0x00000001005f0e02 FcDirCacheScan
 + 138
 16  libfontconfig.1.dylib               0x00000001005eb0cf
 FcConfigAddDirList + 126
 17  libfontconfig.1.dylib               0x00000001005eaff4
 FcConfigBuildFonts + 85
 18  libfontconfig.1.dylib               0x00000001005f5daa
 FcInitLoadOwnConfigAndFonts + 31
 19  libfontconfig.1.dylib               0x00000001005ea8b8 FcConfigEnsure
 + 36
 20  libfontconfig.1.dylib               0x00000001005ea889 FcConfigInit +
 9
 21  emacs                               0x000000010016e7a5 ftfont_list +
 79
 22  emacs                               0x0000000100170dc3 xftfont_list +
 14
 23  emacs                               0x000000010012a8cc
 font_list_entities + 459
 24  emacs                               0x000000010012c5bc
 font_find_for_lface + 1648
 25  emacs                               0x000000010012cc31
 font_load_for_lface + 33
 26  emacs                               0x000000010012d018
 font_open_by_name + 159
 27  emacs                               0x0000000100012e9b x_set_font +
 440
 28  emacs                               0x0000000100011d46
 x_set_frame_parameters + 461
 29  emacs                               0x0000000100013e9e
 x_default_parameter + 104
 30  emacs                               0x00000001000a6f60
 x_default_font_parameter + 437
 31  emacs                               0x00000001000a5710 Fx_create_frame
 + 1650
 32  emacs                               0x000000010011d8b1 Ffuncall + 947
 33  emacs                               0x000000010014e2be exec_byte_code
 + 2052
 34  emacs                               0x000000010011e18b funcall_lambda
 + 653
 35  emacs                               0x000000010011d74f Ffuncall + 593
 36  emacs                               0x000000010014e2be exec_byte_code
 + 2052
 37  emacs                               0x000000010011e18b funcall_lambda
 + 653
 38  emacs                               0x000000010011d74f Ffuncall + 593
 39  emacs                               0x000000010014e2be exec_byte_code
 + 2052
 40  emacs                               0x000000010011e18b funcall_lambda
 + 653
 }}}

--

Comment:

 Remember to use WikiFormatting and preview before submitting.

 This might be similar to #41645.

-- 
Ticket URL: <https://trac.macports.org/ticket/41651#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list