Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
We have just received a report of this issue but have no details as of yet. I am filing this now and will add more information as we get it. Hopefully there is enough here to start figuring out what is wrong though.
This is apparently a crash in Gtk while MonoDevelop is starting up. I believe the user is on a chinese language machine (still have to confirm that). I am also requesting a list of installed fonts in case that's any use.
Thread 1 (process 286):
#0 0x94424cb5 in __wait4 ()
#1 0x94424cad in waitpid$UNIX2003 ()
#2 0x0009fe9b in mono_handle_native_sigsegv (signal=11, ctx=0xbfffc9e0) at
#3 0x00004f6e in mono_sigsegv_signal_handler (_dummy=10, info=0xbfffc9a0,
context=0xbfffc9e0) at mini.c:5917
#4 <signal handler called>
#5 0x19e972d5 in run_iterator_get_cgglyph ()
#6 0x19e97638 in create_core_text_glyph_list ()
#7 0x19e976f9 in basic_engine_shape ()
#8 0x0474e2f1 in _pango_engine_shape_shape ()
#9 0x04766a4b in pango_shape ()
#10 0x0475764e in shape_run ()
#11 0x047578b6 in process_item ()
#12 0x047581c3 in process_line ()
#13 0x04758beb in pango_layout_check_lines ()
#14 0x047569a1 in pango_layout_get_extents_internal ()
#15 0x04756db4 in pango_layout_get_extents ()
#16 0x0423d17c in gtk_label_size_request ()
#17 0x04108024 in g_cclosure_marshal_VOID__BOXED ()
#18 0x040edc40 in g_type_class_meta_marshal ()
#19 0x040ed937 in g_closure_invoke ()
#20 0x04106599 in signal_emit_unlocked_R ()
#21 0x04105b68 in g_signal_emit_valist ()
#22 0x0410603a in g_signal_emit_by_name ()
#23 0x042df50f in do_size_request ()
Maybe related to this patch from Kris?
*** This bug has been marked as a duplicate of bug 3825 ***
I'm not sure this is a duplicate as the stacktrace is completely different and occurs under completely different circumstances where BOMs should not be present.
The bug can be reproed by using taiwanese. Set LANG=zh_TW in a terminal and launch MonoDevelop. This happens with our very latest Mono release which went to the updater about 15-20 mins ago.
I confirm MonoDevelop crashes with zh_TW. It is very likely that a specific sequence of characters is causing the crash in the shaping engine. The shaping engine has to be corrected to also handle this sequence of characters correctly. The fact that a complex application like Gimp works correctly in zh_TW confirms to me that we have to look for a specific sequence of characters.
I have scrolled through MonoDevelop's entire zh_TW.po with GtkTextView without crashes, so I have not found the affecting string yet. To be continued ...
I don't get the crash by building the latest version of everything using bockbuild.
Duncan, What's the difference between the version of Mono we released today and the version I just built from bockbuild 15 minutes ago?
2.10.9 shipped with Pango 1.29.5 and bockbuild is now at 1.30.
You can recreate the build by reverting to HEAD~2.
If 1.30 is good, we can ship a new Mono with the new Pango.
Is it already clear whether the latest rebuilds really fix the problems? (If so, I can avoid spending time on trying to find the broken string).
Kristian, i think it's likely that an updated pango fixes the issue, so for now don't bother investigating further. If it turns out the bug has not been fixed, I'll let you know. Thanks!
We shipped Mono 2.10.9_10 with Pango 1.30.0 last week, which should be enough to close this bug.
Sounds good! Thanks for the release!