[Github-comments] [geany] Geany 1.26 crashes on Mac Os X opening text file with Unicode emojis (#771)

Lucas Vieites notifications at xxxxx
Wed Nov 25 08:01:24 UTC 2015


Hi,
thanks for looking into this.
@codebrainz: yes, I'm using the bundle from the download page.
@elextr: good point, I was using Droid Sans Mono when it crashed like that. When I changed to Dejavu Sans Mono I got:
![emoticons_geany_dejavusansmono](https://cloud.githubusercontent.com/assets/1646239/11391448/d7a7971c-9352-11e5-8804-2cefadebe9da.png)

I tried several other classic fonts like Courier New and Monaco, and they all crashed with similar dumps:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation      	0x00007fff8976b1b3 CFNumberGetValue + 131
1   libpangocairo-1.0.0.dylib     	0x000000010fb39fe0 ct_font_descriptor_get_weight + 64
2   libpangocairo-1.0.0.dylib     	0x000000010fb39c74 _pango_core_text_font_description_from_ct_font_descriptor + 68
3   libpangocairo-1.0.0.dylib     	0x000000010fb3c3cf pango_cairo_core_text_font_describe_absolute + 15
4   libpangocairo-1.0.0.dylib     	0x000000010fb36089 _pango_cairo_font_private_get_hex_box_info + 121
5   libpangocairo-1.0.0.dylib     	0x000000010fb36b12 _pango_cairo_font_private_get_glyph_extents + 578
6   pango-basic-coretext.so       	0x000000011175c78c basic_engine_shape + 1516
7   libpango-1.0.0.dylib          	0x000000010fb60def _pango_engine_shape_shape + 47
8   libpango-1.0.0.dylib          	0x000000010fb750a2 pango_shape_full + 194
9   libpango-1.0.0.dylib          	0x000000010fb6c74d shape_run + 413
10  libpango-1.0.0.dylib          	0x000000010fb6c0a8 process_item + 264
11  libpango-1.0.0.dylib          	0x000000010fb6567f pango_layout_check_lines + 2319
12  libpango-1.0.0.dylib          	0x000000010fb6913a pango_layout_get_iter + 186
13  libgeany.0.dylib              	0x000000010f3d5c0c SurfaceImpl::MeasureWidths(Font&, char const*, int, float*) + 524
14  libgeany.0.dylib              	0x000000010f42ac04 PositionCache::MeasureWidths(Surface*, ViewStyle const&, unsigned int, char const*, unsigned int, float*, Document*) + 964
15  libgeany.0.dylib              	0x000000010f419322 EditView::LayoutLine(EditModel const&, int, Surface*, ViewStyle const&, LineLayout*, int) + 2306
16  libgeany.0.dylib              	0x000000010f400ade Editor::WrapOneLine(Surface*, int) + 110
17  libgeany.0.dylib              	0x000000010f3fe29e Editor::WrapLines(Editor::wrapScope) + 846
18  libgeany.0.dylib              	0x000000010f40ff5a Editor::EnsureLineVisible(int, bool) + 42
19  libgeany.0.dylib              	0x000000010f412c54 Editor::WndProc(unsigned int, unsigned long, long) + 8036
20  libgeany.0.dylib              	0x000000010f3db39e ScintillaGTK::WndProc(unsigned int, unsigned long, long) + 238
21  libgeany.0.dylib              	0x000000010f3aef95 sci_goto_pos + 53
22  libgeany.0.dylib              	0x000000010f37ff30 editor_goto_pos + 96
23  libgeany.0.dylib              	0x000000010f37594e document_open_file_full + 2574
24  libgeany.0.dylib              	0x000000010f376725 document_open_files + 53


---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/771#issuecomment-159528821
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151125/0d81ffd4/attachment.html>


More information about the Github-comments mailing list