Description of problem: It segfaults. It shouldn;t. #0 0x00abfc02 in _dl_sysinfo_int80 () at rtld.c:274 #1 0x00d44763 in __waitpid_nocancel () from /lib/tls/libpthread.so.0 #2 <signal handler called> #3 pango_layout_iter_get_char_extents (iter=0x9211f98, logical_rect=0x93ff618) at pango-layout.c:4456 #4 0x0807b3ef in compute_character_widths ( string=0x9211f98 "�\216��\216��\216��\224\234@�\224\224�\226\222�\216��\224 \234�\220\212�\216�:/�\224��\2 26\222�\216�/�\224\214�\216�±/�\224\234�\224\234�\211��\224��\226\222�\224\234� \220\214�\220�", context=0x93ff618, list=0xfffffe00, char_len_return=0xfffffe00, widths_return=0xfffffe00, cuts_return=0xfffffe00) at eel-pango-extensions.c:180 #5 0x0807b6fd in eel_string_ellipsize_end ( string=0x9211f98 "�\216��\216��\216��\224\234@�\224\224�\226\222�\216��\224 \234�\220\212�\216�:/�\224��\2 26\222�\216�/�\224\214�\216�±/�\224\234�\224\234�\211��\224��\226\222�\224\234� \220\214�\220�", layout=0x9, width=157) at eel-pango-extensions.c:327 #6 0x0807ba8e in eel_pango_layout_set_text_ellipsized (layout=0x93632c8, string=0x9211f98 "�\216��\216��\216��\224\234@�\224\224�\226\222�\216��\224 \234�\220\212�\216�:/�\224��\2 26\222�\216�/�\224\214�\216�±/�\224\234�\224\234�\211��\224��\226\222�\224\234� \220\214�\220�", width=169, mode=EEL_ELLIPSIZE_END) at eel-pango-extensions.c:478 #7 0x0807adac in real_size_allocate (widget=0x9400fc8, allocation=0xbff9a060) at eel-ellipsizing-label.c:124 #8 0x00551bae in g_cclosure_marshal_VOID__BOXED (closure=0x918a538, return_value=0x0, n_param_values=2, param_values=0xbff99ea0, invocation_hint=0xbff99da8, marshal_data=0x807ac40) at gmarshal.c:566 #9 0x0053f007 in g_type_class_meta_marshal (closure=0xbff99ea0, return_value=0xfffffe00, n_param_values=4294966784, param_values=0x918a538, invocation_hint=0xfffffe00, marshal_data=0xfffffe00) at gclosure.c:514 #10 0x0053ecb0 in g_closure_invoke (closure=0x918a538, return_value=0xfffffe00, n_param_values=4294966784, param_values=0xfffffe00, invocation_hint=0xfffffe00) at gclosure.c:437 #11 0x0055049d in signal_emit_unlocked_R (node=0x918ac18, detail=0, instance=0x9400fc8, emission_return=0x0, instance_and_params=0xbff99ea0) at gsignal.c:2752 #12 0x0054fc36 in g_signal_emit_valist (instance=0x9400fc8, signal_id=152610104, detail=0, var_args=0xbff9a030 "�\017@\t�\001") at gsignal.c:2554 #13 0x0054fe74 in g_signal_emit (instance=0xfffffe00, signal_id=4294966784, detail=4294966784) at gsignal.c:2612 #14 0x0394654f in gtk_widget_size_allocate (widget=0xbff99ea0, allocation=0x918a538) at gtkwidget.c:2451 #15 0x0387c2f1 in gtk_notebook_page_allocate (notebook=0x919d868, page=0x9266a98, allocation=0x1)
Created attachment 94721 [details] file to cat to reproduce cat the attached file in a tab inside GT and then resize the bottom bar of the terminal -> boom
I think: A) VTE or gnome-terminal needs to validate the UTF-8 data it is getting for the title B) eel-ellipsized label needs to validate UTF-8 as well It's conceivable that it's not a invalid-UTF-8 problem, but rather just some problem that the particular string is triggering. What locale are you running in, Arjan? (UTF-8 vs. ISO-8859-15 is likely relevant.)
en_US.UTF-8
gnome-terminal-2.4.0.1-1 vte-0.11.10-4 pango-1.2.5-1.1 fwiw
Reading the VTE source code it certainly seems to validate the title. In any case if the title were invalid my memory is that GTK+ and Pango will g_return_if_fail(), rather than crashing down in the guts of things like this.
btw this happened twice not once; same thing (basically a box I ssh'd into oopsed ... boom :) so it's kind of repeatable
This is either vte or pango, terminal should be getting valid UTF-8 from vte.
Arjan are you still able to reproduce this?
vte-0.11.14 rendering and even the titlebar becomes corrupted when I cat this file in FC4.
I don't get a segfault on catting this file, and the display goes back to normal with a simple reset. This is with 0.13.5. Therefore, I assume this is fixed. If you are able to reproduce in rawhide, please reopen.